优惠shopId

This commit is contained in:
魏啾
2024-05-30 11:00:49 +08:00
parent 086f203d70
commit 5ce56b7030
2 changed files with 17 additions and 18 deletions

View File

@@ -385,7 +385,7 @@
this.seighT = data.windowHeight; this.seighT = data.windowHeight;
this.$u.getRect('.fourcontent').then(res => { this.$u.getRect('.fourcontent').then(res => {
console.log(res.top) console.log(res.top)
this.Topdistance = res.top - res.height //滚动距离 this.Topdistance = res.top - res.height - 20 //滚动距离
}) })
} }
}) })

View File

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