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