优化预下单选择人数

This commit is contained in:
gyq
2025-12-04 09:39:53 +08:00
parent 00c5987ccc
commit ca829d7f00
6 changed files with 573 additions and 340 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view class="container">
<view class="header-wrap">
<view class="u-flex" style="justify-content: flex-end;">
<view class="u-flex" style="justify-content: flex-end">
<view @click="toExchangeCode" class="color-333 font-12 u-m-b-26 font-700">优惠券兑换码</view>
</view>
<view class="search-wrap">
@@ -140,10 +140,10 @@ onReachBottom(() => {
getCouponList();
}
});
function toExchangeCode(){
function toExchangeCode() {
uni.navigateTo({
url: '/user/exchange/index'
})
});
}
const showDetail = ref(false);
const selectListItem = ref('');
@@ -223,7 +223,7 @@ async function getCouponList() {
userId: uni.cache.get('userInfo').id,
name: querForm.value.searchValue,
status: statusList.value[querForm.value.statusActiveIndex].value,
// shopId: querForm.value.shopId ? querForm.value.shopId : uni.cache.get('shopId'),
shopId: querForm.value.shopId ? querForm.value.shopId : uni.cache.get('shopId'),
page: list.page,
size: list.size
});
@@ -426,7 +426,7 @@ page {
}
}
.list-wrap {
padding-top: 28upx;
padding-top: 88upx;
.item {
border-radius: 18upx;
background-color: #fff;