首頁丝滑
This commit is contained in:
@@ -37,7 +37,8 @@
|
||||
</view>
|
||||
<view class="therecontent_box_item">
|
||||
<view class="therecontent_box_imge flex-between"
|
||||
style="background: url(https://czg-qr-order.oss-cn-beijing.aliyuncs.com/index/towcontent_box2.png) no-repeat; background-size: cover;" @click="jrtoday(1)">
|
||||
style="background: url(https://czg-qr-order.oss-cn-beijing.aliyuncs.com/index/towcontent_box2.png) no-repeat; background-size: cover;"
|
||||
@click="jrtoday(1)">
|
||||
<view class="therecontent_box_imge_text">
|
||||
{{salesList.name}}
|
||||
</view>
|
||||
@@ -83,7 +84,7 @@
|
||||
type: Object,
|
||||
default () {
|
||||
return {
|
||||
salesList:[]
|
||||
salesList: []
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -91,7 +92,7 @@
|
||||
type: Object,
|
||||
default () {
|
||||
return {
|
||||
todayList:[]
|
||||
todayList: []
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -100,16 +101,16 @@
|
||||
default: '每日特价'
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
clickproduct(item){
|
||||
uni.pro.navigateTo('product/index',{
|
||||
id:item.id
|
||||
methods: {
|
||||
clickproduct(item) {
|
||||
uni.pro.navigateTo('product/index', {
|
||||
id: item.id
|
||||
})
|
||||
},
|
||||
jrtoday(e){
|
||||
if(e == 0){
|
||||
jrtoday(e) {
|
||||
if (e == 0) {
|
||||
uni.pro.navigateTo('index/jtoday')
|
||||
}else{
|
||||
} else {
|
||||
uni.pro.navigateTo('index/hotlist')
|
||||
}
|
||||
}
|
||||
@@ -125,7 +126,7 @@
|
||||
width: 336rpx;
|
||||
border-radius: 18rpx;
|
||||
background: #FFFFFF;
|
||||
|
||||
height:396rpx;
|
||||
.therecontent_box_itembox {
|
||||
padding: 10rpx 18rpx 24rpx 24rpx;
|
||||
|
||||
@@ -148,6 +149,7 @@
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #333333;
|
||||
|
||||
text {
|
||||
margin-left: 4rpx;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user