优惠shopId
This commit is contained in:
@@ -385,7 +385,7 @@
|
||||
this.seighT = data.windowHeight;
|
||||
this.$u.getRect('.fourcontent').then(res => {
|
||||
console.log(res.top)
|
||||
this.Topdistance = res.top - res.height //滚动距离
|
||||
this.Topdistance = res.top - res.height - 20 //滚动距离
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -22,19 +22,21 @@
|
||||
<script>
|
||||
import card from './components/card.vue'
|
||||
export default {
|
||||
components:{card},
|
||||
components: {
|
||||
card
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
inputshow: 0,
|
||||
memberlist: {},
|
||||
listdata: [],
|
||||
amount: '',
|
||||
shopUser: {},
|
||||
userInfo: {}
|
||||
userInfo: {},
|
||||
shopId: ''
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
console.log(e, '调试2')
|
||||
this.shopId = e.shopId
|
||||
if (e.type == 'list') { //从列表进来的
|
||||
this.paygetShopByMember(e.shopId)
|
||||
} else {
|
||||
@@ -74,7 +76,7 @@
|
||||
return false;
|
||||
}
|
||||
let res = await this.api.paymemeberIn({
|
||||
shopId: uni.cache.get('shopUser'), // 判断显示哪家的作品,
|
||||
shopId: this.shopId, // 判断显示哪家的作品,
|
||||
amount: this.amount // 判断显示哪家的作品,
|
||||
})
|
||||
if (res) {
|
||||
@@ -113,11 +115,6 @@
|
||||
this.inputshow = b
|
||||
this.amount = a.minNum
|
||||
},
|
||||
eeInfo(e) {
|
||||
uni.pro.navigateTo('my/member/memberinfo', {
|
||||
id: e,
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -209,6 +206,7 @@
|
||||
font-weight: 400;
|
||||
color: #422A07;
|
||||
}
|
||||
|
||||
.towcontentitevip {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
@@ -225,6 +223,7 @@
|
||||
font-weight: Medium;
|
||||
|
||||
}
|
||||
|
||||
.towcontentitemthere {
|
||||
margin-left: 92rpx;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
|
||||
Reference in New Issue
Block a user