Files
2025-04-30 14:04:34 +08:00

2405 lines
62 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="page" :style="themeColor">
<view class="flex flex-direction align-stretch justify-between benben-position-layout flex searchResult_flex_0"
:style="{height:(110+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
<view class='flex flex-wrap align-center justify-between searchResult_fd0_0'>
<text class='fu-iconfont2 searchResult_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
data-url="1">&#xE794;</text>
<view class='flex flex-wrap align-center flex-sub searchResult_fd0_0_c1'>
<image class='searchResult_fd0_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"53.png"'></image>
<input class='flex-sub searchResult_fd0_0_c1_c1' type="text" placeholder="请输入关键字" confirm-type="done"
:maxlength="-1" placeholder-style="color:rgba(153, 153, 153, 1);font-size:28rpx" v-model="keyword" />
</view>
<text class='searchResult_fd0_0_c2' @click="handleSearch">搜索</text>
</view>
</view>
<view :style="{height: (110+StatusBarRpx)+'rpx'}"></view>
<!---搜索列表flex布局开始-->
<fu-loading v-if="isShowLoading1"></fu-loading>
<fu-empty-ui v-if="goodsList.length === 0 && isInit1"></fu-empty-ui>
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout searchResult_flex_1">
<view class='flex flex-wrap align-stretch searchResult_fd1_0' v-for="(item, index) in goodsList" :key="index">
<image class='searchResult_fd1_0_c0' mode="aspectFill" :src='item.thumb'></image>
<view class='flex flex-direction flex-wrap align-stretch flex-sub justify-between'>
<text class='searchResult_fd1_0_c1_c0'>{{item.name}}</text>
<view class='flex flex-wrap align-center searchResult_fd1_0_c1_c1'>
<text class='searchResult_fd1_0_c1_c1_c0'>月销</text>
<text class='searchResult_fd1_0_c1_c1_c1'>{{item.sales_num_new}}</text>
</view>
<view class='flex flex-wrap align-center justify-between searchResult_fd1_0_c1_c2'>
<view class='flex flex-wrap align-center'>
<text class='searchResult_fd1_0_c1_c2_c0_c0'>¥</text>
<view class=' searchResult_fd1_0_c1_c2_c0_c1'>
<text class=' searchResult_price1_fd1_0_c1_c2_c0_c1'>{{ item.shop_price | frontPrice }}</text>
<text class=' searchResult_price2_fd1_0_c1_c2_c0_c1'>{{ item.shop_price | laterPrice }}</text>
</view>
<text class='searchResult_fd1_0_c1_c2_c0_c2'>¥</text>
<text class='searchResult_fd1_0_c1_c2_c0_c3'>{{item.market_price}}</text>
</view>
<view class='flex flex-wrap align-center' v-if="item.is_spec == 0">
<image class="skuimg" v-if="item.num > 0" @tap.stop="handleUpdateCart(item, 2)" :src='STATIC_URL+"101.png"'></image>
<view style="padding: 0 20rpx;" v-if="item.num > 0">{{item.num}}</view>
<image class="skuimg" @tap.stop="handleUpdateCart(item,1)" :src='STATIC_URL+"102.png"'></image>
<!-- <image class='searchResult_fd1_0_c1_c2_c1_c0' mode="aspectFit" :src='STATIC_URL+"102.png"'></image> -->
</view>
<view v-else class='flex flex-wrap align-center justify-center searchResult_fd1_1_c1_c2_c1'
@tap.stop="handleShowPopupSpec(item, index)">
<text class='searchResult_fd1_1_c1_c2_c1_c0'>选规格</text>
</view>
</view>
</view>
</view>
</view>
<uni-load-more v-if="goodsList.length !=0 " :status="status1"></uni-load-more>
<!---flex布局flex布局结束-->
<benben-popup v-model="popupShow1684722995767" :mask="true" mode='bottom'>
<!---弹窗购物车flex布局开始-->
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout productDetails_flex_7">
<view class='flex flex-wrap align-center justify-between productDetails_fd7_0'>
<view class='flex flex-wrap align-center'>
<text class='productDetails_fd7_0_c0_c0'>购物车</text>
<text class='productDetails_fd7_0_c0_c1'>打包费</text>
<text class='productDetails_fd7_0_c0_c2'>¥</text>
<text class='productDetails_fd7_0_c0_c3'>{{packingMoney}}</text>
</view>
<view class='flex flex-wrap align-center'>
<text class='productDetails_fd7_0_c1_c0' @click="handleDeleteCart">清空购物车</text>
</view>
</view>
<scroll-view scroll-y="true" class="cart-wrap">
<view class='flex flex-wrap align-start productDetails_fd7_1' v-for="(item, index) in cartList" :key="index">
<view class='flex flex-wrap align-center productDetails_fd7_1_c0'>
<image class='productDetails_fd7_1_c0_c0' mode="aspectFill" :src='item.thumb'></image>
</view>
<view class='flex flex-direction flex-wrap justify-around align-stretch flex-sub productDetails_fd7_1_c1'>
<view class='flex flex-wrap align-center'>
<text class='productDetails_fd7_1_c1_c0_c0'>{{item.name}}</text>
</view>
<view class='flex flex-wrap align-center productDetails_fd7_1_c1_c1' v-if="item.attr_name">
<text class='productDetails_fd7_1_c1_c1_c0'>{{item.attr_name}}</text>
</view>
<view class='flex flex-wrap align-center justify-between productDetails_fd7_1_c1_c2'>
<view class='flex flex-wrap align-center'>
<text class='productDetails_fd7_1_c1_c2_c0_c0'>¥</text>
<text class='productDetails_fd7_1_c1_c2_c0_c1'>{{item.shop_price}}</text>
<text class='productDetails_fd7_1_c1_c2_c0_c2'>¥</text>
<text class='productDetails_fd7_1_c1_c2_c0_c3'>{{item.market_price}}</text>
</view>
<view class='flex flex-wrap align-center'>
<image class="skuimg" @tap.stop="handleUpdateCart(item, 2)" :src='STATIC_URL+"101.png"'></image>
<view style="padding: 0 20rpx;">{{item.num}}</view>
<image class="skuimg" @tap.stop="handleUpdateCart(item, 1)" :src='STATIC_URL+"102.png"'></image>
<!-- <benben-flex-number-box class-name='flex flex align-center'
input-class="productDetails_numberBoxInputfd7_1_c1_c2_c1_c0" :min="1" :step="1" :opacity="0.3">
<template #minus>
<image class='productDetails_fd7_1_c1_c2_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"101.png"'>
</image>
</template>
<template #plus>
<image class='productDetails_fd7_1_c1_c2_c1_c0_c2' mode="aspectFit" :src='STATIC_URL+"102.png"'>
</image>
</template>
</benben-flex-number-box> -->
</view>
</view>
</view>
</view>
</scroll-view>
<view class='flex flex-wrap align-center justify-between productDetails_fd7_2' v-if="popupShow1684722995767">
<view class='flex flex-wrap align-center flex-sub productDetails_fd7_2_c0'>
<view class='flex flex-wrap align-center productDetails_fd7_2_c0_c0'>
<text class='fu-iconfont2 productDetails_fd7_2_c0_c0_c0'>&#xe66a;</text>
<benben-message-num :messageNum="cartNum" class='productDetails_fd7_2_c0_c0_c1' size='24' color='#fff' background-color='red'>
</benben-message-num>
</view>
<view class='flex flex-wrap align-center'>
<text class='productDetails_fd7_2_c0_c1_c0'>¥</text>
<text class='productDetails_fd7_2_c0_c1_c1'>{{cartMoney}}</text>
</view>
</view>
<view class='flex flex-wrap align-center padding-right-lg' v-if="cartMoney < info.start_price">
<view class='flex flex-wrap align-center storeDetails_fd8_0_c0_c1_c0'>
</view>
<view class='flex flex-wrap align-center'>
<text class='storeDetails_fd8_0_c0_c1_c1_c0'>¥</text>
<text class='storeDetails_fd8_0_c0_c1_c1_c1'>{{info.start_price}}</text>
<text class='storeDetails_fd8_0_c0_c1_c1_c2'>起送</text>
</view>
</view>
<view v-else class='flex flex-wrap align-center justify-center productDetails_fd7_2_c1' @tap.stop="handleSettle"
data-type="navigateTo" :data-url="`/pages/dpxq/settlementPage/settlementPage`">
<text class='productDetails_fd7_2_c1_c0'>去结算</text>
</view>
</view>
</view>
<!---弹窗购物车flex布局结束-->
</benben-popup>
<view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex productDetails_flex_8" v-if="goodsList.length">
<view class='flex flex-direction flex-wrap align-stretch flex-sub productDetails_fd8_0'>
<view class='flex flex-wrap align-center justify-between productDetails_fd8_0_c0'>
<view class='flex flex-wrap align-center flex-sub productDetails_fd8_0_c0_c0'
@tap.stop="popupShow1684722995767=true">
<view class='flex flex-wrap align-center productDetails_fd8_0_c0_c0_c0'>
<text class='fu-iconfont2 productDetails_fd8_0_c0_c0_c0_c0'>&#xe66a;</text>
<benben-message-num :messageNum="cartNum" class='productDetails_fd8_0_c0_c0_c0_c1' size='24' color='#fff'
background-color='red'>
</benben-message-num>
</view>
<view class='flex flex-wrap align-center'>
<text class='productDetails_fd8_0_c0_c0_c1_c0'>¥</text>
<text class='productDetails_fd8_0_c0_c0_c1_c1'>{{cartMoney}}</text>
</view>
<view class='flex flex-wrap align-center productDetails_fd8_0_c0_c0_c2'>
<text class='productDetails_fd8_0_c0_c0_c2_c0'>¥</text>
<text class='productDetails_fd8_0_c0_c0_c2_c1'>{{marketMoney}}</text>
</view>
</view>
<view class='flex flex-wrap align-center padding-right-lg' v-if="cartMoney < info.start_price">
<view class='flex flex-wrap align-center storeDetails_fd8_0_c0_c1_c0'>
</view>
<view class='flex flex-wrap align-center'>
<text class='storeDetails_fd8_0_c0_c1_c1_c0'>¥</text>
<text class='storeDetails_fd8_0_c0_c1_c1_c1'>{{info.start_price}}</text>
<text class='storeDetails_fd8_0_c0_c1_c1_c2'>起送</text>
</view>
</view>
<view v-else class='flex flex-wrap align-center justify-center productDetails_fd8_0_c0_c1' @tap.stop="handleSettle"
data-type="navigateTo" :data-url="`/pages/dpxq/settlementPage/settlementPage`">
<text class='productDetails_fd8_0_c0_c1_c0'>去结算</text>
</view>
</view>
</view>
</view>
<view :style="{height: '148rpx'}"></view>
<benben-popup v-model="popupShowSpec" :mask="true" mode='center'>
<!---flex布局flex布局开始-->
<view class="flex flex-direction align-stretch benben-flex-layout productDetails_flex_9">
<view class='flex flex-direction flex-wrap align-stretch'>
<view class='flex flex-direction flex-wrap align-stretch productDetails_fd9_0_c0'>
<view class='flex flex-wrap align-start productDetails_fd9_0_c0_c0'>
<image class='productDetails_fd9_0_c0_c0_c0' mode="aspectFill" :src='selectGoodsItem.thumb'></image>
<text class='productDetails_fd9_0_c0_c0_c1'>{{selectGoodsItem.name}}…</text>
</view>
<block v-if="showSpec">
</block>
<view class='flex flex-direction align-stretch productDetails_fd9_0_c0_c1' v-for="(specItem, index) in selectGoodsItemSpec" :key="index">
<text class='productDetails_fd9_0_c0_c1_c0'>{{specItem.name}}</text>
<view class="flex flex-wrap productDetails_fd9_0_c0_c1_c1" >
<view class='flex justify-center' :class="item.checked ? 'productDetails_fd9_0_c0_c1_c1_c0' : 'productDetails_fd9_0_c0_c1_c1_c1'"
v-for="(item, key0) in specItem.spec_value" :key="key0" @tap="handleChooseSkuItem(index, item)">
<text>{{item.item}}</text>
</view>
<!-- <view v-else class='flex justify-center flex storeDetails_fd6_0_c0_c1_c1_c1' :key="key0"
@tap="$refs.showSelectPopup1684725100796.tapHandle(key0)">
<text>{{item.item}}</text>
</view> -->
</view>
<!-- <benben-select-diy ref="showSelectPopup1684738398960" class-name='flex flex productDetails_fd9_0_c0_c1_c1'
:items.sync="specifications_one" v-model="one_value" :label.sync="one_id" default-type="value"
default-label="name" :allow-cancel='false' type="radio">
<template v-for='(item,key0) in specifications_one'>
<view v-if="item.isSelected" class='flex justify-center flex productDetails_fd9_0_c0_c1_c1_c0'
:key="key0" @tap="$refs.showSelectPopup1684738398960.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
<view v-else class='flex justify-center flex productDetails_fd9_0_c0_c1_c1_c1' :key="key0"
@tap="$refs.showSelectPopup1684738398960.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
</template>
</benben-select-diy> -->
</view>
<!-- <view class='flex flex-direction align-stretch productDetails_fd9_0_c0_c2'>
<text class='productDetails_fd9_0_c0_c2_c0'>甜度</text>
<benben-select-diy ref="showSelectPopup1684738587501" class-name='flex flex productDetails_fd9_0_c0_c2_c1'
:items.sync="specifications_two" v-model="two_value" :label.sync="two_id" default-type="value"
default-label="name" :allow-cancel='false' type="radio">
<template v-for='(item,key0) in specifications_two'>
<view v-if="item.isSelected" class='flex justify-center flex productDetails_fd9_0_c0_c2_c1_c0'
:key="key0" @tap="$refs.showSelectPopup1684738587501.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
<view v-else class='flex justify-center flex productDetails_fd9_0_c0_c2_c1_c1' :key="key0"
@tap="$refs.showSelectPopup1684738587501.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
</template>
</benben-select-diy>
</view> -->
<view class='flex flex-wrap align-center productDetails_fd9_0_c0_c3'>
<text class='productDetails_fd9_0_c0_c3_c0'>已选择规格</text>
<text class='productDetails_fd9_0_c0_c3_c1'>{{selectSku.key_name}}</text>
<!-- <text class='productDetails_fd9_0_c0_c3_c2'></text>
<text class='productDetails_fd9_0_c0_c3_c3'>{{two_id}}</text> -->
</view>
<view class='flex flex-wrap align-center justify-between productDetails_fd9_0_c0_c4'>
<view class='flex flex-wrap align-end'>
<text class='productDetails_fd9_0_c0_c4_c0_c0'>售价</text>
<text class='productDetails_fd9_0_c0_c4_c0_c1'></text>
<view class='flex-wrap align-center productDetails_fd9_0_c0_c4_c0_c2'>
<text class=' productDetails_price1_fd9_0_c0_c4_c0_c2'>{{ selectSku.shop_price | frontPrice }}</text>
<text class=' productDetails_price2_fd9_0_c0_c4_c0_c2'>{{ selectSku.shop_price | laterPrice }}</text>
</view>
<text class='productDetails_fd9_0_c0_c4_c0_c3' style="text-decoration:line-through;"></text>
<text class='productDetails_fd9_0_c0_c4_c0_c4' style="text-decoration:line-through;">{{selectSku.market_price}}</text>
</view>
<button class='productDetails_fd9_0_c0_c4_c1' @tap.stop="handleAddCart">加入购物车</button>
</view>
</view>
<view class='flex flex-wrap align-center justify-center productDetails_fd9_0_c1'>
<image class='productDetails_fd9_0_c1_c0' :src='STATIC_URL+"103.png"'
@tap.stop="popupShowSpec=false"></image>
</view>
</view>
</view>
<!---flex布局flex布局结束-->
</benben-popup>
</view>
</template>
<script>
export default {
components: {},
data() {
return {
"popupShowSpec": false,
"popupShow1684726854680": false,
"popupShow1684722995767": false,
"keywords": "",
"length": "1",
"tabls": "1",
"deliveryPrice": "1",
"specifications_one": [{
"name": "常温",
"value": "1",
"image": ""
}, {
"name": "少冰",
"value": "2",
"image": ""
}, {
"name": "多冰",
"value": "3",
"image": ""
}],
"one_id": "1",
"specifications_two": [{
"name": "不加糖",
"value": "1",
"image": ""
}, {
"name": "多冰",
"value": "2",
"image": ""
}, {
"name": "少冰",
"value": "3",
"image": ""
}],
"two_id": "1",
"one_value": "",
"two_value": "",
"number": "0",
"keyword": "",
goodsList: [],
isShowLoading1: false,
isInit1: false,
status1: 'more', // 表示是否有数据可以请求
page1: 1,
id: '',
isRepetitionClick: false,
showSpec: true,
selectGoodsItem: {},
selectGoodsItemSpec: [],
skuList: [],
selectSku: {},
cartMoney: 0,
marketMoney: 0,
cartNum: 0,
packingMoney: 0,
cartList: [],
choosedIndexs: [],
choosedNames: [],
info: {},
isSubmit: false
};
},
computed: {
themeColor() {
return this.$store.getters.themeColor
},
},
watch: {},
onLoad(options) {
this.keyword = options.keyword || '';
this.id = options.id || '';
this.getShopGoodsList(true)
this.getCartList();
this.getShopDetail();
},
onUnload() {
},
onReady() {
},
onShow() {
},
onHide() {
},
onResize() {
},
onPullDownRefresh() {
this.isShowLoading1 = false;
this.status1 = 'more';
this.page1 = 1;
this.isInit1 = false;
this.goodsList = [];
this.getShopGoodsList(true);
},
onReachBottom(e) {
this.getShopGoodsList();
},
onPageScroll(e) {
},
methods: {
/**
* 获取店铺详情
*/
getShopDetail() {
this.$api.post(global.apiUrls.getShopDetail, {
aid: this.id
}).then(res => {
if (res.data.code == 1) {
this.isLoading = true
this.info = res.data.data;
} else {
this.$message.info(res.data.msg)
}
})
.catch(err => {
console.log(err);
});
},
handleDeleteCart() {
// if (!this.cartList.length) {
// return this.$message.info('')
// }
this.$util.showModal({
title: '提示',
content: '确定删除购物车所有商品?',
confirmColor: this.$store.state.themeColor,
success: (res) => {
if (res.confirm) {
this.$api.post(global.apiUrls.post649a5059d4e18, { store_id: this.id })
.then(res => {
console.log(res);
if (res.data.code == 1) {
this.getCartList();
this.popupShow1684722995767 = false;
this.isShowLoading1 = false;
this.status1 = 'more';
this.page1 = 1;
this.isInit1 = false;
this.goodsList = [];
this.getShopGoodsList(true);
} else {
this.$message.info(res.data.msg);
}
});
}
}
})
},
// 获取购物车数据
getCartList() {
this.$api.post(global.apiUrls.getCartList, {
store_id: this.id
})
.then(res => {
if (res.data.code == 1) {
this.cartList = res.data.data.goods_list;
let number = 0;
this.cartList.map((item) => {
if (item.goods_id == this.id) {
number = number + (item.num - 0)
}
})
this.number = number
this.cartMoney = res.data.data.shop_price
this.marketMoney = res.data.data.market_price
this.packingMoney = res.data.data.packing_price
this.cartNum = res.data.data.num
}
})
.catch(err => {
console.log(err);
});
},
handleUpdateCart(item, type) {
if (this.isRepetitionClick) return
this.isRepetitionClick = true
setTimeout(() => {
this.isRepetitionClick = false
}, 200)
let num = 0
let id = item.goods_id || item.id
let params = {
goods_id: id,
store_id: this.id
}
if (item && item.sku_id && (item.sku_id - 0 > 0)) {
params.sku_id = item.sku_id
}
if (type == 2) {
this.$api.post(global.apiUrls.postMinusCart, params).then(res => {
let data = res.data;
if (data.code == 1) {
item.num = item.num - 1
this.getCartList();
this.goodsList.map((goods) => {
if (goods.aid == id) {
goods.num = item.num;
}
})
// this.calculateTotal()
} else {
this.$message.info(data.msg)
}
});
} else {
params.num = 1;
this.$api.post(global.apiUrls.postAddCart, params).then(res => {
let data = res.data;
if (data.code == 1) {
item.num = item.num - 0 + 1
this.getCartList();
// this.calculateTotal()
this.goodsList.map((goods) => {
if (goods.aid == id) {
goods.num = item.num;
}
})
} else {
this.$message.info(data.msg)
}
});
}
},
handleAddCart(){
if (this.isRepetitionClick) return
this.isRepetitionClick = true
setTimeout(() => {
this.isRepetitionClick = false
}, 200)
this.$api.post(global.apiUrls.postAddCart, {
goods_id: this.selectGoodsItem.id,
store_id: this.id,
num: 1,
sku_id: this.selectSku.sku_id
}).then(res => {
let data = res.data;
if (data.code == 1) {
this.selectGoodsItem.num = this.selectGoodsItem.num - 0 + 1
this.popupShowSpec = false;
this.getCartList();
// this.calculateTotal()
} else {
this.$message.info(data.msg)
}
});
},
handleShowPopupSpec(item) {
this.selectGoodsItem = item;
item.spec_list.map((specItem, index) => {
specItem.spec_value.map((item, key) => {
item.checked = false
})
specItem.spec_value[0].checked = true;
})
this.selectGoodsItemSpec = item.spec_list;
this.skuList = item.sku_list;
this.updateChoosedSku();
this.popupShowSpec = true
},
// 获取选中的sku
updateChoosedSku(){
let { skuList } = this
let choosedIndexs = [];
let choosedNames = []
this.selectGoodsItemSpec.map((specItem, index) => {
specItem.spec_value.map((item, key) => {
if (item.checked) {
choosedIndexs.push(item.id);
choosedNames.push(item.item);
}
})
})
let choosedSkuAttrValue = choosedIndexs.join('_');
var arr = []
for (let i in skuList) {
arr.push(skuList[i]);
}
this.selectSku = arr.find(item => item.key == choosedSkuAttrValue)
console.log(this.selectSku)
if (!this.selectSku) {
this.$message.info('暂无此规格')
}
},
handleSettle() {
if (!this.cartList.length) return this.$message.info('请先选择商品~');
if (this.isSubmit) return false;
this.isSubmit = true;
let params = {
store_id: this.id,
pick_type:this.tabls
}
this.$api.post(global.apiUrls.getSettleInfo, params).then(res => {
if (res.data.code == 1) {
this.isSubmit = false;
uni.navigateTo({
url: `/pages/dpxq/settlementPage/settlementPage?id=${this.id}`
})
} else {
this.isSubmit = false;
this.$message.info(res.data.msg)
}
})
.catch(err => {
this.isSubmit = false;
console.log(err);
});
// uni.navigateTo({
// url: `/pages/dpxq/settlementPage/settlementPage?id=${this.id}`
// })
},
handleChooseSkuItem(parentIndex, item){
this.showSpec = false;
this.selectGoodsItemSpec[parentIndex].spec_value.map((value) => {
value.checked = false;
})
this.showSpec = true;
item.checked = !item.checked;
// this.choosedIndexs.splice(parentIndex, 1, item.id)
// this.choosedNames.splice(parentIndex, 1, item.item)
this.updateChoosedSku()
},
handleSearch() {
this.isShowLoading1 = false;
this.status1 = 'more';
this.page1 = 1;
this.isInit1 = false;
this.goodsList = [];
this.getShopGoodsList(true);
},
getShopGoodsList(value) {
if (this.status1 != 'more') return;
this.status1 = 'loading';
let data = {
list_rows: 20,
page: this.page1,
store_id: this.id,
name: this.keyword
};
// console.log('请求的数据', data);
if (this.page1 == 1 && value) {
this.isShowLoading1 = true;
}
this.$api
.post(global.apiUrls.getGoodsDetailGoodsList, data)
.then(res => {
console.log('订单列表', res);
this.isShowLoading1 = false;
if (res.data.code == 1) {
var curPageData = res.data.data.data;
// curPageData.map((item) => {
// item.num = 0;
// })
if (this.page1 == 1) this.goodsList = [];
this.goodsList = this.goodsList.concat(curPageData);
console.log('上拉加载', curPageData.length, this.size);
if (res.data.data.last_page > this.page1) {
this.status1 = 'more';
this.page1++;
} else {
this.status1 = 'noMore';
}
} else {
this.$message.info(res.data.msg);
}
this.isInit1 = true;
uni.stopPullDownRefresh();
})
.catch(err => {
this.isShowLoading = false;
uni.stopPullDownRefresh();
});
},
}
};
</script>
<style lang="scss" scoped>
.page {
width: 100vw;
overflow-x: hidden;
min-height: calc(100vh - var(--window-bottom));
background: rgba(255, 255, 255, 1);
background-size: 100% auto !important;
}
.searchResult_flex_0 {
background: #fff;
width: 750rpx;
height: 110rpx;
overflow: hidden;
z-index: 10;
top: 0rpx;
background-size: #eee;
}
.searchResult_fd0_0_c2 {
font-size: 32rpx;
font-weight: 400;
color: #333333;
margin: 0rpx 0rpx 0rpx 32rpx;
line-height: 32rpx;
}
.searchResult_fd0_0_c1_c1 {
font-size: 24rpx;
font-weight: 400;
color: #333;
}
.searchResult_fd0_0_c1_c0 {
width: 28rpx;
height: 28rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
margin: 0rpx 16rpx 0rpx 0rpx;
}
.searchResult_fd0_0_c1 {
background: rgba(246, 247, 249, 1);
height: 64rpx;
background-size: 100% auto !important;
border-radius: 34rpx 34rpx 34rpx 34rpx;
padding: 12rpx 24rpx 12rpx 24rpx;
font-size: 28rpx;
font-weight: 400;
color: #333;
}
.searchResult_fd0_0_c0 {
font-size: 36rpx;
font-weight: 500;
color: #333;
margin: 0rpx 16rpx 0rpx 0rpx;
}
.searchResult_fd0_0 {
padding: 0rpx 32rpx 0rpx 32rpx;
line-height: 110rpx;
}
.searchResult_flex_1 {
padding: 24rpx 32rpx 0rpx 32rpx;
}
.searchResult_fd1_1_c1_c2_c2_c0_c2 {
height: 32rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 32rpx;
}
.searchResult_fd1_1_c1_c2_c2_c0_c0 {
height: 32rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 32rpx;
}
::v-deep .searchResult_numberBoxInputfd1_1_c1_c2_c2_c0 {
background: rgba(255, 255, 255, 1);
width: 80rpx;
height: 50rpx;
text-align: center;
color: #323232;
font-size: 28rpx;
}
.searchResult_fd1_1_c1_c2_c1_c0 {
color: #FFFFFF;
font-size: 20rpx;
font-weight: 500;
line-height: 42rpx;
}
.searchResult_fd1_1_c1_c2_c1 {
background: rgba(255, 147, 0, 1);
width: 94rpx;
height: 42rpx;
border-radius: 21rpx 21rpx 21rpx 21rpx;
background-size: 100% auto !important;
}
.searchResult_fd1_1_c1_c2_c0_c3 {
color: #999999;
font-size: 22rpx;
font-weight: 400;
line-height: 22rpx;
text-decoration: line-through;
}
.searchResult_fd1_1_c1_c2_c0_c2 {
font-size: 24rpx;
font-weight: 400;
color: #999999;
margin: 0rpx 0rpx 0rpx 16rpx;
text-decoration: line-through;
line-height: 33rpx;
}
.searchResult_price2_fd1_1_c1_c2_c0_c1 {
font-size: 28rpx;
color: #E32121;
font-weight: 500;
line-height: 28rpx;
}
.searchResult_price1_fd1_1_c1_c2_c0_c1 {
color: #E32121;
font-size: 28rpx;
font-weight: 500;
line-height: 28rpx;
}
.searchResult_fd1_1_c1_c2_c0_c1 {
color: #FF3A30;
font-weight: 700;
font-size: 32rpx;
line-height: 40rpx;
}
.searchResult_fd1_1_c1_c2_c0_c0 {
font-size: 22rpx;
font-weight: 500;
color: #E32121;
line-height: 22rpx;
}
.searchResult_fd1_1_c1_c2 {
margin: 43rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd1_1_c1_c1_c1 {
font-size: 22rpx;
font-weight: 400;
color: #333333;
line-height: 22rpx;
}
.searchResult_fd1_1_c1_c1_c0 {
line-height: 22rpx;
font-size: 22rpx;
font-weight: 400;
color: #333333;
}
.searchResult_fd1_1_c1_c1 {
font-size: 24rpx;
font-weight: 400;
color: #999999;
line-height: 35rpx;
margin: 8rpx 0rpx 20rpx 0rpx;
}
.searchResult_fd1_1_c1_c0 {
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
font-size: 32rpx;
font-weight: 500;
color: #333333;
line-height: 32rpx;
}
.searchResult_fd1_1_c0 {
width: 184rpx;
height: 184rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin: 0rpx 24rpx 0rpx 0rpx;
}
.searchResult_fd1_1 {
margin: 0rpx 0rpx 24rpx 0rpx;
}
.searchResult_fd1_0_c1_c2_c1_c0 {
width: 36rpx;
height: 36rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd1_0_c1_c2_c0_c3 {
color: #999999;
font-size: 22rpx;
font-weight: 400;
line-height: 22rpx;
text-decoration: line-through;
}
.searchResult_fd1_0_c1_c2_c0_c2 {
font-size: 24rpx;
font-weight: 400;
color: #999999;
margin: 0rpx 0rpx 0rpx 16rpx;
text-decoration: line-through;
line-height: 33rpx;
}
.searchResult_price2_fd1_0_c1_c2_c0_c1 {
font-size: 28rpx;
color: #E32121;
font-weight: 500;
line-height: 28rpx;
}
.searchResult_price1_fd1_0_c1_c2_c0_c1 {
color: #E32121;
font-size: 28rpx;
font-weight: 500;
line-height: 28rpx;
}
.searchResult_fd1_0_c1_c2_c0_c1 {
color: #FF3A30;
font-weight: 700;
font-size: 32rpx;
line-height: 40rpx;
}
.searchResult_fd1_0_c1_c2_c0_c0 {
font-size: 22rpx;
font-weight: 500;
color: #E32121;
line-height: 22rpx;
}
.searchResult_fd1_0_c1_c2 {
margin: 0rpx;
}
.searchResult_fd1_0_c1_c1_c1 {
font-size: 22rpx;
font-weight: 400;
color: #333333;
line-height: 22rpx;
}
.searchResult_fd1_0_c1_c1_c0 {
line-height: 22rpx;
font-size: 22rpx;
font-weight: 400;
color: #333333;
}
.searchResult_fd1_0_c1_c1 {
font-size: 24rpx;
font-weight: 400;
color: #999999;
line-height: 35rpx;
margin: 8rpx 0rpx 20rpx 0rpx;
}
.searchResult_fd1_0_c1_c0 {
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
font-size: 32rpx;
font-weight: 500;
color: #333333;
line-height: 32rpx;
}
.searchResult_fd1_0_c0 {
width: 184rpx;
height: 184rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin: 0rpx 24rpx 0rpx 0rpx;
}
.searchResult_fd1_0 {
margin: 0rpx 0rpx 24rpx 0rpx;
}
.searchResult_flex_2 {
background: rgba(255, 255, 255, 1);
border-radius: 24rpx 24rpx 0rpx 0rpx;
padding: 45rpx 32rpx 0rpx 32rpx;
background-size: 100% auto !important;
}
.searchResult_fd2_2_c1_c0 {
color: #FFFFFF;
font-size: 28rpx;
font-weight: 500;
line-height: 100rpx;
}
.searchResult_fd2_2_c1 {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/100.png) no-repeat, #eee;
width: 164rpx;
height: 100rpx;
border-radius: 0rpx 50rpx 50rpx 0rpx;
background-size: 100% auto !important;
}
.searchResult_fd2_2_c0_c1_c1 {
color: #FFFFFF;
font-size: 36rpx;
font-weight: 500;
line-height: 36rpx;
}
.searchResult_fd2_2_c0_c1_c0 {
color: #FFFFFF;
font-size: 24rpx;
font-weight: 500;
line-height: 34rpx;
}
.searchResult_fd2_2_c0_c0_c1 {
position: absolute;
right: -16rpx;
top: -10rpx;
}
.searchResult_fd2_2_c0_c0_c0 {
font-size: 44rpx;
color: rgba(255, 255, 255, 1);
}
.searchResult_fd2_2_c0_c0 {
margin: 0rpx 24rpx 0rpx 0rpx;
position: relative;
}
.searchResult_fd2_2_c0 {
height: 100rpx;
padding: 0rpx 0rpx 0rpx 40rpx;
}
.searchResult_fd2_2 {
background: rgba(85, 85, 85, 1);
height: 100rpx;
border-radius: 50rpx 50rpx 50rpx 50rpx;
background-size: 100% auto !important;
}
.searchResult_fd2_1_c1_c2_c1_c0_c2 {
height: 36rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 36rpx;
}
.searchResult_fd2_1_c1_c2_c1_c0_c0 {
height: 36rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 36rpx;
}
::v-deep .searchResult_numberBoxInputfd2_1_c1_c2_c1_c0 {
background: rgba(255, 255, 255, 1);
width: 80rpx;
height: 50rpx;
text-align: center;
color: rgba(51, 51, 51, 1);
font-size: 28rpx;
}
.searchResult_fd2_1_c1_c2_c0_c3 {
color: #999999;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
text-decoration: line-through;
}
.searchResult_fd2_1_c1_c2_c0_c2 {
color: #999999;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
text-decoration: line-through;
}
.searchResult_fd2_1_c1_c2_c0_c1 {
margin: 0rpx 16rpx 0rpx 0rpx;
color: #E32121;
font-size: 28rpx;
font-weight: 500;
line-height: 28rpx;
}
.searchResult_fd2_1_c1_c2_c0_c0 {
color: #E32121;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
}
.searchResult_fd2_1_c1_c2 {
margin: 38rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd2_1_c1_c1_c0 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
}
.searchResult_fd2_1_c1_c1 {
margin: 12rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd2_1_c1_c0_c0 {
color: #333333;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.searchResult_fd2_1_c1 {
border-bottom: 1px solid #eee;
padding: 0rpx 0rpx 32rpx 0rpx;
}
.searchResult_fd2_1_c0_c0 {
width: 168rpx;
height: 168rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd2_1_c0 {
margin: 0rpx 16rpx 0rpx 0rpx;
}
.searchResult_fd2_1 {
margin: 0rpx 0rpx 32rpx 0rpx;
}
.searchResult_fd2_0_c1_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 500;
line-height: 42rpx;
}
.searchResult_fd2_0_c0_c3 {
color: #999999;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.searchResult_fd2_0_c0_c2 {
color: #999999;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.searchResult_fd2_0_c0_c1 {
color: #999999;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.searchResult_fd2_0_c0_c0 {
color: #333333;
font-size: 36rpx;
font-weight: 500;
line-height: 42rpx;
margin: 0rpx 16rpx 0rpx 0rpx;
}
.searchResult_fd2_0 {
margin: 0rpx 0rpx 32rpx 0rpx;
}
.searchResult_flex_3 {
background: rgba(255, 255, 255, 1);
width: 750rpx;
height: 148rpx;
z-index: 10;
bottom: calc(0rpx + var(--window-bottom));
background-size: 100% auto !important;
overflow: hidden;
}
.searchResult_fd3_0_c0_c1_c1_c2 {
color: #CCCCCC;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.searchResult_fd3_0_c0_c1_c1_c1 {
color: #CCCCCC;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.searchResult_fd3_0_c0_c1_c1_c0 {
color: #CCCCCC;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.searchResult_fd3_0_c0_c1_c0 {
background: rgba(112, 112, 112, 1);
margin: 0rpx 32rpx 0rpx 0rpx;
width: 1rpx;
height: 40rpx;
background-size: 100% auto !important;
}
.searchResult_fd3_0_c0_c0_c2 {
color: #FFFFFF;
font-size: 32rpx;
font-weight: 500;
line-height: 34rpx;
}
.searchResult_fd3_0_c0_c0_c1 {
color: #FFFFFF;
font-size: 24rpx;
font-weight: 500;
line-height: 30rpx;
}
.searchResult_fd3_0_c0_c0_c0 {
font-size: 44rpx;
color: rgba(255, 255, 255, 1);
margin: 0rpx 24rpx 0rpx 0rpx;
}
.searchResult_fd3_0_c0 {
background: rgba(85, 85, 85, 1);
height: 100rpx;
border-radius: 50rpx 50rpx 50rpx 50rpx;
background-size: 100% auto !important;
padding: 28rpx 46rpx 28rpx 40rpx;
}
.searchResult_fd3_0 {
background: rgba(255, 255, 255, 1);
padding: 12rpx 32rpx 0rpx 32rpx;
background-size: 100% auto !important;
}
.searchResult_flex_4 {
margin: 0rpx 40rpx 0rpx 40rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx;
width: 670rpx;
}
.searchResult_fd4_0_c1_c0 {
width: 56rpx;
height: 56rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd4_0_c1 {
margin: 40rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd4_0_c0_c4_c1 {
background: rgba(255, 147, 0, 1);
font-size: 28rpx;
color: rgba(255, 255, 255, 1);
width: 198rpx;
height: 76rpx;
border-radius: 38rpx 38rpx 38rpx 38rpx;
line-height: 76rpx;
}
.searchResult_fd4_0_c0_c4_c0_c4 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
}
.searchResult_fd4_0_c0_c4_c0_c3 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
margin: 0rpx 0rpx 0rpx 16rpx;
}
.searchResult_price2_fd4_0_c0_c4_c0_c2 {
color: #E32121;
font-size: 40rpx;
font-weight: 500;
line-height: 40rpx;
}
.searchResult_price1_fd4_0_c0_c4_c0_c2 {
color: #E32121;
font-size: 40rpx;
font-weight: 500;
line-height: 40rpx;
}
.searchResult_fd4_0_c0_c4_c0_c2 {
line-height: 49rpx;
font-size: 40rpx;
font-weight: 700;
color: #FC4141;
}
.searchResult_fd4_0_c0_c4_c0_c1 {
line-height: 34rpx;
font-size: 28rpx;
font-weight: 500;
color: #FC4141;
margin: 0rpx 0rpx 0rpx 16rpx;
}
.searchResult_fd4_0_c0_c4_c0_c0 {
line-height: 40rpx;
font-size: 28rpx;
font-weight: 700;
color: #333333;
}
.searchResult_fd4_0_c0_c4 {
padding: 0rpx 32rpx 0rpx 32rpx;
margin: 24rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd4_0_c0_c3_c3 {
line-height: 24rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.searchResult_fd4_0_c0_c3_c2 {
line-height: 24rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.searchResult_fd4_0_c0_c3_c1 {
line-height: 24rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.searchResult_fd4_0_c0_c3_c0 {
line-height: 33rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.searchResult_fd4_0_c0_c3 {
background: rgba(246, 247, 249, 0.39);
padding: 14rpx 0rpx 14rpx 32rpx;
}
.searchResult_fd4_0_c0_c2_c1_c1 {
border: 1px solid rgba(204, 204, 204, 1);
margin: 0rpx 7rpx 0rpx 7rpx;
width: 192rpx;
height: 64rpx;
font-size: 24rpx;
line-height: 64rpx;
color: rgba(102, 102, 102, 1);
border-radius: 8rpx 8rpx 8rpx 8rpx;
}
.searchResult_fd4_0_c0_c2_c1_c0 {
border: 1px solid rgba(255, 147, 0, 1);
background: rgba(255, 82, 55, 0.06);
border-radius: 8rpx 8rpx 8rpx 8rpx;
width: 192rpx;
height: 64rpx;
color: rgba(255, 147, 0, 1);
line-height: 64rpx;
font-size: 24rpx;
}
::v-deep .searchResult_fd4_0_c0_c2_c1 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd4_0_c0_c2_c0 {
line-height: 40rpx;
font-size: 28rpx;
font-weight: 400;
color: #999999;
}
.searchResult_fd4_0_c0_c2 {
margin: 32rpx 32rpx 32rpx 32rpx;
}
.searchResult_fd4_0_c0_c1_c1_c1 {
border: 1px solid rgba(204, 204, 204, 1);
margin: 0rpx 7rpx 0rpx 7rpx;
width: 192rpx;
height: 64rpx;
font-size: 24rpx;
line-height: 64rpx;
color: rgba(102, 102, 102, 1);
border-radius: 8rpx 8rpx 8rpx 8rpx;
}
.searchResult_fd4_0_c0_c1_c1_c0 {
border: 1px solid rgba(255, 147, 0, 1);
background: rgba(255, 82, 55, 0.06);
border-radius: 8rpx 8rpx 8rpx 8rpx;
width: 192rpx;
height: 64rpx;
color: rgba(255, 147, 0, 1);
line-height: 64rpx;
font-size: 24rpx;
}
::v-deep .searchResult_fd4_0_c0_c1_c1 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.searchResult_fd4_0_c0_c1_c0 {
line-height: 40rpx;
font-size: 28rpx;
font-weight: 400;
color: #999999;
}
.searchResult_fd4_0_c0_c1 {
margin: 32rpx 32rpx 32rpx 32rpx;
}
.searchResult_fd4_0_c0_c0_c1 {
max-width: 400rpx;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.searchResult_fd4_0_c0_c0_c0 {
width: 160rpx;
height: 160rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin: 0rpx 24rpx 0rpx 0rpx;
}
.searchResult_fd4_0_c0_c0 {
margin: 0rpx 32rpx 0rpx 32rpx;
}
.searchResult_fd4_0_c0 {
background: rgba(255, 255, 255, 1);
border-radius: 16rpx 16rpx 16rpx 16rpx;
background-size: 100% auto !important;
padding: 32rpx 0rpx 32rpx 0rpx;
}
.productDetails_flex_0 {
width: 750rpx;
height: 88rpx;
overflow: hidden;
z-index: 10;
top: 0rpx;
}
.productDetails_fd0_0_c2 {
width: 32rpx;
height: 32rpx;
}
.productDetails_fd0_0_c0_c0 {
font-size: 32rpx;
font-weight: 500;
color: rgba(255, 255, 255, 1);
line-height: 88rpx;
}
.productDetails_fd0_0 {
margin: 0rpx 32rpx 0rpx 32rpx;
}
.productDetails_flex_1 {
height: 750rpx;
}
.productDetails_numberfd1_0_c0 {
background: #525050;
position: absolute;
bottom: 20rpx;
right: 30rpx;
width: 80rpx;
height: 40rpx;
border-radius: 6rpx 6rpx 6rpx 6rpx;
font-size: 24rpx;
color: #FFFFFF;
line-height: 46rpx;
font-weight: 400;
}
.productDetails_fd1_0_c1 {
width: 750rpx;
height: 750rpx;
}
.productDetails_fd1_0_c1_c0 {
width: 750rpx;
height: 750rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd1_0 {
width: 750rpx;
height: 750rpx;
}
.productDetails_swiperDotUnselectedfd1_0 {
border: 1px solid rgba(0, 0, 0, 0.3);
background: rgba(0, 0, 0, 0.3);
width: 16rpx;
height: 16rpx;
border-radius: 100rpx 100rpx 100rpx 100rpx;
margin: 0rpx 6rpx 0rpx 0rpx;
font-size: 24rpx;
color: #fff;
}
.productDetails_swiperDotSelectedfd1_0 {
border: 1px solid #00A7FF;
background: #00A7FF;
width: 16rpx;
height: 16rpx;
border-radius: 100rpx 100rpx 100rpx 100rpx;
margin: 0rpx 6rpx 0rpx 0rpx;
font-size: 24rpx;
color: #fff;
}
::v-deep .productDetails_swiperDotfd1_0 {
position: absolute;
bottom: 20rpx;
left: 0rpx;
right: 0rpx;
}
.productDetails_flex_2 {
padding: 24rpx 32rpx 36rpx 32rpx;
}
.productDetails_fd2_2_c2_c0_c2 {
height: 32rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 32rpx;
}
.productDetails_fd2_2_c2_c0_c0 {
height: 32rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 32rpx;
}
::v-deep .productDetails_numberBoxInputfd2_2_c2_c0 {
background: rgba(255, 255, 255, 1);
width: 80rpx;
height: 50rpx;
text-align: center;
color: #323232;
font-size: 28rpx;
}
.productDetails_fd2_2_c1_c0 {
color: #FFFFFF;
font-size: 28rpx;
font-weight: 500;
line-height: 76rpx;
}
.productDetails_fd2_2_c1 {
background: rgba(255, 147, 0, 1);
width: 198rpx;
height: 76rpx;
border-radius: 36rpx 36rpx 36rpx 36rpx;
background-size: 100% auto !important;
}
.productDetails_fd2_2_c0_c2_c2 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_fd2_2_c0_c2_c1 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_fd2_2_c0_c2_c0 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_fd2_2_c0_c2 {
margin: 0rpx 0rpx 0rpx 16rpx;
}
.productDetails_fd2_2_c0_c1_c1 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
text-decoration: line-through;
}
.productDetails_fd2_2_c0_c1_c0 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
text-decoration: line-through;
}
.productDetails_fd2_2_c0_c1 {
margin: 0rpx 0rpx 0rpx 16rpx;
}
.productDetails_fd2_2_c0_c0_c1 {
color: #E32121;
font-size: 40rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_fd2_2_c0_c0_c0 {
color: #E32121;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_fd2_1_c1 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_fd2_1_c0 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_fd2_1 {
margin: 8rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd2_0_c0 {
color: #333333;
font-size: 32rpx;
font-weight: 500;
line-height: 46rpx;
}
.productDetails_flex_3 {
padding: 32rpx 0rpx 40rpx 0rpx;
}
.productDetails_fd3_2_c0 {
width: 750rpx;
height: 516rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd3_2 {
margin: 32rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd3_1_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 46rpx;
}
.productDetails_fd3_1 {
margin: 32rpx 32rpx 0rpx 32rpx;
}
.productDetails_fd3_0_c0 {
color: #333333;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.productDetails_fd3_0 {
margin: 0rpx 32rpx 0rpx 32rpx;
}
.productDetails_flex_4 {
background: rgba(246, 247, 249, 1);
height: 20rpx;
background-size: 100% auto !important;
}
.productDetails_flex_5 {
padding: 32rpx 32rpx 32rpx 32rpx;
}
.productDetails_fd5_2_c2_c2 {
width: 226rpx;
height: 226rpx;
border-radius: 8rpx 8rpx 8rpx 8rpx;
margin: 0rpx 0rpx 5rpx 0rpx;
}
.productDetails_fd5_2_c2_c1 {
width: 226rpx;
height: 226rpx;
border-radius: 8rpx 8rpx 8rpx 8rpx;
margin: 0rpx 0rpx 5rpx 0rpx;
}
.productDetails_fd5_2_c2_c0 {
width: 226rpx;
height: 226rpx;
border-radius: 8rpx 8rpx 8rpx 8rpx;
margin: 0rpx 4rpx 4rpx 0rpx;
}
.productDetails_fd5_2_c1_c0 {
color: #333333;
font-size: 28rpx;
font-weight: 500;
line-height: 40rpx;
}
.productDetails_fd5_2_c1 {
margin: 0rpx 0rpx 24rpx 0rpx;
}
.productDetails_fd5_2_c0_c1_c0 {
color: #999999;
font-size: 24rpx;
font-weight: 400;
line-height: 24rpx;
}
.productDetails_star1fd5_2_c0_c0_c1_c1 {
height: 18rpx;
margin: 0rpx 5rpx 0rpx 5rpx;
width: 18rpx;
}
.productDetails_star1fd5_2_c0_c0_c1_c1 {
width: 18rpx;
height: 18rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
margin: 0rpx 5rpx 0rpx 5rpx;
}
.productDetails_fd5_2_c0_c0_c1_c1 {
margin: 8rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd5_2_c0_c0_c1_c0 {
color: #333333;
font-size: 28rpx;
font-weight: 400;
line-height: 30rpx;
}
.productDetails_fd5_2_c0_c0_c0_c0 {
width: 56rpx;
height: 56rpx;
border-radius: 100rpx 100rpx 100rpx 100rpx;
}
.productDetails_fd5_2_c0_c0_c0 {
margin: 0rpx 16rpx 0rpx 0rpx;
}
.productDetails_fd5_2_c0 {
margin: 24rpx 0rpx 24rpx 0rpx;
}
.productDetails_fd5_2 {
border-bottom: 1px solid #eee;
padding: 0rpx 0rpx 32rpx 0rpx;
}
.productDetails_fd5_1_c0_c0_c1_c1 {
margin: 0rpx 0rpx 0rpx 8rpx;
}
.productDetails_fd5_1_c0_c0_c1 {
background: rgba(246, 247, 249, 1);
margin: 24rpx 20rpx 0rpx 0rpx;
padding: 8rpx 24rpx 8rpx 24rpx;
border-radius: 28rpx 28rpx 28rpx 28rpx;
background-size: 100% auto !important;
color: rgba(51, 51, 51, 1);
}
.productDetails_fd5_1_c0_c0_c0_c1 {
margin: 0rpx 0rpx 0rpx 8rpx;
}
.productDetails_fd5_1_c0_c0_c0 {
border: 1px solid rgba(255, 147, 0, 1);
background: rgba(255, 246, 234, 1);
padding: 8rpx 24rpx 8rpx 24rpx;
border-radius: 28rpx 28rpx 28rpx 28rpx;
background-size: 100% auto !important;
margin: 24rpx 20rpx 0rpx 0;
color: rgba(255, 147, 0, 1);
font-size: 28rpx;
}
.productDetails_fd5_1_c0 {
padding: 0rpx 0rpx 24rpx 0rpx;
}
.productDetails_fd5_0_c1_c1 {
width: 8rpx;
height: 14rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
margin: 0rpx 0rpx 0rpx 8rpx;
}
.productDetails_fd5_0_c1_c0 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
}
.productDetails_fd5_0_c0_c2 {
color: #999999;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.productDetails_fd5_0_c0_c1 {
color: #999999;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.productDetails_fd5_0_c0_c0 {
color: rgba(51, 51, 51, 1);
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.productDetails_flex_6 {
background: rgba(246, 247, 249, 1);
height: 20rpx;
background-size: 100% auto !important;
}
.productDetails_flex_7 {
background: rgba(255, 255, 255, 1);
border-radius: 24rpx 24rpx 0rpx 0rpx;
padding: 45rpx 32rpx 0rpx 32rpx;
background-size: 100% auto !important;
}
.productDetails_fd7_2_c1_c0 {
color: #FFFFFF;
font-size: 28rpx;
font-weight: 500;
line-height: 100rpx;
}
.productDetails_fd7_2_c1 {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/100.png) no-repeat, #eee;
width: 164rpx;
height: 100rpx;
border-radius: 0rpx 50rpx 50rpx 0rpx;
background-size: 100% auto !important;
}
.productDetails_fd7_2_c0_c1_c1 {
color: #FFFFFF;
font-size: 36rpx;
font-weight: 500;
line-height: 36rpx;
}
.productDetails_fd7_2_c0_c1_c0 {
color: #FFFFFF;
font-size: 24rpx;
font-weight: 500;
line-height: 34rpx;
}
.productDetails_fd7_2_c0_c0_c1 {
position: absolute;
right: -16rpx;
top: -10rpx;
}
.productDetails_fd7_2_c0_c0_c0 {
font-size: 44rpx;
color: rgba(255, 255, 255, 1);
}
.productDetails_fd7_2_c0_c0 {
margin: 0rpx 24rpx 0rpx 0rpx;
position: relative;
}
.productDetails_fd7_2_c0 {
height: 100rpx;
padding: 0rpx 0rpx 0rpx 40rpx;
}
.productDetails_fd7_2 {
margin-bottom: 32rpx;
background: rgba(85, 85, 85, 1);
height: 100rpx;
border-radius: 50rpx 50rpx 50rpx 50rpx;
background-size: 100% auto !important;
}
.productDetails_fd7_1_c1_c2_c1_c0_c2 {
height: 36rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 36rpx;
}
.productDetails_fd7_1_c1_c2_c1_c0_c0 {
height: 36rpx;
margin: 0rpx 4rpx 0rpx 4rpx;
width: 36rpx;
}
::v-deep .productDetails_numberBoxInputfd7_1_c1_c2_c1_c0 {
background: rgba(255, 255, 255, 1);
width: 80rpx;
height: 50rpx;
text-align: center;
color: rgba(51, 51, 51, 1);
font-size: 28rpx;
}
.productDetails_fd7_1_c1_c2_c0_c3 {
color: #999999;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
text-decoration: line-through;
}
.productDetails_fd7_1_c1_c2_c0_c2 {
color: #999999;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
text-decoration: line-through;
}
.productDetails_fd7_1_c1_c2_c0_c1 {
margin: 0rpx 16rpx 0rpx 0rpx;
color: #E32121;
font-size: 28rpx;
font-weight: 500;
line-height: 28rpx;
}
.productDetails_fd7_1_c1_c2_c0_c0 {
color: #E32121;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
}
.productDetails_fd7_1_c1_c2 {
// margin: 38rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd7_1_c1_c1_c0 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
}
.productDetails_fd7_1_c1_c1 {
// margin: 12rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd7_1_c1_c0_c0 {
color: #333333;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.productDetails_fd7_1_c1 {
border-bottom: 1px solid #eee;
padding: 0rpx 0rpx 32rpx 0rpx;
box-sizing: content-box;
height: 168rpx;
}
.productDetails_fd7_1_c0_c0 {
width: 168rpx;
height: 168rpx;
border-radius: 8rpx;
}
.productDetails_fd7_1_c0 {
margin: 0rpx 16rpx 0rpx 0rpx;
}
.productDetails_fd7_1 {
margin: 0rpx 0rpx 32rpx 0rpx;
}
.productDetails_fd7_0_c1_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 500;
line-height: 42rpx;
}
.productDetails_fd7_0_c0_c3 {
color: #999999;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.productDetails_fd7_0_c0_c2 {
color: #999999;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.productDetails_fd7_0_c0_c1 {
color: #999999;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.productDetails_fd7_0_c0_c0 {
color: #333333;
font-size: 36rpx;
font-weight: 500;
line-height: 42rpx;
margin: 0rpx 16rpx 0rpx 0rpx;
}
.productDetails_fd7_0 {
margin: 0rpx 0rpx 32rpx 0rpx;
}
.productDetails_flex_8 {
background: rgba(255, 255, 255, 1);
width: 750rpx;
height: 168rpx;
z-index: 10;
bottom: calc(0rpx + var(--window-bottom));
background-size: 100% auto !important;
overflow: hidden;
}
.productDetails_fd8_0_c0_c1_c0 {
color: #FFFFFF;
font-size: 28rpx;
font-weight: 500;
line-height: 100rpx;
}
.productDetails_fd8_0_c0_c1 {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/100.png) no-repeat, #eee;
width: 164rpx;
height: 100rpx;
border-radius: 0rpx 50rpx 50rpx 0rpx;
background-size: 100% auto !important;
}
.productDetails_fd8_0_c0_c0_c2_c1 {
color: #CCCCCC;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
text-decoration: line-through;
}
.productDetails_fd8_0_c0_c0_c2_c0 {
color: #CCCCCC;
font-size: 22rpx;
font-weight: 500;
line-height: 22rpx;
text-decoration: line-through;
}
.productDetails_fd8_0_c0_c0_c2 {
margin: 0rpx 0rpx 0rpx 16rpx;
}
.productDetails_fd8_0_c0_c0_c1_c1 {
color: #FFFFFF;
font-size: 36rpx;
font-weight: 500;
line-height: 36rpx;
}
.productDetails_fd8_0_c0_c0_c1_c0 {
color: #FFFFFF;
font-size: 24rpx;
font-weight: 500;
line-height: 34rpx;
}
.productDetails_fd8_0_c0_c0_c0_c1 {
position: absolute;
right: -16rpx;
top: -10rpx;
}
.productDetails_fd8_0_c0_c0_c0_c0 {
font-size: 44rpx;
color: rgba(255, 255, 255, 1);
}
.productDetails_fd8_0_c0_c0_c0 {
margin: 0rpx 24rpx 0rpx 0rpx;
position: relative;
}
.productDetails_fd8_0_c0_c0 {
height: 100rpx;
padding: 0rpx 0rpx 0rpx 40rpx;
}
.productDetails_fd8_0_c0 {
background: rgba(85, 85, 85, 1);
height: 100rpx;
border-radius: 50rpx 50rpx 50rpx 50rpx;
background-size: 100% auto !important;
}
.productDetails_fd8_0 {
background: rgba(255, 255, 255, 1);
padding: 32rpx 32rpx 0rpx 32rpx;
background-size: 100% auto !important;
}
.productDetails_flex_9 {
margin: 0rpx 40rpx 0rpx 40rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx;
width: 670rpx;
}
.productDetails_fd9_0_c1_c0 {
width: 56rpx;
height: 56rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd9_0_c1 {
margin: 40rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd9_0_c0_c4_c1 {
background: rgba(255, 147, 0, 1);
font-size: 28rpx;
color: rgba(255, 255, 255, 1);
width: 198rpx;
height: 76rpx;
border-radius: 38rpx 38rpx 38rpx 38rpx;
line-height: 76rpx;
}
.productDetails_fd9_0_c0_c4_c0_c4 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
}
.productDetails_fd9_0_c0_c4_c0_c3 {
color: #999999;
font-size: 24rpx;
font-weight: 500;
line-height: 24rpx;
margin: 0rpx 0rpx 0rpx 16rpx;
}
.productDetails_price2_fd9_0_c0_c4_c0_c2 {
color: #E32121;
font-size: 40rpx;
font-weight: 500;
line-height: 40rpx;
}
.productDetails_price1_fd9_0_c0_c4_c0_c2 {
color: #E32121;
font-size: 40rpx;
font-weight: 500;
line-height: 40rpx;
}
.productDetails_fd9_0_c0_c4_c0_c2 {
line-height: 49rpx;
font-size: 40rpx;
font-weight: 700;
color: #FC4141;
}
.productDetails_fd9_0_c0_c4_c0_c1 {
line-height: 34rpx;
font-size: 28rpx;
font-weight: 500;
color: #FC4141;
margin: 0rpx 0rpx 0rpx 16rpx;
}
.productDetails_fd9_0_c0_c4_c0_c0 {
line-height: 40rpx;
font-size: 28rpx;
font-weight: 700;
color: #333333;
}
.productDetails_fd9_0_c0_c4 {
padding: 0rpx 32rpx 0rpx 32rpx;
margin: 24rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd9_0_c0_c3_c3 {
line-height: 24rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.productDetails_fd9_0_c0_c3_c2 {
line-height: 24rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.productDetails_fd9_0_c0_c3_c1 {
line-height: 24rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.productDetails_fd9_0_c0_c3_c0 {
line-height: 33rpx;
font-size: 24rpx;
font-weight: 400;
color: #666666;
}
.productDetails_fd9_0_c0_c3 {
background: rgba(246, 247, 249, 0.39);
padding: 14rpx 0rpx 14rpx 32rpx;
}
.productDetails_fd9_0_c0_c2_c1_c1 {
border: 1px solid rgba(204, 204, 204, 1);
margin: 0rpx 7rpx 0rpx 7rpx;
width: 192rpx;
height: 64rpx;
font-size: 24rpx;
line-height: 64rpx;
color: rgba(102, 102, 102, 1);
border-radius: 8rpx 8rpx 8rpx 8rpx;
}
.productDetails_fd9_0_c0_c2_c1_c0 {
border: 1px solid rgba(255, 147, 0, 1);
background: rgba(255, 82, 55, 0.06);
border-radius: 8rpx 8rpx 8rpx 8rpx;
width: 192rpx;
height: 64rpx;
color: rgba(255, 147, 0, 1);
line-height: 64rpx;
font-size: 24rpx;
}
::v-deep .productDetails_fd9_0_c0_c2_c1 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd9_0_c0_c2_c0 {
line-height: 40rpx;
font-size: 28rpx;
font-weight: 400;
color: #999999;
}
.productDetails_fd9_0_c0_c2 {
margin: 32rpx 32rpx 32rpx 32rpx;
}
.productDetails_fd9_0_c0_c1_c1_c1 {
border: 1px solid rgba(204, 204, 204, 1);
margin: 0rpx 7rpx 0rpx 7rpx;
width: 192rpx;
height: 64rpx;
font-size: 24rpx;
line-height: 64rpx;
color: rgba(102, 102, 102, 1);
border-radius: 8rpx 8rpx 8rpx 8rpx;
}
.productDetails_fd9_0_c0_c1_c1_c0 {
border: 1px solid rgba(255, 147, 0, 1);
background: rgba(255, 82, 55, 0.06);
border-radius: 8rpx 8rpx 8rpx 8rpx;
width: 192rpx;
height: 64rpx;
color: rgba(255, 147, 0, 1);
line-height: 64rpx;
font-size: 24rpx;
}
::v-deep .productDetails_fd9_0_c0_c1_c1 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.productDetails_fd9_0_c0_c1_c0 {
line-height: 40rpx;
font-size: 28rpx;
font-weight: 400;
color: #999999;
}
.productDetails_fd9_0_c0_c1 {
margin: 32rpx 32rpx 32rpx 32rpx;
}
.productDetails_fd9_0_c0_c0_c1 {
max-width: 400rpx;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.productDetails_fd9_0_c0_c0_c0 {
width: 160rpx;
height: 160rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin: 0rpx 24rpx 0rpx 0rpx;
}
.productDetails_fd9_0_c0_c0 {
margin: 0rpx 32rpx 0rpx 32rpx;
}
.productDetails_fd9_0_c0 {
background: rgba(255, 255, 255, 1);
border-radius: 16rpx 16rpx 16rpx 16rpx;
background-size: 100% auto !important;
padding: 32rpx 0rpx 32rpx 0rpx;
}
.skuimg{
width: 40rpx;
height: 40rpx;
}
.cart-wrap {
max-height: 60vh;
}
.storeDetails_fd8_0_c0_c1_c0 {
background: rgba(112, 112, 112, 1);
margin: 0rpx 32rpx 0rpx 0rpx;
width: 1rpx;
height: 40rpx;
background-size: 100% auto !important;
}
.storeDetails_fd8_0_c0_c1_c1_c2 {
color: #CCCCCC;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.storeDetails_fd8_0_c0_c1_c1_c1 {
color: #CCCCCC;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.storeDetails_fd8_0_c0_c1_c1_c0 {
color: #CCCCCC;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
</style>