Merge branch 'master' of http://192.168.0.105:10010/r/qfqk-android
| | |
| | | <view class="list"> |
| | | <u-grid :col="4" :border="false"> |
| | | <u-grid-item bg-color="transparent" v-for="(item, index) in dataOne" :key="index"> |
| | | <navigator hover-class="none" class="nav-item" @click="goBusinessPage(item.url,index)"> |
| | | <navigator hover-class="none" class="nav-item" @click="goOnePage(item.url,index)"> |
| | | <image :src="item.img" mode="widthFix" class="nav-item-img"></image> |
| | | <view class="nav-item-name">{{item.title}}</view> |
| | | </navigator> |
| | |
| | | <view class="list"> |
| | | <u-grid :col="4" :border="false"> |
| | | <u-grid-item bg-color="transparent" v-for="(item, index) in dataTwo" :key="index"> |
| | | <navigator hover-class="none" class="nav-item" @click="goBusinessPage(item.url,index)"> |
| | | <navigator hover-class="none" class="nav-item" @click="goTwoPage(item.url,index)"> |
| | | <image :src="item.img" mode="widthFix" class="nav-item-img"></image> |
| | | <view class="nav-item-name">{{item.title}}</view> |
| | | </navigator> |
| | |
| | | } |
| | | },methods: { |
| | | //页面跳转 |
| | | goBusinessPage(url,index){ |
| | | goOnePage(url,index){ |
| | | if(this.$store.state.UserData.stype != "1"){ |
| | | this.$refs.uToast.show({ |
| | | title: '功能暂未开放', |
| | | type: 'warning', |
| | | }); |
| | | return; |
| | | }else if(index == "0" || index == "3" || index == "4"){ |
| | | this.$refs.uToast.show({ |
| | | title: '功能研发中', |
| | | type: 'warning', |
| | | }); |
| | | return; |
| | |
| | | url:url |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | goTwoPage(url,index){ |
| | | if(this.$store.state.UserData.stype != "1"){ |
| | | this.$refs.uToast.show({ |
| | | title: '功能暂未开放', |
| | | type: 'warning', |
| | | }); |
| | | return; |
| | | }else if(index == "2" ){ |
| | | this.$refs.uToast.show({ |
| | | title: '功能研发中', |
| | | type: 'warning', |
| | | }); |
| | | return; |
| | | }else{ |
| | | uni.navigateTo({ |
| | | url:url |
| | | }) |
| | | } |
| | | }, |
| | | } |
| | | }; |
| | | </script> |