Commit ef7bc723 authored by Facius's avatar Facius

七牛地址全局定义修改

parent 63e6d077
...@@ -6,6 +6,7 @@ const UNI_APP = { ...@@ -6,6 +6,7 @@ const UNI_APP = {
}, },
systemUrl: { systemUrl: {
apiUrl: 'http://192.168.1.22', //java端域名请求头 apiUrl: 'http://192.168.1.22', //java端域名请求头
} },
qn_base_url: 'https://qn-static.banshouhui.com/self-support/'
} }
module.exports = UNI_APP; module.exports = UNI_APP;
...@@ -6,7 +6,8 @@ const UNI_APP = { ...@@ -6,7 +6,8 @@ const UNI_APP = {
}, },
systemUrl: { systemUrl: {
apiUrl:'https://system.banshouhui.com', //java端域名请求头 apiUrl:'https://system.banshouhui.com', //java端域名请求头
} },
qn_base_url: 'https://qn-static.banshouhui.com/self-support/'
} }
module.exports = UNI_APP; module.exports = UNI_APP;
...@@ -6,6 +6,7 @@ const UNI_APP = { ...@@ -6,6 +6,7 @@ const UNI_APP = {
}, },
systemUrl: { systemUrl: {
apiUrl: 'https://system.dev.banshouhui.com', //java端域名请求头 apiUrl: 'https://system.dev.banshouhui.com', //java端域名请求头
} },
qn_base_url: 'https://qn-static.banshouhui.com/self-support/'
} }
module.exports = UNI_APP; module.exports = UNI_APP;
qn_base_url = 'https://qn-static.banshouhui.com/self-support/'
\ No newline at end of file
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
}, },
computed: { computed: {
url() { url() {
return qn_base_url + 'topback' + this.index + '.png' return process.uniEnv.qn_base_url + 'topback' + this.index + '.png'
} }
} }
} }
......
...@@ -4,7 +4,6 @@ import uView from "uview-ui"; ...@@ -4,7 +4,6 @@ import uView from "uview-ui";
import vuexStore from "@/store/$u.mixin.js"; import vuexStore from "@/store/$u.mixin.js";
import store from '@/store/index' import store from '@/store/index'
import {router,RouterMount} from '@/router/index.js' //路径换成自己的 import {router,RouterMount} from '@/router/index.js' //路径换成自己的
import './common/global.js'
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.mixin(vuexStore) Vue.mixin(vuexStore)
......
...@@ -105,15 +105,15 @@ ...@@ -105,15 +105,15 @@
computed: { computed: {
titleText() { titleText() {
return ['单选', '多选', '问答'] return ['单选', '多选', '问答']
}, },
time1Image() { time1Image() {
return qn_base_url + 'time1.png' return process.uniEnv.qn_base_url + 'time1.png'
}, },
chenggongImage() { chenggongImage() {
return qn_base_url + 'chenggong.png' return process.uniEnv.qn_base_url + 'chenggong.png'
}, },
timuImage() { timuImage() {
return qn_base_url + 'timu.png' return process.uniEnv.qn_base_url + 'timu.png'
} }
}, },
onLoad(e) { onLoad(e) {
...@@ -737,9 +737,9 @@ ...@@ -737,9 +737,9 @@
height: 40rpx; height: 40rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
&.radio { &.radio {
background-color: #2272FF; background-color: #2272FF;
} }
} }
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
}; };
}, },
kcImage() { kcImage() {
return qn_base_url + "kc.png"; return process.uniEnv.qn_base_url + "kc.png";
}, },
}, },
onLoad(e) { onLoad(e) {
...@@ -244,7 +244,7 @@ export default { ...@@ -244,7 +244,7 @@ export default {
.learn-list-item { .learn-list-item {
font-size: 28rpx; font-size: 28rpx;
margin-top: 30rpx; margin-top: 30rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
color: #333333; color: #333333;
} }
......
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
<view class="learn-view-title">接单操作须知</view> <view class="learn-view-title">接单操作须知</view>
<view class="learn-list" v-for="(item, key) in tutorials" :key="key"> <view class="learn-list" v-for="(item, key) in tutorials" :key="key">
<view class="learn-list-item"> <view class="learn-list-item">
<view class="item-content"> <view class="item-content">
<view class="item-st"> <view class="item-st">
<image style="width: 80rpx;height: 36rpx;" :src="kcImage"></image> <image style="width: 80rpx;height: 36rpx;" :src="kcImage"></image>
<text class="item-st-text">{{item.title.split(' ') ? item.title.split(' ')[0] : ''}}</text> <text class="item-st-text">{{item.title.split(' ') ? item.title.split(' ')[0] : ''}}</text>
</view> </view>
<view class="item-title">{{item.title.split(' ') ? item.title.split(' ')[1] : ''}}</view> <view class="item-title">{{item.title.split(' ') ? item.title.split(' ')[1] : ''}}</view>
</view> </view>
...@@ -146,12 +146,12 @@ ...@@ -146,12 +146,12 @@
'font-size': '32rpx', 'font-size': '32rpx',
'font-weight': 'bold' 'font-weight': 'bold'
} }
}, },
tips1Image() { tips1Image() {
return qn_base_url + 'tips1.png' return process.uniEnv.qn_base_url + 'tips1.png'
}, },
kcImage() { kcImage() {
return qn_base_url + 'kc.png' return process.uniEnv.qn_base_url + 'kc.png'
} }
}, },
onLoad() { onLoad() {
...@@ -252,8 +252,8 @@ ...@@ -252,8 +252,8 @@
} }
.tip-image { .tip-image {
width: 26rpx; width: 26rpx;
height: 32rpx; height: 32rpx;
flex-shrink: 0; flex-shrink: 0;
margin-right: 10rpx; margin-right: 10rpx;
margin-top: 2rpx; margin-top: 2rpx;
...@@ -307,15 +307,15 @@ ...@@ -307,15 +307,15 @@
height: 36rpx; height: 36rpx;
padding-right: 2rpx; padding-right: 2rpx;
text-align: center; text-align: center;
margin-right: 20rpx; margin-right: 20rpx;
line-height: 24rpx; line-height: 24rpx;
position: relative; position: relative;
.item-st-text { .item-st-text {
color: #FFFFFF; color: #FFFFFF;
position: absolute; position: absolute;
font-size: 16rpx; font-size: 16rpx;
left: 20rpx; left: 20rpx;
top: 8rpx; top: 8rpx;
line-height: 28rpx; line-height: 28rpx;
} }
} }
......
...@@ -126,13 +126,13 @@ ...@@ -126,13 +126,13 @@
return this.areaTxts.join('、') return this.areaTxts.join('、')
}, },
anquanImage() { anquanImage() {
return qn_base_url + 'anquan.png' return process.uniEnv.qn_base_url + 'anquan.png'
}, },
mixingImage() { mixingImage() {
return qn_base_url + 'mixing.png' return process.uniEnv.qn_base_url + 'mixing.png'
}, },
dizhiImage() { dizhiImage() {
return qn_base_url + 'dizhi.png' return process.uniEnv.qn_base_url + 'dizhi.png'
}, },
buttonStyle() { buttonStyle() {
return this.submitStatus ? { return this.submitStatus ? {
...@@ -701,10 +701,10 @@ ...@@ -701,10 +701,10 @@
} }
.tip-image { .tip-image {
width: 30rpx; width: 30rpx;
height: 32rpx; height: 32rpx;
flex-shrink: 0; flex-shrink: 0;
margin-right: 8rpx; margin-right: 8rpx;
margin-top: 2rpx; margin-top: 2rpx;
} }
</style> </style>
...@@ -34,10 +34,10 @@ ...@@ -34,10 +34,10 @@
&& ((cardkey == 'id_card_name' || cardkey == 'id_card_number') && frontErrorMsg)">{{frontErrorMsg}}</view> && ((cardkey == 'id_card_name' || cardkey == 'id_card_number') && frontErrorMsg)">{{frontErrorMsg}}</view>
<view class="card-item-error" v-if="(cardkey == 'id_card_date' && backErrorMsg)">{{ backErrorMsg }}</view> <view class="card-item-error" v-if="(cardkey == 'id_card_date' && backErrorMsg)">{{ backErrorMsg }}</view>
</view> </view>
</view> </view>
<view v-if="index == 0" class="bottom-tip-view"> <view v-if="index == 0" class="bottom-tip-view">
<image class="bottom-tip-image" mode="widthFix" :src="tishiImage"></image> <image class="bottom-tip-image" mode="widthFix" :src="tishiImage"></image>
<text>所上传的身份证信息必须与银行卡开户绑定身份证信息一致,否则将导致订单报酬无法交付</text> <text>所上传的身份证信息必须与银行卡开户绑定身份证信息一致,否则将导致订单报酬无法交付</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
label: "实名认证", label: "实名认证",
tips: "上传二代身份证照片,图片大小不大于3M", tips: "上传二代身份证照片,图片大小不大于3M",
imgs: [], imgs: [],
placeholderImages: [qn_base_url + 'renxiang.png', qn_base_url + 'guohui.png'] placeholderImages: [process.uniEnv.qn_base_url + 'renxiang.png', process.uniEnv.qn_base_url + 'guohui.png']
}, },
// { // {
// filedName: "id_card_back", // filedName: "id_card_back",
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
maxImgs: 1, maxImgs: 1,
tips: "上传电工证证照片,图片大小不大于3M", tips: "上传电工证证照片,图片大小不大于3M",
imgs: [], imgs: [],
placeholderImages: [qn_base_url + 'diangong.png'] placeholderImages: [process.uniEnv.qn_base_url + 'diangong.png']
}, },
{ {
filedName: "driver_license", filedName: "driver_license",
...@@ -170,7 +170,7 @@ export default { ...@@ -170,7 +170,7 @@ export default {
imgs: [], imgs: [],
maxImgs: 999, maxImgs: 999,
tips: "两证单张照片需包含两页内容,每种证件只上传一张照片", tips: "两证单张照片需包含两页内容,每种证件只上传一张照片",
placeholderImages: [qn_base_url + 'jiashi.png', qn_base_url + 'jiashi.png'] placeholderImages: [process.uniEnv.qn_base_url + 'jiashi.png', process.uniEnv.qn_base_url + 'jiashi.png']
}, },
{ {
filedName: "vehicle_front", filedName: "vehicle_front",
...@@ -178,8 +178,8 @@ export default { ...@@ -178,8 +178,8 @@ export default {
maxImgs: 1, maxImgs: 1,
tips: "上传车辆照片", tips: "上传车辆照片",
imgs: [], imgs: [],
placeholderImages: [qn_base_url + 'zhengmian.png', placeholderImages: [process.uniEnv.qn_base_url + 'zhengmian.png',
qn_base_url + 'cemian.png'] process.uniEnv.qn_base_url + 'cemian.png']
}, },
], ],
...@@ -224,32 +224,32 @@ export default { ...@@ -224,32 +224,32 @@ export default {
'id_card_number': '身份证号', 'id_card_number': '身份证号',
'id_card_date': '有效期' 'id_card_date': '有效期'
} }
}, },
anquanImage() { anquanImage() {
return qn_base_url + 'anquan.png' return process.uniEnv.qn_base_url + 'anquan.png'
}, },
mixingImage() { mixingImage() {
return qn_base_url + 'mixing.png' return process.uniEnv.qn_base_url + 'mixing.png'
}, },
tishiImage() { tishiImage() {
return qn_base_url + 'tishi.png' return process.uniEnv.qn_base_url + 'tishi.png'
}, },
buttonStyle() { buttonStyle() {
return this.submitBtnStatus ? { return this.submitBtnStatus ? {
'color': '#FFFFFF', 'color': '#FFFFFF',
'background-color': '#2272FF;', 'background-color': '#2272FF;',
'width': '600rpx', 'width': '600rpx',
'height': '104rpx', 'height': '104rpx',
'font-size': '32rpx', 'font-size': '32rpx',
'font-weight': 'bold' 'font-weight': 'bold'
} : { } : {
'color': '#FFFFFF', 'color': '#FFFFFF',
'background-color': '#D1D4D4;', 'background-color': '#D1D4D4;',
'width': '600rpx', 'width': '600rpx',
'height': '104rpx', 'height': '104rpx',
'font-size': '32rpx', 'font-size': '32rpx',
'font-weight': 'bold' 'font-weight': 'bold'
} }
} }
}, },
components: { components: {
...@@ -673,10 +673,10 @@ export default { ...@@ -673,10 +673,10 @@ export default {
} }
.tip-image { .tip-image {
width: 30rpx; width: 30rpx;
height: 32rpx; height: 32rpx;
margin-right: 8rpx; margin-right: 8rpx;
margin-top: 2rpx; margin-top: 2rpx;
flex-shrink: 0; flex-shrink: 0;
} }
...@@ -692,7 +692,7 @@ export default { ...@@ -692,7 +692,7 @@ export default {
width: 22rpx; width: 22rpx;
height: 22rpx; height: 22rpx;
margin-right: 8rpx; margin-right: 8rpx;
margin-top: 4rpx; margin-top: 4rpx;
flex-shrink: 0; flex-shrink: 0;
} }
......
...@@ -63,10 +63,10 @@ ...@@ -63,10 +63,10 @@
this.getBaseInfo() this.getBaseInfo()
} }
}, },
computed: { computed: {
weixinImage() { weixinImage() {
return qn_base_url + 'weixin.png' return process.uniEnv.qn_base_url + 'weixin.png'
} }
}, },
watch: { watch: {
isRefresh(val) { isRefresh(val) {
......
<template> <template>
<view class="container u-row-between" v-if="info"> <view class="container u-row-between" v-if="info">
<Settle :index="pageIndex"> <Settle :index="pageIndex">
<view class="content-view"> <view class="content-view">
<view style="min-height: 120rpx;" v-if="status == 8"></view> <view style="min-height: 120rpx;" v-if="status == 8"></view>
<view class="u-flex u-row-center"> <view class="u-flex u-row-center">
<image :class="['icon', {active: status != 1}]" <image :class="['icon', {active: status != 1}]"
...@@ -15,14 +15,14 @@ ...@@ -15,14 +15,14 @@
<text :class="['tips',info.tipsArr.length>1 && index===0 ? 'red' : '']" <text :class="['tips',info.tipsArr.length>1 && index===0 ? 'red' : '']"
v-for="(txt,index) in info.tipsArr" :key="index">{{txt}}</text> v-for="(txt,index) in info.tipsArr" :key="index">{{txt}}</text>
</view> </view>
<view class="services-view"> <view class="services-view">
<view v-if="status != 8"> <view v-if="status != 8">
<image class="service-info-image" :src="erweimaImage"></image> <image class="service-info-image" :src="erweimaImage"></image>
<view class="content-info-tip">长按二维码添加官方客服微信</view> <view class="content-info-tip">长按二维码添加官方客服微信</view>
<view class="content-info-tip">及时了解审核进度</view> <view class="content-info-tip">及时了解审核进度</view>
</view> </view>
</view> </view>
<button class="btn-submit" @click="$u.debounce(goPage, 500)">{{info.btnTxt}}</button> <button class="btn-submit" @click="$u.debounce(goPage, 500)">{{info.btnTxt}}</button>
</view> </view>
</Settle> </Settle>
</view> </view>
...@@ -95,12 +95,12 @@ ...@@ -95,12 +95,12 @@
} }
}, },
computed: { computed: {
imageUrl() { imageUrl() {
return this.status == 1 ? qn_base_url + 'chenggong.png' : qn_base_url + 'icon-prompt.png' return this.status == 1 ? process.uniEnv.qn_base_url + 'chenggong.png' : process.uniEnv.qn_base_url + 'icon-prompt.png'
}, },
erweimaImage() { erweimaImage() {
return qn_base_url + 'erweima-bg.png' return process.uniEnv.qn_base_url + 'erweima-bg.png'
}, },
}, },
onLoad(e) { onLoad(e) {
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
vm.status = result.record.status vm.status = result.record.status
} }
let settledInfo = await app.getBaseInfo(this, callBack) let settledInfo = await app.getBaseInfo(this, callBack)
this.settledInfo = settledInfo this.settledInfo = settledInfo
this.status = settledInfo.record.status this.status = settledInfo.record.status
uni.hideLoading() uni.hideLoading()
this.initInfo(settledInfo.record) this.initInfo(settledInfo.record)
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
width: 224rpx; width: 224rpx;
height: 224rpx; height: 224rpx;
&.active { &.active {
margin-top: 38rpx; margin-top: 38rpx;
width: 234rpx; width: 234rpx;
height: 222rpx; height: 222rpx;
...@@ -244,14 +244,14 @@ ...@@ -244,14 +244,14 @@
} }
.btn-submit { .btn-submit {
margin-top: 50rpx; margin-top: 50rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
width: 600rpx; width: 600rpx;
height: 104rpx; height: 104rpx;
line-height: 104rpx; line-height: 104rpx;
border-radius: 52rpx; border-radius: 52rpx;
background: #2272ff; background: #2272ff;
font-size: 32rpx; font-size: 32rpx;
font-weight: bold; font-weight: bold;
color: #fff; color: #fff;
...@@ -262,17 +262,17 @@ ...@@ -262,17 +262,17 @@
} }
} }
.services-view { .services-view {
padding-top: 50rpx; padding-top: 50rpx;
text-align: center; text-align: center;
min-height: 120rpx; min-height: 120rpx;
.service-info-image { .service-info-image {
margin-bottom: 30rpx; margin-bottom: 30rpx;
width: 220rpx; width: 220rpx;
height: 220rpx; height: 220rpx;
} }
.content-info-tip { .content-info-tip {
font-size: 22rpx; font-size: 22rpx;
color: #666666; color: #666666;
} }
} }
} }
......
...@@ -131,26 +131,26 @@ ...@@ -131,26 +131,26 @@
}, },
placeholderStyle() { placeholderStyle() {
return 'color:#999999;font-size:28rpx' return 'color:#999999;font-size:28rpx'
}, },
tips3Image() { tips3Image() {
return qn_base_url + 'tips3.png' return process.uniEnv.qn_base_url + 'tips3.png'
}, },
buttonStyle() { buttonStyle() {
return this.submitStatus ? { return this.submitStatus ? {
'color': '#FFFFFF', 'color': '#FFFFFF',
'background-color': '#2272FF;', 'background-color': '#2272FF;',
'width': '600rpx', 'width': '600rpx',
'height': '104rpx', 'height': '104rpx',
'font-size': '32rpx', 'font-size': '32rpx',
'font-weight': 'bold' 'font-weight': 'bold'
} : { } : {
'color': '#FFFFFF', 'color': '#FFFFFF',
'background-color': '#D1D4D4;', 'background-color': '#D1D4D4;',
'width': '600rpx', 'width': '600rpx',
'height': '104rpx', 'height': '104rpx',
'font-size': '32rpx', 'font-size': '32rpx',
'font-weight': 'bold' 'font-weight': 'bold'
} }
} }
}, },
components: { components: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment