Compare commits

...

3 Commits

Author SHA1 Message Date
赵毅
2030e5e84d 修改好店支付物业公积金和积分的数据显示异常问题 2025-10-11 14:40:19 +08:00
赵毅
3c26c8c1a0 完成湖畔好店的搜索功能 2025-10-11 11:16:23 +08:00
赵毅
c765dd65da 修改图片地址 2025-10-11 09:32:56 +08:00
5 changed files with 18 additions and 7 deletions

View File

@ -15,7 +15,7 @@
<image <image
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
mode="aspectFill"></image> mode="aspectFill"></image>
<input type="text" placeholder="请输入您想搜索的内容" /> <input type="text" v-model="searchText" placeholder="请输入您想搜索的内容" @confirm="handleSearch" />
</view> </view>
</view> </view>
</view> </view>
@ -141,6 +141,7 @@ export default {
page_num: 1, page_num: 1,
flag: false, flag: false,
merchatList: [], merchatList: [],
searchText: ''
}; };
}, },
onLoad(options) { onLoad(options) {
@ -196,12 +197,19 @@ export default {
} }
}); });
}, },
//
handleSearch() {
this.page_num = 1;
this.merchatList = [];
this.getMechantList();
},
// //
async getMechantList() { async getMechantList() {
let that = this; let that = this;
await request(apiArr.getMerchantList, "POST", { await request(apiArr.getMerchantList, "POST", {
page_num: that.page_num, page_num: that.page_num,
page_size: that.page_size, page_size: that.page_size,
merchant_name: that.searchText
}).then((res) => { }).then((res) => {
let latitude = uni.getStorageSync("location").lat; let latitude = uni.getStorageSync("location").lat;
let longitude = uni.getStorageSync("location").lng; let longitude = uni.getStorageSync("location").lng;

View File

@ -121,8 +121,10 @@ export default {
}, },
watch: { watch: {
Money(newVal) { Money(newVal) {
this.homeMoney = newVal * (this.info.refund_property_fee_ratio || 0); const homeMoney1 = newVal * (this.info.refund_property_fee_ratio || 0)
this.integral = newVal * (this.info.refund_user_points_ratio || 0); this.homeMoney = homeMoney1.toFixed(2);
const integral1 = newVal * (this.info.refund_user_points_ratio || 0)
this.integral = integral1.toFixed(2);
}, },
}, },

View File

@ -19,7 +19,7 @@
去充值 去充值
</view> --> </view> -->
<view class="balance-icon"> <view class="balance-icon">
<image src="http://localhost:8080/user_wallet2.png" mode="widthFix" /> <image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com//user_wallet2.png" mode="widthFix" />
</view> </view>
</view> </view>
</view> </view>

View File

@ -90,7 +90,7 @@ export default {
this.top = meun.top; this.top = meun.top;
this.localHeight = meun.height; this.localHeight = meun.height;
this.topVal = options.type == 1 ? '积分' : (options.type == 2 ? '物业公积金' : '红包卡券'); this.topVal = options.type == 1 ? '积分' : (options.type == 2 ? '物业公积金' : '红包卡券');
this.photoVal = options.type == 1 ? 'http://localhost:8080/user_wallet1.png' : (options.type == 2 ? 'http://localhost:8080/user_wallet2.png' : 'http://localhost:8080/user_wallet3.png'); this.photoVal = options.type == 1 ? 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com//user_wallet1.png' : (options.type == 2 ? 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com//user_wallet2.png' : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com//user_wallet3.png');
this.itemObj = JSON.parse(options.item); this.itemObj = JSON.parse(options.item);
this.itemType = options.type; this.itemType = options.type;
this.balance = options.type == 1 ? this.itemObj.points : (options.type == 2 ? this.itemObj.property_housing_fund : 0) this.balance = options.type == 1 ? this.itemObj.points : (options.type == 2 ? this.itemObj.property_housing_fund : 0)

View File

@ -16,7 +16,7 @@
<view class="balance-title">{{ topVal }}</view> <view class="balance-title">{{ topVal }}</view>
<view class="balance-amount">{{ balance }}</view> <view class="balance-amount">{{ balance }}</view>
<view class="balance-icon"> <view class="balance-icon">
<image src="http://localhost:8080/user_wallet2.png" mode="widthFix" /> <image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com//user_wallet2.png" mode="widthFix" />
</view> </view>
</view> </view>
</view> </view>
@ -36,7 +36,8 @@
<view class="record-time">{{ record.change_time }}</view> <view class="record-time">{{ record.change_time }}</view>
</view> </view>
<view class="record-amount"> <view class="record-amount">
<view class="record-balance" v-if="topVal == '应收' || topVal == '已收'">{{ record.change_reason == 1 ? '收款' : <view class="record-balance" v-if="topVal == '应收' || topVal == '已收'">{{ record.change_reason ==
1 ? '收款' :
'退款' }}</view> '退款' }}</view>
<view class="record-balance" v-else-if="topVal == '待收物业公积金'">待收</view> <view class="record-balance" v-else-if="topVal == '待收物业公积金'">待收</view>
<view class="record-balance" v-else-if="topVal == '手续费'">手续费</view> <view class="record-balance" v-else-if="topVal == '手续费'">手续费</view>