优化
This commit is contained in:
@@ -29,11 +29,11 @@
|
||||
</view>
|
||||
<view class="name name2" v-if="val.couponType == 4">
|
||||
<text class="t1">第二件半价券</text>
|
||||
<text class="t2">满{{ val.fullAmount }}可用</text>
|
||||
<!-- <text class="t2">满{{ val.fullAmount }}可用</text> -->
|
||||
</view>
|
||||
<view class="name name2" v-if="val.couponType == 6">
|
||||
<text class="t1">买一送一券</text>
|
||||
<text class="t2">满{{ val.fullAmount }}可用</text>
|
||||
<!-- <text class="t2">满{{ val.fullAmount }}可用</text> -->
|
||||
</view>
|
||||
<view class="title">
|
||||
{{ val.title }}
|
||||
|
||||
41
pages.json
41
pages.json
@@ -103,6 +103,12 @@
|
||||
"navigationBarTitleText": "会员列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/points_store",
|
||||
"style": {
|
||||
"navigationBarTitleText": "积分门店"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/member/memberdetails",
|
||||
"style": {
|
||||
@@ -190,37 +196,32 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/user/member/charge-detail/charge-detail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "",
|
||||
"path": "pages/user/member/charge-detail/charge-detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "user",
|
||||
"pages": [{
|
||||
"path" : "vip/vip",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "",
|
||||
"subPackages": [{
|
||||
"root": "user",
|
||||
"pages": [{
|
||||
"path": "vip/vip",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "vip/buy-vip",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "",
|
||||
"path": "vip/buy-vip",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
]
|
||||
}],
|
||||
"uniIdRouter": {},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
|
||||
@@ -148,18 +148,17 @@ function showDetailHandle(item) {
|
||||
`可适用商品:${item.foods}`,
|
||||
`可使用类型:${convertValuesToLabels(item.useType)}`,
|
||||
`可用时间段:${item.useTimeType == 'all' ? '全段时间可用' : `${item.useStartTime} - ${item.useEndTime}`}`,
|
||||
`限量规则:${item.getLimit == -10086 ? '无限' : `${item.getLimit}张`}`,
|
||||
`限量规则:每人限领${item.getLimit == -10086 ? `无限张` : `${item.getLimit}张`},每日最多可使用${item.useLimit == -10086 ? `无限张` : `${item.useLimit}张`}`,
|
||||
`同享规则:${item.vipPriceShare ? '与限时折扣同享、与会员价同享' : '不与限时折扣同享、与会员价同享'}`,
|
||||
`其它说明:${item.ruleDetails || '无'}`
|
||||
];
|
||||
|
||||
if (item.type == 2 || item.type == 4) {
|
||||
if (item.type == 2 || item.type == 4 || item.type == 6) {
|
||||
selectListItemDetails.value.splice(2, 0, `使用规则:${item.useRule == 'price_asc' ? '从最低价开始抵扣' : '从最高价开始抵扣'}`);
|
||||
}
|
||||
|
||||
if (item.type == 3) {
|
||||
selectListItemDetails.value.unshift(`最高抵扣${item.maxDiscountAmount}元`);
|
||||
// selectListItemDetails.value.splice(3, 0, `使用规则:${item.useRule == 'price_asc' ? '从最低价开始抵扣' : '从最高价开始抵扣'}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user