This commit is contained in:
weipengfei 2024-01-02 18:02:07 +08:00
parent c78bcb4e30
commit 656d094a5f
4 changed files with 30 additions and 24 deletions

View File

@ -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 //trueHBuilderX1.9.0 "ignoreVersion" : true //trueHBuilderX1.9.0
}, },
"splashscreen" : { "splashscreen" : {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender" : true,

View File

@ -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) => {

View File

@ -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) => {

View File

@ -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">