|
@@ -8,7 +8,18 @@
|
|
|
<view style="font-size: 32rpx; color: #333333; margin-top: 14rpx;">{{greeting}}</view>
|
|
|
|
|
|
<!-- banner -->
|
|
|
- <view wx:if="{{bannerList.length>0}}" class="banner_container" style="width: calc(100vw - 64rpx); border-radius: 16rpx;">
|
|
|
+ <view wx:if="{{bannerList.length>0}}" class="banner_container">
|
|
|
+ <swiper class="swiper" indicator-dots="{{bannerList.length>1}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="{{circular}}" indicator-active-color="#FFFFFF" indicator-color="#999999">
|
|
|
+ <block wx:for="{{bannerList}}" wx:key="index">
|
|
|
+ <swiper-item>
|
|
|
+ <image mode="widthFix" class="swiper_image" src="{{item.pic}}" data-item="{{item}}" bind:tap="onTapBanner" />
|
|
|
+ </swiper-item>
|
|
|
+ </block>
|
|
|
+ </swiper>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- banner -->
|
|
|
+ <!-- <view wx:if="{{bannerList.length>0}}" class="banner_container" style="width: calc(100vw - 64rpx); border-radius: 16rpx;">
|
|
|
<swiper style="width: calc(100vw - 64rpx); border-radius: 16rpx;" indicator-dots="{{bannerList.length>1}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="{{circular}}" indicator-active-color="#FFFFFF" indicator-color="#999999">
|
|
|
<block wx:for="{{bannerList}}" wx:key="index">
|
|
|
<swiper-item style="width: calc(100vw - 64rpx); border-radius: 16rpx;">
|
|
@@ -16,7 +27,7 @@
|
|
|
</swiper-item>
|
|
|
</block>
|
|
|
</swiper>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
<view class="add_device_public" bind:tap="jumpToAddDevice">
|
|
|
<image mode="heightFix" src="./../../img/add_device.png" style="width: 48rpx;height: 48rpx;"></image>
|
|
@@ -68,7 +79,7 @@
|
|
|
<view wx:else>
|
|
|
|
|
|
<!-- 频道 -->
|
|
|
- <view wx:if="{{deviceListSelect!=null&&deviceList.length>deviceListSelect&&deviceList[deviceListSelect].connectType===3}}" class="mair" style="height: calc(100vh - 105rpx - {{safeBottomHeight}}rpx - 22rpx - {{navBarHeight}}px);">
|
|
|
+ <view wx:if="{{indexPage==1&&deviceListSelect!=null&&deviceList.length>deviceListSelect&&deviceList[deviceListSelect].connectType===3}}" class="mair" style="height: calc(100vh - 105rpx - {{safeBottomHeight}}rpx - 22rpx - {{navBarHeight}}px);">
|
|
|
<view class="play-info">
|
|
|
<view class="info">
|
|
|
<image src="./../../img/blak.png" class="black" mode="scaleToFill"></image>
|