소스 검색

丘比养车巡店主题配置

lilei 4 년 전
부모
커밋
f6fb63cb18
51개의 변경된 파일419개의 추가작업 그리고 54개의 파일을 삭제
  1. 5 15
      App.vue
  2. 34 0
      config/index.js
  3. 16 1
      main.js
  4. 323 0
      pages-clz.json
  5. 8 8
      pages.json
  6. 3 1
      pages/index/index.vue
  7. 3 4
      pages/login/forget-pass.vue
  8. 8 6
      pages/login/login.vue
  9. 1 1
      pages/login/userAuthYs.vue
  10. 1 1
      pages/myShopTour/myShopTour.vue
  11. 1 1
      pages/myShopTour/searchModal.vue
  12. 1 1
      pages/shopTourCompleted/shopTourCompleted.vue
  13. 1 1
      pages/shopTourOver/shopTourOver.vue
  14. 3 3
      pages/shopTourRecord/screenModule.vue
  15. 1 1
      pages/signIn/signIn.vue
  16. 1 1
      pages/spotCheckCenter/spotCheckResult.vue
  17. 1 1
      pages/spotCheckCenter/spotChecking.vue
  18. 1 1
      pages/spotCheckConfigure/addSpotCheck.vue
  19. 1 1
      pages/toDoList/addBacklog.vue
  20. 1 1
      pages/toDoList/searchModal.vue
  21. 1 1
      pages/toDoList/toDoList.vue
  22. 2 2
      pages/userCenter/aboutUs.vue
  23. 1 1
      pages/userCenter/changePwd.vue
  24. 1 1
      pages/userCenter/userCenter.vue
  25. BIN
      static/pt.png
  26. BIN
      static/qiubxd/logo.png
  27. 0 0
      static/qiubxd/navIcon/djpz.png
  28. 0 0
      static/qiubxd/navIcon/djzx.png
  29. 0 0
      static/qiubxd/navIcon/spxd.png
  30. 0 0
      static/qiubxd/navIcon/wdxd.png
  31. 0 0
      static/qiubxd/navIcon/xcjc.png
  32. 0 0
      static/qiubxd/navIcon/zdjl.png
  33. BIN
      static/qiubxd/tabbar/home-active.png
  34. 0 0
      static/qiubxd/tabbar/home.png
  35. BIN
      static/qiubxd/tabbar/user-active.png
  36. 0 0
      static/qiubxd/tabbar/user.png
  37. BIN
      static/qiubxd/tabbar/work-active.png
  38. 0 0
      static/qiubxd/tabbar/work.png
  39. 0 0
      static/zyuxd/logo.png
  40. BIN
      static/zyuxd/navIcon/djpz.png
  41. BIN
      static/zyuxd/navIcon/djzx.png
  42. BIN
      static/zyuxd/navIcon/spxd.png
  43. BIN
      static/zyuxd/navIcon/wdxd.png
  44. BIN
      static/zyuxd/navIcon/xcjc.png
  45. BIN
      static/zyuxd/navIcon/zdjl.png
  46. 0 0
      static/zyuxd/tabbar/home-active.png
  47. BIN
      static/zyuxd/tabbar/home.png
  48. 0 0
      static/zyuxd/tabbar/user-active.png
  49. BIN
      static/zyuxd/tabbar/user.png
  50. 0 0
      static/zyuxd/tabbar/work-active.png
  51. BIN
      static/zyuxd/tabbar/work.png

+ 5 - 15
App.vue

@@ -1,23 +1,12 @@
 <script>
-	// const uat_URL = 'https://aitour.test.zyucgj.com/at-employee/' // 预发布
-	// // const uat_URL = 'http://192.168.16.100:9102/at-employee/' // 本地
-	// const pro_URL = 'https://aitour.zyucgj.com/at-employee/'  // 生产
-	
-	const uat_URL = 'https://aitour.test.qiubcar.com/at-employee/' // 预发布
-	// const uat_URL = 'http://192.168.16.100:9102/at-employee/' // 本地
-	const pro_URL = 'https://aitour.qiubcar.com/at-employee/'  // 生产
-	
-	const buildType = 0 // 打包环境对应类型,1 生产 0 预发布
-	const buildURL = buildType ? pro_URL : uat_URL // 打包后实际对应的url
-	const envText = ['预发布环境','生产环境']
-	const envTips = process.env.NODE_ENV == 'development' ? envText[0] : envText[buildType]
 	export default {
 		globalData: {  
-			baseUrl: process.env.NODE_ENV == 'development' ? uat_URL : buildURL,
+			baseUrl: '',
 			token: '',
 			version: '', // 当前版本号
-			buildType: buildType,
-			envTips: envTips
+			buildType: 'pro', // 打包环境对应类型,pro 生产 uat 预发布 dev 本地开发
+			envTips: '', // 环境文字提示
+			theme: 'qiubxd', // app 主题类型, zyuxd 章鱼巡店 ,qiubxd 丘比巡店
 		},
 		mounted() {
 			// 非V3模式
@@ -27,6 +16,7 @@
 				// V3模式
 				getApp({allowDefault: true}).globalData.token = this.$store.state.vuex_token
 			}
+			this.$config('init')
 		},
 		onLaunch: function() {
 			console.log('App onLaunch')

+ 34 - 0
config/index.js

@@ -0,0 +1,34 @@
+// 主题配置信息
+const getConfig = (theme) => {
+	const config = {
+		// 章鱼巡店
+		"zyuxd":{
+			themePath: 'zyuxd',
+			pro_URL: 'https://aitour.zyucgj.com/at-employee/', // 生产地址
+			uat_URL: 'https://aitour.test.zyucgj.com/at-employee/', // 预发布地址
+			dev_URL: 'http://192.168.16.100:9102/at-employee/', // 本地地址
+			appName: '智能巡店系统', // app 名称
+			company: '陕西山海高科信息技术有限公司',
+			primaryColors: '#55aaff', // 主色调
+			buttonColors: '#3399ff', // 按钮主色调
+			fixedButtonColors: '#0099FF', // 浮动按钮色调
+			topBarBackground: '#3399ff', // 主页顶部栏渐变色
+		},
+		// 丘比养车巡店
+		"qiubxd":{
+			themePath: 'qiubxd',
+			pro_URL: 'https://aitour.qiubcar.com/at-employee/', // 生产地址
+			uat_URL: 'https://aitour.test.qiubcar.com/at-employee/', // 预发布地址
+			dev_URL: 'http://192.168.16.100:9102/at-employee/', // 本地地址
+			appName: '丘比智能巡店系统', // app 名称
+			company: '成都丘比象科技有限公司',
+			primaryColors: '#f8a240', // 主色调
+			buttonColors: '#ff6600', // 按钮主色调
+			fixedButtonColors: '#FF9933', // 浮动按钮色调
+			topBarBackground: '#282828', // 主页顶部栏渐变色
+		}
+	}
+	return config[theme]
+}
+
+export default getConfig

+ 16 - 1
main.js

@@ -1,7 +1,7 @@
 import Vue from 'vue'
 import App from './App'
 import store from '@/store'
-
+import getConfig from '@/config'
 Vue.config.productionTip = false
 App.mpType = 'app'
 
@@ -10,6 +10,21 @@ Vue.use(uView)
 
 let vuexStore = require("@/store/$u.mixin.js")
 Vue.mixin(vuexStore)
+
+// 系统配置
+Vue.prototype.$config = function (key) {
+	const envText = {pro:'生产环境',dev:'开发环境',uat:'预发布环境'}
+	const theme = getApp().globalData.theme
+	const config = getConfig(theme)
+	if(key == 'init'){
+		let buildType = getApp().globalData.buildType
+		let baseUrl = config[buildType+'_URL']
+		getApp().globalData.baseUrl = baseUrl
+		getApp().globalData.envTips = envText[buildType]
+	}
+	return config[key]
+}
+
 /**
  * 权限检查
  */

+ 323 - 0
pages-clz.json

@@ -0,0 +1,323 @@
+{
+	"easycom": {
+		"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
+	},
+	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+		{
+			"path": "pages/login/login", //  登录
+			"style": {
+				"navigationStyle": "custom", //  是否显示导航栏  default显示,custom不显示
+				"navigationBarTitleText": "登录"
+			}
+		},
+		{
+			"path": "pages/login/apply-trial", //  申请试用
+			"style": {
+				"navigationStyle": "default", //  是否显示导航栏  default显示,custom不显示
+				"navigationBarTitleText": "申请试用"
+			}
+		},
+		{
+			"path": "pages/login/forget-pass", //  忘记密码
+			"style": {
+				"navigationStyle": "default", //  是否显示导航栏  default显示,custom不显示
+				"navigationBarTitleText": "忘记密码"
+			}
+		},
+		{
+			"path": "pages/login/userAuthYs", //  用户隐私政策须知
+			"style": {
+				"navigationStyle": "default", //  是否显示导航栏  default显示,custom不显示
+				"navigationBarTitleText": "用户协议及隐私保护政策"
+			}
+		},
+		{
+			"path": "pages/index/index",
+			"style": {
+				"navigationBarTitleText": "智能巡店"
+			}
+		},
+		{
+			"path": "pages/videoShopTour/videoShopTour",
+			"style": {
+				"navigationBarTitleText": "视频巡店"
+			}
+		},
+		{
+			"path": "pages/searchPage/searchPage",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTextStyle": "black" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
+			}
+		},
+		{
+			"path": "pages/organization/organization",
+			"style": {
+				"navigationBarTitleText": "按组织机构查询"
+			}
+		},
+		{
+			"path": "pages/shopTour/shopTour",
+			"style": {
+				"navigationBarTitleText": "视频巡店",
+				"app-plus": {
+					"bounce": "none", //关闭窗口回弹效果
+					"titleNView": {
+						"buttons": [ //原生标题栏按钮配置,
+							{
+								"text": "\ue610 考评方案", //原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
+								"fontSize": 16,
+								"color": "#eee",
+								"width": "120px",
+								"fontSrc": "/static/iconfont/iconfont.ttf"
+							}
+						]
+					}
+				}
+			}
+		},
+		{
+			"path": "pages/evaluatePlan/evaluatePlan",
+			"style": {
+				"navigationBarTitleText": "选择考评方案"
+			}
+		},
+		{
+			"path": "pages/evaluatePlan/planDetail",
+			"style": {
+				"navigationBarTitleText": "考评方案详细"
+			}
+		},
+		{
+			"path": "pages/work/work",
+			"style": {
+				"navigationBarTitleText": "工作台"
+			}
+		},
+		{
+			"path": "pages/siteInspection/siteInspection",
+			"style": {
+				"navigationBarTitleText": "现场巡店"
+			}
+		},
+		{
+			"path": "pages/signIn/signIn",
+			"style": {
+				"navigationBarTitleText": "拍照签到"
+			}
+		},
+		{
+			"path": "pages/shopTourOver/shopTourOver", //  现场巡店结束签字
+			"style": {
+				"navigationBarTitleText": "签字"
+			}
+		},
+		{
+			"path": "pages/shopTourCompleted/shopTourCompleted", //  现场巡店-巡店完成
+			"style": {
+				"navigationBarTitleText": "巡店完成"
+			}
+		},
+		{
+			"path": "pages/myShopTour/myShopTour", //  我的巡店
+			"style": {
+				"navigationBarTitleText": "我的巡店",
+				"app-plus": {
+					"bounce": "none", //关闭窗口回弹效果
+					"titleNView": {
+						"buttons": [ //原生标题栏按钮配置,
+							{
+								"text": "\ue67c 筛选", //原生标题栏增加过滤按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
+								"fontSize": 16,
+								"color": "#eee",
+								"width": "80px",
+								"fontSrc": "/static/iconfont/iconfont.ttf"
+							}
+						]
+					}
+				}
+			}
+		},
+		{
+			"path": "pages/shopTourRecord/shopTourRecord", //  巡店记录
+			"style": {
+				"navigationBarTitleText": "巡店记录"
+			}
+		},
+		{
+			"path": "pages/shopTourDetails/shopTourDetails", //  巡店详情
+			"style": {
+				"navigationBarTitleText": "巡店详情"
+			}
+		},
+		{
+			"path": "pages/spotCheckDetails/spotCheckDetails", //  点检详情
+			"style": {
+				"navigationBarTitleText": "点检详情"
+			}
+		},
+		{
+			"path": "pages/spotCheckCenter/spotChecking",
+			"style": {
+				"navigationBarTitleText": "点检中心"
+			}
+		}, {
+			"path": "pages/spotCheckCenter/spotCheckResult",
+			"style": {
+				"navigationBarTitleText": "点检结果"
+			}
+		},
+		{
+			"path" : "pages/userCenter/viewStores",
+			"style" : {
+				"navigationBarTitleText": "可点检门店"
+			}
+		},
+		{
+			"path": "pages/spotCheckConfigure/spotCheckList",
+			"style": {
+				"navigationBarTitleText": "点检任务配置",
+				"titleNView": {
+					"buttons": [
+						{
+							"text": ""
+						}
+					]
+				}
+			}
+		},
+		{
+			"path": "pages/spotCheckConfigure/addSpotCheck",
+			"style": {
+				"navigationBarTitleText": "新增点检任务"
+			}
+		},
+		{
+			"path": "pages/spotCheckConfigure/spotCheckDetail/spotCheckDetail",
+			"style": {
+				"navigationBarTitleText": "点检任务详情"
+			}
+		},
+		{
+			"path": "pages/spotCheckConfigure/spotCheckDetail/evaluateItemDetail",
+			"style": {
+				"navigationBarTitleText": "考评指标详情"
+			}
+		},
+		{
+			"path": "pages/spotCheckConfigure/evaluateItem",
+			"style": {
+				"navigationBarTitleText": "考评指标"
+			}
+		},
+		{
+			"path": "pages/spotCheckConfigure/evaluateStore",
+			"style": {
+				"navigationBarTitleText": "考评门店"
+			}
+		},
+		{
+			"path": "pages/userCenter/userCenter",
+			"style": {
+				"navigationBarTitleText": "个人中心"
+			}
+		},
+		{
+			"path": "pages/userCenter/personInfo", //  我的>个人信息
+			"style": {
+				"navigationBarTitleText": "个人信息"
+			}
+		},
+		{
+			"path": "pages/userCenter/aboutUs", //  我的>关于我们
+			"style": {
+				"navigationBarTitleText": "关于我们"
+			}
+		},
+		{
+			"path": "pages/userCenter/changePwd", //  我的>修改密码
+			"style": {
+				"navigationBarTitleText": "修改密码"
+			}
+		},
+		{
+			"path": "pages/toDoList/toDoList", //  待办单 > 待办单列表
+			"style": {
+				"navigationBarTitleText": "待办单",
+				"app-plus": {
+					"titleNView": {
+						"buttons": [
+							{
+								"text": ""
+							}
+						]
+					}
+				}
+			}
+		},
+		{
+			"path": "pages/toDoList/backlogDetail", //  待办单 > 问题详情
+			"style": {
+				"navigationBarTitleText": "待办单详情"
+			}
+		},
+		{
+			"path": "pages/toDoList/addBacklog", //  待办单 > 创建问题
+			"style": {
+				"navigationBarTitleText": "新增待办单"
+			}
+		},
+		{
+			"path": "pages/toDoList/chooseReceiveUser", //  待办单 > 选择抄送人
+			"style": {
+				"navigationBarTitleText": "选择抄送人"
+			}
+		}
+	    ,{
+            "path" : "pages/spotCheck/spotCheck",
+            "style" : {
+				"navigationBarTitleText": "开始点检"
+			}
+        },
+		{
+			"path": "pages/toDoList/chooseEvaluateItem",
+			"style": {
+				"navigationBarTitleText": "考评指标"
+			}
+		}
+    ],
+	"globalStyle": {
+		"navigationBarTitleText": "智能巡店",
+		"navigationBarTextStyle": "white",
+		"navigationBarBackgroundColor": "#0b6ce0",
+		"backgroundColor": "#F8F8F8",
+		"app-plus": {
+			// 将回弹属性关掉
+			"bounce": "none",
+			"scrollIndicator": "none"
+		}
+	},
+	"tabBar": {
+		"color": "#7A7E83",
+		"selectedColor": "#0b6ce0",
+		"borderStyle": "#eee",
+		"backgroundColor": "#ffffff",
+		"fontSize": "14px",
+		"list": [{
+			"pagePath": "pages/index/index",
+			"iconPath": "static/zyuxd/tabbar/home.png",
+			"selectedIconPath": "static/zyuxd/tabbar/home-active.png",
+			"text": "首页"
+		}, {
+			"pagePath": "pages/work/work",
+			"iconPath": "static/zyuxd/tabbar/work.png",
+			"selectedIconPath": "static/zyuxd/tabbar/work-active.png",
+			"text": "工作台"
+		}, {
+			"pagePath": "pages/userCenter/userCenter",
+			"iconPath": "static/zyuxd/tabbar/user.png",
+			"selectedIconPath": "static/zyuxd/tabbar/user-active.png",
+			"text": "我的"
+		}]
+	}
+}

+ 8 - 8
pages.json

@@ -288,8 +288,8 @@
     ],
 	"globalStyle": {
 		"navigationBarTitleText": "智能巡店",
-		"navigationBarBackgroundColor": "#0b6ce0",
 		"navigationBarTextStyle": "white",
+		"navigationBarBackgroundColor": "#282828",
 		"backgroundColor": "#F8F8F8",
 		"app-plus": {
 			// 将回弹属性关掉
@@ -299,24 +299,24 @@
 	},
 	"tabBar": {
 		"color": "#7A7E83",
-		"selectedColor": "#0b6ce0",
+		"selectedColor": "#f8a240",
 		"borderStyle": "#eee",
 		"backgroundColor": "#ffffff",
 		"fontSize": "14px",
 		"list": [{
 			"pagePath": "pages/index/index",
-			"iconPath": "static/tabbar/home.png",
-			"selectedIconPath": "static/tabbar/home-active.png",
+			"iconPath": "static/qiubxd/tabbar/home.png",
+			"selectedIconPath": "static/qiubxd/tabbar/home-active.png",
 			"text": "首页"
 		}, {
 			"pagePath": "pages/work/work",
-			"iconPath": "static/tabbar/work.png",
-			"selectedIconPath": "static/tabbar/work-active.png",
+			"iconPath": "static/qiubxd/tabbar/work.png",
+			"selectedIconPath": "static/qiubxd/tabbar/work-active.png",
 			"text": "工作台"
 		}, {
 			"pagePath": "pages/userCenter/userCenter",
-			"iconPath": "static/tabbar/user.png",
-			"selectedIconPath": "static/tabbar/user-active.png",
+			"iconPath": "static/qiubxd/tabbar/user.png",
+			"selectedIconPath": "static/qiubxd/tabbar/user-active.png",
 			"text": "我的"
 		}]
 	}

+ 3 - 1
pages/index/index.vue

@@ -115,6 +115,9 @@
 				this.gettoDoData()
 			}
 		},
+		onReady() {
+			let theme = this.$config('themePath')
+		},
 		methods: {
 			// 或某一项字典列表,参数code
 			getLookUpList(code, vuexKey) {
@@ -224,7 +227,6 @@
 
 			.panel-body {
 				padding: 20upx 0;
-
 				.nodata {
 					text-align: center;
 					font-size: 24upx;

+ 3 - 4
pages/login/forget-pass.vue

@@ -7,10 +7,10 @@
 				</view>
 				<view class="form-item">
 					<input v-model="form.verifyCode" class="item-inp" name="verifyCode" type="number" maxlength="6" placeholder="请输入短信验证码" />
-					<button class="getcode-btn" :disabled="isDisable" @click="getCodeValidate">{{nowVal}}</button>
+					<button class="getcode-btn" :style="{background: $config('primaryColors')}" :disabled="isDisable" @click="getCodeValidate">{{nowVal}}</button>
 				</view>
 				<view class="form-btn-con">
-					<button class="form-btn" @click="goStep">下一步</button>
+					<button class="form-btn" :style="{background: $config('buttonColors')}" @click="goStep">下一步</button>
 				</view>
 			</view>
 			<view v-show="state == 1">
@@ -21,7 +21,7 @@
 					<input v-model="form.passwords" class="item-inp" name="passwords" password type="text" maxlength="12" placeholder="请再次输入新密码" />
 				</view>
 				<view class="form-btn-con">
-					<button class="form-btn" form-type="submit">提交</button>
+					<button class="form-btn" :style="{background: $config('buttonColors')}" form-type="submit">提交</button>
 				</view>
 			</view>
 		</form>
@@ -222,7 +222,6 @@
 		padding-top: 300upx;
 	}
 	.getcode-btn {
-		background-color: #298bf2 !important;
 		color: #fff !important;
 		border: none !important;
 	}

+ 8 - 6
pages/login/login.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="login-wrap">
-		<view v-if="!buildType" style="text-align: center;color: #999999;padding-top: 40px;">{{ envTips }}</view>
-		<image src="../../static/logo.png" class="logo"></image>
+		<view v-if="showEnvTips" style="text-align: center;color: #999999;padding-top: 40px;">{{ envTips }}</view>
+		<image :src="`/static/${theme}/logo.png`" class="logo"></image>
 		<form class="login-form" @submit="formSubmit">
 			<view class="form-item">
 				<u-icon size="40" color="#999" name="account-fill"></u-icon>
@@ -23,7 +23,7 @@
 				<view class="forget-pass" @click="forgetPass">忘记密码</view>
 			</view>
 			<view class="form-btn-con">
-				<button class="form-btn" form-type="submit">登录</button>
+				<button class="form-btn" :style="{background: $config('buttonColors')}" form-type="submit">登录</button>
 				<!-- <text class="apply-btn" @click="applyTrial">还没有账号?马上申请试用</text> -->
 			</view>
 		</form>
@@ -31,7 +31,7 @@
 			<checkbox-group @change="authuserChange">
 				<label>
 					<checkbox value="true" :checked="isAuthuserYs" class="login-form-checkbox" />
-					登录代表同意<text @click="toYsPage()">智能巡店用户协议及隐私保护政策</text>
+					登录代表同意<text @click="toYsPage()">用户协议及隐私保护政策</text>
 				</label>
 			</checkbox-group>
 		</view>
@@ -54,14 +54,16 @@ export default {
 			isRemember: true, //  是否记住密码
 			isAuthuserYs: false, // 是否同意隐私政策
 			envTips: '',
-			buildType: ''
+			showEnvTips: '',
+			theme: ''
 		};
 	},
 	mounted() {
+		this.theme = this.$config('themePath')
 		this.isRemember = this.$store.state.vuex_isRemember;
 		this.isAuthuserYs = this.$store.state.vuex_isUsrAuthYs;
 		this.envTips = getApp().globalData.envTips;
-		this.buildType = getApp().globalData.buildType;
+		this.showEnvTips = process.env.NODE_ENV == 'development'
 	},
 	onShow() {
 		//#ifdef APP-PLUS

+ 1 - 1
pages/login/userAuthYs.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="article">
-		<view>智能巡店尊重并保护所有使用服务用户的个人隐私权。为了给您提供更准确、更有个性化的服务,本应用会按照本隐私权政策的规定使用和披露您的个人信息。但本应用将以高度的勤勉、审慎义务对待这些信息。除本隐私权政策另有规定外,在未征得您事先许可的情况下,本应用不会将这些信息对外披露或向第三方提供。</view>
+		<view>{{$config('appName')}}尊重并保护所有使用服务用户的个人隐私权。为了给您提供更准确、更有个性化的服务,本应用会按照本隐私权政策的规定使用和披露您的个人信息。但本应用将以高度的勤勉、审慎义务对待这些信息。除本隐私权政策另有规定外,在未征得您事先许可的情况下,本应用不会将这些信息对外披露或向第三方提供。</view>
 		<view>本应用会不时更新本隐私权政策。 您在同意本应用服务使用协议之时,即视为您已经同意本隐私权政策全部内容。本隐私权政策属于本应用服务使用协议不可分割的一部分。</view>
 		<view>
 			<p>适用范围</p>

+ 1 - 1
pages/myShopTour/myShopTour.vue

@@ -2,7 +2,7 @@
 	<view class="myShopTour-wrap">
 		<!-- 内容 -->
 		<view class="myShopTour-con">
-			<view class="uTabs"><u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper></view>
+			<view class="uTabs"><u-tabs-swiper ref="uTabs" :list="tabList" :active-color="$config('primaryColors')" name="dispName" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper></view>
 			<swiper class="data-list" :current="swiperCurrent" @transition="transition" @change="swiperChange" @animationfinish="animationfinish">
 				<swiper-item class="swiper-item" v-for="(tabs, index) in tabList" :key="index">
 					<scroll-view scroll-y class="scroll-con" @scrolltolower="onreachBottom">

+ 1 - 1
pages/myShopTour/searchModal.vue

@@ -16,7 +16,7 @@
 				</u-form-item>
 			</u-form>
 			<view class="uni-list-btns">
-				<button type="primary" @click="handleSearch">查询</button>
+				<button type="primary" :style="{background: $config('buttonColors')}" @click="handleSearch">查询</button>
 				<button type="info" @click="resetForm">重置</button>
 			</view>
 		</u-popup>

+ 1 - 1
pages/shopTourCompleted/shopTourCompleted.vue

@@ -45,7 +45,7 @@
 			</view>
 		</view>
 		<view class="btn-con">
-			<u-button type="primary" shape="circle" class="btn" @click="goShopTourDetails">查看明细</u-button>
+			<u-button type="primary" :style="{background: $config('buttonColors')}" shape="circle" class="btn" @click="goShopTourDetails">查看明细</u-button>
 			<u-button shape="circle" class="btn" @click="goMyShopTour">我的巡店记录</u-button>
 		</view>
 	</view>

+ 1 - 1
pages/shopTourOver/shopTourOver.vue

@@ -14,7 +14,7 @@
 				<autograph-to-pic ref="xdr" canvasId="handWriting-xd" @generatePictures="autographXdr" />
 			</view>
 		</view>
-		<u-button type="primary" shape="circle" class="submit-btn" @click="submitFun">提交</u-button>
+		<u-button type="primary" :style="{background: $config('buttonColors')}" shape="circle" class="submit-btn" @click="submitFun">提交</u-button>
 	</view>
 </template>
 

+ 3 - 3
pages/shopTourRecord/screenModule.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="uDropdown-wrap">
 		<!-- 顶部筛选条件 -->
-		<u-dropdown ref="uDropdown" class="uDropdown" @close="closeDropdownItem">
+		<u-dropdown ref="uDropdown" :active-color="$config('primaryColors')" class="uDropdown" @close="closeDropdownItem">
 			<u-dropdown-item v-model="searchForm.inspectorId" :title="isAll" @change="dropdownChange" :options="screenClass"></u-dropdown-item>
 			<u-dropdown-item title="检查方式" class="screen-dropdown">
 				<view class="slot-content">
@@ -12,7 +12,7 @@
 							</view>
 						</view>
 					</scroll-view>
-					<u-button style="border-radius: 0;" type="primary" @click="closeTypeDropdown">确定</u-button>
+					<u-button style="border-radius: 0;" :style="{background: $config('buttonColors')}" type="primary" @click="closeTypeDropdown">确定</u-button>
 				</view>
 			</u-dropdown-item>
 			<u-dropdown-item v-model="searchForm.status" title="状态" :options="screenState" @change="dropdownChange"></u-dropdown-item>
@@ -39,7 +39,7 @@
 							</view>
 						</view>
 					</scroll-view>
-					<u-button style="border-radius: 0;" type="primary" @click="closeDropdown">确定</u-button>
+					<u-button style="border-radius: 0;" :style="{background: $config('buttonColors')}" type="primary" @click="closeDropdown">确定</u-button>
 				</view>
 			</u-dropdown-item>
 		</u-dropdown>

+ 1 - 1
pages/signIn/signIn.vue

@@ -32,7 +32,7 @@
 				</view>
 			</view>
 		</view>
-		<u-button type="primary" class="submit-btn" @click="signInFun">签到并开始巡店</u-button>
+		<u-button type="primary" :style="{background: $config('buttonColors')}" class="submit-btn" @click="signInFun">签到并开始巡店</u-button>
 	</view>
 </template>
 

+ 1 - 1
pages/spotCheckCenter/spotCheckResult.vue

@@ -31,7 +31,7 @@
 			</view>
 		</view>
 		<view class="result-back">
-			<u-button type="primary" @click="goBack">返回任务列表</u-button>
+			<u-button type="primary" :style="{background: $config('buttonColors')}" @click="goBack">返回任务列表</u-button>
 		</view>
 	</view>
 </template>

+ 1 - 1
pages/spotCheckCenter/spotChecking.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="pagesCons">
 		<view class="tab-body">
-			<view class="uTabs"><u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper></view>
+			<view class="uTabs"><u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :active-color="$config('primaryColors')" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper></view>
 			<swiper class="check-list" :current="swiperCurrent" @transition="transition" @change="swiperChange" @animationfinish="animationfinish">
 				<swiper-item 
 				class="swiper-item" 

+ 1 - 1
pages/spotCheckConfigure/addSpotCheck.vue

@@ -47,7 +47,7 @@
 				</u-form-item>
 			</u-form>
 			<view class="btns">
-				<u-button class="confirmBtn" type="primary" size="medium" @click="submit">提交</u-button>
+				<u-button class="confirmBtn" type="primary" :style="{background: $config('buttonColors')}" size="medium" @click="submit">提交</u-button>
 				<u-button class="cancelBtn" size="medium" @click="cancel">取消</u-button>
 			</view>
 			<!-- 周几 -->

+ 1 - 1
pages/toDoList/addBacklog.vue

@@ -31,7 +31,7 @@
 				<u-input v-model="remarks" maxlength="500" type="textarea" placeholder="请输入备注(最多500字符)..." />
 			</view>
 		</view>
-		<u-button @click="handleSave" :loading="loading" class="save-btn" type="primary">保存</u-button>
+		<u-button @click="handleSave" :loading="loading" class="save-btn" :style="{background: $config('buttonColors')}" type="primary">保存</u-button>
 		<!-- 时间选择器 -->
 		<w-picker
 		class="date-picker"

+ 1 - 1
pages/toDoList/searchModal.vue

@@ -25,7 +25,7 @@
 				</u-form-item>
 			</u-form>
 			<view class="uni-list-btns">
-				<button type="primary" @click="handleSearch">查询</button>
+				<button type="primary" :style="{background: $config('buttonColors')}" @click="handleSearch">查询</button>
 				<button type="info" @click="resetForm">重置</button>
 			</view>
 		</u-popup>

+ 1 - 1
pages/toDoList/toDoList.vue

@@ -2,7 +2,7 @@
 	<view class="pagesCons">
 		<view class="tab-body">
 			<view class="uTabs">
-				<u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false"
+				<u-tabs-swiper ref="uTabs" :list="tabList" :active-color="$config('primaryColors')" name="dispName" :current="current" @change="tabsChange" :is-scroll="false"
 				 swiperWidth="750"></u-tabs-swiper>
 			</view>
 			<view class="all-filter" v-show="current==2">

+ 2 - 2
pages/userCenter/aboutUs.vue

@@ -4,10 +4,10 @@
 			<view class="logoBorder">
 				<image class="logoImg" src="/static/logo.png"></image>
 			</view>
-			<view>智能巡店信息管理平台</view>
+			<view>{{$config('appName')}}</view>
 		</view>
 		<view class="textContent">
-			<view>专注于汽车服务行业,成立于古城西安,是一家以先进云端互联网技术驱动的公司,致力于通过saas云门店管理系统为汽车综修厂、社区店以及大量的中小门店赋能。以解决汽车维修、美容、保养等业务中发生的一系列问题。</view>
+			<view>{{$config('company')}}专注于汽车服务行业,是一家以先进云端互联网技术驱动的公司,致力于通过saas云门店管理系统为汽车综修厂、社区店以及大量的中小门店赋能。以解决汽车维修、美容、保养等业务中发生的一系列问题。</view>
 			<view>智能巡店设计了一套完善的降本增效方案,在引流获客、员工提成、营销活动、财务报表、数据分析等方面获得客户一致认可。</view>
 			<view>将通过持续的科技成果转化为推动汽后市场发展提供动力,帮助更多服务终端、供应链企业、主机厂商、银行以及保险等汽车后市场参与方转型升级。</view>
 		</view>

+ 1 - 1
pages/userCenter/changePwd.vue

@@ -22,7 +22,7 @@
 			<button @click="handleReset" type="info">
 				重置
 			</button>
-			<button @click="handleSubmit" :loading="loading" type="primary">
+			<button @click="handleSubmit" :style="{background: $config('buttonColors')}" :loading="loading" type="primary">
 				保存
 			</button>
 		</view>

+ 1 - 1
pages/userCenter/userCenter.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="container">
 		<!-- 门店信息 -->
-		<view class="store">
+		<view class="store" :style="{background: $config('topBarBackground')}">
 			<view class="storeInfo">
 				<image :src="personIcon" class="personImg"></image>
 				<view class="storeName">

BIN
static/pt.png


BIN
static/qiubxd/logo.png


+ 0 - 0
static/navIcon/djpz.png → static/qiubxd/navIcon/djpz.png


+ 0 - 0
static/navIcon/djzx.png → static/qiubxd/navIcon/djzx.png


+ 0 - 0
static/navIcon/spxd.png → static/qiubxd/navIcon/spxd.png


+ 0 - 0
static/navIcon/wdxd.png → static/qiubxd/navIcon/wdxd.png


+ 0 - 0
static/navIcon/xcjc.png → static/qiubxd/navIcon/xcjc.png


+ 0 - 0
static/navIcon/zdjl.png → static/qiubxd/navIcon/zdjl.png


BIN
static/qiubxd/tabbar/home-active.png


+ 0 - 0
static/tabbar/home.png → static/qiubxd/tabbar/home.png


BIN
static/qiubxd/tabbar/user-active.png


+ 0 - 0
static/tabbar/user.png → static/qiubxd/tabbar/user.png


BIN
static/qiubxd/tabbar/work-active.png


+ 0 - 0
static/tabbar/work.png → static/qiubxd/tabbar/work.png


+ 0 - 0
static/logo.png → static/zyuxd/logo.png


BIN
static/zyuxd/navIcon/djpz.png


BIN
static/zyuxd/navIcon/djzx.png


BIN
static/zyuxd/navIcon/spxd.png


BIN
static/zyuxd/navIcon/wdxd.png


BIN
static/zyuxd/navIcon/xcjc.png


BIN
static/zyuxd/navIcon/zdjl.png


+ 0 - 0
static/tabbar/home-active.png → static/zyuxd/tabbar/home-active.png


BIN
static/zyuxd/tabbar/home.png


+ 0 - 0
static/tabbar/user-active.png → static/zyuxd/tabbar/user-active.png


BIN
static/zyuxd/tabbar/user.png


+ 0 - 0
static/tabbar/work-active.png → static/zyuxd/tabbar/work-active.png


BIN
static/zyuxd/tabbar/work.png