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