提交 aa884a069fe3026525749cfe2388ddc35dd13040

作者 wangws
1 个父辈 fdf887be

1

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