add
This commit is contained in:
parent
b6b5fbd790
commit
02faeccc96
|
@ -269,8 +269,6 @@
|
|||
let lastScollTop = 0
|
||||
const hideHeadView = (e) => {
|
||||
if (e.detail.scrollTop < 100) return
|
||||
console.log(e.detail.scrollTop, scoHeight, targetHeight.value)
|
||||
// if (targetHeight.value < 200) return
|
||||
if (e.detail.scrollTop <= 0 || e.detail.scrollTop > targetHeight.value)
|
||||
return
|
||||
isScroll.value = e.detail.scrollTop > lastScollTop
|
||||
|
@ -577,7 +575,6 @@
|
|||
where.value.store_id = opt.id || STORE_INFO.id;
|
||||
// 店铺id
|
||||
if (opt.id) {
|
||||
console.log('opt', opt)
|
||||
where.value.store_id = opt.id;
|
||||
const info = await shopDetailApi({
|
||||
store_id: opt.id
|
||||
|
@ -592,8 +589,10 @@
|
|||
}
|
||||
getgoodClassList(0);
|
||||
getGoodList();
|
||||
// #ifndef H5
|
||||
// 胶囊布局信息
|
||||
btns.value = uni.getMenuButtonBoundingClientRect();
|
||||
// #endif
|
||||
})
|
||||
|
||||
onShow(() => {
|
||||
|
@ -622,7 +621,6 @@
|
|||
scrollOffset: true,
|
||||
},
|
||||
(data) => {
|
||||
console.log(data)
|
||||
scoHeight = data.scrollHeight
|
||||
targetHeight.value = data.scrollHeight - data.height
|
||||
}
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
<up-button @click="weixinLogin" color="#20B128" size="large"><up-icon name="weixin-fill"
|
||||
color="#fff" size="28"></up-icon>微信快捷登录</up-button>
|
||||
</view>
|
||||
<!-- <view class="btn">
|
||||
<view class="btn">
|
||||
<up-button @click="navgo('/pages/login/test')" color="#20B128" size="large"><up-icon
|
||||
name="weixin-fill" color="#fff" size="28"></up-icon>账号登录</up-button>
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- <view class="btn">
|
||||
<up-button @click="officialCode" color="#20B128" size="large"><up-icon name="weixin-fill" color="#fff"
|
||||
size="28"></up-icon>公众号授权</up-button>
|
||||
|
|
Loading…
Reference in New Issue