diff --git a/src/assets/code.png b/src/assets/code.png
new file mode 100644
index 0000000..3c607c3
Binary files /dev/null and b/src/assets/code.png differ
diff --git a/src/router/index.js b/src/router/index.js
index b1b2481..e91c6bf 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -439,6 +439,16 @@ const routes = [
title: '撰写意见',
}
},
+ {
+ path: '/ZXCode',
+ name: 'ZXCode',
+ component: () =>
+ import('@/views/Home/ZXCode.vue'),
+ meta: {
+ title: '浙学码'
+
+ }
+ },
]
const router = new VueRouter({
diff --git a/src/views/Home/ZXCode.vue b/src/views/Home/ZXCode.vue
new file mode 100644
index 0000000..5fd60df
--- /dev/null
+++ b/src/views/Home/ZXCode.vue
@@ -0,0 +1,75 @@
+// 浙学码页面
+
+
+
+
+
+
+
diff --git a/src/views/Home/component/HomeChildList.vue b/src/views/Home/component/HomeChildList.vue
index 6dd188b..034fc1e 100644
--- a/src/views/Home/component/HomeChildList.vue
+++ b/src/views/Home/component/HomeChildList.vue
@@ -6,6 +6,7 @@
+
{{item.travelerName}}
@@ -53,6 +54,13 @@ export default {
this.travelerNum = this.childList[index].travelerNum
this.showAddChildPopupGroup = true
},
+ // 点击浙学码
+ handleCode (index) {
+
+ localStorage.setItem('StudentDetialInfo', JSON.stringify(this.childList[index]))
+
+ this.$router.push({ name: 'ZXCode' })
+ },
// 进入学生详情页
handleStudentDetail (index) {
localStorage.setItem('StudentDetialInfo', JSON.stringify(this.childList[index]))
@@ -75,7 +83,7 @@ export default {
if (userInfo.schoolNames || userInfo.schoolNames == [] || userInfo.schoolNames == 'null') {
localStorage.setItem('schoolNames', JSON.stringify(userInfo.schoolNames))
this.$store.commit('changeSchool', userInfo.schoolNames)
- console.log('555',userInfo.schoolNames)
+ // console.log('555',userInfo.schoolNames)
if (!localStorage.getItem('schoolNamesChoose')) {
localStorage.setItem('schoolNamesChoose', JSON.stringify(userInfo.schoolNames[0]))
}
@@ -153,6 +161,15 @@ p {
right: 0;
width: 196px;
}
+ .code{
+ position: absolute;
+ bottom: 50px;
+ right: 45px;
+ width: 72px;
+ }
+ .code_auth{
+ right: 240px;
+ }
.item {
display: inline-block;
margin-bottom: 24px;
--
libgit2 0.21.0