|
|
@@ -13,18 +13,32 @@
|
|
|
|
|
|
<view class="input-wrap" >
|
|
|
<view style="padding:0upx 0upx 0upx 0upx;margin-right:10upx;" >
|
|
|
- <button class="admin-button-com middle blue" @click="selectFlowerNumFn()">选分类</button>
|
|
|
+ <button class="admin-button-com middle blue" @click="selectFlowerNumFn()">图片分类</button>
|
|
|
</view>
|
|
|
<view class="search-bar">
|
|
|
<app-search-module v-model="py" placeholder="拼音首字母也可以搜索" @input="searchFn" />
|
|
|
</view>
|
|
|
<view style="padding:0 0upx 0 20upx;" >
|
|
|
- <button class="admin-button-com middle blue" @click="delMemory()">清空花材</button>
|
|
|
+ <button class="admin-button-com middle blue" @click="delMemory()">清空</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="scroll-middle_bx">
|
|
|
-
|
|
|
+ <scroll-view scroll-y scroll-with-animation class="tab-view" :scroll-top="scrollTop" >
|
|
|
+ <div v-for="(item, index) in filterProductInfo" :key="index" class="tab-bar-item" :class="[classIndex == index ? 'active' : '']" :data-current="index" @tap.stop="swichClass(index)">
|
|
|
+ <!--<text>{{ item.className || "" }}</text>-->
|
|
|
+ <text v-if="item.classId=='-1'" style="color: red">{{ item.className || "" }}</text>
|
|
|
+ <text v-else>{{ item.className }}</text>
|
|
|
+ <text class="tag" v-if=" getSelectClassById(item.classId).bigCount > 0 || getSelectClassById(item.classId).smallCount > 0">
|
|
|
+ <text v-if=" getSelectClassById(item.classId).bigCount > 0 || getSelectClassById(item.classId).smallCount > 0 ">
|
|
|
+ {{ `${getSelectClassById(item.classId).bigCount}` }}
|
|
|
+ </text>
|
|
|
+ <text v-if="getSelectClassById(item.classId).smallCount > 0"> / </text>
|
|
|
+ <text v-if="getSelectClassById(item.classId).smallCount > 0">{{ getSelectClassById(item.classId).smallCount }}</text>
|
|
|
+ </text>
|
|
|
+ </div>
|
|
|
+ <view style="height: 120upx"></view>
|
|
|
+ </scroll-view>
|
|
|
<scroll-view scroll-y class="right-box" :scroll-into-view="scroll_into_view" scroll-with-animation="true"
|
|
|
@scroll="scroll_detail"
|
|
|
lower-threshold="100"
|