@ -0,0 +1,55 @@ |
|||||
|
<template> |
||||
|
<view> |
||||
|
<uni-nav-bar left-icon="left" title="My Coupons" color="#000000" rightIcon="info" @clickLeft="back" @clickRight="goPage" :border="false"/> |
||||
|
<view class="body"> |
||||
|
<view class="coupons_item" v-for="(item,index) in 3 " :key="index"> |
||||
|
<view class="coupons_item_left"> |
||||
|
<view class="item_left_prcie">$20.00</view> |
||||
|
<text class="item_left_span">Min.spend</text> |
||||
|
<view>$200.00</view> |
||||
|
</view> |
||||
|
<view class="coupons_item_right"> |
||||
|
<view class="coupons_right_info"> |
||||
|
<view class="coupons_right_info_title">All-purpose</view> |
||||
|
<text>The tide zone is available</text> |
||||
|
<view class="coupons_right_info_time">2022.09.23 10:37 - 2022.12.23 10:37</view> |
||||
|
</view> |
||||
|
<button>Use Now</button> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
methods:{ |
||||
|
back(){ |
||||
|
uni.navigateBack() |
||||
|
}, |
||||
|
goPage(){ |
||||
|
console.info(111) |
||||
|
uni.navigateTo({ |
||||
|
url:"/pages/index/pickUpCentre" |
||||
|
}) |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.uni-navbar{ |
||||
|
font-size: 32rpx; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
.body{ |
||||
|
border-top: 14.67rpx #F7F7F7 solid; |
||||
|
padding:0 26rpx; |
||||
|
padding-top: 31.33rpx; |
||||
|
} |
||||
|
</style> |
||||
@ -0,0 +1,65 @@ |
|||||
|
<template> |
||||
|
<view> |
||||
|
<uni-nav-bar left-icon="left" title="Pick up centre" color="#000000" @clickLeft="back" @clickRight="goPage" :border="false"> |
||||
|
<block slot="right"> |
||||
|
<view class="head_coupons"> |
||||
|
<image src="../../static/img/coupons.png" mode=""></image> |
||||
|
</view> |
||||
|
|
||||
|
</block> |
||||
|
</uni-nav-bar> |
||||
|
<view class="body"> |
||||
|
<view class="coupons_item" v-for="(item,index) in 3 " :key="index"> |
||||
|
<view class="coupons_item_left"> |
||||
|
<view class="item_left_prcie">$20.00</view> |
||||
|
<text class="item_left_span">Min.spend</text> |
||||
|
<view>$200.00</view> |
||||
|
</view> |
||||
|
<view class="coupons_item_right"> |
||||
|
<view class="coupons_right_info"> |
||||
|
<view class="coupons_right_info_title">All-purpose</view> |
||||
|
<text>The tide zone is available</text> |
||||
|
<view class="coupons_right_info_time">2022.09.23 10:37 - 2022.12.23 10:37</view> |
||||
|
</view> |
||||
|
<button>Receive</button> |
||||
|
<image src="../../static/img/coupons_bg.png" mode="" class="coupons_item_right_bg"></image> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
methods:{ |
||||
|
back(){ |
||||
|
uni.navigateBack() |
||||
|
}, |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.uni-navbar{ |
||||
|
font-size: 32rpx; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
.body{ |
||||
|
border-top: 14.67rpx #F7F7F7 solid; |
||||
|
padding:0 26rpx; |
||||
|
padding-top: 31.33rpx; |
||||
|
} |
||||
|
.head_coupons{ |
||||
|
width: 34.67rpx; |
||||
|
height: 34.67rpx; |
||||
|
image{ |
||||
|
width: 100%; |
||||
|
height: 100%; |
||||
|
} |
||||
|
} |
||||
|
</style> |
||||
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 3.0 KiB |