diff --git a/components/list/apply.vue b/components/list/apply.vue index d4e78a2..e015857 100644 --- a/components/list/apply.vue +++ b/components/list/apply.vue @@ -24,7 +24,8 @@ @click.stop="goTel(item.tel)" >
- + @@ -18,7 +19,7 @@ - 报名 + 报名 @@ -34,6 +35,7 @@ export default { data() { return { cdnBaseImg: this.G.store().cdnBaseImg, + themeColor: getApp().globalData.themeColor, isAdmin: uni.getStorageSync("IS_MINIAPP_ADMIN"), isMember: uni.getStorageSync("IS_MINIAPP_MEMBER"), hasPermission: uni.getStorageSync("HAS_PERMISSION") == 1 ? true : false, // 登陆者是否有权限查看 diff --git a/components/list/order/info.vue b/components/list/order/info.vue index 4852dd4..889d84a 100644 --- a/components/list/order/info.vue +++ b/components/list/order/info.vue @@ -10,7 +10,7 @@ #{{ item.userId }} - + 打电话 @@ -18,7 +18,7 @@ - 报名 + 报名 @@ -34,6 +34,7 @@ export default { data() { return { cdnBaseImg: this.G.store().cdnBaseImg, + themeColor: getApp().globalData.themeColor, }; }, props: { diff --git a/components/list/order/top.vue b/components/list/order/top.vue index 89ed461..29b687a 100644 --- a/components/list/order/top.vue +++ b/components/list/order/top.vue @@ -19,13 +19,13 @@ {{ info.status_notify }} - + {{ info.intervie_Time ? info.intervie_Time + " 面试" : "-" }} - + {{ info.willEntry_Time ? info.willEntry_Time + " 入职" : "-" }} - + {{ info.entry_Time ? info.entry_Time + " 入职" : "-" }} @@ -89,6 +89,7 @@ export default { data() { return { localBaseImg: this.G.store().localBaseImg, + themeColor: getApp().globalData.themeColor, info: { userName: "", sex: "", diff --git a/components/panel/infoCard.vue b/components/panel/infoCard.vue index d183e17..70fc634 100644 --- a/components/panel/infoCard.vue +++ b/components/panel/infoCard.vue @@ -67,10 +67,10 @@ - + - + - 关注 + + + 关注 @@ -89,6 +89,7 @@ export default { data() { return { cdnBaseImg: this.G.store().cdnBaseImg, + themeColor: getApp().globalData.themeColor, }; }, props: { diff --git a/pages/addJob/index.vue b/pages/addJob/index.vue index 73abe42..e52041e 100644 --- a/pages/addJob/index.vue +++ b/pages/addJob/index.vue @@ -105,11 +105,9 @@ }"> + :class="voiceStatus == 1 ? 'g_c_f g_bg_f0a' : voiceStatus == 0 ? '' : voiceStatus == -2 ? '' : ''" + :style="voiceStatus == 0 || voiceStatus == -2 ? {'background-color': themeColor} : {}"> {{ voiceStatus == 1 ? "" : voiceStatus == -1 ? "按住 说话" : "" }} @@ -257,6 +255,7 @@ }, data() { return { + themeColor: getApp().globalData.themeColor, ainame:uni.getStorageSync("ai-name") ? uni.getStorageSync('ai-name') : '助手', ailogo:uni.getStorageSync("ai-logo") ? uni.getStorageSync('ai-logo') : 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/dailibaoming/v3/add1.png', tabbarShow:true, diff --git a/pages/home/child/promotion.vue b/pages/home/child/promotion.vue index 4e75d60..e587b05 100644 --- a/pages/home/child/promotion.vue +++ b/pages/home/child/promotion.vue @@ -141,7 +141,7 @@
- +
@@ -167,6 +167,7 @@ export default { props: {}, data() { return { + themeColor: getApp().globalData.themeColor, userinfo: uni.getStorageSync("apply-userinfo") || {}, bannerList: [], serviceList: [], diff --git a/pages/home/child/promotion_jd.vue b/pages/home/child/promotion_jd.vue index 2fd3195..5f098a5 100644 --- a/pages/home/child/promotion_jd.vue +++ b/pages/home/child/promotion_jd.vue @@ -149,7 +149,7 @@
- +
@@ -164,6 +164,7 @@ export default { props: {}, data() { return { + themeColor: getApp().globalData.themeColor, bannerList: [], serviceList: [], serviceListBefore: [], diff --git a/pages/home/index.vue b/pages/home/index.vue index 45d81f8..22226cb 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -92,7 +92,7 @@ - {{ item.name }} + {{ item.name }}
@@ -364,6 +364,10 @@ export default { this.$set(this.appInfo, 'logo', demoConfig.logo); this.$set(this.appInfo, 'appName', demoConfig.appName); } + if (demoConfig && demoConfig.themeColor) { + getApp().globalData.themeColor = demoConfig.themeColor; + this.themeColor = demoConfig.themeColor; + } if (this.appInfo.noticeImg) { this.noticeImg = this.appInfo.noticeImg; } else { @@ -404,10 +408,15 @@ export default { that.$set(that.appInfo, 'logo', demoConfig.logo); that.$set(that.appInfo, 'appName', demoConfig.appName); } + if (demoConfig && demoConfig.themeColor) { + getApp().globalData.themeColor = demoConfig.themeColor; + that.themeColor = demoConfig.themeColor; + } }, data() { return { isSelf: false, + themeColor: getApp().globalData.themeColor, noticeColor: "#333", isAgency: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId, isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827', diff --git a/root/bind/applyForm.vue b/root/bind/applyForm.vue index f19abae..1555e37 100644 --- a/root/bind/applyForm.vue +++ b/root/bind/applyForm.vue @@ -134,8 +134,8 @@ @@ -163,6 +163,7 @@ export default { }, data() { return { + themeColor: getApp().globalData.themeColor, btnloading:false, newForm:{ wxname:'', diff --git a/root/bind/fensi copy.vue b/root/bind/fensi copy.vue index e8ef19a..b8b849c 100644 --- a/root/bind/fensi copy.vue +++ b/root/bind/fensi copy.vue @@ -52,7 +52,7 @@ - 通过 + 通过 @@ -108,7 +108,7 @@ - + 关注 @@ -159,6 +159,7 @@ export default { }, data() { return { + themeColor: getApp().globalData.themeColor, cdnBaseImg: this.G.store().cdnBaseImg, isLogin: null, isShow: false, diff --git a/root/bind/fensi.vue b/root/bind/fensi.vue index b1138a4..f4a12e5 100644 --- a/root/bind/fensi.vue +++ b/root/bind/fensi.vue @@ -74,7 +74,7 @@ - + 关注 diff --git a/root/bind/inviteList.vue b/root/bind/inviteList.vue index 5ef6b72..1382579 100644 --- a/root/bind/inviteList.vue +++ b/root/bind/inviteList.vue @@ -101,7 +101,7 @@ - + 关注 @@ -134,6 +134,7 @@ export default { }, data() { return { + themeColor: getApp().globalData.themeColor, cdnBaseImg: this.G.store().cdnBaseImg, isLogin: null, isShow: false, diff --git a/root/bind/order.vue b/root/bind/order.vue index ab9501c..cab85bc 100644 --- a/root/bind/order.vue +++ b/root/bind/order.vue @@ -92,19 +92,19 @@ - + 等待通过 - + 已过期 - + 关注 @@ -144,6 +144,7 @@ export default { }, data() { return { + themeColor: getApp().globalData.themeColor, cdnBaseImg: this.G.store().cdnBaseImg, isLogin: null, isShow: false, diff --git a/root/chat/index.vue b/root/chat/index.vue index 0bad50f..86f3ad0 100644 --- a/root/chat/index.vue +++ b/root/chat/index.vue @@ -222,7 +222,8 @@ :class="voiceStatus == 0 && spec ? 'g_bg_mais' : voiceStatus == 1 ? 'g_bg_f0a' : voiceStatus == -2 ? 'g_c_t g_bg_mais' : ''" style="border-radius: 0 40px 40px 0;position: relative;"> @@ -345,7 +346,8 @@ }, data() { return { - hasSafeArea: false, + themeColor: getApp().globalData.themeColor, + hasSafeArea: false, isHidden:false, jobnum:0, rightAnimate1:false, diff --git a/root/detail/apply.vue b/root/detail/apply.vue index 31898c2..a3a2644 100644 --- a/root/detail/apply.vue +++ b/root/detail/apply.vue @@ -11,7 +11,7 @@ 状态 - {{ orderDetail.status_text }} + {{ orderDetail.status_text }} @@ -20,7 +20,7 @@ 跟进人 - {{ orderDetail.followUser.aliasName || "-" }} + {{ orderDetail.followUser.aliasName || "-" }} @@ -33,7 +33,7 @@ {{ orderDetail.userName }}{{ orderDetail.setTitle }} - {{ orderDetail.status_text }} + {{ orderDetail.status_text }} @@ -115,10 +115,10 @@ - + - + @@ -167,7 +167,7 @@ 取消 - 确定 + 确定 备注 @@ -248,7 +248,7 @@ 复制文本 - 知道了 + 知道了 @@ -353,6 +353,7 @@ export default { }, data() { return { + themeColor: getApp().globalData.themeColor, from: "", // 判断来源 cdnBaseImg: this.G.store().cdnBaseImg, agencyId: uni.getStorageSync("apply-agencyId"), diff --git a/root/detail/applyTob.vue b/root/detail/applyTob.vue index 31898c2..a3a2644 100644 --- a/root/detail/applyTob.vue +++ b/root/detail/applyTob.vue @@ -11,7 +11,7 @@ 状态 - {{ orderDetail.status_text }} + {{ orderDetail.status_text }} @@ -20,7 +20,7 @@ 跟进人 - {{ orderDetail.followUser.aliasName || "-" }} + {{ orderDetail.followUser.aliasName || "-" }} @@ -33,7 +33,7 @@ {{ orderDetail.userName }}{{ orderDetail.setTitle }} - {{ orderDetail.status_text }} + {{ orderDetail.status_text }} @@ -115,10 +115,10 @@ - + - + @@ -167,7 +167,7 @@ 取消 - 确定 + 确定 备注 @@ -248,7 +248,7 @@ 复制文本 - 知道了 + 知道了 @@ -353,6 +353,7 @@ export default { }, data() { return { + themeColor: getApp().globalData.themeColor, from: "", // 判断来源 cdnBaseImg: this.G.store().cdnBaseImg, agencyId: uni.getStorageSync("apply-agencyId"), diff --git a/root/detail/applyToc.vue b/root/detail/applyToc.vue index 2c4f5c7..f542c74 100644 --- a/root/detail/applyToc.vue +++ b/root/detail/applyToc.vue @@ -46,7 +46,7 @@
{{ orderDetail.userName }}{{ orderDetail.setTitle }}
-
{{ orderDetail.status_text }}
+
{{ orderDetail.status_text }}
@@ -148,7 +148,7 @@
取消
-
确定
+
确定
备注
@@ -229,7 +229,7 @@
复制文本
-
知道了
+
知道了
@@ -246,6 +246,7 @@ export default { }, data() { return { + themeColor: getApp().globalData.themeColor, from: "", // 判断来源 cdnBaseImg: this.G.store().cdnBaseImg, agencyId: uni.getStorageSync("apply-agencyId"), diff --git a/root/detail/components/record.vue b/root/detail/components/record.vue index dfe822c..fe23043 100644 --- a/root/detail/components/record.vue +++ b/root/detail/components/record.vue @@ -30,7 +30,7 @@ {{ itm.desp }} - 详情 + 详情 @@ -73,6 +73,7 @@ export default { data() { return { + themeColor: getApp().globalData.themeColor, isCreator: false, }; }, diff --git a/root/detail/job.vue b/root/detail/job.vue index e554aff..9bb73c3 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -155,7 +155,7 @@ - 复制 + 复制