瀏覽代碼

更新首页轮播显示

梁沛聪 6 年之前
父節點
當前提交
7022df94fc
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      miniapp/app/pages/home/index.wxml

+ 1
- 1
miniapp/app/pages/home/index.wxml 查看文件

@@ -1,6 +1,6 @@
1 1
 <import src="/wxParse/wxParse.wxml" />
2 2
 <view class="page">
3
-    <view class="page-hd">
3
+    <view class="page-hd" wx:if="{{top.length > 0}}">
4 4
         <swiper indicator-dots="true" indicator-color="#ffffff" indicator-active-color="#00a0e9" autoplay="true"
5 5
             interval="5000" duration="500">
6 6
             <block wx:for="{{top}}">

Loading…
取消
儲存