Commit 5486fd1f by songbingqi

添加优惠卷页面

parent d956ed89
<template>
<view>我的页面优惠卷页面</view>
</template>
<script>
export default {
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<view>结算页面优惠卷</view>
</template>
<script>
export default {
}
</script>
<style>
</style>
\ No newline at end of file
......@@ -14,7 +14,7 @@
</div>
</div>
<div class="goods_info">
<h3>商品详细</h3>
<span class="goodInfoTitle">商品详细</span>
<div class="goods" v-for="item in goods" :key="item.goodsId">
<div class="goods_item">
<image v-if="item.pics.thumbnailApplet" class="goods_img" :src="item.pics.thumbnailApplet"/>
......@@ -38,6 +38,14 @@
</div>
</div>
<div class="coupon" @click="goCouponSelect">
<div class="title">HOOLOO卷</div>
<div class="num">
<span>暂未可用优惠</span>
<image class="arrow-right-select" :src="'../../../static/imgs/jiantouhei.png'" />
</div>
</div>
<div class="total">
<div class="size">{{ totalNum }}件商品</div>
<div class="priceBox">
......@@ -246,6 +254,9 @@ export default {
await Menu.requestPayment(orderInfo.data.data, res, this.buyType);
}
}
},
goCouponSelect() {
uni.navigateTo({ url: `/orderSubPackage/pages/coupon/index` })
}
}
}
......@@ -332,15 +343,17 @@ export default {
box-sizing: border-box;
h3 {
.goodInfoTitle {
height: 40rpx;
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 40rpx;
}
.goods {
margin-top: 24.95rpx;
margin-top: 24rpx;
border-bottom: 0.1px solid #F4F4F4;
padding-bottom: 32rpx;
......@@ -394,7 +407,7 @@ export default {
}
.goods_psce {
margin-top: 20rpx;
margin-top: 18.65rpx;
}
}
}
......@@ -437,12 +450,47 @@ export default {
}
}
.coupon {
display: flex;
align-items: center;
display: flex;
justify-content: space-between;
margin-top: 24.38rpx;
margin-bottom: 23.57rpx;
.title {
font-size: 28rpx;
font-family: ArialMT;
color: #333333;
height: 40rpx;
line-height: 40rpx;
}
.num {
font-size: 28rpx;
height: 40rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
display: flex;
align-items: center;
color: #999999;
height: 40rpx;
line-height: 40rpx;
.arrow-right-select{
width: 15.27rpx;
height: 19.68rpx;
margin-left: 8rpx;
}
}
}
.total {
display: flex;
align-items: center;
display: flex;
justify-content: space-between;
margin-top: 24rpx;
padding-top: 24.16rpx;
border-top: 0.1px solid #F4F4F4;
.size {
font-size: 28rpx;
......
......@@ -65,6 +65,13 @@
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "pages/coupon/index",
"style": {
"navigationBarTitleText": "我的HOOLOO卷",
"enablePullDownRefresh": false
}
}
]
},
......@@ -84,6 +91,13 @@
"navigationBarTitleText": "消息详情",
"enablePullDownRefresh": false
}
},
{
"path": "pages/coupon/index",
"style": {
"navigationBarTitleText": "我的HOOLOO卷",
"enablePullDownRefresh": false
}
}
]
}
......
......@@ -132,7 +132,7 @@ export default {
}
},
goToPage(page) {
page == 'coupon' && this.showToast({ title: '功能未开放!', icon: 'none' });
page == 'coupon' && uni.navigateTo({ url: '/mineSubPackage/pages/coupon/index' })
if (!this.userms) {
// this.loginByPhoneNumber(page)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment