正在显示
37 个修改的文件
包含
225 行增加
和
171 行删除
@@ -7,20 +7,39 @@ | @@ -7,20 +7,39 @@ | ||
7 | * @LastEditTime: 2022-02-18 14:06:28 | 7 | * @LastEditTime: 2022-02-18 14:06:28 |
8 | --> | 8 | --> |
9 | <template> | 9 | <template> |
10 | - <view> | 10 | + <view :style="vuex_theme"> |
11 | <u-toast ref="uToast" /> | 11 | <u-toast ref="uToast" /> |
12 | </view> | 12 | </view> |
13 | </template> | 13 | </template> |
14 | 14 | ||
15 | -<script> | 15 | +<script> |
16 | + import {themeList} from './common/theme.js' | ||
16 | export default { | 17 | export default { |
17 | // 此处globalData为了演示其作用,不是uView框架的一部分 | 18 | // 此处globalData为了演示其作用,不是uView框架的一部分 |
18 | globalData: { | 19 | globalData: { |
19 | username: '' | 20 | username: '' |
21 | + }, | ||
22 | + | ||
23 | + data() { | ||
24 | + return { | ||
25 | + themeList, | ||
26 | + } | ||
20 | }, | 27 | }, |
21 | 28 | ||
22 | onLaunch() { | 29 | onLaunch() { |
23 | - | 30 | + let colorObj = this.themeList[this.vuex_appId].value |
31 | + let styles = '' | ||
32 | + for (let i in colorObj) { | ||
33 | + styles += colorObj[i].name + ':' + colorObj[i].value + ';' | ||
34 | + } | ||
35 | + | ||
36 | + this.$u.vuex('vuex_theme', styles); | ||
37 | + this.$u.vuex('vuex_baseImgUrl', this.themeList[this.vuex_appId].imagePath); | ||
38 | + // console.log('vuex_theme----', this.vuex_theme) | ||
39 | + | ||
40 | + uni.setTabBarStyle({ | ||
41 | + selectedColor: this.themeList[this.vuex_appId].mainColor, | ||
42 | + }) | ||
24 | }, | 43 | }, |
25 | 44 | ||
26 | onShow() { | 45 | onShow() { |
common/theme.js
0 → 100644
1 | +const themeList = { | ||
2 | + // 优学乐业 - 教师 | ||
3 | + 'wx6cd2152282abd34c': { | ||
4 | + value: [ | ||
5 | + {name:'--primary-color',value: '#0CB17A'}, | ||
6 | + {name:'--primary-color000',value: '#1CD9B2'}, | ||
7 | + {name:'--primary-color100',value: 'rgba(12, 177, 122, 1)'}, | ||
8 | + {name:'--primary-color02',value: 'rgba(12, 177, 122, 0.2)'}, | ||
9 | + {name:'--primary-color03',value: 'rgba(12, 177, 122, 0.3)'}, | ||
10 | + {name:'--primary-color003',value: 'rgba(12, 177, 122, 0.03)'}, | ||
11 | + {name:'--primary-color006',value: 'rgba(12, 177, 122, 0.06)'}, | ||
12 | + ], | ||
13 | + mainColor: '#0CB17A', | ||
14 | + imagePath: 'https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/new-teacher/wx6cd2152282abd34c/' | ||
15 | + }, | ||
16 | + // 新华网 - 教师 | ||
17 | + 'wx123123': { | ||
18 | + value: [ | ||
19 | + {name:'--primary-color',value: '#005DAC'}, | ||
20 | + {name:'--primary-color000',value: '#005DAC'}, | ||
21 | + {name:'--primary-color100',value: 'rgba(0, 93, 172, 1)'}, | ||
22 | + {name:'--primary-color02',value: 'rgba(0, 93, 172, 0.2)'}, | ||
23 | + {name:'--primary-color03',value: 'rgba(0, 93, 172, 0.3)'}, | ||
24 | + {name:'--primary-color003',value: 'rgba(0, 93, 172, 0.03)'}, | ||
25 | + {name:'--primary-color006',value: 'rgba(0, 93, 172, 0.06)'}, | ||
26 | + ], | ||
27 | + mainColor: '#005DAC', | ||
28 | + imagePath: 'https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/new-teacher/wx123123/' | ||
29 | + } | ||
30 | +} | ||
31 | + | ||
32 | +module.exports = { | ||
33 | + themeList | ||
34 | +} |
1 | <template> | 1 | <template> |
2 | - <view class="u-button"> | 2 | + <view class="u-button" :style="vuex_theme"> |
3 | <u-button :text="text" :color="reversedColor" :plain="false" :hairline="false" :disabled="disabled" | 3 | <u-button :text="text" :color="reversedColor" :plain="false" :hairline="false" :disabled="disabled" |
4 | :throttleTime="1500" type="default" shape="circle" :open-type="openType" @getphonenumber="getPhoneNumber" | 4 | :throttleTime="1500" type="default" shape="circle" :open-type="openType" @getphonenumber="getPhoneNumber" |
5 | :custom-style="getCustomStyle" @click="click"> | 5 | :custom-style="getCustomStyle" @click="click"> |
@@ -72,11 +72,11 @@ | @@ -72,11 +72,11 @@ | ||
72 | 72 | ||
73 | reversedColor() { | 73 | reversedColor() { |
74 | 74 | ||
75 | - let color = '#0CB17A'; | 75 | + let color = 'var(--primary-color)'; |
76 | 76 | ||
77 | switch (this.type) { | 77 | switch (this.type) { |
78 | case 'confirm': | 78 | case 'confirm': |
79 | - color = "#0CB17A"; | 79 | + color = "var(--primary-color)"; |
80 | break; | 80 | break; |
81 | 81 | ||
82 | case 'cancel': | 82 | case 'cancel': |
@@ -92,11 +92,11 @@ | @@ -92,11 +92,11 @@ | ||
92 | // buttonType: function(newVal, oldVal) { | 92 | // buttonType: function(newVal, oldVal) { |
93 | // switch (this.type) { | 93 | // switch (this.type) { |
94 | // case 'confirm': | 94 | // case 'confirm': |
95 | - // this.color = "#0CB17A"; | 95 | + // this.color = "var(--primary-color)"; |
96 | // break; | 96 | // break; |
97 | 97 | ||
98 | // case 'cancel': | 98 | // case 'cancel': |
99 | - // this.color = "#0CB17A"; | 99 | + // this.color = "var(--primary-color)"; |
100 | // break; | 100 | // break; |
101 | // } | 101 | // } |
102 | // } | 102 | // } |
1 | <template> | 1 | <template> |
2 | <view class="c-no-data" :style="[wrapStyle]"> | 2 | <view class="c-no-data" :style="[wrapStyle]"> |
3 | <view class="image"> | 3 | <view class="image"> |
4 | - <u-image :src="vuex_baseImgUrl+'/no_data.png'" width="480rpx" height="480rpx"></u-image> | 4 | + <u-image :src="vuex_baseImgUrl+'no_data.png'" width="480rpx" height="480rpx"></u-image> |
5 | </view> | 5 | </view> |
6 | <view class="title" :style="[topStyle]">{{ title }}</view> | 6 | <view class="title" :style="[topStyle]">{{ title }}</view> |
7 | </view> | 7 | </view> |
@@ -27,7 +27,6 @@ | @@ -27,7 +27,6 @@ | ||
27 | }, | 27 | }, |
28 | data() { | 28 | data() { |
29 | return { | 29 | return { |
30 | - // vuex_baseImgUrl: this.vuex_baseImgUrl | ||
31 | }; | 30 | }; |
32 | }, | 31 | }, |
33 | watch: { | 32 | watch: { |
1 | <template> | 1 | <template> |
2 | - <view class="page"> | 2 | + <view class="page" :style="vuex_theme"> |
3 | <view class="qy"> | 3 | <view class="qy"> |
4 | <view class="gv" style="background-color: #fff; padding: 20px 16px 0;"> | 4 | <view class="gv" style="background-color: #fff; padding: 20px 16px 0;"> |
5 | <view class="green"></view> | 5 | <view class="green"></view> |
@@ -608,7 +608,7 @@ | @@ -608,7 +608,7 @@ | ||
608 | .green { | 608 | .green { |
609 | width: 3px; | 609 | width: 3px; |
610 | height: 10px; | 610 | height: 10px; |
611 | - background: #0CB17A; | 611 | + background: var(--primary-color); |
612 | } | 612 | } |
613 | 613 | ||
614 | .title { | 614 | .title { |
@@ -678,7 +678,7 @@ | @@ -678,7 +678,7 @@ | ||
678 | font-size: 28rpx; | 678 | font-size: 28rpx; |
679 | font-family: PingFangSC-Regular, PingFang SC; | 679 | font-family: PingFangSC-Regular, PingFang SC; |
680 | font-weight: 400; | 680 | font-weight: 400; |
681 | - color: #0CB17A; | 681 | + color: var(--primary-color); |
682 | } | 682 | } |
683 | } | 683 | } |
684 | 684 | ||
@@ -710,7 +710,7 @@ | @@ -710,7 +710,7 @@ | ||
710 | .green { | 710 | .green { |
711 | width: 3px; | 711 | width: 3px; |
712 | height: 10px; | 712 | height: 10px; |
713 | - background: #0CB17A; | 713 | + background: var(--primary-color); |
714 | } | 714 | } |
715 | 715 | ||
716 | .title { | 716 | .title { |
@@ -780,7 +780,7 @@ | @@ -780,7 +780,7 @@ | ||
780 | font-size: 28rpx; | 780 | font-size: 28rpx; |
781 | font-family: PingFangSC-Regular, PingFang SC; | 781 | font-family: PingFangSC-Regular, PingFang SC; |
782 | font-weight: 400; | 782 | font-weight: 400; |
783 | - color: #0CB17A; | 783 | + color: var(--primary-color); |
784 | margin-left: 8rpx; | 784 | margin-left: 8rpx; |
785 | } | 785 | } |
786 | } | 786 | } |
@@ -797,7 +797,7 @@ | @@ -797,7 +797,7 @@ | ||
797 | 797 | ||
798 | .botBtn { | 798 | .botBtn { |
799 | height: 48px; | 799 | height: 48px; |
800 | - background: linear-gradient(180deg, #1CD9B2 0%, #0CB17A 100%); | 800 | + background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%); |
801 | border-radius: 24px; | 801 | border-radius: 24px; |
802 | font-size: 17px; | 802 | font-size: 17px; |
803 | font-family: PingFangSC-Regular, PingFang SC; | 803 | font-family: PingFangSC-Regular, PingFang SC; |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | <view class="search_box"> | 3 | <view class="search_box"> |
4 | <!-- <view class="check"> | 4 | <!-- <view class="check"> |
5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> | 5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> |
6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" | 6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" |
7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" | 7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" |
8 | - activeColor="#06B079" size="28rpx" labelSize="28rpx" labelColor="#202131"> | 8 | + activeColor="var(--primary-color)" size="28rpx" labelSize="28rpx" labelColor="#202131"> |
9 | </u-checkbox> | 9 | </u-checkbox> |
10 | </u-checkbox-group> | 10 | </u-checkbox-group> |
11 | </view> --> | 11 | </view> --> |
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> | 46 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> |
47 | 待鉴定 | 47 | 待鉴定 |
48 | </view> | 48 | </view> |
49 | - <view v-else class="status" style="color: #0CB17A;"> | 49 | + <view v-else class="status" style="color: var(--primary-color);"> |
50 | 已鉴定 | 50 | 已鉴定 |
51 | </view> | 51 | </view> |
52 | <view class="time"> | 52 | <view class="time"> |
@@ -446,9 +446,9 @@ | @@ -446,9 +446,9 @@ | ||
446 | } | 446 | } |
447 | 447 | ||
448 | .selectItem { | 448 | .selectItem { |
449 | - background-color: #06B079; | 449 | + background-color: var(--primary-color); |
450 | color: #FFFFFF; | 450 | color: #FFFFFF; |
451 | - border: 2rpx solid #06B079; | 451 | + border: 2rpx solid var(--primary-color); |
452 | } | 452 | } |
453 | } | 453 | } |
454 | } | 454 | } |
1 | <template> | 1 | <template> |
2 | - <view class="report_detail"> | 2 | + <view class="report_detail" :style="vuex_theme"> |
3 | <view class="box form_info"> | 3 | <view class="box form_info"> |
4 | <view class="info"> | 4 | <view class="info"> |
5 | <view class="avatar">{{getNameLastTwo(detail.studentName)}}</view> | 5 | <view class="avatar">{{getNameLastTwo(detail.studentName)}}</view> |
@@ -89,7 +89,7 @@ | @@ -89,7 +89,7 @@ | ||
89 | <u-radio-group v-model="form.level" placement="row"> | 89 | <u-radio-group v-model="form.level" placement="row"> |
90 | <u-radio :customStyle="{marginRight: '24rpx'}" size="28rpx" labelSize="28rpx" | 90 | <u-radio :customStyle="{marginRight: '24rpx'}" size="28rpx" labelSize="28rpx" |
91 | v-for="(item, index) in radiolist" :key="index" :label="item.name" :name="item.name" | 91 | v-for="(item, index) in radiolist" :key="index" :label="item.name" :name="item.name" |
92 | - activeColor="#06B079"> | 92 | + activeColor="var(--primary-color)"> |
93 | </u-radio> | 93 | </u-radio> |
94 | </u-radio-group> | 94 | </u-radio-group> |
95 | 95 | ||
@@ -342,7 +342,7 @@ | @@ -342,7 +342,7 @@ | ||
342 | display: inline-block; | 342 | display: inline-block; |
343 | width: 6rpx; | 343 | width: 6rpx; |
344 | height: 32rpx; | 344 | height: 32rpx; |
345 | - background-color: #06B079; | 345 | + background-color: var(--primary-color); |
346 | margin: 0 12rpx 0 0; | 346 | margin: 0 12rpx 0 0; |
347 | position: relative; | 347 | position: relative; |
348 | top: 4rpx; | 348 | top: 4rpx; |
@@ -419,7 +419,7 @@ | @@ -419,7 +419,7 @@ | ||
419 | height: 94rpx; | 419 | height: 94rpx; |
420 | padding: 0 8rpx; | 420 | padding: 0 8rpx; |
421 | border-radius: 4rpx; | 421 | border-radius: 4rpx; |
422 | - background-color: #06B079; | 422 | + background-color: var(--primary-color); |
423 | font-size: 24rpx; | 423 | font-size: 24rpx; |
424 | line-height: 94rpx; | 424 | line-height: 94rpx; |
425 | color: #FFFFFF; | 425 | color: #FFFFFF; |
1 | <template> | 1 | <template> |
2 | - <view class="page"> | 2 | + <view class="page" :style="vuex_theme"> |
3 | <view class="item"> | 3 | <view class="item"> |
4 | <view style="display: flex; align-items: baseline;"> | 4 | <view style="display: flex; align-items: baseline;"> |
5 | <view class="t1"> | 5 | <view class="t1"> |
@@ -21,14 +21,14 @@ | @@ -21,14 +21,14 @@ | ||
21 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #F49A23;"> | 21 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #F49A23;"> |
22 | 待鉴定 | 22 | 待鉴定 |
23 | </view> | 23 | </view> |
24 | - <view v-else class="status" style="color: #0CB17A;"> | 24 | + <view v-else class="status" style="color: var(--primary-color);"> |
25 | 已鉴定 | 25 | 已鉴定 |
26 | </view> | 26 | </view> |
27 | </view> | 27 | </view> |
28 | <view style="background-color: #fff; margin-top: 20rpx; padding-left: 10px;"> | 28 | <view style="background-color: #fff; margin-top: 20rpx; padding-left: 10px;"> |
29 | - <u-tabs :list="menu_list" lineWidth="30rpx" lineHeight="4rpx" lineColor="#06B079" | 29 | + <u-tabs :list="menu_list" lineWidth="30rpx" lineHeight="4rpx" lineColor="var(--primary-color)" |
30 | :inactiveStyle="{fontSize:'32rpx', color:'#4A4A53'}" | 30 | :inactiveStyle="{fontSize:'32rpx', color:'#4A4A53'}" |
31 | - :activeStyle="{fontSize:'32rpx', color:'#06B079'}" @click="click"> | 31 | + :activeStyle="{fontSize:'32rpx', color:'var(--primary-color)'}" @click="click"> |
32 | </u-tabs> | 32 | </u-tabs> |
33 | </view> | 33 | </view> |
34 | <view v-if="current==0"> | 34 | <view v-if="current==0"> |
@@ -573,7 +573,7 @@ | @@ -573,7 +573,7 @@ | ||
573 | .green { | 573 | .green { |
574 | width: 3px; | 574 | width: 3px; |
575 | height: 10px; | 575 | height: 10px; |
576 | - background: #0CB17A; | 576 | + background: var(--primary-color); |
577 | } | 577 | } |
578 | 578 | ||
579 | .title { | 579 | .title { |
@@ -648,7 +648,7 @@ | @@ -648,7 +648,7 @@ | ||
648 | font-size: 28rpx; | 648 | font-size: 28rpx; |
649 | font-family: PingFangSC-Regular, PingFang SC; | 649 | font-family: PingFangSC-Regular, PingFang SC; |
650 | font-weight: 400; | 650 | font-weight: 400; |
651 | - color: #0CB17A; | 651 | + color: var(--primary-color); |
652 | } | 652 | } |
653 | } | 653 | } |
654 | 654 | ||
@@ -670,7 +670,7 @@ | @@ -670,7 +670,7 @@ | ||
670 | 670 | ||
671 | .botBtn { | 671 | .botBtn { |
672 | height: 48px; | 672 | height: 48px; |
673 | - background: linear-gradient(180deg, #1CD9B2 0%, #0CB17A 100%); | 673 | + background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%); |
674 | border-radius: 24px; | 674 | border-radius: 24px; |
675 | font-size: 17px; | 675 | font-size: 17px; |
676 | font-family: PingFangSC-Regular, PingFang SC; | 676 | font-family: PingFangSC-Regular, PingFang SC; |
@@ -718,7 +718,7 @@ | @@ -718,7 +718,7 @@ | ||
718 | 718 | ||
719 | .green { | 719 | .green { |
720 | margin-left: 5px; | 720 | margin-left: 5px; |
721 | - color: #0CB17A; | 721 | + color: var(--primary-color); |
722 | } | 722 | } |
723 | } | 723 | } |
724 | } | 724 | } |
1 | <template> | 1 | <template> |
2 | - <view class="page"> | 2 | + <view class="page" :style="vuex_theme"> |
3 | <view class="top"> | 3 | <view class="top"> |
4 | <view class="title"> | 4 | <view class="title"> |
5 | {{detailObj.studentName}}提交的请假申请 | 5 | {{detailObj.studentName}}提交的请假申请 |
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #FFC200;"> | 13 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #FFC200;"> |
14 | 待处理 | 14 | 待处理 |
15 | </view> | 15 | </view> |
16 | - <view v-else-if="detailObj.status == 'pass'" class="status" style="color: #0CB17A;"> | 16 | + <view v-else-if="detailObj.status == 'pass'" class="status" style="color: var(--primary-color);"> |
17 | 已通过 | 17 | 已通过 |
18 | </view> | 18 | </view> |
19 | <view v-else-if="detailObj.status == 'reject'" class="status" style="color: red;"> | 19 | <view v-else-if="detailObj.status == 'reject'" class="status" style="color: red;"> |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | <view class="search_box"> | 3 | <view class="search_box"> |
4 | <!-- <view class="check"> | 4 | <!-- <view class="check"> |
5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> | 5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> |
6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" | 6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" |
7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" | 7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" |
8 | - activeColor="#06B079" size="28rpx" labelSize="28rpx" labelColor="#202131"> | 8 | + activeColor="var(--primary-color)" size="28rpx" labelSize="28rpx" labelColor="#202131"> |
9 | </u-checkbox> | 9 | </u-checkbox> |
10 | </u-checkbox-group> | 10 | </u-checkbox-group> |
11 | </view> --> | 11 | </view> --> |
@@ -45,7 +45,7 @@ | @@ -45,7 +45,7 @@ | ||
45 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> | 45 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> |
46 | 待处理 | 46 | 待处理 |
47 | </view> | 47 | </view> |
48 | - <view v-else-if="item.status == 'pass'" class="status" style="color: #0CB17A;"> | 48 | + <view v-else-if="item.status == 'pass'" class="status" style="color: var(--primary-color);"> |
49 | 已通过 | 49 | 已通过 |
50 | </view> | 50 | </view> |
51 | <view v-else-if="item.status == 'reject'" class="status" style="color: red;"> | 51 | <view v-else-if="item.status == 'reject'" class="status" style="color: red;"> |
@@ -109,7 +109,7 @@ | @@ -109,7 +109,7 @@ | ||
109 | </scroll-view> | 109 | </scroll-view> |
110 | <view class="switch"> | 110 | <view class="switch"> |
111 | <text>待处理</text> | 111 | <text>待处理</text> |
112 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 112 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
113 | </u-switch> | 113 | </u-switch> |
114 | </view> | 114 | </view> |
115 | </view> | 115 | </view> |
@@ -545,9 +545,9 @@ | @@ -545,9 +545,9 @@ | ||
545 | } | 545 | } |
546 | 546 | ||
547 | .selectItem { | 547 | .selectItem { |
548 | - background-color: #06B079; | 548 | + background-color: var(--primary-color); |
549 | color: #FFFFFF; | 549 | color: #FFFFFF; |
550 | - border: 2rpx solid #06B079; | 550 | + border: 2rpx solid var(--primary-color); |
551 | } | 551 | } |
552 | } | 552 | } |
553 | } | 553 | } |
1 | <template> | 1 | <template> |
2 | - <view class="page"> | 2 | + <view class="page" :style="vuex_theme"> |
3 | <view class="top"> | 3 | <view class="top"> |
4 | <view class="title"> | 4 | <view class="title"> |
5 | {{title}} | 5 | {{title}} |
@@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
21 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #F49A23;"> | 21 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #F49A23;"> |
22 | 待处理 | 22 | 待处理 |
23 | </view> | 23 | </view> |
24 | - <view v-else-if="detailObj.status == 'adopt'" class="status" style="color: #0CB17A;"> | 24 | + <view v-else-if="detailObj.status == 'adopt'" class="status" style="color: var(--primary-color);"> |
25 | 已通过 | 25 | 已通过 |
26 | </view> | 26 | </view> |
27 | <view v-else-if="detailObj.status == 'reject'" class="status" style="color: red;"> | 27 | <view v-else-if="detailObj.status == 'reject'" class="status" style="color: red;"> |
@@ -676,7 +676,7 @@ | @@ -676,7 +676,7 @@ | ||
676 | width: 12px; | 676 | width: 12px; |
677 | height: 12px; | 677 | height: 12px; |
678 | border-radius: 12rpx; | 678 | border-radius: 12rpx; |
679 | - background: #0CB17A; | 679 | + background: var(--primary-color); |
680 | } | 680 | } |
681 | 681 | ||
682 | .u-order-title { | 682 | .u-order-title { |
@@ -708,7 +708,7 @@ | @@ -708,7 +708,7 @@ | ||
708 | .green { | 708 | .green { |
709 | width: 3px; | 709 | width: 3px; |
710 | height: 15px; | 710 | height: 15px; |
711 | - background: #0CB17A; | 711 | + background: var(--primary-color); |
712 | } | 712 | } |
713 | 713 | ||
714 | .title { | 714 | .title { |
@@ -743,7 +743,7 @@ | @@ -743,7 +743,7 @@ | ||
743 | font-size: 28rpx; | 743 | font-size: 28rpx; |
744 | font-family: PingFangSC-Regular, PingFang SC; | 744 | font-family: PingFangSC-Regular, PingFang SC; |
745 | font-weight: 400; | 745 | font-weight: 400; |
746 | - color: #0CB17A; | 746 | + color: var(--primary-color); |
747 | margin-left: 8rpx; | 747 | margin-left: 8rpx; |
748 | } | 748 | } |
749 | } | 749 | } |
@@ -806,7 +806,7 @@ | @@ -806,7 +806,7 @@ | ||
806 | .btn { | 806 | .btn { |
807 | width: 100%; | 807 | width: 100%; |
808 | height: 48px; | 808 | height: 48px; |
809 | - background: #0CB17A; | 809 | + background: var(--primary-color); |
810 | border-radius: 24px; | 810 | border-radius: 24px; |
811 | font-size: 17px; | 811 | font-size: 17px; |
812 | font-family: PingFangSC-Regular, PingFang SC; | 812 | font-family: PingFangSC-Regular, PingFang SC; |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | <view class="search_box"> | 3 | <view class="search_box"> |
4 | <!-- <view class="check"> | 4 | <!-- <view class="check"> |
5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> | 5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> |
6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" | 6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" |
7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" | 7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" |
8 | - activeColor="#06B079" size="28rpx" labelSize="28rpx" labelColor="#202131"> | 8 | + activeColor="var(--primary-color)" size="28rpx" labelSize="28rpx" labelColor="#202131"> |
9 | </u-checkbox> | 9 | </u-checkbox> |
10 | </u-checkbox-group> | 10 | </u-checkbox-group> |
11 | </view> --> | 11 | </view> --> |
@@ -56,7 +56,7 @@ | @@ -56,7 +56,7 @@ | ||
56 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> | 56 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> |
57 | 待处理 | 57 | 待处理 |
58 | </view> | 58 | </view> |
59 | - <view v-else-if="item.status == 'adopt'" class="status" style="color: #0CB17A;"> | 59 | + <view v-else-if="item.status == 'adopt'" class="status" style="color: var(--primary-color);"> |
60 | 已通过 | 60 | 已通过 |
61 | </view> | 61 | </view> |
62 | <view v-else-if="item.status == 'reject'" class="status" style="color: red;"> | 62 | <view v-else-if="item.status == 'reject'" class="status" style="color: red;"> |
@@ -121,7 +121,7 @@ | @@ -121,7 +121,7 @@ | ||
121 | </scroll-view> | 121 | </scroll-view> |
122 | <view class="switch"> | 122 | <view class="switch"> |
123 | <text>待处理</text> | 123 | <text>待处理</text> |
124 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 124 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
125 | </u-switch> | 125 | </u-switch> |
126 | </view> | 126 | </view> |
127 | </view> | 127 | </view> |
@@ -566,9 +566,9 @@ | @@ -566,9 +566,9 @@ | ||
566 | } | 566 | } |
567 | 567 | ||
568 | .selectItem { | 568 | .selectItem { |
569 | - background-color: #06B079; | 569 | + background-color: var(--primary-color); |
570 | color: #FFFFFF; | 570 | color: #FFFFFF; |
571 | - border: 2rpx solid #06B079; | 571 | + border: 2rpx solid var(--primary-color); |
572 | } | 572 | } |
573 | } | 573 | } |
574 | } | 574 | } |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | <view class="search_box"> | 3 | <view class="search_box"> |
4 | <!-- <view class="check"> | 4 | <!-- <view class="check"> |
5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> | 5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> |
6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" | 6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" |
7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" | 7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" |
8 | - activeColor="#06B079" size="28rpx" labelSize="28rpx" labelColor="#202131"> | 8 | + activeColor="var(--primary-color)" size="28rpx" labelSize="28rpx" labelColor="#202131"> |
9 | </u-checkbox> | 9 | </u-checkbox> |
10 | </u-checkbox-group> | 10 | </u-checkbox-group> |
11 | </view> --> | 11 | </view> --> |
@@ -45,7 +45,7 @@ | @@ -45,7 +45,7 @@ | ||
45 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> | 45 | <view v-if="item.status == 'wait'" class="status" style="color: #F49A23;"> |
46 | 待处理 | 46 | 待处理 |
47 | </view> | 47 | </view> |
48 | - <view v-else-if="item.status == 'passed'" class="status" style="color: #0CB17A;"> | 48 | + <view v-else-if="item.status == 'passed'" class="status" style="color: var(--primary-color);"> |
49 | 已通过 | 49 | 已通过 |
50 | </view> | 50 | </view> |
51 | <view v-else-if="item.status == 'rejected'" class="status" style="color: red;"> | 51 | <view v-else-if="item.status == 'rejected'" class="status" style="color: red;"> |
@@ -109,7 +109,7 @@ | @@ -109,7 +109,7 @@ | ||
109 | </scroll-view> | 109 | </scroll-view> |
110 | <view class="switch"> | 110 | <view class="switch"> |
111 | <text>待处理</text> | 111 | <text>待处理</text> |
112 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 112 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
113 | </u-switch> | 113 | </u-switch> |
114 | </view> | 114 | </view> |
115 | </view> | 115 | </view> |
@@ -537,9 +537,9 @@ | @@ -537,9 +537,9 @@ | ||
537 | } | 537 | } |
538 | 538 | ||
539 | .selectItem { | 539 | .selectItem { |
540 | - background-color: #06B079; | 540 | + background-color: var(--primary-color); |
541 | color: #FFFFFF; | 541 | color: #FFFFFF; |
542 | - border: 2rpx solid #06B079; | 542 | + border: 2rpx solid var(--primary-color); |
543 | } | 543 | } |
544 | } | 544 | } |
545 | } | 545 | } |
1 | <template> | 1 | <template> |
2 | - <view class="page"> | 2 | + <view class="page" :style="vuex_theme"> |
3 | <view class="top"> | 3 | <view class="top"> |
4 | <view class="title"> | 4 | <view class="title"> |
5 | {{detailObj.studentName}}提交的实习申请 | 5 | {{detailObj.studentName}}提交的实习申请 |
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #FFC200;"> | 13 | <view v-if="detailObj.status == 'wait'" class="status" style="color: #FFC200;"> |
14 | 待处理 | 14 | 待处理 |
15 | </view> | 15 | </view> |
16 | - <view v-else-if="detailObj.status == 'passed'" class="status" style="color: #0CB17A;"> | 16 | + <view v-else-if="detailObj.status == 'passed'" class="status" style="color: var(--primary-color);"> |
17 | 已通过 | 17 | 已通过 |
18 | </view> | 18 | </view> |
19 | <view v-else-if="detailObj.status == 'rejected'" class="status" style="color: red;"> | 19 | <view v-else-if="detailObj.status == 'rejected'" class="status" style="color: red;"> |
1 | <template> | 1 | <template> |
2 | - <view class="log_detail"> | 2 | + <view class="log_detail" :style="vuex_theme"> |
3 | 3 | ||
4 | <scroll-view scroll-y="true" style="height: 90%;" :scroll-with-animation="true"> | 4 | <scroll-view scroll-y="true" style="height: 90%;" :scroll-with-animation="true"> |
5 | <view class="header_box"> | 5 | <view class="header_box"> |
@@ -312,7 +312,7 @@ | @@ -312,7 +312,7 @@ | ||
312 | width: 94rpx; | 312 | width: 94rpx; |
313 | height: 94rpx; | 313 | height: 94rpx; |
314 | border-radius: 4rpx; | 314 | border-radius: 4rpx; |
315 | - background-color: #06B079; | 315 | + background-color: var(--primary-color); |
316 | font-size: 24rpx; | 316 | font-size: 24rpx; |
317 | line-height: 94rpx; | 317 | line-height: 94rpx; |
318 | color: #FFFFFF; | 318 | color: #FFFFFF; |
@@ -349,7 +349,7 @@ | @@ -349,7 +349,7 @@ | ||
349 | line-height: 48rpx; | 349 | line-height: 48rpx; |
350 | text-align: center; | 350 | text-align: center; |
351 | border-radius: 200rpx; | 351 | border-radius: 200rpx; |
352 | - background-color: #06B079; | 352 | + background-color: var(--primary-color); |
353 | position: absolute; | 353 | position: absolute; |
354 | top: 74rpx; | 354 | top: 74rpx; |
355 | right: 0; | 355 | right: 0; |
@@ -368,7 +368,7 @@ | @@ -368,7 +368,7 @@ | ||
368 | .title { | 368 | .title { |
369 | font-size: 36rpx; | 369 | font-size: 36rpx; |
370 | line-height: 50rpx; | 370 | line-height: 50rpx; |
371 | - color: #06B079; | 371 | + color: var(--primary-color); |
372 | } | 372 | } |
373 | 373 | ||
374 | .time { | 374 | .time { |
@@ -416,7 +416,7 @@ | @@ -416,7 +416,7 @@ | ||
416 | font-size: 28rpx; | 416 | font-size: 28rpx; |
417 | font-family: PingFangSC-Regular, PingFang SC; | 417 | font-family: PingFangSC-Regular, PingFang SC; |
418 | font-weight: 400; | 418 | font-weight: 400; |
419 | - color: #0CB17A; | 419 | + color: var(--primary-color); |
420 | padding-left: 15rpx; | 420 | padding-left: 15rpx; |
421 | } | 421 | } |
422 | } | 422 | } |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | <view class="search_box"> | 3 | <view class="search_box"> |
4 | <!-- <view class="check"> | 4 | <!-- <view class="check"> |
5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> | 5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> |
6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" | 6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" |
7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" | 7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" |
8 | - activeColor="#06B079" size="28rpx" labelSize="28rpx" labelColor="#202131"> | 8 | + activeColor="var(--primary-color)" size="28rpx" labelSize="28rpx" labelColor="#202131"> |
9 | </u-checkbox> | 9 | </u-checkbox> |
10 | </u-checkbox-group> | 10 | </u-checkbox-group> |
11 | </view> --> | 11 | </view> --> |
@@ -26,8 +26,8 @@ | @@ -26,8 +26,8 @@ | ||
26 | </view> | 26 | </view> |
27 | 27 | ||
28 | <u-sticky bgColor="#fff"> | 28 | <u-sticky bgColor="#fff"> |
29 | - <u-tabs :list="tabs" :scrollable="false" lineWidth="30rpx" lineHeight="4rpx" lineColor="#06B079" | ||
30 | - :inactiveStyle="{fontSize:'28rpx', color:'#4A4A53'}" :activeStyle="{fontSize:'36rpx', color:'#06B079'}" | 29 | + <u-tabs :list="tabs" :scrollable="false" lineWidth="30rpx" lineHeight="4rpx" lineColor="var(--primary-color)" |
30 | + :inactiveStyle="{fontSize:'28rpx', color:'#4A4A53'}" :activeStyle="{fontSize:'36rpx', color:'var(--primary-color)'}" | ||
31 | @change="handelTab" :current="current"> | 31 | @change="handelTab" :current="current"> |
32 | </u-tabs> | 32 | </u-tabs> |
33 | </u-sticky> | 33 | </u-sticky> |
@@ -123,7 +123,7 @@ | @@ -123,7 +123,7 @@ | ||
123 | </scroll-view> | 123 | </scroll-view> |
124 | <view class="switch"> | 124 | <view class="switch"> |
125 | <text>未阅</text> | 125 | <text>未阅</text> |
126 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 126 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
127 | </u-switch> | 127 | </u-switch> |
128 | </view> | 128 | </view> |
129 | </view> | 129 | </view> |
@@ -575,7 +575,7 @@ | @@ -575,7 +575,7 @@ | ||
575 | width: 94rpx; | 575 | width: 94rpx; |
576 | height: 94rpx; | 576 | height: 94rpx; |
577 | border-radius: 4rpx; | 577 | border-radius: 4rpx; |
578 | - background-color: #06B079; | 578 | + background-color: var(--primary-color); |
579 | font-size: 24rpx; | 579 | font-size: 24rpx; |
580 | line-height: 94rpx; | 580 | line-height: 94rpx; |
581 | color: #FFFFFF; | 581 | color: #FFFFFF; |
@@ -679,9 +679,9 @@ | @@ -679,9 +679,9 @@ | ||
679 | } | 679 | } |
680 | 680 | ||
681 | .selectItem { | 681 | .selectItem { |
682 | - background-color: #06B079; | 682 | + background-color: var(--primary-color); |
683 | color: #FFFFFF; | 683 | color: #FFFFFF; |
684 | - border: 2rpx solid #06B079; | 684 | + border: 2rpx solid var(--primary-color); |
685 | } | 685 | } |
686 | } | 686 | } |
687 | } | 687 | } |
1 | <template> | 1 | <template> |
2 | - <view class="registration_detail"> | 2 | + <view class="registration_detail" :style="vuex_theme"> |
3 | 3 | ||
4 | <view class="box student_info"> | 4 | <view class="box student_info"> |
5 | <view class="title">学生信息</view> | 5 | <view class="title">学生信息</view> |
@@ -296,7 +296,7 @@ | @@ -296,7 +296,7 @@ | ||
296 | display: inline-block; | 296 | display: inline-block; |
297 | width: 6rpx; | 297 | width: 6rpx; |
298 | height: 32rpx; | 298 | height: 32rpx; |
299 | - background-color: #06B079; | 299 | + background-color: var(--primary-color); |
300 | margin: 0 12rpx 0 0; | 300 | margin: 0 12rpx 0 0; |
301 | position: relative; | 301 | position: relative; |
302 | top: 4rpx; | 302 | top: 4rpx; |
@@ -385,7 +385,7 @@ | @@ -385,7 +385,7 @@ | ||
385 | font-size: 28rpx; | 385 | font-size: 28rpx; |
386 | font-family: PingFangSC-Regular, PingFang SC; | 386 | font-family: PingFangSC-Regular, PingFang SC; |
387 | font-weight: 400; | 387 | font-weight: 400; |
388 | - color: #0CB17A; | 388 | + color: var(--primary-color); |
389 | padding-left: 15rpx; | 389 | padding-left: 15rpx; |
390 | } | 390 | } |
391 | } | 391 | } |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | <view class="search_box"> | 3 | <view class="search_box"> |
4 | <!-- <view class="check"> | 4 | <!-- <view class="check"> |
5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> | 5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> |
6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" | 6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" |
7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" | 7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" |
8 | - activeColor="#06B079" size="28rpx" labelSize="28rpx" labelColor="#202131"> | 8 | + activeColor="var(--primary-color)" size="28rpx" labelSize="28rpx" labelColor="#202131"> |
9 | </u-checkbox> | 9 | </u-checkbox> |
10 | </u-checkbox-group> | 10 | </u-checkbox-group> |
11 | </view> --> | 11 | </view> --> |
@@ -115,7 +115,7 @@ | @@ -115,7 +115,7 @@ | ||
115 | </scroll-view> | 115 | </scroll-view> |
116 | <view class="switch"> | 116 | <view class="switch"> |
117 | <text>待审核</text> | 117 | <text>待审核</text> |
118 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 118 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
119 | </u-switch> | 119 | </u-switch> |
120 | </view> | 120 | </view> |
121 | </view> | 121 | </view> |
@@ -549,9 +549,9 @@ | @@ -549,9 +549,9 @@ | ||
549 | } | 549 | } |
550 | 550 | ||
551 | .selectItem { | 551 | .selectItem { |
552 | - background-color: #06B079; | 552 | + background-color: var(--primary-color); |
553 | color: #FFFFFF; | 553 | color: #FFFFFF; |
554 | - border: 2rpx solid #06B079; | 554 | + border: 2rpx solid var(--primary-color); |
555 | } | 555 | } |
556 | } | 556 | } |
557 | } | 557 | } |
1 | <template> | 1 | <template> |
2 | - <view class="report_detail"> | 2 | + <view class="report_detail" :style="vuex_theme"> |
3 | <view v-if="id"> | 3 | <view v-if="id"> |
4 | <view class="report_info"> | 4 | <view class="report_info"> |
5 | 5 | ||
@@ -35,7 +35,7 @@ | @@ -35,7 +35,7 @@ | ||
35 | </text> | 35 | </text> |
36 | <view class="record" @click="handelRecord"> | 36 | <view class="record" @click="handelRecord"> |
37 | <text>审批记录</text> | 37 | <text>审批记录</text> |
38 | - <u-icon :style="{margin:'0 0 0 8rpx'}" name="arrow-right" color="#06B079" size="28"></u-icon> | 38 | + <u-icon :style="{margin:'0 0 0 8rpx'}" name="arrow-right" color="var(--primary-color)" size="28"></u-icon> |
39 | </view> | 39 | </view> |
40 | </view> | 40 | </view> |
41 | </view> | 41 | </view> |
@@ -44,7 +44,7 @@ | @@ -44,7 +44,7 @@ | ||
44 | <view class="title">附件</view> | 44 | <view class="title">附件</view> |
45 | <view class="item" v-for="(item,index) in reportAttachments"> | 45 | <view class="item" v-for="(item,index) in reportAttachments"> |
46 | <text>报告附件</text> | 46 | <text>报告附件</text> |
47 | - <text :style="{color:'#06B079'}" @click="openLink(item)">{{item.filename}}</text> | 47 | + <text :style="{color:'var(--primary-color)'}" @click="openLink(item)">{{item.filename}}</text> |
48 | </view> | 48 | </view> |
49 | </view> | 49 | </view> |
50 | 50 | ||
@@ -56,8 +56,8 @@ | @@ -56,8 +56,8 @@ | ||
56 | <u-icon name="close" @click="deletePic(index)" width="28rpx" color="red" size="28"></u-icon> | 56 | <u-icon name="close" @click="deletePic(index)" width="28rpx" color="red" size="28"></u-icon> |
57 | </view> | 57 | </view> |
58 | <view class="icon_box" @click="handelFile"> | 58 | <view class="icon_box" @click="handelFile"> |
59 | - <u-icon name="plus" width="28rpx" label="添加" labelPos="bottom" labelColor="#06B079" | ||
60 | - color="#06B079" size="28"></u-icon> | 59 | + <u-icon name="plus" width="28rpx" label="添加" labelPos="bottom" labelColor="var(--primary-color)" |
60 | + color="var(--primary-color)" size="28"></u-icon> | ||
61 | </view> | 61 | </view> |
62 | </view> | 62 | </view> |
63 | 63 | ||
@@ -423,7 +423,7 @@ | @@ -423,7 +423,7 @@ | ||
423 | height: 94rpx; | 423 | height: 94rpx; |
424 | padding: 0 8rpx; | 424 | padding: 0 8rpx; |
425 | border-radius: 4rpx; | 425 | border-radius: 4rpx; |
426 | - background-color: #06B079; | 426 | + background-color: var(--primary-color); |
427 | font-size: 24rpx; | 427 | font-size: 24rpx; |
428 | line-height: 94rpx; | 428 | line-height: 94rpx; |
429 | color: #FFFFFF; | 429 | color: #FFFFFF; |
@@ -474,7 +474,7 @@ | @@ -474,7 +474,7 @@ | ||
474 | text { | 474 | text { |
475 | font-size: 24rpx; | 475 | font-size: 24rpx; |
476 | line-height: 32rpx; | 476 | line-height: 32rpx; |
477 | - color: #06B079; | 477 | + color: var(--primary-color); |
478 | } | 478 | } |
479 | } | 479 | } |
480 | } | 480 | } |
@@ -499,7 +499,7 @@ | @@ -499,7 +499,7 @@ | ||
499 | display: inline-block; | 499 | display: inline-block; |
500 | width: 6rpx; | 500 | width: 6rpx; |
501 | height: 32rpx; | 501 | height: 32rpx; |
502 | - background-color: #06B079; | 502 | + background-color: var(--primary-color); |
503 | margin: 0 12rpx 0 0; | 503 | margin: 0 12rpx 0 0; |
504 | position: relative; | 504 | position: relative; |
505 | top: 4rpx; | 505 | top: 4rpx; |
@@ -551,14 +551,14 @@ | @@ -551,14 +551,14 @@ | ||
551 | font-size: 28rpx; | 551 | font-size: 28rpx; |
552 | line-height: 36rpx; | 552 | line-height: 36rpx; |
553 | margin: 0 8rpx 12rpx 0; | 553 | margin: 0 8rpx 12rpx 0; |
554 | - color: #06B079; | 554 | + color: var(--primary-color); |
555 | } | 555 | } |
556 | 556 | ||
557 | } | 557 | } |
558 | 558 | ||
559 | .icon_box { | 559 | .icon_box { |
560 | width: 70rpx; | 560 | width: 70rpx; |
561 | - border: 2rpx solid #06B079; | 561 | + border: 2rpx solid var(--primary-color); |
562 | text-align: center; | 562 | text-align: center; |
563 | margin: 0 auto 20rpx; | 563 | margin: 0 auto 20rpx; |
564 | padding: 20rpx; | 564 | padding: 20rpx; |
@@ -618,7 +618,7 @@ | @@ -618,7 +618,7 @@ | ||
618 | .confirm { | 618 | .confirm { |
619 | width: 120px; | 619 | width: 120px; |
620 | height: 40px; | 620 | height: 40px; |
621 | - background: #0CB17A; | 621 | + background: var(--primary-color); |
622 | border-radius: 20px; | 622 | border-radius: 20px; |
623 | font-size: 17px; | 623 | font-size: 17px; |
624 | font-weight: 600; | 624 | font-weight: 600; |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | <view class="search_box"> | 3 | <view class="search_box"> |
4 | <!-- <view class="check"> | 4 | <!-- <view class="check"> |
5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> | 5 | <u-checkbox-group v-model="checkboxValue" placement="column" @change="checkboxChange"> |
6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" | 6 | <u-checkbox :customStyle="{marginBottom: '8px'}" shape="circle" |
7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" | 7 | v-for="(item, index) in checkboxList" :key="index" :label="item.name" :name="item.name" |
8 | - activeColor="#06B079" size="28rpx" labelSize="28rpx" labelColor="#202131"> | 8 | + activeColor="var(--primary-color)" size="28rpx" labelSize="28rpx" labelColor="#202131"> |
9 | </u-checkbox> | 9 | </u-checkbox> |
10 | </u-checkbox-group> | 10 | </u-checkbox-group> |
11 | </view> --> | 11 | </view> --> |
@@ -115,7 +115,7 @@ | @@ -115,7 +115,7 @@ | ||
115 | </scroll-view> | 115 | </scroll-view> |
116 | <view class="switch"> | 116 | <view class="switch"> |
117 | <text>待批阅</text> | 117 | <text>待批阅</text> |
118 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 118 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
119 | </u-switch> | 119 | </u-switch> |
120 | </view> | 120 | </view> |
121 | </view> | 121 | </view> |
@@ -517,7 +517,7 @@ | @@ -517,7 +517,7 @@ | ||
517 | height: 94rpx; | 517 | height: 94rpx; |
518 | padding: 0 8rpx; | 518 | padding: 0 8rpx; |
519 | border-radius: 4rpx; | 519 | border-radius: 4rpx; |
520 | - background-color: #06B079; | 520 | + background-color: var(--primary-color); |
521 | font-size: 24rpx; | 521 | font-size: 24rpx; |
522 | line-height: 94rpx; | 522 | line-height: 94rpx; |
523 | color: #FFFFFF; | 523 | color: #FFFFFF; |
@@ -596,9 +596,9 @@ | @@ -596,9 +596,9 @@ | ||
596 | } | 596 | } |
597 | 597 | ||
598 | .selectItem { | 598 | .selectItem { |
599 | - background-color: #06B079; | 599 | + background-color: var(--primary-color); |
600 | color: #FFFFFF; | 600 | color: #FFFFFF; |
601 | - border: 2rpx solid #06B079; | 601 | + border: 2rpx solid var(--primary-color); |
602 | } | 602 | } |
603 | } | 603 | } |
604 | } | 604 | } |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | 3 | ||
4 | <view class="search_box"> | 4 | <view class="search_box"> |
5 | <view style="width: 148px;"> | 5 | <view style="width: 148px;"> |
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | </view> | 16 | </view> |
17 | 17 | ||
18 | <u-calendar :minDate="minDate" :maxDate="maxDate" :monthNum="25" :show="showTime" :defaultDate="defaultDateMultiple" | 18 | <u-calendar :minDate="minDate" :maxDate="maxDate" :monthNum="25" :show="showTime" :defaultDate="defaultDateMultiple" |
19 | - @close="showTime = false" :showSubtitle="false" color="#06B079" @confirm="confirm"> | 19 | + @close="showTime = false" :showSubtitle="false" color="var(--primary-color)" @confirm="confirm"> |
20 | </u-calendar> | 20 | </u-calendar> |
21 | 21 | ||
22 | <view class="list_box" v-if="list.length > 0"> | 22 | <view class="list_box" v-if="list.length > 0"> |
@@ -111,7 +111,7 @@ | @@ -111,7 +111,7 @@ | ||
111 | </scroll-view> | 111 | </scroll-view> |
112 | <view class="switch"> | 112 | <view class="switch"> |
113 | <text>未签到</text> | 113 | <text>未签到</text> |
114 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 114 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
115 | </u-switch> | 115 | </u-switch> |
116 | </view> | 116 | </view> |
117 | </view> | 117 | </view> |
@@ -556,7 +556,7 @@ | @@ -556,7 +556,7 @@ | ||
556 | height: 94rpx; | 556 | height: 94rpx; |
557 | padding: 0 8rpx; | 557 | padding: 0 8rpx; |
558 | border-radius: 4rpx; | 558 | border-radius: 4rpx; |
559 | - background-color: #06B079; | 559 | + background-color: var(--primary-color); |
560 | font-size: 24rpx; | 560 | font-size: 24rpx; |
561 | line-height: 94rpx; | 561 | line-height: 94rpx; |
562 | color: #FFFFFF; | 562 | color: #FFFFFF; |
@@ -656,9 +656,9 @@ | @@ -656,9 +656,9 @@ | ||
656 | } | 656 | } |
657 | 657 | ||
658 | .selectItem { | 658 | .selectItem { |
659 | - background-color: #06B079; | 659 | + background-color: var(--primary-color); |
660 | color: #FFFFFF; | 660 | color: #FFFFFF; |
661 | - border: 2rpx solid #06B079; | 661 | + border: 2rpx solid var(--primary-color); |
662 | } | 662 | } |
663 | } | 663 | } |
664 | } | 664 | } |
1 | <template> | 1 | <template> |
2 | <view class="info"> | 2 | <view class="info"> |
3 | <view style="display: flex;"> | 3 | <view style="display: flex;"> |
4 | - <image class="header_bg" :src="vuex_baseImgUrl+'/intership_header_bg.png'"></image> | 4 | + <image class="header_bg" :src="vuex_baseImgUrl+'intership_header_bg.png'"></image> |
5 | <view style="position: absolute;display: flex;"> | 5 | <view style="position: absolute;display: flex;"> |
6 | <image class="header_img" src="/static/img/internship/intership_header.png" mode=""></image> | 6 | <image class="header_img" src="/static/img/internship/intership_header.png" mode=""></image> |
7 | <text class="text_white">成绩详情</text> | 7 | <text class="text_white">成绩详情</text> |
1 | <template> | 1 | <template> |
2 | - <view class="agreemen_detail"> | 2 | + <view class="agreemen_detail" :style="vuex_theme"> |
3 | 3 | ||
4 | <view v-if="id"> | 4 | <view v-if="id"> |
5 | <view class="box"> | 5 | <view class="box"> |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | <view class="item"> | 14 | <view class="item"> |
15 | <view class="company"> | 15 | <view class="company"> |
16 | <text>实习单号</text> | 16 | <text>实习单号</text> |
17 | - <text @click="handelDetail" :style="{color:'#06B079'}">{{detail.formNumber || '--'}}</text> | 17 | + <text @click="handelDetail" :style="{color:'var(--primary-color)'}">{{detail.formNumber || '--'}}</text> |
18 | </view> | 18 | </view> |
19 | <view class="company"> | 19 | <view class="company"> |
20 | <text>学生姓名</text> | 20 | <text>学生姓名</text> |
@@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
31 | <view class="company"> | 31 | <view class="company"> |
32 | <text>三方协议</text> | 32 | <text>三方协议</text> |
33 | <view class="item_box"> | 33 | <view class="item_box"> |
34 | - <text :style="{color:'#06B079'}" v-for="(item,index) in attachments" :key="index" | 34 | + <text :style="{color:'var(--primary-color)'}" v-for="(item,index) in attachments" :key="index" |
35 | @click="openLink(item)">{{item.filename}}</text> | 35 | @click="openLink(item)">{{item.filename}}</text> |
36 | </view> | 36 | </view> |
37 | 37 | ||
@@ -179,7 +179,7 @@ | @@ -179,7 +179,7 @@ | ||
179 | display: inline-block; | 179 | display: inline-block; |
180 | width: 6rpx; | 180 | width: 6rpx; |
181 | height: 32rpx; | 181 | height: 32rpx; |
182 | - background-color: #06B079; | 182 | + background-color: var(--primary-color); |
183 | margin: 0 12rpx 0 0; | 183 | margin: 0 12rpx 0 0; |
184 | position: relative; | 184 | position: relative; |
185 | top: 4rpx; | 185 | top: 4rpx; |
1 | <template> | 1 | <template> |
2 | <view class="info"> | 2 | <view class="info"> |
3 | <view style="display: flex;"> | 3 | <view style="display: flex;"> |
4 | - <image class="header_bg" :src="vuex_baseImgUrl+'/intership_header_bg.png'"></image> | 4 | + <image class="header_bg" :src="vuex_baseImgUrl+'intership_header_bg.png'"></image> |
5 | <view style="position: absolute;display: flex;"> | 5 | <view style="position: absolute;display: flex;"> |
6 | <image class="header_img" src="/static/img/internship/intership_header.png" mode=""></image> | 6 | <image class="header_img" src="/static/img/internship/intership_header.png" mode=""></image> |
7 | <text class="text_white">实习单详情</text> | 7 | <text class="text_white">实习单详情</text> |
1 | <template> | 1 | <template> |
2 | - <view class="internship_box"> | 2 | + <view class="internship_box" :style="vuex_theme"> |
3 | <view class="internship" v-if="hasLogin"> | 3 | <view class="internship" v-if="hasLogin"> |
4 | 4 | ||
5 | <view class="search_box"> | 5 | <view class="search_box"> |
@@ -36,12 +36,12 @@ | @@ -36,12 +36,12 @@ | ||
36 | </view> | 36 | </view> |
37 | <view class="no_login" v-else> | 37 | <view class="no_login" v-else> |
38 | <view class="image"> | 38 | <view class="image"> |
39 | - <u-image :style="{margin:'0 auto'}" :src="vuex_baseImgUrl+'/internship_bg.png'" width="480rpx" | 39 | + <u-image :style="{margin:'0 auto'}" :src="vuex_baseImgUrl+'internship_bg.png'" width="480rpx" |
40 | height="480rpx"></u-image> | 40 | height="480rpx"></u-image> |
41 | </view> | 41 | </view> |
42 | <view class="btn"> | 42 | <view class="btn"> |
43 | <text>登录后可查看待办事项</text> | 43 | <text>登录后可查看待办事项</text> |
44 | - <u-button type="primary" text="登录" color="#06B079" :customStyle="{width:'340rpx'}" @click="handelLOgin"> | 44 | + <u-button type="primary" text="登录" color="var(--primary-color)" :customStyle="{width:'340rpx'}" @click="handelLOgin"> |
45 | </u-button> | 45 | </u-button> |
46 | </view> | 46 | </view> |
47 | </view> | 47 | </view> |
@@ -233,7 +233,7 @@ | @@ -233,7 +233,7 @@ | ||
233 | width: 94rpx; | 233 | width: 94rpx; |
234 | height: 94rpx; | 234 | height: 94rpx; |
235 | border-radius: 4rpx; | 235 | border-radius: 4rpx; |
236 | - background-color: #06B079; | 236 | + background-color: var(--primary-color); |
237 | font-size: 24rpx; | 237 | font-size: 24rpx; |
238 | line-height: 94rpx; | 238 | line-height: 94rpx; |
239 | color: #FFFFFF; | 239 | color: #FFFFFF; |
1 | <template> | 1 | <template> |
2 | - <view class="registration_review"> | 2 | + <view class="registration_review" :style="vuex_theme"> |
3 | 3 | ||
4 | <u-sticky bgColor="#fff"> | 4 | <u-sticky bgColor="#fff"> |
5 | - <u-tabs :list="tabs" :scrollable="false" lineWidth="30rpx" lineHeight="4rpx" lineColor="#06B079" | ||
6 | - :inactiveStyle="{fontSize:'28rpx', color:'#4A4A53'}" :activeStyle="{fontSize:'36rpx', color:'#06B079'}" | 5 | + <u-tabs :list="tabs" :scrollable="false" lineWidth="30rpx" lineHeight="4rpx" lineColor="var(--primary-color)" |
6 | + :inactiveStyle="{fontSize:'28rpx', color:'#4A4A53'}" :activeStyle="{fontSize:'36rpx', color:'var(--primary-color)'}" | ||
7 | @change="handelTab" :current="current"> | 7 | @change="handelTab" :current="current"> |
8 | </u-tabs> | 8 | </u-tabs> |
9 | </u-sticky> | 9 | </u-sticky> |
@@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
67 | </scroll-view> | 67 | </scroll-view> |
68 | <view class="switch"> | 68 | <view class="switch"> |
69 | <text>未阅</text> | 69 | <text>未阅</text> |
70 | - <u-switch v-model="switchValue" size="48" activeColor="#06B079" @change="handelChange"> | 70 | + <u-switch v-model="switchValue" size="48" activeColor="var(--primary-color)" @change="handelChange"> |
71 | </u-switch> | 71 | </u-switch> |
72 | </view> | 72 | </view> |
73 | </view> | 73 | </view> |
@@ -444,7 +444,7 @@ | @@ -444,7 +444,7 @@ | ||
444 | width: 94rpx; | 444 | width: 94rpx; |
445 | height: 94rpx; | 445 | height: 94rpx; |
446 | border-radius: 4rpx; | 446 | border-radius: 4rpx; |
447 | - background-color: #06B079; | 447 | + background-color: var(--primary-color); |
448 | font-size: 24rpx; | 448 | font-size: 24rpx; |
449 | line-height: 94rpx; | 449 | line-height: 94rpx; |
450 | color: #FFFFFF; | 450 | color: #FFFFFF; |
@@ -546,9 +546,9 @@ | @@ -546,9 +546,9 @@ | ||
546 | } | 546 | } |
547 | 547 | ||
548 | .selectItem { | 548 | .selectItem { |
549 | - background-color: #06B079; | 549 | + background-color: var(--primary-color); |
550 | color: #FFFFFF; | 550 | color: #FFFFFF; |
551 | - border: 2rpx solid #06B079; | 551 | + border: 2rpx solid var(--primary-color); |
552 | } | 552 | } |
553 | } | 553 | } |
554 | } | 554 | } |
1 | <template> | 1 | <template> |
2 | - <view class="report_detail"> | 2 | + <view class="report_detail" :style="vuex_theme"> |
3 | <view class="box form_info"> | 3 | <view class="box form_info"> |
4 | <view class="info"> | 4 | <view class="info"> |
5 | <view class="avatar">{{getNameLastTwo(detail.studentName)}}</view> | 5 | <view class="avatar">{{getNameLastTwo(detail.studentName)}}</view> |
@@ -18,9 +18,9 @@ | @@ -18,9 +18,9 @@ | ||
18 | 18 | ||
19 | <view class="tab_box"> | 19 | <view class="tab_box"> |
20 | <view class="tab"> | 20 | <view class="tab"> |
21 | - <u-tabs :list="tabs" :scrollable="false" lineWidth="30rpx" lineHeight="4rpx" lineColor="#06B079" | 21 | + <u-tabs :list="tabs" :scrollable="false" lineWidth="30rpx" lineHeight="4rpx" lineColor="var(--primary-color)" |
22 | :inactiveStyle="{fontSize:'28rpx', color:'#4A4A53'}" | 22 | :inactiveStyle="{fontSize:'28rpx', color:'#4A4A53'}" |
23 | - :activeStyle="{fontSize:'36rpx', color:'#06B079'}" @change="handelTab" :current="current"> | 23 | + :activeStyle="{fontSize:'36rpx', color:'var(--primary-color)'}" @change="handelTab" :current="current"> |
24 | </u-tabs> | 24 | </u-tabs> |
25 | </view> | 25 | </view> |
26 | <view class="u-icon" v-if="current == 0"> | 26 | <view class="u-icon" v-if="current == 0"> |
@@ -142,7 +142,7 @@ | @@ -142,7 +142,7 @@ | ||
142 | <view class="projiect"> | 142 | <view class="projiect"> |
143 | <text>实习形式</text> | 143 | <text>实习形式</text> |
144 | <!-- <text @click="handelDetail(ele, 'internship')" | 144 | <!-- <text @click="handelDetail(ele, 'internship')" |
145 | - :style="{color:'#06B079',textDecoration:'underline'}">{{ele.formNumber|| '--'}}</text> --> | 145 | + :style="{color:'var(--primary-color)',textDecoration:'underline'}">{{ele.formNumber|| '--'}}</text> --> |
146 | <text>{{ele.practiceForm=='oneself'?'自主实习':'集中实习'}}</text> | 146 | <text>{{ele.practiceForm=='oneself'?'自主实习':'集中实习'}}</text> |
147 | </view> | 147 | </view> |
148 | <view class="projiect"> | 148 | <view class="projiect"> |
@@ -153,7 +153,7 @@ | @@ -153,7 +153,7 @@ | ||
153 | <!-- <view class="projiect" v-if="ele.credit"> | 153 | <!-- <view class="projiect" v-if="ele.credit"> |
154 | <text>学分</text> | 154 | <text>学分</text> |
155 | <text @click="handelDetail(ele, 'credit')" | 155 | <text @click="handelDetail(ele, 'credit')" |
156 | - :style="{color:'#06B079'}">{{ele.credit}}</text> | 156 | + :style="{color:'var(--primary-color)'}">{{ele.credit}}</text> |
157 | </view> --> | 157 | </view> --> |
158 | 158 | ||
159 | <!-- <view class="projiect" v-else> | 159 | <!-- <view class="projiect" v-else> |
@@ -587,7 +587,7 @@ | @@ -587,7 +587,7 @@ | ||
587 | display: inline-block; | 587 | display: inline-block; |
588 | width: 6rpx; | 588 | width: 6rpx; |
589 | height: 32rpx; | 589 | height: 32rpx; |
590 | - background-color: #06B079; | 590 | + background-color: var(--primary-color); |
591 | margin: 0 12rpx 0 0; | 591 | margin: 0 12rpx 0 0; |
592 | position: relative; | 592 | position: relative; |
593 | top: 4rpx; | 593 | top: 4rpx; |
@@ -664,7 +664,7 @@ | @@ -664,7 +664,7 @@ | ||
664 | height: 94rpx; | 664 | height: 94rpx; |
665 | padding: 0 8rpx; | 665 | padding: 0 8rpx; |
666 | border-radius: 4rpx; | 666 | border-radius: 4rpx; |
667 | - background-color: #06B079; | 667 | + background-color: var(--primary-color); |
668 | font-size: 24rpx; | 668 | font-size: 24rpx; |
669 | line-height: 94rpx; | 669 | line-height: 94rpx; |
670 | color: #FFFFFF; | 670 | color: #FFFFFF; |
@@ -751,7 +751,7 @@ | @@ -751,7 +751,7 @@ | ||
751 | display: inline-block; | 751 | display: inline-block; |
752 | width: 6rpx; | 752 | width: 6rpx; |
753 | height: 32rpx; | 753 | height: 32rpx; |
754 | - background-color: #06B079; | 754 | + background-color: var(--primary-color); |
755 | margin: 0 12rpx 0 0; | 755 | margin: 0 12rpx 0 0; |
756 | position: relative; | 756 | position: relative; |
757 | top: 4rpx; | 757 | top: 4rpx; |
@@ -867,9 +867,9 @@ | @@ -867,9 +867,9 @@ | ||
867 | } | 867 | } |
868 | 868 | ||
869 | .selectItem { | 869 | .selectItem { |
870 | - background-color: #06B079; | 870 | + background-color: var(--primary-color); |
871 | color: #FFFFFF; | 871 | color: #FFFFFF; |
872 | - border: 2rpx solid #06B079; | 872 | + border: 2rpx solid var(--primary-color); |
873 | } | 873 | } |
874 | } | 874 | } |
875 | } | 875 | } |
1 | <template> | 1 | <template> |
2 | - <view class="current2"> | 2 | + <view class="current2" :style="vuex_theme"> |
3 | <view v-if="list.length > 0" > | 3 | <view v-if="list.length > 0" > |
4 | <view class="list"> | 4 | <view class="list"> |
5 | <view v-for="(item,index) in list" :key="index" @click="handelClick(item)"> | 5 | <view v-for="(item,index) in list" :key="index" @click="handelClick(item)"> |
@@ -169,7 +169,7 @@ | @@ -169,7 +169,7 @@ | ||
169 | 169 | ||
170 | .green { | 170 | .green { |
171 | margin-left: 5px; | 171 | margin-left: 5px; |
172 | - color: #0CB17A; | 172 | + color: var(--primary-color); |
173 | } | 173 | } |
174 | } | 174 | } |
175 | } | 175 | } |
1 | <template> | 1 | <template> |
2 | - <view class="page"> | 2 | + <view class="page" :style="vuex_theme"> |
3 | <view class="content"> | 3 | <view class="content"> |
4 | <view class="t1"> | 4 | <view class="t1"> |
5 | {{detailObj.title}} | 5 | {{detailObj.title}} |
@@ -193,7 +193,7 @@ | @@ -193,7 +193,7 @@ | ||
193 | font-size: 11px; | 193 | font-size: 11px; |
194 | font-family: PingFangSC-Light, PingFang SC; | 194 | font-family: PingFangSC-Light, PingFang SC; |
195 | font-weight: 300; | 195 | font-weight: 300; |
196 | - color: #0CB17A; | 196 | + color: var(--primary-color); |
197 | } | 197 | } |
198 | 198 | ||
199 | .time { | 199 | .time { |
1 | <template> | 1 | <template> |
2 | - <view class="page"> | 2 | + <view class="page" :style="vuex_theme"> |
3 | <view v-if="list.length > 0"> | 3 | <view v-if="list.length > 0"> |
4 | <view class="list"> | 4 | <view class="list"> |
5 | <view v-for="(item,index) in list" :key="index" @click="handelClick(item)"> | 5 | <view v-for="(item,index) in list" :key="index" @click="handelClick(item)"> |
@@ -186,7 +186,7 @@ | @@ -186,7 +186,7 @@ | ||
186 | font-size: 11px; | 186 | font-size: 11px; |
187 | font-family: PingFangSC-Light, PingFang SC; | 187 | font-family: PingFangSC-Light, PingFang SC; |
188 | font-weight: 300; | 188 | font-weight: 300; |
189 | - color: #0CB17A; | 189 | + color: var(--primary-color); |
190 | } | 190 | } |
191 | 191 | ||
192 | .tag1 { | 192 | .tag1 { |
@@ -198,7 +198,7 @@ | @@ -198,7 +198,7 @@ | ||
198 | font-size: 11px; | 198 | font-size: 11px; |
199 | font-family: PingFangSC-Light, PingFang SC; | 199 | font-family: PingFangSC-Light, PingFang SC; |
200 | font-weight: 300; | 200 | font-weight: 300; |
201 | - color: #0CB17A; | 201 | + color: var(--primary-color); |
202 | } | 202 | } |
203 | 203 | ||
204 | } | 204 | } |
1 | <template> | 1 | <template> |
2 | - <view class="login"> | ||
3 | - <u-image width="100%" height="100%" :src="vuex_baseImgUrl+'/logo_bg.png'" /> | 2 | + <view class="login" :style="vuex_theme"> |
3 | + <u-image width="100%" height="100%" :src="vuex_baseImgUrl+'logo_bg.png'" /> | ||
4 | 4 | ||
5 | <view class="box"> | 5 | <view class="box"> |
6 | 6 | ||
7 | <view class="logo"> | 7 | <view class="logo"> |
8 | - <u-image width="200rpx" height="96rpx" :src="vuex_baseImgUrl+'/logo.png'" /> | 8 | + <u-image width="200rpx" height="96rpx" :src="vuex_baseImgUrl+'logo.png'" /> |
9 | </view> | 9 | </view> |
10 | 10 | ||
11 | <view class="btn button_warp"> | 11 | <view class="btn button_warp"> |
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | <view class="agreement"> | 20 | <view class="agreement"> |
21 | <view class="check"> | 21 | <view class="check"> |
22 | <u-checkbox-group @change="checkboxChange" v-model="checked"> | 22 | <u-checkbox-group @change="checkboxChange" v-model="checked"> |
23 | - <u-checkbox size="30" activeColor="#0CB17A" shape="circle"> | 23 | + <u-checkbox size="30" activeColor="var(--primary-color)" shape="circle"> |
24 | </u-checkbox> | 24 | </u-checkbox> |
25 | </u-checkbox-group> | 25 | </u-checkbox-group> |
26 | </view> | 26 | </view> |
@@ -167,7 +167,7 @@ | @@ -167,7 +167,7 @@ | ||
167 | margin: 48rpx 0 0 0; | 167 | margin: 48rpx 0 0 0; |
168 | font-size: 15px; | 168 | font-size: 15px; |
169 | font-weight: 400; | 169 | font-weight: 400; |
170 | - color: #06B079; | 170 | + color: var(--primary-color); |
171 | 171 | ||
172 | } | 172 | } |
173 | 173 | ||
@@ -193,7 +193,7 @@ | @@ -193,7 +193,7 @@ | ||
193 | color: rgba(0, 0, 0, 0.45); | 193 | color: rgba(0, 0, 0, 0.45); |
194 | 194 | ||
195 | .span { | 195 | .span { |
196 | - color: #0CB17A; | 196 | + color: var(--primary-color); |
197 | } | 197 | } |
198 | } | 198 | } |
199 | } | 199 | } |
1 | <template> | 1 | <template> |
2 | - <view class="login"> | 2 | + <view class="login" :style="vuex_theme"> |
3 | <view class="box"> | 3 | <view class="box"> |
4 | <view v-if="changeLogin == '账号密码登录'" class="form"> | 4 | <view v-if="changeLogin == '账号密码登录'" class="form"> |
5 | <u-form :model="form" ref="uForm"> | 5 | <u-form :model="form" ref="uForm"> |
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | <u-input v-model="form.password" border="none" placeholder="请输入验证码" | 15 | <u-input v-model="form.password" border="none" placeholder="请输入验证码" |
16 | :customStyle="{fontSize:'17px'}" /> | 16 | :customStyle="{fontSize:'17px'}" /> |
17 | <u-button type="default" size="mini" slot="right" :hair-line="false" | 17 | <u-button type="default" size="mini" slot="right" :hair-line="false" |
18 | - :custom-style="{color:'#0CB17A', border:'none',fontSize:'30rpx'}" @click="getCode"> | 18 | + :custom-style="{color:'var(--primary-color)', border:'none',fontSize:'30rpx'}" @click="getCode"> |
19 | {{codeText}} | 19 | {{codeText}} |
20 | </u-button> | 20 | </u-button> |
21 | <u-code ref="uCode" @change="codeChange"></u-code> | 21 | <u-code ref="uCode" @change="codeChange"></u-code> |
@@ -52,7 +52,7 @@ | @@ -52,7 +52,7 @@ | ||
52 | <view class="agreement"> | 52 | <view class="agreement"> |
53 | <view class="check"> | 53 | <view class="check"> |
54 | <u-checkbox-group @change="checkboxChange" v-model="checked"> | 54 | <u-checkbox-group @change="checkboxChange" v-model="checked"> |
55 | - <u-checkbox size="28" activeColor="#0CB17A" shape="circle"> | 55 | + <u-checkbox size="28" activeColor="var(--primary-color)" shape="circle"> |
56 | </u-checkbox> | 56 | </u-checkbox> |
57 | </u-checkbox-group> | 57 | </u-checkbox-group> |
58 | </view> | 58 | </view> |
@@ -260,7 +260,7 @@ | @@ -260,7 +260,7 @@ | ||
260 | margin: 48rpx 0 0 0; | 260 | margin: 48rpx 0 0 0; |
261 | font-size: 15px; | 261 | font-size: 15px; |
262 | font-weight: 400; | 262 | font-weight: 400; |
263 | - color: #0CB17A; | 263 | + color: var(--primary-color); |
264 | } | 264 | } |
265 | 265 | ||
266 | .agreement { | 266 | .agreement { |
@@ -285,7 +285,7 @@ | @@ -285,7 +285,7 @@ | ||
285 | color: rgba(0, 0, 0, 0.45); | 285 | color: rgba(0, 0, 0, 0.45); |
286 | 286 | ||
287 | .span { | 287 | .span { |
288 | - color: #0CB17A; | 288 | + color: var(--primary-color); |
289 | } | 289 | } |
290 | } | 290 | } |
291 | } | 291 | } |
1 | <template> | 1 | <template> |
2 | - <view class="home_box"> | 2 | + <view class="home_box" :style="vuex_theme"> |
3 | <view v-if="isNav" class="hiddenNav" :style="{'height':menuTop+menuHeight+12+ 'px'}"> | 3 | <view v-if="isNav" class="hiddenNav" :style="{'height':menuTop+menuHeight+12+ 'px'}"> |
4 | <view class="school" :style="{'margin-top':top}" @click="show = true"> | 4 | <view class="school" :style="{'margin-top':top}" @click="show = true"> |
5 | <text>{{hasLogin?doneSchoolName:'校职通'}}</text> | 5 | <text>{{hasLogin?doneSchoolName:'校职通'}}</text> |
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | </view> | 8 | </view> |
9 | <view class="home"> | 9 | <view class="home"> |
10 | <view class="school_box" v-if="hasLogin"> | 10 | <view class="school_box" v-if="hasLogin"> |
11 | - <u-image :src="vuex_baseImgUrl+'/schoolBg.png'" width="750rpx" height="496rpx" /> | 11 | + <u-image :src="vuex_baseImgUrl+'schoolBg.png'" width="750rpx" height="496rpx" /> |
12 | <view class="school" :style="{top:top}" @click="show = true"> | 12 | <view class="school" :style="{top:top}" @click="show = true"> |
13 | <text>{{doneSchoolName}}</text> | 13 | <text>{{doneSchoolName}}</text> |
14 | <u-icon size="12rpx" name="/static/img/home/homesan.png" @click="show = true"></u-icon> | 14 | <u-icon size="12rpx" name="/static/img/home/homesan.png" @click="show = true"></u-icon> |
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | </view> | 16 | </view> |
17 | 17 | ||
18 | <view class="school_box" v-else> | 18 | <view class="school_box" v-else> |
19 | - <u-image :src="vuex_baseImgUrl+'/schoolBg.png'" width="750rpx" height="496rpx" /> | 19 | + <u-image :src="vuex_baseImgUrl+'schoolBg.png'" width="750rpx" height="496rpx" /> |
20 | <view class="school" :style="{top:top}"> | 20 | <view class="school" :style="{top:top}"> |
21 | <text>校职通</text> | 21 | <text>校职通</text> |
22 | <!-- <u-icon size="12rpx" name="/static/img/home/homesan.png"></u-icon> --> | 22 | <!-- <u-icon size="12rpx" name="/static/img/home/homesan.png"></u-icon> --> |
@@ -326,7 +326,7 @@ | @@ -326,7 +326,7 @@ | ||
326 | </view> | 326 | </view> |
327 | <view class="no_login" v-else> | 327 | <view class="no_login" v-else> |
328 | <text>登录后可查看待办事项</text> | 328 | <text>登录后可查看待办事项</text> |
329 | - <u-button type="primary" text="登录" color="#06B079" :customStyle="{width:'340rpx'}" | 329 | + <u-button type="primary" text="登录" color="var(--primary-color)" :customStyle="{width:'340rpx'}" |
330 | @click="handelLOgin"></u-button> | 330 | @click="handelLOgin"></u-button> |
331 | </view> | 331 | </view> |
332 | </view> | 332 | </view> |
@@ -830,7 +830,7 @@ | @@ -830,7 +830,7 @@ | ||
830 | width: 30px; | 830 | width: 30px; |
831 | height: 5px; | 831 | height: 5px; |
832 | border-radius: 2.5px; | 832 | border-radius: 2.5px; |
833 | - background-color: #06B079; | 833 | + background-color: var(--primary-color); |
834 | position: absolute; | 834 | position: absolute; |
835 | top: 0px; | 835 | top: 0px; |
836 | left: 0px; | 836 | left: 0px; |
@@ -916,7 +916,7 @@ | @@ -916,7 +916,7 @@ | ||
916 | display: block; | 916 | display: block; |
917 | font-size: 28rpx; | 917 | font-size: 28rpx; |
918 | line-height: 36rpx; | 918 | line-height: 36rpx; |
919 | - color: #06B079; | 919 | + color: var(--primary-color); |
920 | margin: 0; | 920 | margin: 0; |
921 | } | 921 | } |
922 | 922 | ||
@@ -973,7 +973,7 @@ | @@ -973,7 +973,7 @@ | ||
973 | // display: inline-block; | 973 | // display: inline-block; |
974 | // width: 6rpx; | 974 | // width: 6rpx; |
975 | // height: 32rpx; | 975 | // height: 32rpx; |
976 | - // background-color: #06B079; | 976 | + // background-color: var(--primary-color); |
977 | // margin: 0 12rpx 0 0; | 977 | // margin: 0 12rpx 0 0; |
978 | // position: relative; | 978 | // position: relative; |
979 | // top: 4rpx; | 979 | // top: 4rpx; |
@@ -996,7 +996,7 @@ | @@ -996,7 +996,7 @@ | ||
996 | color: #202131; | 996 | color: #202131; |
997 | 997 | ||
998 | text { | 998 | text { |
999 | - color: #06B079; | 999 | + color: var(--primary-color); |
1000 | } | 1000 | } |
1001 | } | 1001 | } |
1002 | } | 1002 | } |
@@ -1096,7 +1096,7 @@ | @@ -1096,7 +1096,7 @@ | ||
1096 | .scroll { | 1096 | .scroll { |
1097 | margin-top: 25px; | 1097 | margin-top: 25px; |
1098 | height: 159px; | 1098 | height: 159px; |
1099 | - // background-color: #06B079; | 1099 | + // background-color: var(--primary-color); |
1100 | 1100 | ||
1101 | .item { | 1101 | .item { |
1102 | width: 100%; | 1102 | width: 100%; |
1 | <template> | 1 | <template> |
2 | - <view class="internship_box"> | 2 | + <view class="internship_box" :style="vuex_theme"> |
3 | <view class="internship" v-if="hasLogin"> | 3 | <view class="internship" v-if="hasLogin"> |
4 | 4 | ||
5 | <view class="search_box"> | 5 | <view class="search_box"> |
@@ -40,12 +40,12 @@ | @@ -40,12 +40,12 @@ | ||
40 | </view> | 40 | </view> |
41 | <view class="no_login" v-else> | 41 | <view class="no_login" v-else> |
42 | <view class="image"> | 42 | <view class="image"> |
43 | - <u-image :style="{margin:'0 auto'}" :src="vuex_baseImgUrl+'/internship_bg.png'" width="480rpx" | 43 | + <u-image :style="{margin:'0 auto'}" :src="vuex_baseImgUrl+'internship_bg.png'" width="480rpx" |
44 | height="480rpx"></u-image> | 44 | height="480rpx"></u-image> |
45 | </view> | 45 | </view> |
46 | <view class="btn"> | 46 | <view class="btn"> |
47 | <text>登录后可查看待办事项</text> | 47 | <text>登录后可查看待办事项</text> |
48 | - <u-button type="primary" text="登录" color="#06B079" :customStyle="{width:'340rpx'}" @click="handelLOgin"> | 48 | + <u-button type="primary" text="登录" color="var(--primary-color)" :customStyle="{width:'340rpx'}" @click="handelLOgin"> |
49 | </u-button> | 49 | </u-button> |
50 | </view> | 50 | </view> |
51 | </view> | 51 | </view> |
@@ -227,7 +227,7 @@ | @@ -227,7 +227,7 @@ | ||
227 | .title { | 227 | .title { |
228 | font-size: 24rpx; | 228 | font-size: 24rpx; |
229 | line-height: 36rpx; | 229 | line-height: 36rpx; |
230 | - color: #06B079; | 230 | + color: var(--primary-color); |
231 | margin: 0 12rpx; | 231 | margin: 0 12rpx; |
232 | } | 232 | } |
233 | 233 |
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | <view class="my_box"> | 2 | <view class="my_box"> |
3 | <view class="my" v-if="hasLogin"> | 3 | <view class="my" v-if="hasLogin"> |
4 | <view class="box-bg"> | 4 | <view class="box-bg"> |
5 | - <u-image width="100%" height="500rpx" :src="vuex_baseImgUrl+'/myBg.png'" /> | 5 | + <u-image width="100%" height="500rpx" :src="vuex_baseImgUrl+'myBg.png'" /> |
6 | </view> | 6 | </view> |
7 | <view class="container"> | 7 | <view class="container"> |
8 | <view class="avatar"> | 8 | <view class="avatar"> |
@@ -57,7 +57,7 @@ | @@ -57,7 +57,7 @@ | ||
57 | 57 | ||
58 | <view class="my" v-else> | 58 | <view class="my" v-else> |
59 | <view class="box-bg"> | 59 | <view class="box-bg"> |
60 | - <u-image width="100%" height="500rpx" :src="vuex_baseImgUrl+'/myBg.png'" /> | 60 | + <u-image width="100%" height="500rpx" :src="vuex_baseImgUrl+'myBg.png'" /> |
61 | </view> | 61 | </view> |
62 | <view class="container"> | 62 | <view class="container"> |
63 | <view class="avatar"> | 63 | <view class="avatar"> |
@@ -4,7 +4,8 @@ import user from './modules/user' | @@ -4,7 +4,8 @@ import user from './modules/user' | ||
4 | import home from './modules/home' | 4 | import home from './modules/home' |
5 | Vue.use(Vuex) | 5 | Vue.use(Vuex) |
6 | 6 | ||
7 | -let lifeData = {}; | 7 | +let lifeData = {}; |
8 | +let appId = 'wx123123'; | ||
8 | 9 | ||
9 | try { | 10 | try { |
10 | // 尝试获取本地是否存在lifeData变量,第一次启动APP时是不存在的 | 11 | // 尝试获取本地是否存在lifeData变量,第一次启动APP时是不存在的 |
@@ -36,7 +37,7 @@ const store = new Vuex.Store({ | @@ -36,7 +37,7 @@ const store = new Vuex.Store({ | ||
36 | }, | 37 | }, |
37 | state: { | 38 | state: { |
38 | hasLogin: lifeData.hasLogin ? lifeData.hasLogin : false, | 39 | hasLogin: lifeData.hasLogin ? lifeData.hasLogin : false, |
39 | - vuex_appId: 'wx6cd2152282abd34c', | 40 | + vuex_appId: appId, |
40 | vuex_corpId: 'ww4300c59cb9537f9e', //企业ID | 41 | vuex_corpId: 'ww4300c59cb9537f9e', //企业ID |
41 | // 如果上面从本地获取的lifeData对象下有对应的属性,就赋值给state中对应的变量 | 42 | // 如果上面从本地获取的lifeData对象下有对应的属性,就赋值给state中对应的变量 |
42 | // 加上vuex_前缀,是防止变量名冲突,也让人一目了然 | 43 | // 加上vuex_前缀,是防止变量名冲突,也让人一目了然 |
@@ -48,7 +49,8 @@ const store = new Vuex.Store({ | @@ -48,7 +49,8 @@ const store = new Vuex.Store({ | ||
48 | // 如果vuex_version无需保存到本地永久存储,无需lifeData.vuex_version方式 | 49 | // 如果vuex_version无需保存到本地永久存储,无需lifeData.vuex_version方式 |
49 | vuex_version: '1.0.1', | 50 | vuex_version: '1.0.1', |
50 | vuex_demo: '绛紫', | 51 | vuex_demo: '绛紫', |
51 | - vuex_baseImgUrl: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/yxly-teacher", | 52 | + vuex_baseImgUrl: "", |
53 | + vuex_theme: '', | ||
52 | vuex_ossUrl: "https://yxly.oss-cn-beijing.aliyuncs.com", | 54 | vuex_ossUrl: "https://yxly.oss-cn-beijing.aliyuncs.com", |
53 | vuex_ossUrlPubilc: "https://yxlypublic.oss-cn-beijing.aliyuncs.com", | 55 | vuex_ossUrlPubilc: "https://yxlypublic.oss-cn-beijing.aliyuncs.com", |
54 | vuex_customer_chatUrl: "https://work.weixin.qq.com/kfid/kfc04063cd2d1081221", //企业微信客服 | 56 | vuex_customer_chatUrl: "https://work.weixin.qq.com/kfid/kfc04063cd2d1081221", //企业微信客服 |
1 | <template> | 1 | <template> |
2 | - <view> | 2 | + <view :style="vuex_theme"> |
3 | <view class="mi_calendar"> | 3 | <view class="mi_calendar"> |
4 | <view class="top-bar"> | 4 | <view class="top-bar"> |
5 | <i class="top-change-month" @click="changeMonth('prev')" /> | 5 | <i class="top-change-month" @click="changeMonth('prev')" /> |
@@ -320,7 +320,7 @@ | @@ -320,7 +320,7 @@ | ||
320 | border-radius: 50%; | 320 | border-radius: 50%; |
321 | 321 | ||
322 | &.choose { | 322 | &.choose { |
323 | - background: #06B079; | 323 | + background: var(--primary-color); |
324 | color: #FFF; | 324 | color: #FFF; |
325 | } | 325 | } |
326 | } | 326 | } |
@@ -347,7 +347,7 @@ | @@ -347,7 +347,7 @@ | ||
347 | } | 347 | } |
348 | 348 | ||
349 | .truancy { | 349 | .truancy { |
350 | - background: #06B079; | 350 | + background: var(--primary-color); |
351 | } | 351 | } |
352 | 352 | ||
353 | .normal { | 353 | .normal { |
请
注册
或
登录
后发表评论