Commit 1e4dac6e by LJM

css

parent b7e9c559
Showing with 3 additions and 3 deletions
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<view class="bannerbox"> <view class="bannerbox">
<swiper class="swiper" circular :indicator-dots="autoplay" indicator-color="#fff" :autoplay="autoplay"> <swiper class="swiper" circular :indicator-dots="autoplay" indicator-color="#fff" :autoplay="autoplay">
<swiper-item v-for="(item, index) in obj.rollbanner" :key="index"> <swiper-item v-for="(item, index) in obj.rollbanner" :key="index">
<a :href="item.url"><image :src="item.images"></image></a> <a :href="item.url"><image :src="item.images" mode="aspectFill"></image></a>
</swiper-item> </swiper-item>
</swiper> </swiper>
</view> </view>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</view> </view>
<view class="szbox row avarage"> <view class="szbox row avarage">
<a :href="item.url" v-for="(item, index) in obj.h5_home_function_nav" :key="index"> <a :href="item.url" v-for="(item, index) in obj.h5_home_function_nav" :key="index">
<image :src="item.images"></image> <image :src="item.images" mode="aspectFill"></image>
<view class="sitips">{{ item.title || '默认文案' }}</view> <view class="sitips">{{ item.title || '默认文案' }}</view>
</a> </a>
</view> </view>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<view style="text-align: right;" @click="open()"><text class="iconfont icon-juxing5"></text></view> <view style="text-align: right;" @click="open()"><text class="iconfont icon-juxing5"></text></view>
</template> </template>
</navElement> </navElement>
<view class="bg row"> <view class="bg row" v-if="detail.h5_domestic_head_image">
<image :src="detail.h5_domestic_head_image[0].images" mode="aspectFill" class="pic"></image> <image :src="detail.h5_domestic_head_image[0].images" mode="aspectFill" class="pic"></image>
<navigator class="btn row rowCenter verCenter" :url="'/s?k=' + detail.h5_domestic_sku_name[0].title">立即体验</navigator> <navigator class="btn row rowCenter verCenter" :url="'/s?k=' + detail.h5_domestic_sku_name[0].title">立即体验</navigator>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment