1
This commit is contained in:
parent
c6eb8e421a
commit
09e2f9fa93
@ -96,6 +96,8 @@
|
||||
|
||||
<view class="tab-cont" :style="viewColor,{'height':'calc(100vh - '+listHeight+' - 84rpx)'}"
|
||||
:class="{noPointer : preview}">
|
||||
|
||||
|
||||
<view v-show="diyActive == 0 && tabActive == 1">
|
||||
<!-- #ifdef H5 -->
|
||||
<view v-for="(item, index) in styleConfig" :key="index">
|
||||
@ -110,11 +112,14 @@
|
||||
<!-- #ifdef MP || APP-PLUS-->
|
||||
<block v-for="(item, index) in styleConfig" :key="index">
|
||||
<view>
|
||||
<activeParty v-if="item.name == 'activeParty'" :merId="id" :dataConfig="item"></activeParty>
|
||||
<articleList v-if="item.name == 'articleList'" :merId="id" :dataConfig="item"></articleList>
|
||||
<activeParty v-if="item.name == 'activeParty'" :merId="id" :dataConfig="item">
|
||||
</activeParty>
|
||||
<articleList v-if="item.name == 'articleList'" :merId="id" :dataConfig="item">
|
||||
</articleList>
|
||||
<bargain v-if="item.name == 'bargain'" :merId="id" :dataConfig="item"></bargain>
|
||||
<blankPage v-if="item.name == 'blankPage'" :merId="id" :dataConfig="item"></blankPage>
|
||||
<combination v-if="item.name == 'combination'" :merId="id" :dataConfig="item"></combination>
|
||||
<combination v-if="item.name == 'combination'" :merId="id" :dataConfig="item">
|
||||
</combination>
|
||||
<topic v-if="item.name == 'topic'" :merId="id" :dataConfig="item"></topic>
|
||||
<coupon v-if="item.name == 'coupon'" :merId="id" :dataConfig="item"></coupon>
|
||||
<goodList v-if="item.name == 'goodList'" :merId="id" :dataConfig="item"
|
||||
@ -124,11 +129,13 @@
|
||||
<liveBroadcast v-if="item.name == 'liveBroadcast'" :merId="id" :dataConfig="item">
|
||||
</liveBroadcast>
|
||||
<menus v-if="item.name == 'menus'" :merId="id" :dataConfig="item"></menus>
|
||||
<presellList v-if="item.name == 'presellList'" :merId="id" :dataConfig="item"></presellList>
|
||||
<presellList v-if="item.name == 'presellList'" :merId="id" :dataConfig="item">
|
||||
</presellList>
|
||||
<richText v-if="item.name == 'richText'" :merId="id" :dataConfig="item"></richText>
|
||||
<seckill v-if="item.name == 'seckill'" :merId="id" :dataConfig="item"></seckill>
|
||||
<swiperBg v-if="item.name == 'swiperBg'" :merId="id" :dataConfig="item"></swiperBg>
|
||||
<pictureCube v-if="item.name == 'pictureCube'" :merId="id" :dataConfig="item"></pictureCube>
|
||||
<pictureCube v-if="item.name == 'pictureCube'" :merId="id" :dataConfig="item">
|
||||
</pictureCube>
|
||||
<swipers v-if="item.name == 'swipers'" :merId="id" :dataConfig="item"></swipers>
|
||||
<titles v-if="item.name == 'titles'" :merId="id" :dataConfig="item"></titles>
|
||||
</view>
|
||||
@ -169,8 +176,8 @@
|
||||
|
||||
<view class="price">
|
||||
<view class="price-num">
|
||||
<text class="unit-price">¥{{ item.price }}</text><text
|
||||
class="unit-name" v-if="item.unit_name&&item.unit_name!='无'">/{{ item.unit_name }}</text>
|
||||
<text class="unit-price">¥{{ item.price }}</text><text class="unit-name"
|
||||
v-if="item.unit_name&&item.unit_name!='无'">/{{ item.unit_name }}</text>
|
||||
</view>
|
||||
<view class="price-icon iconfont icon-gouwuche"></view>
|
||||
</view>
|
||||
|
@ -256,6 +256,29 @@
|
||||
display: flex;
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
align-items: center;
|
||||
|
||||
.star {
|
||||
position: relative;
|
||||
width: 111rpx;
|
||||
height: 19rpx;
|
||||
margin-right: 10rpx;
|
||||
background: url(../columnGoods/images/star.png) left top/100% 100% no-repeat;
|
||||
overflow: hidden;
|
||||
|
||||
view {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url(../columnGoods/images/star_active.png) left top/111rpx 19rpx no-repeat;
|
||||
|
||||
&.star_purple {
|
||||
background: url(../columnGoods/images/star_active_purple.png) left top/111rpx 19rpx no-repeat;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -273,8 +296,8 @@
|
||||
<scroll-view scroll-x="true" :scroll-top="100" :show-scrollbar="false" scroll-into-view="a1">
|
||||
<view class="scrollview">
|
||||
<block v-for="(item,indx) in tabsArr" :key="indx">
|
||||
<view class="scrollview-item" :id="'a' + indx" :class="{'scrollview-active':tabsCurr == item.val}"
|
||||
@click="tabsChange(item.val)">
|
||||
<view class="scrollview-item" :id="'a' + indx"
|
||||
:class="{'scrollview-active':tabsCurr == item.val}" @click="tabsChange(item.val)">
|
||||
{{item.name}}
|
||||
</view>
|
||||
</block>
|
||||
@ -295,7 +318,8 @@
|
||||
hover-class="none" class="search_content flex_a_c_j_sb">
|
||||
<view class="flex_a_c search_content_wrap">
|
||||
<view class="iconfont icon-sousuo" style="font-size: 39rpx;"></view>
|
||||
<input type="text" :placeholder="subCurr!=1 || (subCurr==1 && tabsCurr!=2) ? '搜索您需要批发进货的产品名称': '搜索店铺名称'"
|
||||
<input type="text"
|
||||
:placeholder="subCurr!=1 || (subCurr==1 && tabsCurr!=2) ? '搜索您需要批发进货的产品名称': '搜索店铺名称'"
|
||||
:value="where.keyword" placeholder-style="font-size: 30rpx;color:#999;" disabled
|
||||
style="pointer-events: none;">
|
||||
</view>
|
||||
@ -311,7 +335,8 @@
|
||||
<view class="category-item" :class="{'category-item-active': index==cate_change}"
|
||||
@click="changeCate(index)">
|
||||
<block v-if="subCurr!=1 || (subCurr==1 && tabsCurr!=2)">
|
||||
<u--image class="category-item-img" width="108rpx" :src="item.pic" height="108rpx" shape="circle">
|
||||
<u--image class="category-item-img" width="108rpx" :src="item.pic" height="108rpx"
|
||||
shape="circle">
|
||||
<template v-slot:loading>
|
||||
<u-loading-icon color="#999" size="15" />
|
||||
</template>
|
||||
@ -319,8 +344,8 @@
|
||||
<text class="category-item-text">{{item.cate_name}}</text>
|
||||
</block>
|
||||
<block v-else>
|
||||
<u--image class="category-item-img" width="108rpx" :src="item.background" height="108rpx"
|
||||
shape="circle">
|
||||
<u--image class="category-item-img" width="108rpx" :src="item.background"
|
||||
height="108rpx" shape="circle">
|
||||
<template v-slot:loading>
|
||||
<u-loading-icon color="#999" size="15" />
|
||||
</template>
|
||||
@ -357,7 +382,8 @@
|
||||
</image>
|
||||
<view v-else style="width: 15rpx;height: 21rpx;"></view>
|
||||
</view>
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': orderCurr==2}" @click="toOrder('sales', 2)">
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': orderCurr==2}"
|
||||
@click="toOrder('sales', 2)">
|
||||
<text>销量</text>
|
||||
</view>
|
||||
<view class="comprehensive-discount" :class="{'comp-color': orderCurr==3}" v-if="tabsCurr!=1"
|
||||
@ -413,7 +439,8 @@
|
||||
<view class="content">
|
||||
<view class="content-head">
|
||||
<view class="title">{{item.mer_name}}</view>
|
||||
<text style="font-size: 21.03rpx;color: #aaa;" v-if="item.sales>=100">月销{{item.sales}}</text>
|
||||
<text style="font-size: 21.03rpx;color: #aaa;"
|
||||
v-if="item.sales>=100">月销{{item.sales}}</text>
|
||||
</view>
|
||||
<view class="content-two">
|
||||
<view class="score">
|
||||
@ -423,9 +450,12 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<text style="margin-left: 20rpx;color: #FF6D20;font-size: 22.78rpx; ">{{item.service_score}}</text>
|
||||
<text
|
||||
style="margin-left: 20rpx;color: #FF6D20;font-size: 22.78rpx; ">{{item.service_score}}</text>
|
||||
<text v-if="item.distance"
|
||||
style="margin-left: 20rpx;font-size: 21.03rpx;color: #aaa;">{{item.distance}}</text>
|
||||
|
||||
<text style="margin-left: 20rpx;">{{item.category_name}}</text>
|
||||
</view>
|
||||
<view class="content-two">
|
||||
<u--image :showLoading="true" src="/static/images/GXSC/DH.png" width="33.85rpx"
|
||||
@ -663,7 +693,10 @@
|
||||
background: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/0bc7a202404021652194310.png'
|
||||
}, ...res.data];
|
||||
})
|
||||
else getCategoryIndexList({ mer_type: this.where.mer_type, sale_type: this.where.sale_type }).then(res => {
|
||||
else getCategoryIndexList({
|
||||
mer_type: this.where.mer_type,
|
||||
sale_type: this.where.sale_type
|
||||
}).then(res => {
|
||||
this.initStoreCate(res);
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user