优惠shopId
This commit is contained in:
@@ -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 //滚动距离
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -22,22 +22,24 @@
|
|||||||
<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')
|
||||||
if (e.type == 'list') {//从列表进来的
|
this.shopId = e.shopId
|
||||||
|
if (e.type == 'list') { //从列表进来的
|
||||||
this.paygetShopByMember(e.shopId)
|
this.paygetShopByMember(e.shopId)
|
||||||
}else{
|
} else {
|
||||||
this.paygetShopByMember(e.shopId)
|
this.paygetShopByMember(e.shopId)
|
||||||
}
|
}
|
||||||
this.paygetActive(e.shopId) //列表
|
this.paygetActive(e.shopId) //列表
|
||||||
@@ -54,7 +56,7 @@
|
|||||||
},
|
},
|
||||||
async paygetActive(shopid) {
|
async paygetActive(shopid) {
|
||||||
let res = await this.api.paygetActive({
|
let res = await this.api.paygetActive({
|
||||||
shopId:shopid,
|
shopId: shopid,
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 10
|
pageSize: 10
|
||||||
})
|
})
|
||||||
@@ -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,7 +206,8 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #422A07;
|
color: #422A07;
|
||||||
}
|
}
|
||||||
.towcontentitevip{
|
|
||||||
|
.towcontentitevip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -221,10 +219,11 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family:Source Han Sans CN-Medium;
|
font-family: Source Han Sans CN-Medium;
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user