diff --git a/pages/home/newZone.vue b/pages/home/newZone.vue
index 5b21ffe..d4a0ef7 100644
--- a/pages/home/newZone.vue
+++ b/pages/home/newZone.vue
@@ -4,18 +4,22 @@
-
+
+
+
+
+
-
+
-
+
- {{ item.productTitle }}
+ {{ item.productTitle }}
¥
- {{ item.productPrice }}
+ {{ item.productPrice }}
即刻选购
@@ -35,7 +39,7 @@
{{ details.contentSubTitle }}
-
+
@@ -45,16 +49,19 @@ import { queryNewZone } from '@/api/activity'
export default{
data() {
return {
- details: {}
+ details: {},
+ current: 0
}
},
onLoad() {
queryNewZone().then(res => {
- console.log(res);
this.details = res.data
})
},
methods: {
+ handleChange(e) {
+ this.current = e.detail.current
+ },
toGoods(item) {
uni.navigateTo({
url: `/pages/shop/GoodsCon/index?id=${item.productId}`
@@ -95,6 +102,11 @@ export default{
border-radius: 20rpx;
position: absolute;
bottom: 0;
+ transition: all ease-in-out 0.3s;
+}
+.is-actived{
+ width: 225rpx;
+ height: 260rpx;
}
.cover-img{
width: 706rpx;
@@ -140,9 +152,9 @@ export default{
padding: 20rpx;
}
.banner-zone{
- width: 706rpx;
- height: 760rpx;
- border-radius: 20rpx;
- position: relative;
+ width: 706rpx !important;
+ height: 760rpx !important;
+ border-radius: 20rpx !important;
+ position: relative !important;
}
\ No newline at end of file