商品列表修改
This commit is contained in:
parent
62cbad9029
commit
29eb4b2bb2
|
|
@ -75,6 +75,13 @@
|
|||
});
|
||||
return false;
|
||||
}
|
||||
if (this.amount <= 0) {
|
||||
uni.showToast({
|
||||
title: '金额必须大于0',
|
||||
icon: 'none'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
let res = await this.api.paymemeberIn({
|
||||
shopId: this.shopId, // 判断显示哪家的作品,
|
||||
amount: this.amount // 判断显示哪家的作品,
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</view>
|
||||
<view class="panelthere flex-between">
|
||||
<view class="paneltheretext">
|
||||
营业时间:{{ shopInfo.storeInfo.businessStartDay +'至'+ shopInfo.storeInfo.businessEndDay +' '+ shopInfo.storeInfo.businessTime }}
|
||||
营业时间:{{ (shopInfo.storeInfo.businessStartDay || '——') +'至'+ (shopInfo.storeInfo.businessEndDay || '——') +' '+ (shopInfo.storeInfo.businessTime || '')}}
|
||||
</view>
|
||||
<view class="flex-start" @click="showShopClick">
|
||||
<view style="margin-right: 14rpx;">查看</view>
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
<text>¥</text>
|
||||
<text>{{item.lowPrice}}</text>
|
||||
<text>/份</text>
|
||||
<text>「{{item.suit}}份起点」</text>
|
||||
<text v-if="item1.suit > 1">「{{item.suit}}份起点」</text>
|
||||
</view>
|
||||
<!-- <u-icon name="plus-circle-fill" color="#E9AB7A" size="40"></u-icon> -->
|
||||
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
<scroll-view :scroll-into-view="leftIntoView" :scroll-with-animation="false">
|
||||
<view class="item" v-for="(item,index) in shopProductList.productInfo" :key="index"
|
||||
:class="{ 'active':index==leftIndex }" :id="'left-'+index" :data-index="index"
|
||||
@click="leftTap(index)">{{item.name}}</view>
|
||||
@click="leftTap(index)"><text>{{item.name}}</text></view>
|
||||
<view class="items"></view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
|
@ -108,8 +108,10 @@
|
|||
</view>
|
||||
<view class="goods" @click="clickspecifications(item1,index,index1)"
|
||||
v-for="(item1,index1) in item.products" :key="index1">
|
||||
<!-- <image class="goodsImg" v-if="item1.coverImg!=null" :lazy-load="true"
|
||||
:src="`${item1.coverImg}?x-oss-process=image/resize,m_lfit,w_150,h_150`" mode="aspectFill"></image> -->
|
||||
<image class="goodsImg" v-if="item1.coverImg!=null" :lazy-load="true"
|
||||
:src="`${item1.coverImg}?x-oss-process=image/resize,m_lfit,w_90,h_90`"></image>
|
||||
:src="`${item1.coverImg}`" mode="aspectFill"></image>
|
||||
<image class="goodsImg" src="@/static/1.gif" mode="" v-else :lazy-load="true"></image>
|
||||
<view v-if="item.name=='热销'" class="topSort" :class="'c'+(index1+1)">TOP{{index1+1}}
|
||||
</view>
|
||||
|
|
@ -119,7 +121,7 @@
|
|||
<view class="describe"> {{item1.shortTitle?item1.shortTitle:''}} </view>
|
||||
<view class="monthlySale">月售{{item1.stockNumber}}</view>
|
||||
<view class="money">¥<text class="money_num">{{ item1.lowPrice }}</text>/份<text
|
||||
class="suit">「{{item1.suit}}份起点」</text></view>
|
||||
class="suit" v-if="item1.suit > 1">「{{item1.suit}}份起点」</text></view>
|
||||
|
||||
<view class="flex-end" v-if="item1.productSkuResult != null">
|
||||
<view class="sku-wrap flex-center"
|
||||
|
|
@ -231,7 +233,7 @@
|
|||
<view class="col">
|
||||
<text class="l">营业时间:</text>
|
||||
<text
|
||||
class="t">{{ shopInfo.storeInfo.businessStartDay +'至'+ shopInfo.storeInfo.businessEndDay +' '+ shopInfo.storeInfo.businessTime }}</text>
|
||||
class="t">{{ (shopInfo.storeInfo.businessStartDay || '——') +'至'+ (shopInfo.storeInfo.businessEndDay || '——') +' '+ (shopInfo.storeInfo.businessTime || '')}}</text>
|
||||
</view>
|
||||
<view class="col">
|
||||
<text class="l">商家地址:</text>
|
||||
|
|
@ -1630,16 +1632,18 @@
|
|||
|
||||
// padding-bottom: 200rpx;
|
||||
.item {
|
||||
padding: 0 30rpx;
|
||||
height: 92rpx;
|
||||
line-height: 92rpx;
|
||||
padding: 30rpx 30rpx;
|
||||
// height: 92rpx;
|
||||
// line-height: 92rpx;
|
||||
position: relative;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #333333;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// overflow: hidden;
|
||||
// text-overflow: ellipsis;
|
||||
// white-space: nowrap;
|
||||
|
||||
&+.item {
|
||||
margin-top: 1px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue