store css 8.18
This commit is contained in:
parent
a702558eac
commit
cada935c17
@ -421,7 +421,7 @@ export default {
|
|||||||
couponGoodsList({ voucher_id, page, order }) {
|
couponGoodsList({ voucher_id, page, order }) {
|
||||||
return vm.$u.post('Coupon/couponGoodsList', {
|
return vm.$u.post('Coupon/couponGoodsList', {
|
||||||
page: page,
|
page: page,
|
||||||
voucher_id: voucher_id,
|
vouchertemplate_id: voucher_id,
|
||||||
order: order,
|
order: order,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
<view class="head">
|
<view class="head">
|
||||||
<image class="image" :src="goodsInfo.goods_image"></image>
|
<image class="image" :src="goodsInfo.goods_image"></image>
|
||||||
<view class="info">
|
<view class="info">
|
||||||
<text class="u-line-2">{{goodsInfo.goods_name}}</text>
|
<view class="goods-name u-line-2">{{goodsInfo.goods_name}}</view>
|
||||||
<text v-if="type == 1">¥{{ goodsInfo.goods_price }}</text>
|
<text v-if="type == 1">¥{{ goodsInfo.goods_price }}</text>
|
||||||
<text v-else-if="type == 2">¥{{ goodsInfo.pintuan_price }}</text>
|
<text v-else-if="type == 2">¥{{ goodsInfo.pintuan_price }}</text>
|
||||||
<text v-else-if="type == 3">¥{{ groupbuyInfo.groupbuy_price }}</text>
|
<text v-else-if="type == 3">¥{{ groupbuyInfo.groupbuy_price }}</text>
|
||||||
@ -1206,11 +1206,13 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-left: 27rpx;
|
margin-left: 27rpx;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
>text:first-child{
|
.goods-name {
|
||||||
|
height: 76rpx;
|
||||||
|
line-height: 38rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
>text:last-child{
|
> text:last-child {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color: #ff3131;
|
color: #ff3131;
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
<goodsItem :info="goods"></goodsItem>
|
<goodsItem :info="goods"></goodsItem>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-loadmore :status="loadStatus" bgColor="#FFFFFF" margin-top="20" margin-bottom="20" v-if="goodsList.length >= pageSize"></u-loadmore>
|
<u-loadmore :status="loadStatus" bgColor="#FFFFFF" margin-bottom="120" v-if="goodsList.length >= pageSize"></u-loadmore>
|
||||||
<u-empty mode="list" v-if="!goodsList.length"></u-empty>
|
<u-empty mode="list" v-if="!goodsList.length"></u-empty>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -220,7 +220,7 @@ export default {
|
|||||||
},
|
},
|
||||||
setViewHeight() {
|
setViewHeight() {
|
||||||
const res = uni.getSystemInfoSync();
|
const res = uni.getSystemInfoSync();
|
||||||
this.scrollHeiht = res.windowHeight - (73 + 20 + 170) + 'px';
|
this.scrollHeiht = res.windowHeight - res.windowWidth / 750 * (350 + 140 + 20) + 'px';
|
||||||
this.paddingTop = res.windowWidth / 750 * (90 + 50) + 'px';
|
this.paddingTop = res.windowWidth / 750 * (90 + 50) + 'px';
|
||||||
// console.log(this.paddingTop);
|
// console.log(this.paddingTop);
|
||||||
}
|
}
|
||||||
@ -240,6 +240,7 @@ export default {
|
|||||||
// min-height: 100vh;
|
// min-height: 100vh;
|
||||||
background-color: #ECECEC;
|
background-color: #ECECEC;
|
||||||
padding-top: calc(350rpx - var(--window-top));
|
padding-top: calc(350rpx - var(--window-top));
|
||||||
|
overflow: hidden;
|
||||||
.top {
|
.top {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -312,6 +313,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.follow {
|
.follow {
|
||||||
|
height: 140rpx;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
@ -365,7 +367,8 @@ export default {
|
|||||||
}
|
}
|
||||||
.main{
|
.main{
|
||||||
.video-image {
|
.video-image {
|
||||||
padding-bottom: 98rpx;
|
box-sizing: border-box;
|
||||||
|
padding-bottom: 100rpx;
|
||||||
}
|
}
|
||||||
.container-top {
|
.container-top {
|
||||||
> view {
|
> view {
|
||||||
@ -381,9 +384,6 @@ export default {
|
|||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// > view {
|
|
||||||
// margin-top: 20rpx;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
.tabbar {
|
.tabbar {
|
||||||
border-top: 1rpx #DBDADA solid;
|
border-top: 1rpx #DBDADA solid;
|
||||||
|
@ -81,7 +81,7 @@ export default {
|
|||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
this.$u.route('pageE/useCoupon/index', {
|
this.$u.route('pageE/useCoupon/index', {
|
||||||
cid: coupon.voucher_id,
|
cid: coupon.vouchertemplate_id,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
setViewHeight() {
|
setViewHeight() {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<u-action-sheet :list="actionList" v-model="showAction" :cancel-btn="true" @click="delHistory" border-radius="20"></u-action-sheet>
|
<u-action-sheet :list="actionList" v-model="showAction" :cancel-btn="true" @click="delHistory" border-radius="20"></u-action-sheet>
|
||||||
<u-empty text="暂无足迹" mode="list" color="#000" v-if="!historyList.length"></u-empty>
|
<u-empty text="暂无足迹" mode="list" color="#000" v-if="!historyList.length"></u-empty>
|
||||||
<u-loadmore :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length > pageSize" @loadmore="reachBottom"></u-loadmore>
|
<u-loadmore class="load-size" :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length > pageSize" @loadmore="reachBottom"></u-loadmore>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -78,10 +78,10 @@ export default {
|
|||||||
})
|
})
|
||||||
this.timer = true;
|
this.timer = true;
|
||||||
if(res.errCode == 0) {
|
if(res.errCode == 0) {
|
||||||
if(load == 'reload') this.goodsList = res.data.data;
|
if(load == 'reload') this.goodsList = res.data;
|
||||||
else if(load == 'loadmore') this.goodsList.push(...res.data.data);
|
else if(load == 'loadmore') this.goodsList.push(...res.data);
|
||||||
}
|
}
|
||||||
return res.data.data.length;
|
return res.data.length;
|
||||||
},
|
},
|
||||||
loadMore() {
|
loadMore() {
|
||||||
if(this.goodsList.length < this.pageSize) return false;
|
if(this.goodsList.length < this.pageSize) return false;
|
||||||
|
@ -370,7 +370,7 @@
|
|||||||
"searchInput": {
|
"searchInput": {
|
||||||
"align": "left",
|
"align": "left",
|
||||||
"borderRadius": "15px",
|
"borderRadius": "15px",
|
||||||
"placeholder": "搜索您需要的商品",
|
"placeholder": "搜索您需要的本店铺商品",
|
||||||
"backgroundColor": "rgb(236,236,236)",
|
"backgroundColor": "rgb(236,236,236)",
|
||||||
"disabled": true
|
"disabled": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user