Browse Source

首页频道样式修改

test
Enzo 4 years ago
parent
commit
d3092f3254
  1. 14
      pages/index/index.vue
  2. BIN
      static/no_chancel.png

14
pages/index/index.vue

@ -16,13 +16,13 @@
</view>
<!-- 频道 -->
<view class="lf-row-between lf-m-b-10">
<view class="lf-font-36 lf-font-bold lf-color-333">添加频道</view>
<view class="lf-font-36 lf-font-bold lf-color-333">我的频道</view>
<view class="lf-flex lf-color-555" @click="$url('/pages/channel/index')">
<view class="lf-m-r-10">编辑</view>
<view class="lf-iconfont lf-icon-xiangyou lf-text-vertical"></view>
</view>
</view>
<view class="lf-flex-wrap">
<view class="lf-flex-wrap" v-if="channel_list.length">
<view class="channel-item" v-for="(item, index) in channel_list" :key="index" @click="$url('/pages/goodsList/index?channel_id='+item.id)">
<image :src="item.icon" class="channel-mask" mode="aspectFill"></image>
<view class="lf-row-center channe-text lf-font-bold">{{item.name}}</view>
@ -31,6 +31,16 @@
</view> -->
</view>
</view>
<view class="lf-flex-wrap" v-else>
<view class="channel-item">
<image src="../../static/no_chancel.png" class="channel-mask1" mode="aspectFill"></image>
<!-- <view>
<u-icon name="lock-fill lf-text-vertical"></u-icon>
</view> -->
</view>
<view class="lf-row-center channe-text lf-m-r-10 lf-color-555">您还未添加频道哦~</view>
</view>
<!-- 中间广告模块 -->
<view class="lf-m-t-40 ad" v-for="(item,index) of home_ad1" :key="index">
<image @click="clickAD(item.type,item.url)" :src="item.picture" mode="aspectFill" class="lf-w-100 lf-h-100"></image>

BIN
static/no_chancel.png

After

Width: 200  |  Height: 200  |  Size: 4.1 KiB

Loading…
Cancel
Save