| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <template>
- <view class="content">
- <navigator :url="item.url" class="ui-card p-12" v-for="(item,index) in urls" :key="index">
- {{item.text}}
- </navigator>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- urls:[
- {
- url:'/pages/weather/index?type=5',
- text:'气象检测'
- },
- {
- url:'/pages/weather/index?type=8',
- text:'墒情检测'
- },
- {
- url:'/pages/worm/index',
- text:'虫情监测'
- },
- {
- url:'/pages/camera/index',
- text:'监控列表'
- },
- {
- url:'/pages/pest/index',
- text:'病虫害百科'
- },
- {
- url:'/pages/pest/discern',
- text:'病虫害识别'
- },
- {
- url:'/pages/aftersale/list',
- text:'故障上报'
- },
- {
- url:'/pages/warn/index',
- text:'预警列表'
- },
- {
- url:'/pages/traplamp/traplamp',
- text:'测报灯'
- },
- {
- url:'/pages/weatherother/weatherother',
- text:'气象站'
- }
-
- ]
- }
- },
- onLoad() {
- },
- methods: {
- }
- }
- </script>
- <style>
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .logo {
- height: 200rpx;
- width: 200rpx;
- margin-top: 200rpx;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 50rpx;
- }
- .text-area {
- display: flex;
- justify-content: center;
- }
- .title {
- font-size: 36rpx;
- color: #8f8f94;
- }
- </style>
|