This commit is contained in:
THK3121 2023-09-11 14:04:47 +08:00
parent 45feda6994
commit a1fd0875d7

View File

@ -226,7 +226,7 @@
</view> </view>
<view class="" :style="`height:${appInfo.bottom};background-color:white`"> <view class="" :style="`height:${appInfo.bottom}px;background-color:white`">
</view> </view>
@ -337,7 +337,7 @@
.in(this) .in(this)
.select('.content') .select('.content')
.boundingClientRect(rect => { .boundingClientRect(rect => {
console.log(rect) // console.log(rect)
if (rect.top <= this.headtop) { if (rect.top <= this.headtop) {
this.pocls = 'fixed' this.pocls = 'fixed'
this.act_swiper = 'act_swiper' this.act_swiper = 'act_swiper'
@ -370,7 +370,6 @@
methods: { methods: {
cartFn() { cartFn() {
getCartList().then(res => { getCartList().then(res => {
this.cartList = res.data.list this.cartList = res.data.list
this.cartList[0].list.forEach(e => { this.cartList[0].list.forEach(e => {
this.totalMoney = this.totalMoney + Number(e.productAttr.price) * e.cart_num this.totalMoney = this.totalMoney + Number(e.productAttr.price) * e.cart_num