12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <template>
- <view class="site-wrapper">
-
- <view style="height: calc(100vh - 200rpx);overflow:scroll">
- <view class="cu-list menu-avatar">
- <view class="cu-item" :class="modalName=='move-box-'+ index?'move-cur':''" v-for="(item,index) in controlReport"
- :key="index" :data-target="'move-box-' + index" @tap="goDeviceDetail(item)">
- <view class="cu-avatar round lg" style="background-image:url(../../../static/archiveIcon.png)"></view>
- <view class="content" >
- <view class="pro-title">
- <view class="cut">{{item.title}}</view>
- </view>
- </view>
- <view class="nav-right num">
- <view class="text-grey">
- <text class="icon iconfont margin-right-sm margin-left-lg"></text>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <!-- 新增按钮start -->
- <view class="plus">
- <image src="../../static/plus.png" style="width:125rpx;height:125rpx" @tap="goAddPage()"></image>
- </view>
- <!-- 新增按钮end -->
- </view>
-
- </template>
- <script>
- import json from '../../data/json.js';
- export default {
- data() {
- return {
- controlReport: json.archive,
- modalName: null,
- };
- },
-
- onLoad:function(option){
-
- },
-
- methods: {
-
- // 页面跳转
- goAddPage(item) {
- uni.navigateTo({
- url: '/pages/eleControl/controlReport/controlReportAdd/controlReportAdd',
- });
- },
- }
- }
- </script>
- <style lang="scss">
- .cu-item{
- height:160rpx!important
- }
- .cu-list.menu-avatar > .cu-item .content {
- left: 110rpx;
- }
- </style>
|