Style(专题页):模板2的轮播效果调整

This commit is contained in:
lifizer
2024-08-21 11:31:43 +08:00
parent 74c5c2b768
commit e08f597f58
4 changed files with 133 additions and 3 deletions
+14 -2
View File
@@ -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;
}
}
}
}