MrShi
19 小时以前 56d7ebbc6297c306ec7197f29737a59703ca4bda
mini-program/pages/message/message.vue
@@ -7,6 +7,7 @@
         </view>
      </view>
      <view class="list">
         <template v-if="noticeList.length > 0">
         <view class="list-item" v-for="(item, index) in noticeList" :key="index">
            <view class="list-item-a">
               <text>{{item.title}}</text>
@@ -24,6 +25,12 @@
               </view>
            </view>
         </view>
         </template>
         <template v-else>
            <view class="wushuju">
               <image src="/static/images/default_nodata_white.png" mode="widthFix"></image>
            </view>
         </template>
      </view>
   </view>
</template>
@@ -87,6 +94,17 @@
         width: 100%;
         padding: 22rpx 30rpx;
         box-sizing: border-box;
         .wushuju {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 200rpx;
            image {
               width: 320rpx;
               height: 320rpx;
            }
         }
         .list-item {
            width: 100%;
            padding: 30rpx;