| | |
| | | <template> |
| | | <view>
|
| | | <general @ShowNews="ShowNews" v-if="PageCur=='general'"></general>
|
| | | <monitor v-if="PageCur=='monitor'"></monitor>
|
| | | <device v-if="PageCur=='device'"></device>
|
| | | <formula v-if="PageCur=='formula'"></formula>
|
| | | <me v-if="PageCur=='me'"></me>
|
| | |
|
| | |
| | | <view :class="PageCur=='general'?'color_main':'text-gray'">首页</view>
|
| | | </view>
|
| | |
|
| | | <view class="action" @click="NavChange" data-cur="monitor">
|
| | | <view class="action" @click="NavChange" data-cur="device">
|
| | | <view class='cuIcon-cu-image'>
|
| | | <view class="cu-tag badge"><!-- 红点 --></view>
|
| | | <image v-if="PageCur=='monitor'" src="../../static/tabBar/shop_cur.png"></image>
|
| | | <image v-if="PageCur != 'monitor'" src="../../static/tabBar/shop.png"></image>
|
| | | <image v-if="PageCur=='device'" src="../../static/tabBar/shop_cur.png"></image>
|
| | | <image v-if="PageCur != 'device'" src="../../static/tabBar/shop.png"></image>
|
| | | </view>
|
| | | <view :class="PageCur=='monitor'?'color_main':'text-gray'">监控</view>
|
| | | <view :class="PageCur=='device'?'color_main':'text-gray'">监控</view>
|
| | | </view>
|
| | |
|
| | | <view @click="NavChange" class="action text-gray add-action" data-cur="cases">
|
| | |
| | | |
| | | <script>
|
| | | import general from "./general.vue"; //首页
|
| | | import monitor from "./monitor.vue"; //
|
| | | import monitor from "./monitor.vue"; // |
| | | import device from "./device.vue"; //
|
| | | import formula from "./formula.vue"; //
|
| | | import me from "./me.vue"; // |
| | | export default {
|
| | | components: {
|
| | | general,
|
| | | monitor,
|
| | | device,
|
| | | formula,
|
| | | me
|
| | | }, |