Merge remote-tracking branch 'remotes/old/zmj' into old

This commit is contained in:
jia 2023-09-11 14:10:54 +08:00
commit cda132d920

View File

@ -16,7 +16,6 @@
</view>
</view> -->
<view class="" v-if="cloudList.length>0">
<view class="">
<!-- <view style="height: var(--status-bar-height);"></view> -->
@ -98,15 +97,15 @@
</swiper-item>
</swiper>
</view>
<view class="content_sift" :style="{position:pocls,top:headtop+'px'}" v-if="!showtit">
<view :class="{act:item.act}" v-for="item,index in actList" :key="index"
@click="screenGoods(item.screen,index)">
{{item.tit}}
</view>
</view>
<transition name="fade">
<view class="content">
<view class="content_sift" :style="{position:pocls,top:headtop+'px'}" v-if="!showtit">
<view :class="{act:item.act}" v-for="item,index in actList" :key="index"
@click="screenGoods(item.screen,index)">
{{item.tit}}
</view>
</view>
<view class="goods_list" v-if="goodsList.length>0">
<view class="empty" v-if='showLoading'>
<u-loading-icon v-if='showLoading' text="加载中" textSize="18"></u-loading-icon>
@ -147,7 +146,7 @@
</view>
</view>
<view style="height: 100rpx;">
<u-loadmore :status="status" />
<!-- <u-loadmore :status="status" /> -->
</view>
</view>
@ -225,8 +224,12 @@
height="400.09rpx"></u--image>
</view>
</view>
<view class="" :style="`height:${appInfo.bottom}px;background-color:white`">
</view>
</view>
@ -334,7 +337,7 @@
.in(this)
.select('.content')
.boundingClientRect(rect => {
console.log(rect)
// console.log(rect)
if (rect.top <= this.headtop) {
this.pocls = 'fixed'
this.act_swiper = 'act_swiper'
@ -367,7 +370,6 @@
methods: {
cartFn() {
getCartList().then(res => {
this.cartList = res.data.list
this.cartList[0].list.forEach(e => {
this.totalMoney = this.totalMoney + Number(e.productAttr.price) * e.cart_num
@ -644,7 +646,8 @@
}
.goods_list {
min-height: 100vh;
// background-color: red;
.goods {
display: flex;
@ -719,7 +722,7 @@
// }
.content_sift {
width: 730rpx;
width: 750rpx;
padding: 22rpx 0;
display: flex;
justify-content: space-around;
@ -875,7 +878,7 @@
// align-items: center;
// padding: 20vh 0;
position: relative;
height: 85vh;
height: 100vh;
.info {
position: absolute;