Commit e5ecae71 authored by 王建威's avatar 王建威

bug fix

parent 95400609
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
"mode": "history", "mode": "history",
"base": "/uni" "base": "/uni"
}, },
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/test/1.0.27/", "publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/mirror/1.0.27/",
"optimization": { "optimization": {
"treeShaking": { "treeShaking": {
"enable": true "enable": true
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
<view class="bg_card"></view> <view class="bg_card"></view>
<view class="absolute"> <view class="absolute">
<view class="benefit_box"> <view class="benefit_box">
<view class="lines_card" v-if="Number(is_auth) === 0"> <view class="lines_card" v-if="Number(is_auth) === 0 || Number(status) === -1">
<view class="lines_title">最高可申请额度:</view> <view class="lines_title">最高可申请额度:</view>
<view class="flex"> <view class="flex">
<view class="left_title">¥200.00万</view> <view class="left_title">¥200.00万</view>
<view class="apply_btn" @click="go_open"><text class="text">申请开通</text></view> <view v-if="status === -1 && Number(is_auth) === -1" class="apply_btn" @click="reupload"><text class="text">申请开通</text></view>
<view v-else class="apply_btn" @click="go_open"><text class="text">申请开通</text></view>
</view> </view>
</view> </view>
<view class="lines_card" v-if="Number(status) === 0 && Number(is_auth) !== 0"> <view class="lines_card" v-if="Number(status) === 0 && Number(is_auth) !== 0">
...@@ -111,7 +112,7 @@ ...@@ -111,7 +112,7 @@
</view> </view>
</view> </view>
<view class="return_home" @click="return_home">返回商城首页</view> <view class="return_home" @click="return_home">返回商城首页</view>
<view class="flex_bottom" v-if="Number(is_auth) === 0"> <view class="flex_bottom" v-if="Number(is_auth) === 0 || Number(status) === -1">
<!-- <view class="left_btn"> <!-- <view class="left_btn">
<view> <view>
<text class="checkbtn uncheck" v-if="!checked" @click="check"></text> <text class="checkbtn uncheck" v-if="!checked" @click="check"></text>
...@@ -120,7 +121,8 @@ ...@@ -120,7 +121,8 @@
</view> </view>
<view class="agreement">《谛宝白条开通协议》</view> <view class="agreement">《谛宝白条开通协议》</view>
</view> --> </view> -->
<view class="open_btn" @click="go_open">立即开通</view> <view class="open_btn" v-if="status === -1 && Number(is_auth) === -1" @click="reupload">立即开通</view>
<view class="open_btn" v-else @click="go_open">立即开通</view>
</view> </view>
</view> </view>
</template> </template>
...@@ -142,7 +144,7 @@ ...@@ -142,7 +144,7 @@
method: 'GET', method: 'GET',
dataType: 'json', dataType: 'json',
success: (res) => { success: (res) => {
if(res.data.code === 0) { if(res.data.code === 0 && res.data.data !== null) {
this.status = res.data.data.status; this.status = res.data.data.status;
this.repeat_flg = res.data.data.repeat_flg; this.repeat_flg = res.data.data.repeat_flg;
this.refuse_reason = res.data.data.refuse_reason; this.refuse_reason = res.data.data.refuse_reason;
......
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