Style(专题页):模板2的轮播效果调整
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
/>
|
||||
<view class="page-wrap">
|
||||
<view class="page-2">
|
||||
<swiper
|
||||
<!-- <swiper
|
||||
class="swiper"
|
||||
circular
|
||||
autoplay
|
||||
@@ -24,7 +24,12 @@
|
||||
@click="itemClick(swiperItem)"
|
||||
/>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</swiper> -->
|
||||
<carousel
|
||||
:img-list="templateProperties.page2Links"
|
||||
url-key="image"
|
||||
@selected="itemClick"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 第三页 -->
|
||||
@@ -94,8 +99,12 @@
|
||||
* 模板2
|
||||
*/
|
||||
import { themeTemplateMixins } from '../mixins/themeTemplateMixins'
|
||||
import carousel from './vear-carousel/vear-carousel'
|
||||
export default {
|
||||
name: 'ThemePageTemplate2',
|
||||
components: {
|
||||
carousel
|
||||
},
|
||||
mixins: [themeTemplateMixins]
|
||||
}
|
||||
</script>
|
||||
@@ -155,6 +164,9 @@ export default {
|
||||
width: 330rpx;
|
||||
height: 540rpx;
|
||||
margin: 0 30rpx 25rpx 0;
|
||||
&:nth-child(2n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user