Commit 7f5b8a9c authored by 李俊赕's avatar 李俊赕
parents 5ab10fc4 7d801cfb
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 '../../static/settle/top' + this.index + '@3x.png' return qn_base_url + 'top' + this.index + '.png'
} }
} }
} }
...@@ -47,4 +47,4 @@ ...@@ -47,4 +47,4 @@
bottom: 44rpx; bottom: 44rpx;
width: 100%; width: 100%;
} }
</style> </style>
<template> <template>
<view class="content-view"> <view class="content-view">
<view class="headimage-view"> <view class="headimage-view">
<image class="headimage-view-image" src="../../static/settle/kefu@3x.png"></image> <image class="headimage-view-image" :src="kefuImage"></image>
<text class="name-text">朱曼婷</text> <text class="name-text">朱曼婷</text>
</view> </view>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<view class="content-info-tip">长按二维码添加官方客服微信及时了解审核进度</view> <view class="content-info-tip">长按二维码添加官方客服微信及时了解审核进度</view>
</view> </view>
<view class="QRcode-view"> <view class="QRcode-view">
<image class="content-info-QRcode" src="../../static/settle/erweima@3x.png"></image> <image class="content-info-QRcode":src="erweimaImage"></image>
</view> </view>
</view> </view>
</view> </view>
...@@ -24,6 +24,14 @@ ...@@ -24,6 +24,14 @@
}, },
data() { data() {
return {} return {}
},
computed: {
erweimaImage() {
return qn_base_url + 'erweima.png'
},
kefuImage() {
return qn_base_url + 'kefu.png'
}
} }
} }
</script> </script>
...@@ -83,4 +91,4 @@ ...@@ -83,4 +91,4 @@
} }
} }
} }
</style> </style>
...@@ -4,6 +4,7 @@ import uView from "uview-ui"; ...@@ -4,6 +4,7 @@ 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)
......
...@@ -145,7 +145,9 @@ ...@@ -145,7 +145,9 @@
{ {
"path": "pages/exam/index", "path": "pages/exam/index",
"style": { "style": {
"navigationBarTitleText": "入驻考试" "navigationBarTitleText": "入驻考试",
"navigationStyle": "custom",
"disableScroll": true
} }
}, },
{ {
...@@ -227,8 +229,8 @@ ...@@ -227,8 +229,8 @@
"query": "" //启动参数,在页面的onLoad函数里面得到 "query": "" //启动参数,在页面的onLoad函数里面得到
}, },
{ {
"name": "在线考试-old", //模式名称 "name": "入驻考试", //模式名称
"path": "pages/exam/start", //启动页面,必选 "path": "pages/exam/index", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到 "query": "" //启动参数,在页面的onLoad函数里面得到
}, },
{ {
......
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="exam-wrap"> <view class="exam-wrap">
<Settle :index="3"> <Settle :index="3">
<view class="tip-text"> <view class="tip-text">
<image class="tip-image" mode="widthFix" src="../../static/settle/tips1@3x.png"></image> <image class="tip-image" mode="widthFix" :src="tips1Image"></image>
<text>接单教程可让您快速了解如何使用小程序,建议先查看并学习教程。</text> <text>接单教程可让您快速了解如何使用小程序,建议先查看并学习教程。</text>
</view> </view>
<view class="learn-view"> <view class="learn-view">
...@@ -126,16 +126,19 @@ ...@@ -126,16 +126,19 @@
'background-color': '#FFFFFF', 'background-color': '#FFFFFF',
'font-size': '24rpx' 'font-size': '24rpx'
} }
},
buttonStyle() {
return {
'color': '#FFFFFF',
'width': '500rpx',
'height': '112rpx',
'background-color': '#2272FF',
'font-size': '32rpx',
'font-weight': 'bold'
}
}, },
buttonStyle() { tips1Image() {
return { return qn_base_url + 'tips1@3x.png'
'color': '#FFFFFF',
'width': '500rpx',
'height': '112rpx',
'background-color': '#2272FF',
'font-size': '32rpx',
'font-weight': 'bold'
}
} }
}, },
onLoad() { onLoad() {
...@@ -173,11 +176,11 @@ ...@@ -173,11 +176,11 @@
debugger; debugger;
console.log(e, 'loadLearnData'); console.log(e, 'loadLearnData');
}); });
}, },
handleClick() { handleClick() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/exam/index' url: '/pages/exam/index'
}) })
}, },
viewCourse(e) { viewCourse(e) {
let that = this; let that = this;
...@@ -244,23 +247,23 @@ ...@@ -244,23 +247,23 @@
font-size: 32rpx; font-size: 32rpx;
color: #333333; color: #333333;
font-weight: bold; font-weight: bold;
} }
.tip-bottom { .tip-bottom {
background-color: #FFFFFF; background-color: #FFFFFF;
border-radius: 12rpx; border-radius: 12rpx;
padding: 38rpx 30rpx 30rpx 30rpx; padding: 38rpx 30rpx 30rpx 30rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
margin-bottom: 188rpx; margin-bottom: 188rpx;
.tip-bottom-h { .tip-bottom-h {
font-size: 24rpx; font-size: 24rpx;
color: #999999; color: #999999;
} }
.tip-bottom-t { .tip-bottom-t {
margin-top: 30rpx; margin-top: 30rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
} }
.learn-view { .learn-view {
...@@ -292,9 +295,9 @@ ...@@ -292,9 +295,9 @@
padding-top: 8rpx; padding-top: 8rpx;
padding-right: 2rpx; padding-right: 2rpx;
text-align: center; text-align: center;
margin-right: 20rpx; margin-right: 20rpx;
.item-st-text { .item-st-text {
color: #FFFFFF; color: #FFFFFF;
} }
} }
...@@ -311,4 +314,4 @@ ...@@ -311,4 +314,4 @@
} }
} }
} }
</style> </style>
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<Settle :index="2"> <Settle :index="2">
<view class="base-list"> <view class="base-list">
<view class="tip-text"> <view class="tip-text">
<image class="tip-image" mode="widthFix" src="../../static/settle/anquan@3x.png"></image> <image class="tip-image" mode="widthFix" :src="anquanImage"></image>
<text>身份证照片、电工证照片、行驶证/驾驶证照片及车辆照片仅用于申请入驻。</text> <text>身份证照片、电工证照片、行驶证/驾驶证照片及车辆照片仅用于申请入驻。</text>
</view> </view>
<view class="base-item"> <view class="base-item">
<view class="item item-select" @click="gopage('/pages/settle/select?selectType=area')"> <view class="item item-select" @click="gopage('/pages/settle/select?selectType=area')">
<view class="flex-center"> <view class="flex-center">
<image class="item-image" src="../../static/settle/mixing@3x.png"></image> <image class="item-image" :src="mixingImage"></image>
<text class="label">接单城市</text> <text class="label">接单城市</text>
</view> </view>
<p :class="['u-flex-1 u-text-right txt', {before: !cityText}]">{{ cityText ? '已选择' : '去选择' }} <p :class="['u-flex-1 u-text-right txt', {before: !cityText}]">{{ cityText ? '已选择' : '去选择' }}
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<view class="base-item" style="height: 600rpx;"> <view class="base-item" style="height: 600rpx;">
<view class="item item-select" @click="gopage('/pages/settle/select?selectType=working_age')"> <view class="item item-select" @click="gopage('/pages/settle/select?selectType=working_age')">
<view class="flex-center"> <view class="flex-center">
<image class="item-image" src="../../static/settle/mixing@3x.png"></image> <image class="item-image" :src="mixingImage"></image>
<text class="label">电工工龄(年)</text> <text class="label">电工工龄(年)</text>
</view> </view>
<p :class="['u-flex-1 u-text-right area', {before: !baseInfo.working_age}]"> <p :class="['u-flex-1 u-text-right area', {before: !baseInfo.working_age}]">
...@@ -47,11 +47,11 @@ ...@@ -47,11 +47,11 @@
<view> <view>
<view class="item item-select" @click="locationClick()"> <view class="item item-select" @click="locationClick()">
<view class="flex-center"> <view class="flex-center">
<image class="item-image" src="../../static/settle/mixing@3x.png"></image> <image class="item-image" :src="mixingImage"></image>
<text class="itemTitle">详细地址</text> <text class="itemTitle">详细地址</text>
</view> </view>
<view class="flex-center"> <view class="flex-center">
<image class="item-image-l" src="../../static/settle/dizhi@3x.png"></image> <image class="item-image-l" :src="dizhiImage"></image>
<text class="right-label blueColor">自动定位</text> <text class="right-label blueColor">自动定位</text>
</view> </view>
</view> </view>
...@@ -123,6 +123,15 @@ ...@@ -123,6 +123,15 @@
}, },
cityText() { cityText() {
return this.areaTxts.join('、') return this.areaTxts.join('、')
},
anquanImage() {
return qn_base_url + 'anquan.png'
},
mixingImage() {
return qn_base_url + 'mixing.png'
},
dizhiImage() {
return qn_base_url + 'dizhi.png'
} }
}, },
components: { components: {
...@@ -691,4 +700,4 @@ ...@@ -691,4 +700,4 @@
margin-right: 8rpx; margin-right: 8rpx;
margin-top: 2rpx; margin-top: 2rpx;
} }
</style> </style>
This diff is collapsed.
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<template v-slot:bottom> <template v-slot:bottom>
<view class="btn-wrap flex-xc"> <view class="btn-wrap flex-xc">
<button class="btn-submit" :disabled="saving" @click="paySubmit"> <button class="btn-submit" :disabled="saving" @click="paySubmit">
<image class="button-image" mode="widthFix" src="../../static/settle/weixin@3x.png"></image> <image class="button-image" mode="widthFix" :src="weixinImage"></image>
<text>{{saving ? '支付中……' : '微信支付'}}</text> <text>{{saving ? '支付中……' : '微信支付'}}</text>
</button> </button>
</view> </view>
...@@ -63,7 +63,11 @@ ...@@ -63,7 +63,11 @@
this.getBaseInfo() this.getBaseInfo()
} }
}, },
computed: {}, computed: {
weixinImage() {
return qn_base_url + 'weixin.png'
}
},
watch: { watch: {
isRefresh(val) { isRefresh(val) {
this.getBaseInfo() this.getBaseInfo()
...@@ -75,7 +79,7 @@ ...@@ -75,7 +79,7 @@
methods: { methods: {
successCallback() { successCallback() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/settle/prompt' url: '/pages/settle/prompt' + '?pageIndex=' + '4'
}) })
}, },
async getBaseInfo() { async getBaseInfo() {
...@@ -311,9 +315,9 @@ ...@@ -311,9 +315,9 @@
border-radius: 52rpx; border-radius: 52rpx;
background: #2272FF; background: #2272FF;
font-size: 32rpx; font-size: 32rpx;
color: #fff; color: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
&[disabled] { &[disabled] {
...@@ -322,4 +326,4 @@ ...@@ -322,4 +326,4 @@
} }
} }
} }
</style> </style>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="content-view"> <view class="content-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}]"
:src="status == 1 ? require('@/static/settle/chenggong@3x.png') : require('@/static/settle/icon-prompt@3x.png')"> :src="imageUrl">
</image> </image>
</view> </view>
<view class="txt-box"> <view class="txt-box">
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
<view class="tips-box" v-if="info.tipsArr"> <view class="tips-box" v-if="info.tipsArr">
<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">{{txt}}</text> v-for="(txt,index) in info.tipsArr">{{txt}}</text>
</view> </view>
<view class="services-view"> <view class="services-view">
<Services/> <Services/>
</view> </view>
</view> </view>
<template v-slot:bottom> <template v-slot:bottom>
...@@ -32,12 +32,12 @@ ...@@ -32,12 +32,12 @@
export default { export default {
components: { components: {
Settle, Settle,
Services Services
}, },
data() { data() {
return { return {
pageIndex: 2, pageIndex: 2,
settledInfo: null, settledInfo: null,
promptList: [{ promptList: [{
...@@ -93,21 +93,21 @@ ...@@ -93,21 +93,21 @@
} }
}, },
computed: { computed: {
imageUrl() { imageUrl() {
return this.status == 1 ? require('@/static/settle/chenggong@3x.png') : require( return this.status == 1 ? qn_base_url + 'chenggong.png' : qn_base_url + 'icon-prompt.png'
'@/static/settle/icon-prompt@3x.png') },
}
}, },
onLoad(e) { onLoad(e) {
if (e) { if (e) {
if (e.pageIndex) { if (e.pageIndex) {
this.pageIndex = e.pageIndex; this.pageIndex = e.pageIndex;
} }
} }
// if(!this.settledInfo){ // if(!this.settledInfo){
// this.getBaseInfo() // this.getBaseInfo()
// } // }
}, },
onShow() { onShow() {
...@@ -115,7 +115,6 @@ ...@@ -115,7 +115,6 @@
this.getBaseInfo() this.getBaseInfo()
} }
}, },
computed: {},
components: { components: {
}, },
...@@ -126,9 +125,9 @@ ...@@ -126,9 +125,9 @@
vm.settledInfo = result vm.settledInfo = result
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)
}, },
...@@ -161,16 +160,16 @@ ...@@ -161,16 +160,16 @@
this.info = info this.info = info
}, },
goPage() { goPage() {
const url = this.info.url const url = this.info.url
if (this.status == 1 || this.status == 3 || this.status == 3) { if (this.status == 1 || this.status == 3 || this.status == 3) {
uni.reLaunch({ uni.reLaunch({
url, url,
}); });
} else { } else {
uni.navigateTo({ uni.navigateTo({
url, url,
}); });
} }
}, },
}, },
...@@ -218,8 +217,8 @@ ...@@ -218,8 +217,8 @@
font-weight: bold; font-weight: bold;
font-size: 44rpx; font-size: 44rpx;
color: #2272FF; color: #2272FF;
&.failed { &.failed {
color: #FA5A49; color: #FA5A49;
} }
&.active { &.active {
color: #666666; color: #666666;
...@@ -235,7 +234,7 @@ ...@@ -235,7 +234,7 @@
} }
.tips { .tips {
color: #666666; color: #666666;
font-size: 24rpx; font-size: 24rpx;
} }
...@@ -254,11 +253,11 @@ ...@@ -254,11 +253,11 @@
background-color: #f3f3f3; background-color: #f3f3f3;
color: #999; color: #999;
} }
} }
.services-view { .services-view {
display: flex; display: flex;
justify-content: center; justify-content: center;
padding-top: 50rpx; padding-top: 50rpx;
} }
} }
</style> </style>
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
<view class="page-content"> <view class="page-content">
<Settle :index="4"> <Settle :index="4">
<view class="tip-text"> <view class="tip-text">
<image class="tip-image" mode="widthFix" src="../../static/settle/tips3@3x.png"></image> <image class="tip-image" mode="widthFix" :src="tips3Image"></image>
<text>身份证信息、银行卡相关信息、签约人信息须为同一人,否则无法入驻。</text> <text>身份证信息、银行卡相关信息、签约人信息须为同一人,否则无法入驻。</text>
</view> </view>
<view class="base-list"> <view class="base-list">
<view class="agreement-view"> <view class="agreement-view">
<Agreement /> <Agreement />
</view> </view>
<view class="info-view"> <view class="info-view">
<view class="item item-input flex-yc"> <view class="item item-input flex-yc">
<label class="label">签约人</label> <label class="label">签约人</label>
<view class="input flex1 u-text-right">{{baseInfo.name}}</view> <view class="input flex1 u-text-right">{{baseInfo.name}}</view>
</view> </view>
<view class="line-view"></view> <view class="line-view"></view>
<view class="item u-row-between"> <view class="item u-row-between">
<view class="label">结算方式:</view> <view class="label">结算方式:</view>
...@@ -23,19 +23,19 @@ ...@@ -23,19 +23,19 @@
{{item.name}} {{item.name}}
</u-radio> </u-radio>
</u-radio-group> </u-radio-group>
</view> </view>
<view class="line-view"></view> <view class="line-view"></view>
<template v-if="baseInfo.pay_type==='bankcard'"> <template v-if="baseInfo.pay_type==='bankcard'">
<view class="item item-input flex u-row-between"> <view class="item item-input flex u-row-between">
<label class="label">银行名称</label> <label class="label">银行名称</label>
<input placeholder="请输入银行名称" :placeholder-style="placeholderStyle" maxlength="100" v-model="baseInfo.bank_name" class="input flex1" /> <input placeholder="请输入银行名称" :placeholder-style="placeholderStyle" maxlength="100" v-model="baseInfo.bank_name" class="input flex1" />
</view> </view>
<view class="line-view"></view> <view class="line-view"></view>
<view class="item item-input flex u-row-between"> <view class="item item-input flex u-row-between">
<label class="label">银行卡号</label> <label class="label">银行卡号</label>
<input placeholder="请输入银行卡号" :placeholder-style="placeholderStyle" maxlength="30" v-model="baseInfo.bank_no" type="number" <input placeholder="请输入银行卡号" :placeholder-style="placeholderStyle" maxlength="30" v-model="baseInfo.bank_no" type="number"
class="input flex1" /> class="input flex1" />
</view> </view>
<view class="line-view"></view> <view class="line-view"></view>
<view class="item item-input flex u-row-between"> <view class="item item-input flex u-row-between">
<label class="label">支行名称</label> <label class="label">支行名称</label>
...@@ -51,15 +51,15 @@ ...@@ -51,15 +51,15 @@
<label class="label">支付宝账号</label> <label class="label">支付宝账号</label>
<input placeholder="请输入支付宝账号" maxlength="100" v-model="baseInfo.bank_no" class="input flex1" /> <input placeholder="请输入支付宝账号" maxlength="100" v-model="baseInfo.bank_no" class="input flex1" />
</view> </view>
</template> </template>
</view> </view>
</view> </view>
<template v-slot:bottom> <template v-slot:bottom>
<view class="btn-wrap flex-xc"> <view class="btn-wrap flex-xc">
<button class="btn-submit" :disabled="!submitStatus" @click="$u.debounce(submitBaseInfo, 500)"> <button class="btn-submit" :disabled="!submitStatus" @click="$u.debounce(submitBaseInfo, 500)">
我已阅读协议,点击签约{{count ? '('+count+')' : ''}} 我已阅读协议,点击签约{{count ? '('+count+')' : ''}}
</button> </button>
</view> </view>
</template> </template>
</Settle> </Settle>
</view> </view>
...@@ -127,9 +127,12 @@ ...@@ -127,9 +127,12 @@
flag = flag && baseInfo.bank_site && baseInfo.bank_name flag = flag && baseInfo.bank_site && baseInfo.bank_name
} }
return flag && !this.saving && this.isStop; return flag && !this.saving && this.isStop;
},
placeholderStyle() {
return 'color:#999999;font-size:28rpx'
}, },
placeholderStyle() { tips3Image() {
return 'color:#999999;font-size:28rpx' return qn_base_url + 'tips3.png'
} }
}, },
components: { components: {
...@@ -270,7 +273,7 @@ ...@@ -270,7 +273,7 @@
this.baseInfo.bank_no = '' this.baseInfo.bank_no = ''
this.baseInfo.bank_site = '' this.baseInfo.bank_site = ''
}, },
async getBaseInfo() { async getBaseInfo() {
const app = getApp() const app = getApp()
const callBack = (vm, result) => { const callBack = (vm, result) => {
vm.settledInfo = result vm.settledInfo = result
...@@ -430,22 +433,22 @@ ...@@ -430,22 +433,22 @@
.base-list { .base-list {
// height:524rpx; // height:524rpx;
background-color: #FFFFFF; background-color: #FFFFFF;
border-radius: 12rpx; border-radius: 12rpx;
padding: 30rpx 30rpx 0rpx 30rpx; padding: 30rpx 30rpx 0rpx 30rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
margin-bottom: 188rpx; margin-bottom: 188rpx;
/deep/ .u-radio__label { /deep/ .u-radio__label {
line-height: 40rpx; line-height: 40rpx;
}
.info-view {
margin-top: 10rpx;
} }
.line-view { .info-view {
background-color: #F4F5F7; margin-top: 10rpx;
height: 2rpx; }
width: 100%; .line-view {
background-color: #F4F5F7;
height: 2rpx;
width: 100%;
} }
.item { .item {
display: flex; display: flex;
...@@ -594,8 +597,8 @@ ...@@ -594,8 +597,8 @@
width: 34rpx; width: 34rpx;
margin-right: 8rpx; margin-right: 8rpx;
margin-top: 2rpx; margin-top: 2rpx;
}
.radio-class {
margin-right: -20rpx;
} }
</style> .radio-class {
margin-right: -20rpx;
}
</style>
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