|
|
@@ -2,7 +2,7 @@
|
|
|
<div class="app-content">
|
|
|
<div class="page-top">
|
|
|
<div class="page-top-img">
|
|
|
- <img :src="`${constant.imgUrl}/retail/order/bg.png`" alt />
|
|
|
+ <image mode="widthFix" :src="`${constant.imgUrl}/retail/order/bg.png`" alt />
|
|
|
</div>
|
|
|
<div class="page-top-det">
|
|
|
<div>
|
|
|
@@ -165,11 +165,12 @@
|
|
|
init() {
|
|
|
this._getDet().then(()=>{
|
|
|
getShopUser().then(res => {
|
|
|
- console.log(this.$refs)
|
|
|
- this.$refs.couponSel._getUserDiscount()
|
|
|
+ if(this.data.status == 0) {
|
|
|
+ this.$refs.couponSel._getUserDiscount()
|
|
|
.then(status => {
|
|
|
this.discountArr = status
|
|
|
- })
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
})
|
|
|
|
|
|
@@ -215,11 +216,15 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+
|
|
|
.app-content {
|
|
|
padding-bottom: 80px;
|
|
|
}
|
|
|
.page-top {
|
|
|
position: relative;
|
|
|
+ .page-top-img {
|
|
|
+ // height: 50px;
|
|
|
+ }
|
|
|
.page-top-det {
|
|
|
position: absolute;
|
|
|
top: 22px;
|