This commit is contained in:
parent
c78bcb4e30
commit
656d094a5f
|
@ -2,8 +2,8 @@
|
||||||
"name" : "惠农商户平台",
|
"name" : "惠农商户平台",
|
||||||
"appid" : "__UNI__1EE148C",
|
"appid" : "__UNI__1EE148C",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.1",
|
"versionName" : "1.0.2",
|
||||||
"versionCode" : 101,
|
"versionCode" : 102,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -12,8 +12,8 @@
|
||||||
"nvueCompiler" : "uni-app",
|
"nvueCompiler" : "uni-app",
|
||||||
"nvueStyleCompiler" : "uni-app",
|
"nvueStyleCompiler" : "uni-app",
|
||||||
"compilerVersion" : 3,
|
"compilerVersion" : 3,
|
||||||
"compatible":{
|
"compatible" : {
|
||||||
"ignoreVersion": true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"alwaysShowBeforeRender" : true,
|
"alwaysShowBeforeRender" : true,
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
getUserInfo().then(res => {
|
getUserInfo().then(res => {
|
||||||
if (res.data.mer_info.length == 0) {
|
if (res.data.mer_info.length == 0) {
|
||||||
return uni.showModal({
|
return uni.showModal({
|
||||||
title: '暂无商户信息',
|
title: '暂未开通商户',
|
||||||
complete(res) {
|
complete(res) {
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
uni.sendHostEvent('closeApp', (ret) => {
|
uni.sendHostEvent('closeApp', (ret) => {
|
||||||
|
|
|
@ -326,7 +326,7 @@
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">开户网点:</text>
|
<text class="item-name">开户网点:</text>
|
||||||
<input type="text" placeholder="请输入开户行地址" v-model="merchantData.bank_opening" @input="validateBtn"
|
<input type="text" placeholder="请输入开户网点" v-model="merchantData.bank_opening" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -350,10 +350,10 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view> -->
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">银行卡反面:</text>
|
<text class="item-name">银行卡图片:</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-card">
|
<view class="item-card">
|
||||||
<view class="item-carda" @click='uploadpic({type:3})' v-if='merchantData.bank_front.length==0'>
|
<view class="item-carda" @click='uploadpic({type:3})' v-if='merchantData.bank_front.length==0'>
|
||||||
|
@ -362,15 +362,14 @@
|
||||||
<view class="item-carda" @click='DelPic({type:3})' v-else>
|
<view class="item-carda" @click='DelPic({type:3})' v-else>
|
||||||
<image :src="merchantData.bank_front" mode="aspectFit"></image>
|
<image :src="merchantData.bank_front" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-cardb" @click='uploadpic({type:4})' v-if='merchantData.bank_back.length==0'>
|
<!-- <view class="item-cardb" @click='uploadpic({type:4})' v-if='merchantData.bank_back.length==0'>
|
||||||
<image src="@/static/images/YHKF.png" mode="aspectFit"></image>
|
<image src="@/static/images/YHKF.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="item-cardb" @click='DelPic({type:4})' v-else>
|
<view class="item-cardb" @click='DelPic({type:4})' v-else>
|
||||||
<image :src="merchantData.bank_back" mode="aspectFit"></image>
|
<image :src="merchantData.bank_back" mode="aspectFit"></image>
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view> -->
|
</view> -->
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<button class='submitBtn' :class="validate === true? 'on':''" @click="formSubmit">
|
<button class='submitBtn' :class="validate === true? 'on':''" @click="formSubmit">
|
||||||
|
@ -424,6 +423,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
return {
|
return {
|
||||||
isAuto: false, //没有授权的不会自动授权
|
isAuto: false, //没有授权的不会自动授权
|
||||||
isShowAuth: false, //是否隐藏授权
|
isShowAuth: false, //是否隐藏授权
|
||||||
|
loadEndFlag: false,
|
||||||
list: [{
|
list: [{
|
||||||
name: '今日成交额',
|
name: '今日成交额',
|
||||||
value: 0
|
value: 0
|
||||||
|
@ -635,7 +635,12 @@ import { Toast } from '../../libs/uniApi';
|
||||||
async onLoad() {
|
async onLoad() {
|
||||||
this.Fheight = uni.getSystemInfoSync().windowHeight + 'px';
|
this.Fheight = uni.getSystemInfoSync().windowHeight + 'px';
|
||||||
await this.$onLaunched;
|
await this.$onLaunched;
|
||||||
this.list1()
|
this.list1();
|
||||||
|
this.getUserInfo();
|
||||||
|
this.codelist();
|
||||||
|
this.$u.sleep(5000).then(()=>{
|
||||||
|
this.loadEndFlag = true;
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
@ -652,10 +657,11 @@ import { Toast } from '../../libs/uniApi';
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
async onShow() {
|
onShow() {
|
||||||
await this.$onLaunched;
|
if(this.loadEndFlag){
|
||||||
this.getUserInfo()
|
this.getUserInfo();
|
||||||
this.codelist()
|
this.codelist();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
|
@ -886,19 +892,19 @@ import { Toast } from '../../libs/uniApi';
|
||||||
title: '请输入对公账号'
|
title: '请输入对公账号'
|
||||||
});
|
});
|
||||||
if (!value.bank_username) return that.$util.Tips({
|
if (!value.bank_username) return that.$util.Tips({
|
||||||
title: '请输入开户行名称'
|
title: '请输入银行名称'
|
||||||
});
|
});
|
||||||
if (!value.bank_opening) return that.$util.Tips({
|
if (!value.bank_opening) return that.$util.Tips({
|
||||||
title: '请输入开户行地址'
|
title: '请输入开户网点'
|
||||||
});
|
});
|
||||||
|
|
||||||
// if (value.bank_front.length == 0) return that.$util.Tips({
|
// if (value.bank_front.length == 0) return that.$util.Tips({
|
||||||
// title: '请上传一张或者多张图片'
|
// title: '请上传一张或者多张图片'
|
||||||
// });
|
// });
|
||||||
|
|
||||||
// if (value.bank_back.length == 0) return that.$util.Tips({
|
if (value.bank_back.length == 0) return that.$util.Tips({
|
||||||
// title: '请上传一张或者多张图片'
|
title: '请上传银行卡正面图片'
|
||||||
// });
|
});
|
||||||
// if (value.cardno_front.length == 0) return that.$util.Tips({
|
// if (value.cardno_front.length == 0) return that.$util.Tips({
|
||||||
// title: '请上传一张或者多张图片'
|
// title: '请上传一张或者多张图片'
|
||||||
// });
|
// });
|
||||||
|
@ -1084,7 +1090,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
}
|
}
|
||||||
if (res.data.mer_info.length == 0) {
|
if (res.data.mer_info.length == 0) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '暂无商户信息',
|
title: '暂未开通商户',
|
||||||
complete(res) {
|
complete(res) {
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
uni.sendHostEvent('closeApp', (ret) => {
|
uni.sendHostEvent('closeApp', (ret) => {
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<image class="left" src="@/static/images/qianbao.png" style="width: 60rpx;height: 60rpx;"></image>
|
<image class="left" src="@/static/images/qianbao.png" style="width: 60rpx;height: 60rpx;"></image>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="item_title">佣金提现到银行卡</view>
|
<view class="item_title">余额提现到银行卡</view>
|
||||||
<view class="item_money">+{{item.extract_money}}</view>
|
<view class="item_money">+{{item.extract_money}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
|
|
Loading…
Reference in New Issue