Browse Source

修复编码样式

master
zhengshuiqi 3 years ago
parent
commit
f2e3115c94
  1. 43
      pages/index/index.vue

43
pages/index/index.vue

@ -1419,7 +1419,7 @@
</view> </view>
</view> --> </view> -->
<!-- HOT SELLS 2 --> <!-- HOT SELLS 2 -->
<!-- <scroll-view class="spike1 page_padding" scroll-x="true" @change="handlechange" :show-scrollbar="false" <scroll-view class="spike1 page_padding" scroll-x="true" @change="handlechange" :show-scrollbar="false"
:indicator-dots="true" :circular="true" :interval="3000" :duration="1000" :indicator-dots="true" :circular="true" :interval="3000" :duration="1000"
v-if="item.zone_code=='HONLIST2' && item.zone_status=='NORMAL'" :current="mycurrent"> v-if="item.zone_code=='HONLIST2' && item.zone_status=='NORMAL'" :current="mycurrent">
<view class="spike1_item padding_honlist2" v-for="(item1,index1) in item.blocks" <view class="spike1_item padding_honlist2" v-for="(item1,index1) in item.blocks"
@ -1430,27 +1430,8 @@
@click="imgTo(item1)"></image> @click="imgTo(item1)"></image>
</view> </view>
</view> </view>
</scroll-view> -->
<!-- class="item_img"> -->
<!-- 测试1 -->
<scroll-view class="spike1 page_padding" scroll-x="true" @change="handlechange" :show-scrollbar="false"
:indicator-dots="true" :circular="true" :interval="3000" :duration="1000"
v-if="item.zone_code=='HONLIST2' && item.zone_status=='NORMAL'" :current="mycurrent">
<swiper style="height: 600rpx;" previous-margin="140rpx" next-margin="140rpx" @change="handlechange" :current="mycurrent"
:indicator-dots="false" :circular="true" :interval="3000" :duration="1000">
<swiper-item v-for="item1,index1 in item.blocks" :key="item1.block_id">
<view :class="['swiper-items',index1==mycurrent ? 'active' : '']">
<image :src="item1.block_pic" mode=""
:style="{width:(item.zone_code=='HONLIST2')?420+'rpx':'',height:'100%'}"
@click="imgTo(item1)"></image>
<!-- <image :src="item1.block_pic" mode=""
:style="{width:(item.zone_code=='HONLIST2')?420+'rpx':'',height:item.zone_column+'rpx'}"
@click="imgTo(itesm1)"></image> -->
</view>
</swiper-item>
</swiper>
<!-- </view> -->
</scroll-view> </scroll-view>
<!-- class="item_img"> -->
<!-- 标题 --> <!-- 标题 -->
<!-- <view class="index_title page_padding"> <!-- <view class="index_title page_padding">
<text>Hot Selle</text> <text>Hot Selle</text>
@ -1474,7 +1455,7 @@
</view> </view>
</scroll-view> </scroll-view>
<!-- HOT SELLS 1 --> <!-- HOT SELLS 1 -->
<scroll-view class="spike1 page_padding" scroll-x="true" :show-scrollbar="false" <!-- <scroll-view class="spike1 page_padding" scroll-x="true" :show-scrollbar="false"
v-if="item.zone_code=='HONLIST1' && item.zone_status=='NORMAL'" @scroll="scrollhot"> v-if="item.zone_code=='HONLIST1' && item.zone_status=='NORMAL'" @scroll="scrollhot">
<view class="spike1_item" style="padding-right: 0;" v-for="(item1,index1) in item.blocks" <view class="spike1_item" style="padding-right: 0;" v-for="(item1,index1) in item.blocks"
:key="item1.block_id" @touchstart="start(index1)" @touchend="end(index1)"> :key="item1.block_id" @touchstart="start(index1)" @touchend="end(index1)">
@ -1482,12 +1463,28 @@
:style="{width:(item.zone_code=='HONLIST1')?350+'rpx':'',height:item.zone_column +'rpx'}" :style="{width:(item.zone_code=='HONLIST1')?350+'rpx':'',height:item.zone_column +'rpx'}"
:class="hot_index == index1?'hotmaxW':'hotmaxmin'"> :class="hot_index == index1?'hotmaxW':'hotmaxmin'">
<image :src="item1.block_pic" mode="" @click="imgTo(item1)"></image> <image :src="item1.block_pic" mode="" @click="imgTo(item1)"></image>
</view> </view> -->
<!-- <view class="spike1_item_bottom" > <!-- <view class="spike1_item_bottom" >
<text>{{item1.block_title}}</text> <text>{{item1.block_title}}</text>
<view class="spike1_item_text1">{{item1.block_title2}}</view> <view class="spike1_item_text1">{{item1.block_title2}}</view>
</view> --> </view> -->
<!-- </view>
</scroll-view> -->
<!-- 测试1 -->
<scroll-view class="spike1 page_padding" scroll-x="true" @change="handlechange" :show-scrollbar="false"
:indicator-dots="true" :circular="true" :interval="3000" :duration="1000"
v-if="item.zone_code=='HONLIST1' && item.zone_status=='NORMAL'" :current="mycurrent">
<swiper style="height: 600rpx;" previous-margin="140rpx" next-margin="140rpx" @change="handlechange" :current="mycurrent"
:indicator-dots="false" :circular="true" :interval="3000" :duration="1000">
<swiper-item v-for="item1,index1 in item.blocks" :key="item1.block_id">
<view :class="['swiper-items',index1==mycurrent ? 'active' : '']">
<image :src="item1.block_pic" mode=""
:style="{width:(item.zone_code=='HONLIST1')?420+'rpx':'',height:'100%'}"
@click="imgTo(item1)"></image>
</view> </view>
</swiper-item>
</swiper>
<!-- </view> -->
</scroll-view> </scroll-view>
<!-- GOODSTHREE 2 --> <!-- GOODSTHREE 2 -->
<!-- <view class="goodsthree2"> <!-- <view class="goodsthree2">

Loading…
Cancel
Save