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

1316 lines
36 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布局开始-->
<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='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="popupShow1684726854680=true">
<text class='searchResult_fd1_1_c1_c2_c1_c0'>选规格</text>
</view>
</view>
</view>
</view>
</view>
<!---搜索列表flex布局结束-->
<benben-popup v-model="popupShow1684722995767" :mask="true" mode='bottom'>
<!---弹窗购物车flex布局开始-->
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout searchResult_flex_2">
<view class='flex flex-wrap align-center justify-between searchResult_fd2_0'>
<view class='flex flex-wrap align-center'>
<text class='searchResult_fd2_0_c0_c0'>购物车</text>
<text class='searchResult_fd2_0_c0_c1'>打包费</text>
<text class='searchResult_fd2_0_c0_c2'>¥</text>
<text class='searchResult_fd2_0_c0_c3'>3</text>
</view>
<view class='flex flex-wrap align-center'>
<text class='searchResult_fd2_0_c1_c0'>清空购物车</text>
</view>
</view>
<view class='flex flex-wrap align-start searchResult_fd2_1'>
<view class='flex flex-wrap align-center searchResult_fd2_1_c0'>
<image class='searchResult_fd2_1_c0_c0' mode="aspectFit" :src='STATIC_URL+"22.png"'></image>
</view>
<view class='flex flex-direction flex-wrap align-stretch flex-sub searchResult_fd2_1_c1'>
<view class='flex flex-wrap align-center'>
<text class='searchResult_fd2_1_c1_c0_c0'>榴莲披萨</text>
</view>
<view class='flex flex-wrap align-center searchResult_fd2_1_c1_c1'>
<text class='searchResult_fd2_1_c1_c1_c0'>标准糖-正常冰</text>
</view>
<view class='flex flex-wrap align-center justify-between searchResult_fd2_1_c1_c2'>
<view class='flex flex-wrap align-center'>
<text class='searchResult_fd2_1_c1_c2_c0_c0'></text>
<text class='searchResult_fd2_1_c1_c2_c0_c1'>20.00</text>
<text class='searchResult_fd2_1_c1_c2_c0_c2'>¥</text>
<text class='searchResult_fd2_1_c1_c2_c0_c3'>25.9</text>
</view>
<view class='flex flex-wrap align-center'>
<benben-flex-number-box class-name='flex flex align-center'
input-class="searchResult_numberBoxInputfd2_1_c1_c2_c1_c0" :min="1" :step="1" :opacity="0.3">
<template #minus>
<image class='searchResult_fd2_1_c1_c2_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"101.png"'>
</image>
</template>
<template #plus>
<image class='searchResult_fd2_1_c1_c2_c1_c0_c2' mode="aspectFit" :src='STATIC_URL+"102.png"'>
</image>
</template>
</benben-flex-number-box>
</view>
</view>
</view>
</view>
<view class='flex flex-wrap align-center justify-between searchResult_fd2_2' v-if="deliveryPrice=='2'">
<view class='flex flex-wrap align-center flex-sub searchResult_fd2_2_c0'>
<view class='flex flex-wrap align-center searchResult_fd2_2_c0_c0'>
<text class='fu-iconfont2 searchResult_fd2_2_c0_c0_c0'>&#xe66a;</text>
<benben-message-num class='searchResult_fd2_2_c0_c0_c1' size='24' color='#fff' background-color='red'>
</benben-message-num>
</view>
<view class='flex flex-wrap align-center'>
<text class='searchResult_fd2_2_c0_c1_c0'></text>
<text class='searchResult_fd2_2_c0_c1_c1'>23</text>
</view>
</view>
<view class='flex flex-wrap align-center justify-center searchResult_fd2_2_c1' @tap.stop="handleJumpDiy"
data-type="navigateTo" :data-url="`/pages/dpxq/settlementPage/settlementPage`">
<text class='searchResult_fd2_2_c1_c0'>去结算</text>
</view>
</view>
</view>
<!---弹窗购物车flex布局结束-->
</benben-popup>
<view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex searchResult_flex_3">
<view class='flex flex-direction flex-wrap align-stretch flex-sub searchResult_fd3_0'>
<view class='flex flex-wrap align-center justify-between searchResult_fd3_0_c0' v-if="deliveryPrice=='1'">
<view class='flex flex-wrap align-end'>
<text class='fu-iconfont2 searchResult_fd3_0_c0_c0_c0'>&#xe66a;</text>
<text class='searchResult_fd3_0_c0_c0_c1'></text>
<text class='searchResult_fd3_0_c0_c0_c2'>0</text>
</view>
<view class='flex flex-wrap align-center'>
<view class='flex flex-wrap align-center searchResult_fd3_0_c0_c1_c0'>
</view>
<view class='flex flex-wrap align-center'>
<text class='searchResult_fd3_0_c0_c1_c1_c0'></text>
<text class='searchResult_fd3_0_c0_c1_c1_c1'>12</text>
<text class='searchResult_fd3_0_c0_c1_c1_c2'>起送</text>
</view>
</view>
</view>
</view>
</view>
<view :style="{height: '148rpx'}"></view>
<benben-popup v-model="popupShow1684726854680" :mask="true" mode='center'>
<!---flex布局flex布局开始-->
<view class="flex flex-direction align-stretch benben-flex-layout searchResult_flex_4">
<view class='flex flex-direction flex-wrap align-stretch'>
<view class='flex flex-direction flex-wrap align-stretch searchResult_fd4_0_c0'>
<view class='flex flex-wrap align-start searchResult_fd4_0_c0_c0'>
<image class='searchResult_fd4_0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"27.png"'></image>
<text class='searchResult_fd4_0_c0_c0_c1'>商品名称商品名称商品名称商品名称商品名称商品名称商</text>
</view>
<view class='flex flex-direction align-stretch searchResult_fd4_0_c0_c1'>
<text class='searchResult_fd4_0_c0_c1_c0'>规格1</text>
<benben-select-diy ref="showSelectPopup1684727421541" class-name='flex flex searchResult_fd4_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 searchResult_fd4_0_c0_c1_c1_c0'
:key="key0" @tap="$refs.showSelectPopup1684727421541.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
<view v-else class='flex justify-center flex searchResult_fd4_0_c0_c1_c1_c1' :key="key0"
@tap="$refs.showSelectPopup1684727421541.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
</template>
</benben-select-diy>
</view>
<view class='flex flex-direction align-stretch searchResult_fd4_0_c0_c2'>
<text class='searchResult_fd4_0_c0_c2_c0'>甜度</text>
<benben-select-diy ref="showSelectPopup1684726990390" class-name='flex flex searchResult_fd4_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 searchResult_fd4_0_c0_c2_c1_c0'
:key="key0" @tap="$refs.showSelectPopup1684726990390.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
<view v-else class='flex justify-center flex searchResult_fd4_0_c0_c2_c1_c1' :key="key0"
@tap="$refs.showSelectPopup1684726990390.tapHandle(key0)">
<text>{{item.name}}</text>
</view>
</template>
</benben-select-diy>
</view>
<view class='flex flex-wrap align-center searchResult_fd4_0_c0_c3'>
<text class='searchResult_fd4_0_c0_c3_c0'>已选择规格</text>
<text class='searchResult_fd4_0_c0_c3_c1'>{{one_id}}</text>
<text class='searchResult_fd4_0_c0_c3_c2'></text>
<text class='searchResult_fd4_0_c0_c3_c3'>{{two_id}}</text>
</view>
<view class='flex flex-wrap align-center justify-between searchResult_fd4_0_c0_c4'>
<view class='flex flex-wrap align-end'>
<text class='searchResult_fd4_0_c0_c4_c0_c0'>售价</text>
<text class='searchResult_fd4_0_c0_c4_c0_c1'></text>
<view class='flex-wrap align-center searchResult_fd4_0_c0_c4_c0_c2'>
<text class=' searchResult_price1_fd4_0_c0_c4_c0_c2'>{{ 16.99 | frontPrice }}</text>
<text class=' searchResult_price2_fd4_0_c0_c4_c0_c2'>{{ 16.99 | laterPrice }}</text>
</view>
<text class='searchResult_fd4_0_c0_c4_c0_c3'></text>
<text class='searchResult_fd4_0_c0_c4_c0_c4'>36.66</text>
</view>
<button class='searchResult_fd4_0_c0_c4_c1' @tap.stop="addShoppingFunc()">加入购物车</button>
</view>
</view>
<view class='flex flex-wrap align-center justify-center searchResult_fd4_0_c1'>
<image class='searchResult_fd4_0_c1_c0' :src='STATIC_URL+"103.png"'
@tap.stop="popupShow1684726854680=false"></image>
</view>
</view>
</view>
<!---flex布局flex布局结束-->
</benben-popup>
</view>
</template>
<script>
export default {
components: {},
data() {
return {
"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,
selectGoodsItemSpec: [],
skuList: [],
selectSku: {},
cartMoney: 0,
marketMoney: 0,
cartNum: 0,
packingMoney: 0,
cartList: [],
choosedIndexs: [],
choosedNames: [],
};
},
computed: {
themeColor() {
return this.$store.getters.themeColor
},
},
watch: {},
onLoad(options) {
this.keyword = options.keyword || '';
this.id = options.id || '';
this.getShopGoodsList(true)
this.getCartList();
},
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: {
// 获取购物车数据
getCartList() {
this.$api.post(global.apiUrls.getCartList, {
store_id: this.sid
})
.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(type, item) {
if (this.isRepetitionClick) return
this.isRepetitionClick = true
setTimeout(() => {
this.isRepetitionClick = false
}, 200)
let num = 0
let id = item ? item.goods_id : this.id
let params = {
goods_id: id,
store_id: this.sid
}
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) {
this.number = this.number - 1
this.getCartList();
// 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) {
this.number = this.number - 0 + 1
this.getCartList();
// this.calculateTotal()
} 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.id,
store_id: this.sid,
num: 1,
sku_id: this.selectSku.sku_id
}).then(res => {
let data = res.data;
if (data.code == 1) {
this.number = this.number - 0 + 1
this.popupShowSpec = false;
this.getCartList();
// this.calculateTotal()
} else {
this.$message.info(data.msg)
}
});
},
handleShowPopupSpec() {
this.info.spec_list.map((specItem, index) => {
specItem.spec_value.map((item, key) => {
item.checked = false
})
specItem.spec_value[0].checked = true;
})
this.selectGoodsItemSpec = this.info.spec_list;
this.skuList = this.info.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('请先选择商品~');
uni.navigateTo({
url: `/pages/dpxq/settlementPage/settlementPage?id=${this.sid}`
})
},
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;
}
</style>