|
|
@@ -15,6 +15,9 @@
|
|
|
<button class="admin-button-com middle blue" @click="pageTo({ url: '/admin/ptItem/itemList' })">添花材</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
+ <button class="admin-button-com middle blue" @click="refreshItem()" style="position: absolute;top:120upx;right:24upx;z-index:99;">刷新</button>
|
|
|
+
|
|
|
<view class="scroll-middle_bx">
|
|
|
<scroll-view scroll-y scroll-with-animation class="tab-view">
|
|
|
<div v-for="(item, index) in globalClassData" :key="index" class="tab-bar-item" :class="[globalClassIndex == index ? 'active' : '']" :data-current="index" @tap.stop="globalSwitchClass(index,item)">
|
|
|
@@ -204,9 +207,7 @@ export default {
|
|
|
uni.hideLoading()
|
|
|
},
|
|
|
refreshItem(){
|
|
|
- uni.showLoading({mask:true})
|
|
|
- this.globalPy = ''
|
|
|
- this.initItem()
|
|
|
+ this.reGetGlobalProductList()
|
|
|
},
|
|
|
hideChangeFn(item,status){
|
|
|
let that = this
|