|
|
@@ -10,6 +10,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ <button class="admin-button-com middle blue" style="border:none;height:70upx;position: absolute;right:20upx;top:180upx;z-index:9999;" @click="buyProduct()">去买花材</button>
|
|
|
+
|
|
|
<scroll-view scroll-y scroll-with-animation class="tab-view" :scroll-top="scrollTop">
|
|
|
<view v-for="(item,index) in tabbar" :key="index" class="tab-bar-item" :class="[currentTab==index ? 'active' : '']" :data-current="index" @tap.stop="swichNav($event ,item)" >
|
|
|
<text>{{item.categoryName}}</text>
|
|
|
@@ -108,6 +110,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ buyProduct(){
|
|
|
+ this.$util.pageTo({url: "/pages/item/item?account="+this.option.account,type:2})
|
|
|
+ },
|
|
|
loginTo() {
|
|
|
this.$util.pageTo({url:"/pages/login/index?needBack=1"})
|
|
|
},
|