修改房屋下拉弹窗显示bug
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
let baseUrl = '';
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
baseUrl = 'http://192.168.1.222:8080'; // 开发环境
|
||||
baseUrl = 'http://192.168.1.6:8080'; // 开发环境
|
||||
// baseUrl = 'http://wuyeapi.ckdzkj.com';
|
||||
} else {
|
||||
baseUrl = 'https://wuyeapi.ckdzkj.com'; // 生产环境
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
}
|
||||
}catch(err){
|
||||
uni.showToast({
|
||||
title: res.msg ||"网络异常",
|
||||
title: err.msg ||"网络异常",
|
||||
icon:"none"
|
||||
})
|
||||
}
|
||||
@@ -78,7 +78,6 @@
|
||||
min-height: 100vh;
|
||||
background-color: #ffffff;
|
||||
padding: 20px;
|
||||
// font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||
}
|
||||
|
||||
/* 内容滚动区域 */
|
||||
|
||||
@@ -78,23 +78,6 @@
|
||||
<text class="item-arrow"></text>
|
||||
</view>
|
||||
|
||||
<!-- 底部弹出下拉选择框(全端可用) -->
|
||||
<view v-if="showPopup" class="mask" @click="showPopup=false"></view>
|
||||
<view v-if="showPopup" class="popup">
|
||||
<view class="popup-header">
|
||||
<text class="title">选择房屋状态</text>
|
||||
<text class="close" @click="showPopup = false">✕</text>
|
||||
</view>
|
||||
|
||||
<view class="list">
|
||||
<view :class="{ active: formData.status.id == item.id }" class="item"
|
||||
v-for="(item, index) in statusList" :key="upDataListNum" @click="selectClick(item)">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 设为默认房屋(开关) -->
|
||||
<view class="form-item switch-item">
|
||||
<text class="item-label" style="width: 100px;">设为默认房屋</text>
|
||||
<switch class="no-cross-switch" :checked="formData.isDefault" color="#1677ff"
|
||||
@@ -191,6 +174,29 @@
|
||||
|
||||
|
||||
|
||||
</scroll-view>
|
||||
<!-- 底部下一步按钮 -->
|
||||
<view class="bottom-btn-wrap">
|
||||
<button class="next-btn" @click="goNext" v-if="currentStep==0">下一步</button>
|
||||
<button class="next-btn" @click="goSubmit" v-if="currentStep==1">提交审核</button>
|
||||
</view>
|
||||
|
||||
<!-- 房屋状态弹窗 -->
|
||||
<view v-if="showPopup" class="mask" @click="showPopup=false"></view>
|
||||
<view v-if="showPopup" class="popup">
|
||||
<view class="popup-header">
|
||||
<text class="title">选择房屋状态</text>
|
||||
<text class="close" @click="showPopup = false">✕</text>
|
||||
</view>
|
||||
|
||||
<view class="list">
|
||||
<view :class="{ active: formData.status.id == item.id }" class="item"
|
||||
v-for="(item, index) in statusList" :key="upDataListNum" @click="selectClick(item)">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 证件类型弹窗 -->
|
||||
<view v-if="showCardType" class="mask" @click="showCardType=false"></view>
|
||||
<view v-if="showCardType" class="popup">
|
||||
@@ -206,6 +212,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 与业主关系弹窗 -->
|
||||
<view v-if="showRelation" class="mask" @click="showRelation=false"></view>
|
||||
<view v-if="showRelation" class="popup">
|
||||
<view class="popup-header">
|
||||
@@ -219,14 +226,6 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</scroll-view>
|
||||
<!-- 底部下一步按钮 -->
|
||||
<view class="bottom-btn-wrap">
|
||||
<button class="next-btn" @click="goNext" v-if="currentStep==0">下一步</button>
|
||||
<button class="next-btn" @click="goSubmit" v-if="currentStep==1">提交审核</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
@@ -70,12 +70,12 @@
|
||||
title: '注销账号',
|
||||
type: 'arrow'
|
||||
},
|
||||
// {
|
||||
// title: '升级版本',
|
||||
// type: 'text',
|
||||
// value: '当前版本 1.0.0',
|
||||
// valueClass: 'item-version'
|
||||
// }
|
||||
{
|
||||
title: '升级版本',
|
||||
type: 'text',
|
||||
value: '当前版本 1.0.0',
|
||||
valueClass: 'item-version'
|
||||
}
|
||||
])
|
||||
|
||||
// 格式化字节大小
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
}
|
||||
}catch(err){
|
||||
uni.showToast({
|
||||
title: res.msg ||"网络异常",
|
||||
title: err.msg ||"网络异常",
|
||||
icon:"none"
|
||||
})
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</view>
|
||||
<!-- <view style="border-bottom: 2rpx solid #c7c7c7;padding-bottom:20rpx;"></view> -->
|
||||
<!-- 缴费金额输入 -->
|
||||
<view style="border-bottom: 2rpx solid #ededed;margin:10rpx 0rpx;"></view>
|
||||
<!-- <view style="border-bottom: 2rpx solid #ededed;margin:10rpx 0rpx;"></view>
|
||||
<view class="input-section" style="display: flex;">
|
||||
<text class="amount-input" style="width: auto;margin: 0rpx 20rpx;">¥</text>
|
||||
<input
|
||||
@@ -52,14 +52,14 @@
|
||||
placeholder="点击输入缴费金额"
|
||||
/>
|
||||
</view>
|
||||
<view style="border-bottom: 2rpx solid #ededed;margin:10rpx 0rpx;"></view>
|
||||
<view style="border-bottom: 2rpx solid #ededed;margin:10rpx 0rpx;"></view> -->
|
||||
<view class="arrears-row" v-if="outstandingPayment==true">
|
||||
<text class="arrears-text">当前欠费金额¥{{ arrearsAmount }}元</text>
|
||||
<text class="auto-fill-btn" @click="handleAutoFill">点击自动填入</text>
|
||||
</view>
|
||||
<view class="arrears-row" v-if="outstandingPayment==false">
|
||||
<!-- <view class="arrears-row" v-if="outstandingPayment==false">
|
||||
<text class="arrears-text">暂未查询到欠费</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -182,13 +182,13 @@
|
||||
|
||||
// 立即缴费 — 通过微信拉起日照银行小程序进行支付
|
||||
const handlePay = async () => {
|
||||
if (!payNum.value || Number(payNum.value) <= 0) {
|
||||
uni.showToast({
|
||||
title: '请输入正确的缴费金额',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
// if (!payNum.value || Number(payNum.value) <= 0) {
|
||||
// uni.showToast({
|
||||
// title: '请输入正确的缴费金额',
|
||||
// icon: 'none'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
|
||||
try {
|
||||
uni.showLoading({ title: '加载中...' })
|
||||
@@ -265,7 +265,7 @@
|
||||
console.log('拉起日照银行小程序返回失败(App======)', res.retMsg)
|
||||
}
|
||||
|
||||
console.log('日照银行小程序回调结果(App)', JSON.stringify(res))
|
||||
console.log('回调---日照银行小程序回调结果(App)', JSON.stringify(res))
|
||||
}, (err) => {
|
||||
console.error('拉起日照银行小程序失败(App)', JSON.stringify(err))
|
||||
uni.showToast({ title: '拉起支付小程序失败', icon: 'none' })
|
||||
|
||||
Reference in New Issue
Block a user