页面修改
This commit is contained in:
parent
5edf9029fd
commit
f32a8dd835
@ -9,8 +9,8 @@ let httpApiThree
|
||||
// 网络接口修改此字符 小程序域名要求https
|
||||
// let httpApi = 'http://192.168.31.110:8324' // 测试
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
// httpApi = 'https://shop.lihaink.cn' // 生产
|
||||
httpApi = "https://crmeb-test.shop.lihaink.cn"
|
||||
httpApi = 'https://shop.lihaink.cn' // 生产
|
||||
// httpApi = "https://crmeb-test.shop.lihaink.cn"
|
||||
// httpApi = "http://192.168.0.222"
|
||||
// httpApi = "http://192.168.0.108:8325"
|
||||
// httpApi = 'http://192.168.0.108:8325'
|
||||
|
@ -20,8 +20,9 @@
|
||||
|
||||
<view class="">
|
||||
<!-- <view :style="`height: ${appInfo.top}px;background-color: red;z-index: 99999;`"></view> -->
|
||||
<transition name="fade">
|
||||
<view class="head" style="padding-top: var(--status-bar-height);" v-if="showtit">
|
||||
<!-- <transition name="fade"> -->
|
||||
<view :class="{'head':true,'show':showtit}" style="padding-top: var(--status-bar-height);"
|
||||
v-if="showtit">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
||||
height="50.82rpx" @click='goBack'></u--image>
|
||||
@ -35,10 +36,10 @@
|
||||
<text>全部</text>
|
||||
</view>
|
||||
</view>
|
||||
</transition>
|
||||
<transition name="fade">
|
||||
<!-- </transition> -->
|
||||
<!-- <transition name="fade"> -->
|
||||
<!-- 滚动 -->
|
||||
<view class="heads" style="padding-top: var(--status-bar-height);" v-if="!showtit">
|
||||
<view :class="{'heads':true,'show':!showtit}" style="padding-top: var(--status-bar-height);">
|
||||
<view style="align-items: center;display: flex;justify-content: space-between;">
|
||||
<view class="" style="display: flex;align-items: center;">
|
||||
<view class="back" style="margin-right: 17rpx;">
|
||||
@ -66,7 +67,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</transition>
|
||||
<!-- </transition> -->
|
||||
<view class="box">
|
||||
<view :class="act_swiper">
|
||||
<swiper :autoplay="false" :active-class="activeClass" :interval="3000" class="swipers"
|
||||
@ -393,13 +394,14 @@
|
||||
this.totalMoney = 0
|
||||
this.cartList = res.data.list
|
||||
this.cartList.forEach(e => {
|
||||
|
||||
e.list.forEach(item => {
|
||||
this.totalMoney += item.productAttr.price * item.cart_num
|
||||
this.totalMoney += item.cart_num * item.productAttr.price
|
||||
})
|
||||
|
||||
})
|
||||
this.totalMoney = this.totalMoney.toFixed(2);
|
||||
this.totalMoney = this.totalMoney.toFixed(2)
|
||||
})
|
||||
// this.
|
||||
getCartCounts().then(res => {
|
||||
this.goodsNum = res.data[0].count
|
||||
})
|
||||
@ -724,7 +726,7 @@
|
||||
}
|
||||
|
||||
.head {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
color: white;
|
||||
display: flex;
|
||||
@ -732,6 +734,7 @@
|
||||
width: 100%;
|
||||
padding: 0 20rpx;
|
||||
align-items: center;
|
||||
transition: .5s;
|
||||
|
||||
|
||||
|
||||
@ -743,22 +746,23 @@
|
||||
color: white;
|
||||
width: 100%;
|
||||
padding: 0 20rpx;
|
||||
// background-color: white;
|
||||
|
||||
|
||||
|
||||
|
||||
transition: 1s;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.show {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.menu {
|
||||
position: absolute;
|
||||
top: 748rpx;
|
||||
width: 750rpx;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
height: 250rpx;
|
||||
// height: 175.23rpx;
|
||||
// box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.5);
|
||||
box-shadow: 0 0 100rpx 30rpx rgba(255, 255, 255, 0.9);
|
||||
// box-shadow: 0 0 100rpx 30rpx rgba(255, 255, 255, 0.9);
|
||||
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 7.2 MiB After Width: | Height: | Size: 528 KiB |
Loading…
x
Reference in New Issue
Block a user