1449 lines
42 KiB
Vue
1449 lines
42 KiB
Vue
<template>
|
|
<view class="page" :style="themeColor">
|
|
<view class="flex flex-direction align-stretch benben-position-layout flex searchResult_flex_0"
|
|
:style="{height:(177+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
|
|
<view class='flex align-center justify-between searchResult_fd0_0'>
|
|
<view class='flex align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
|
|
<text class='fu-iconfont2 searchResult_fd0_0_c0_c0'></text>
|
|
</view>
|
|
<view class='flex 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" :focus='true' placeholder="请输入关键字"
|
|
confirm-type="done" :maxlength="-1" placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
|
|
v-model="keyword" />
|
|
<image class='searchResult_fd0_0_c1_c2' :src='STATIC_URL+"61.png"' @tap.stop="clearSearchFunc()"></image>
|
|
</view>
|
|
<view class='flex flex-wrap align-center searchResult_fd0_0_c2' @click="handleSearch">
|
|
<text class='searchResult_fd0_0_c2_c0'>搜索</text>
|
|
</view>
|
|
<view :style="{width: capsuleWidth + 'px'}"></view>
|
|
</view>
|
|
<view>
|
|
<benben-flex-tabs class-name='searchResult_benbenTabsfd0_1' v-model="tabls" ref="benben_tabsfd0_1"
|
|
select-mark="benben_tabsfd0_1" key="benben_tabsfd0_1" :open-title-type='false' :open-sticky='true' :top='0'
|
|
:is-show-content='false' :scrollspy='false' :tabs-info.sync="tabsInfofd0_1">
|
|
|
|
<scroll-view @scroll="tabsInfofd0_1.scrollX = $event.detail.scrollLeft" id="benben_tabsfd0_1"
|
|
class="benben-tabs" style="width:750rpx" :scroll-x="true" :scroll-left.sync="tabsInfofd0_1.moveX"
|
|
scroll-with-animation="all .3s ease">
|
|
<view class="benben-tabs-content" id="benben_tabsfd0_1-content">
|
|
<view id="benben_tabsfd0_1-title" class="benben-tabs-title flex flex align-center justify-around">
|
|
<view :class="{ 'checkTitlefd0_1': tabls == '1', 'flex flex-wrap align-center': true }"
|
|
@tap="handleChangeTabs(1)" :id="`benben_tabsfd0_1-title-item-${'1'}`">
|
|
|
|
<text>综合排序</text>
|
|
|
|
<image class='searchResult_titleItemfd0_1_c3_c1' mode="aspectFit" :src='STATIC_URL+"62.png"'></image>
|
|
|
|
</view>
|
|
<view :class="{ 'checkTitlefd0_1': tabls == '2', 'flex flex-wrap align-center': true }"
|
|
@tap="handleChangeTabs(2)" :id="`benben_tabsfd0_1-title-item-${'2'}`">
|
|
|
|
<text>距离</text>
|
|
|
|
<view class='flex flex-direction flex-wrap align-center searchResult_titleItemfd0_1_c4_c1'>
|
|
<image v-if="tabls == 2 && sort == 'asc'" class='searchResult_titleItemfd0_1_c4_c1_c0' mode="aspectFit" :src='STATIC_URL+"63.png"'>
|
|
</image>
|
|
<image v-if="tabls != 2 || sort == 'desc'" class='searchResult_titleItemfd0_1_c5_c1_c0' mode="aspectFit" :src='STATIC_URL+"64.png"'>
|
|
</image>
|
|
<image v-if="tabls != 2 || sort == 'asc'" class='searchResult_titleItemfd0_1_c4_c1_c1' mode="aspectFit" :src='STATIC_URL+"62.png"'>
|
|
</image>
|
|
<image v-if="tabls == 2 && sort == 'desc'" class='searchResult_titleItemfd0_1_c5_c1_c1' mode="aspectFit" :src='STATIC_URL+"65.png"'>
|
|
</image>
|
|
</view>
|
|
|
|
</view>
|
|
<view :class="{ 'checkTitlefd0_1': tabls == '3', 'flex flex-wrap align-center': true }"
|
|
@tap="handleChangeTabs(3)" :id="`benben_tabsfd0_1-title-item-${'3'}`">
|
|
|
|
<text>关注</text>
|
|
|
|
<view class='flex flex-direction flex-wrap align-center searchResult_titleItemfd0_1_c5_c1'>
|
|
<!-- <image class='searchResult_titleItemfd0_1_c5_c1_c0' mode="aspectFit" :src='STATIC_URL+"64.png"'>
|
|
</image>
|
|
<image class='searchResult_titleItemfd0_1_c5_c1_c1' mode="aspectFit" :src='STATIC_URL+"65.png"'>
|
|
</image> -->
|
|
<image v-if="tabls == 3 && sort == 'asc'" class='searchResult_titleItemfd0_1_c4_c1_c0' mode="aspectFit" :src='STATIC_URL+"63.png"'>
|
|
</image>
|
|
<image v-if="tabls != 3 || sort == 'desc'" class='searchResult_titleItemfd0_1_c5_c1_c0' mode="aspectFit" :src='STATIC_URL+"64.png"'>
|
|
</image>
|
|
<image v-if="tabls != 3 || sort == 'asc'" class='searchResult_titleItemfd0_1_c4_c1_c1' mode="aspectFit" :src='STATIC_URL+"62.png"'>
|
|
</image>
|
|
<image v-if="tabls == 3 && sort == 'desc'" class='searchResult_titleItemfd0_1_c5_c1_c1' mode="aspectFit" :src='STATIC_URL+"65.png"'>
|
|
</image>
|
|
</view>
|
|
|
|
</view>
|
|
</view>
|
|
<view :style="{ left: tabsInfofd0_1.lineleft, maxWidth: tabsInfofd0_1.lineWidth }"
|
|
id="benben_tabsfd0_1-line" class="benben-tabs-line flex benben-flex-tabs-line"></view>
|
|
</view>
|
|
</scroll-view>
|
|
|
|
</benben-flex-tabs>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
<view :style="{height: (177+StatusBarRpx)+'rpx'}"></view>
|
|
<benben-popup v-model="popupShow1681807536208" :mask="true" mode='right'>
|
|
<!---筛选弹窗flex布局开始-->
|
|
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout searchResult_flex_1">
|
|
<view class='flex flex-wrap align-center justify-between searchResult_fd1_0'>
|
|
<text class='searchResult_fd1_0_c0'>筛选</text>
|
|
</view>
|
|
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
|
|
<view class='flex flex-wrap align-center justify-between searchResult_fd1_1_c0'>
|
|
<text class='searchResult_fd1_1_c0_c0'>品牌</text>
|
|
<image class='searchResult_fd1_1_c0_c1' mode="aspectFit" :src='STATIC_URL+"176.png"'></image>
|
|
</view>
|
|
<benben-select-diy ref="showSelectPopup1682394878029" class-name='flex flex-wrap flex searchResult_fd1_1_c1'
|
|
:items.sync="brand_type" v-model="brand_id" default-type="value" default-label="name" :allow-cancel='true'
|
|
type="radio" :disabled='false'>
|
|
<template v-for='(item,key0) in brand_type'>
|
|
<view v-if="item.isSelected"
|
|
class='flex align-center self-center justify-center flex searchResult_fd1_1_c1_c0' :key="key0"
|
|
@tap="$refs.showSelectPopup1682394878029.tapHandle(key0)">
|
|
<text class='searchResult_fd1_1_c1_c0_c0'>{{item.name}}</text>
|
|
</view>
|
|
<view v-else class='flex align-center justify-center flex searchResult_fd1_1_c1_c1' :key="key0"
|
|
@tap="$refs.showSelectPopup1682394878029.tapHandle(key0)">
|
|
<text class='searchResult_fd1_1_c1_c1_c0'>{{item.name}}</text>
|
|
</view>
|
|
</template>
|
|
</benben-select-diy>
|
|
</view>
|
|
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
|
|
<view class='flex flex-wrap align-center justify-between searchResult_fd1_2_c0'>
|
|
<text class='searchResult_fd1_2_c0_c0'>价格</text>
|
|
<image class='searchResult_fd1_2_c0_c1' mode="aspectFit" :src='STATIC_URL+"176.png"'></image>
|
|
</view>
|
|
<benben-select-diy ref="showSelectPopup1682394411820" class-name='flex flex-wrap flex searchResult_fd1_2_c1'
|
|
:items.sync="price_type" v-model="price_id" default-type="value" default-label="name" :allow-cancel='false'
|
|
type="radio" :disabled='false'>
|
|
<template v-for='(item,key0) in price_type'>
|
|
<view v-if="item.isSelected"
|
|
class='flex align-center self-center justify-center flex searchResult_fd1_2_c1_c0' :key="key0"
|
|
@tap="$refs.showSelectPopup1682394411820.tapHandle(key0)">
|
|
<text class='searchResult_fd1_2_c1_c0_c0'>{{item.name}}</text>
|
|
</view>
|
|
<view v-else class='flex align-center justify-center flex searchResult_fd1_2_c1_c1' :key="key0"
|
|
@tap="$refs.showSelectPopup1682394411820.tapHandle(key0)">
|
|
<text class='searchResult_fd1_2_c1_c1_c0'>{{item.name}}</text>
|
|
</view>
|
|
</template>
|
|
</benben-select-diy>
|
|
</view>
|
|
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
|
|
<view class='flex flex-wrap align-center justify-between searchResult_fd1_3_c0'>
|
|
<input class='searchResult_fd1_3_c0_c0' type="text" placeholder="0" confirm-type="done" :maxlength="3"
|
|
placeholder-style="color:rgba(153, 153, 153, 1);font-size:24rpx" v-model="fd1_3_c0_c0" />
|
|
<input class='searchResult_fd1_3_c0_c1' type="text" placeholder="9999" confirm-type="done" :maxlength="3"
|
|
placeholder-style="color:rgba(153, 153, 153, 1);font-size:24rpx" v-model="fd1_3_c0_c1" />
|
|
</view>
|
|
<view class='flex flex-wrap align-center justify-center searchResult_fd1_3_c1'>
|
|
<button class='searchResult_fd1_3_c1_c0' @tap.stop="popupShow1681807536208=false">重置</button>
|
|
<button class='searchResult_fd1_3_c1_c1' @tap.stop="popupShow1681807536208=false">确认</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!---筛选弹窗flex布局结束-->
|
|
|
|
</benben-popup>
|
|
<!---flex布局flex布局开始-->
|
|
<fu-loading v-if="isShowLoading"></fu-loading>
|
|
<fu-empty-ui v-if="list.length === 0 && isInit"></fu-empty-ui>
|
|
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout searchResult_flex_2"
|
|
@tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/`">
|
|
<view class='flex flex-wrap align-start searchResult_fd2_0' v-for="(item, index) in list" :key="index" @tap.stop="handleJumpDiy" data-type="navigateTo"
|
|
:data-url="`/pages/dpxq/storeDetails/storeDetails?id=${item.aid}`">
|
|
<view class='flex flex-direction flex-wrap align-start'>
|
|
<view class='flex flex-wrap align-center justify-center searchResult_fd2_0_c0_c0'>
|
|
<text class='searchResult_fd2_0_c0_c0_c0'>积分</text>
|
|
<text class='searchResult_fd2_0_c0_c0_c1'>{{item.score_rate}}</text>
|
|
<text class='searchResult_fd2_0_c0_c0_c2'>%</text>
|
|
</view>
|
|
<view class='flex flex-wrap align-center'>
|
|
<image class='searchResult_fd2_0_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
|
|
</view>
|
|
</view>
|
|
<view class='flex flex-direction flex-wrap align-stretch flex-sub searchResult_fd2_0_c1'>
|
|
<view class='flex flex-direction flex-wrap align-start'>
|
|
<view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c0_c0_c0'>{{item.store_name}}</text>
|
|
</view>
|
|
</view>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c1'>
|
|
<text class='storeDetails_fd2_0_c1_c1_c1' style="margin: 0 20rpx 0 0; color: #FF9D00;font-size: 26rpx;" v-if="item.store_type">{{item.store_type}}</text>
|
|
<image class='searchResult_fd2_0_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
|
|
<text class='searchResult_fd2_0_c1_c1_c1'>{{item.score}}</text>
|
|
<text class='searchResult_fd2_0_c1_c1_c2'>分</text>
|
|
</view>
|
|
<view class='flex flex-wrap align-center justify-between searchResult_fd2_0_c1_c2'>
|
|
<view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c2_c0_c0'>关注人数</text>
|
|
<text class='searchResult_fd2_0_c1_c2_c0_c1'>{{item.collect_num}}</text>
|
|
</view>
|
|
<!-- <view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c2_c1_c0'>人均¥</text>
|
|
<text class='searchResult_fd2_0_c1_c2_c1_c1'>{{item.per_capita}}</text>
|
|
</view> -->
|
|
</view>
|
|
<view class='flex flex-wrap align-center justify-between searchResult_fd2_0_c1_c3'>
|
|
<view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c3_c0_c0'>起送¥</text>
|
|
<text class='searchResult_fd2_0_c1_c3_c0_c1'>{{item.start_price}} </text>
|
|
</view>
|
|
<view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c3_c1_c0'>约</text>
|
|
<text class='searchResult_fd2_0_c1_c3_c1_c1'>{{item.minute}}</text>
|
|
<text class='searchResult_fd2_0_c1_c3_c1_c2'>分钟</text>
|
|
<text class='searchResult_fd2_0_c1_c3_c1_c3'>{{item.distance}}</text>
|
|
<text class='searchResult_fd2_0_c1_c3_c1_c4'>km</text>
|
|
</view>
|
|
</view>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c4' v-if="item.goods && item.goods.length">
|
|
|
|
<scroll-view class='searchResult_fd2_0_c1_c4_c0' :scroll-x='true' :scroll-y='true' :show-scrollbar='true'>
|
|
<view class='benben-scroll-x'>
|
|
<view class='flex benben-scroll flex align-center'>
|
|
<view class='flex flex-direction flex-wrap align-start searchResult_fd2_0_c1_c4_c0_c0' v-for="(goods, inx) in item.goods" :key="inx">
|
|
<image class='searchResult_fd2_0_c1_c4_c0_c0_c0' mode="aspectFill" :src='goods.thumb'>
|
|
</image>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c0_c1 text-cut-2'>{{goods.name}}</text>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c4_c0_c0_c2'>
|
|
<view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c0_c2_c0_c0'>¥</text>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c0_c2_c0_c1'>{{goods.shop_price - 0}}</text>
|
|
</view>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c4_c0_c0_c2_c1'>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c0_c2_c1_c0'>¥</text>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c0_c2_c1_c1'>{{goods.market_price - 0}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class='flex flex-direction flex-wrap align-start searchResult_fd2_0_c1_c4_c0_c1'>
|
|
<image class='searchResult_fd2_0_c1_c4_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"22.png"'>
|
|
</image>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c1_c1'>皮蛋瘦肉粥</text>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c4_c0_c1_c2'>
|
|
<view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c1_c2_c0_c0'>¥</text>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c1_c2_c0_c1'>9.9</text>
|
|
</view>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c4_c0_c1_c2_c1'>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c1_c2_c1_c0'>¥</text>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c1_c2_c1_c1'>18.5</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class='flex flex-direction flex-wrap align-start searchResult_fd2_0_c1_c4_c0_c2'>
|
|
<image class='searchResult_fd2_0_c1_c4_c0_c2_c0' mode="aspectFit" :src='STATIC_URL+"22.png"'>
|
|
</image>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c2_c1'>皮蛋瘦肉粥</text>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c4_c0_c2_c2'>
|
|
<view class='flex flex-wrap align-center'>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c2_c2_c0_c0'>¥</text>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c2_c2_c0_c1'>9.9</text>
|
|
</view>
|
|
<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c4_c0_c2_c2_c1'>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c2_c2_c1_c0'>¥</text>
|
|
<text class='searchResult_fd2_0_c1_c4_c0_c2_c2_c1_c1'>18.5</text>
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<uni-load-more v-if="list.length !=0 " :status="status"></uni-load-more>
|
|
<!---flex布局flex布局结束-->
|
|
|
|
|
|
</view>
|
|
</template>
|
|
<script>
|
|
import amap from '@/common/amap-wx.js';
|
|
import {
|
|
validate
|
|
} from '@/common/utils/validate.js'
|
|
export default {
|
|
components: {},
|
|
|
|
|
|
data() {
|
|
return {
|
|
"fd1_3_c0_c0": "",
|
|
"fd1_3_c0_c1": "",
|
|
"popupShow1681807536208": false,
|
|
"tabsInfofd0_1": {
|
|
lineleft: '',
|
|
lineWidth: '',
|
|
moveX: 0,
|
|
scrollX: 0,
|
|
PageScrollX: 0
|
|
},
|
|
"type": "0",
|
|
"stor": "",
|
|
"shopType": "1",
|
|
"horizontalType": "1",
|
|
"brand_id": "1",
|
|
"brand_type": [{
|
|
"name": "钙尔奇",
|
|
"value": "1",
|
|
"image": ""
|
|
}, {
|
|
"name": "汤臣倍健",
|
|
"value": "2",
|
|
"image": ""
|
|
}, {
|
|
"name": "哈药",
|
|
"value": "3",
|
|
"image": ""
|
|
}],
|
|
"price_id": "1",
|
|
"price_type": [{
|
|
"name": "0-90元",
|
|
"value": "1",
|
|
"image": ""
|
|
}, {
|
|
"name": "100-199元",
|
|
"value": "2",
|
|
"image": ""
|
|
}, {
|
|
"name": "200-299元",
|
|
"value": "3",
|
|
"image": ""
|
|
}],
|
|
"tabls": "1",
|
|
sort: 'desc',
|
|
"data": [],
|
|
"keyword": "",
|
|
lat: '',
|
|
lng: '',
|
|
list: [],
|
|
isShowLoading: false,
|
|
isInit: false,
|
|
status: 'more', // 表示是否有数据可以请求
|
|
page: 1,
|
|
amapPlugin: null, //new地图
|
|
key: '886bfe2d6c32bd8eac97c2e6d821ed0b'
|
|
};
|
|
},
|
|
computed: {
|
|
themeColor() {
|
|
return this.$store.getters.themeColor
|
|
},
|
|
|
|
},
|
|
watch: {},
|
|
onLoad(options) {
|
|
this.keyword = options.keyword || '';
|
|
this.amapPlugin = new amap.AMapWX({
|
|
key: this.key
|
|
});
|
|
},
|
|
onUnload() {
|
|
|
|
},
|
|
onReady() {
|
|
|
|
},
|
|
onShow() {
|
|
if (global.lat && global.lng) {
|
|
this.lat = global.lat
|
|
this.lng = global.lng
|
|
this.status = 'more';
|
|
this.page = 1;
|
|
this.isInit = false;
|
|
this.list = [];
|
|
this.getRecommendList(true);
|
|
} else {
|
|
this._getLocation()
|
|
}
|
|
// // #ifdef APP-PLUS
|
|
// this._getPermission()
|
|
// // #endif
|
|
|
|
// // #ifndef APP-PLUS
|
|
// this._getLocation()
|
|
// // #endif
|
|
},
|
|
onHide() {
|
|
|
|
},
|
|
onResize() {
|
|
|
|
},
|
|
onPullDownRefresh() {
|
|
if (global.lat && global.lng) {
|
|
this.lat = global.lat
|
|
this.lng = global.lng
|
|
this.status = 'more';
|
|
this.page = 1;
|
|
this.isInit = false;
|
|
this.list = [];
|
|
this.getRecommendList(true);
|
|
} else {
|
|
this._getLocation()
|
|
}
|
|
|
|
// this.$refs.guess && this.$refs.guess.refresh();
|
|
setTimeout(() => {
|
|
uni.stopPullDownRefresh();
|
|
}, 1000);
|
|
},
|
|
onReachBottom(e) {
|
|
this.getRecommendList();
|
|
},
|
|
onPageScroll(e) {
|
|
|
|
},
|
|
methods: {
|
|
handleChangeTabs(type) {
|
|
|
|
if (type == 1) {
|
|
this.sort = 'desc'
|
|
}
|
|
if (type == 2) {
|
|
if (this.tabls == 2) {
|
|
this.sort = this.sort == 'asc' ? 'desc' : 'asc'
|
|
} else {
|
|
this.sort = 'desc'
|
|
}
|
|
}
|
|
if (type == 3) {
|
|
if (this.tabls == 3) {
|
|
this.sort = this.sort == 'asc' ? 'desc' : 'asc'
|
|
} else {
|
|
this.sort = 'desc'
|
|
}
|
|
}
|
|
this.tabls = type;
|
|
if (global.lat && global.lng) {
|
|
this.lat = global.lat
|
|
this.lng = global.lng
|
|
this.status = 'more';
|
|
this.page = 1;
|
|
this.isInit = false;
|
|
this.list = [];
|
|
this.getRecommendList(true);
|
|
} else {
|
|
this._getLocation()
|
|
}
|
|
},
|
|
/**
|
|
* 获取附近商家列表
|
|
* @param {Object} value
|
|
*/
|
|
getRecommendList(value) {
|
|
if (this.status != 'more') return;
|
|
this.status = 'loading';
|
|
let data = {
|
|
store_name: this.keyword,
|
|
list_rows: 20,
|
|
page: this.page,
|
|
lat: this.lat,
|
|
lng: this.lng,
|
|
is_recommend: 0,
|
|
sort_field: this.tabls == 1 ? 'aid' : this.tabls == 2 ? 'distance' : 'collect_num',
|
|
sort_type: this.sort
|
|
};
|
|
// console.log('请求的数据', data);
|
|
if (this.page == 1 && value) {
|
|
this.isShowLoading = true;
|
|
}
|
|
this.$api
|
|
.post(global.apiUrls.getShopList, data)
|
|
.then(res => {
|
|
console.log('订单列表', res);
|
|
this.isShowLoading = false;
|
|
if (res.data.code == 1) {
|
|
var curPageData = res.data.data.data;
|
|
if (this.page == 1) this.list = [];
|
|
this.list = this.list.concat(curPageData);
|
|
console.log('上拉加载', curPageData.length, this.size);
|
|
if (res.data.data.last_page > this.page) {
|
|
this.status = 'more';
|
|
this.page++;
|
|
} else {
|
|
this.status = 'noMore';
|
|
}
|
|
} else {
|
|
this.$message.info(res.data.msg);
|
|
}
|
|
this.isInit = true;
|
|
uni.stopPullDownRefresh();
|
|
})
|
|
.catch(err => {
|
|
this.isShowLoading = false;
|
|
uni.stopPullDownRefresh();
|
|
});
|
|
},
|
|
|
|
_getPermission() {
|
|
uni.getSystemInfo({
|
|
success: (res) => {
|
|
if (res.platform == 'android') {
|
|
let isLocation = uni.getStorageSync('LVTAI_USER_LOCATION') || false;
|
|
if (!isLocation) {
|
|
uni.showModal({
|
|
title: '温馨提示',
|
|
content: '我们需要获取您的定位权限以提供对应的服务',
|
|
// showCancel: false,
|
|
confirmText: '去获取',
|
|
success: res => {
|
|
if (res.confirm) {
|
|
this._getLocation();
|
|
} else if (res.cancel) {
|
|
console.log('用户点击取消');
|
|
}
|
|
}
|
|
});
|
|
} else {
|
|
this._getLocation();
|
|
}
|
|
} else {
|
|
this._getLocation();
|
|
}
|
|
}
|
|
});
|
|
},
|
|
|
|
// vue的method里编写如下代码
|
|
async requestAndroidPermission(permisionID) {
|
|
var permisionStatus = await permision.requestAndroidPermission(permisionID);
|
|
console.log(permisionStatus);
|
|
return permisionStatus;
|
|
},
|
|
|
|
_getLocation() {
|
|
// #ifdef H5
|
|
this.lat = '34.738695';
|
|
this.lng = '113.64328';
|
|
this.status = 'more';
|
|
this.page = 1;
|
|
this.isInit = false;
|
|
this.list = [];
|
|
this.address = '华城国际中心'
|
|
this.getRecommendList(true);
|
|
// #endif
|
|
// #ifdef APP-PLUS
|
|
this.amapPlugin.getRegeo({
|
|
success: res => {
|
|
console.log(res[0]);
|
|
uni.setStorageSync('LVTAI_USER_LOCATION', true);
|
|
this.address = res[0].regeocodeData.addressComponent.city;
|
|
this.lat = res[0].latitude;
|
|
this.lng = res[0].longitude;
|
|
this.status = 'more';
|
|
this.page = 1;
|
|
this.isInit = false;
|
|
this.list = [];
|
|
this.getRecommendList(true);
|
|
},
|
|
fail: err => {
|
|
|
|
}
|
|
});
|
|
// #endif
|
|
|
|
},
|
|
|
|
//切换列表排序
|
|
switchTypeFunc(type) {
|
|
this.type = type;
|
|
if (this.stor == 'desc') {
|
|
this.stor = 'asc';
|
|
if (this.shopType == '1') {
|
|
return
|
|
}
|
|
if (this.shopType == '2') {
|
|
return
|
|
}
|
|
}
|
|
if (this.stor == 'asc') {
|
|
this.stor = 'desc';
|
|
if (this.shopType == '1') {
|
|
return
|
|
}
|
|
if (this.shopType == '2') {
|
|
return
|
|
}
|
|
}
|
|
if (this.stor == '') {
|
|
this.stor = 'desc';
|
|
if (this.shopType == '1') {
|
|
return
|
|
}
|
|
if (this.shopType == '2') {
|
|
return
|
|
}
|
|
}
|
|
},
|
|
//切换店铺
|
|
switchShopFunc() {
|
|
if (this.shopType == '1') {
|
|
this.shopType = '2';
|
|
return
|
|
}
|
|
if (this.shopType == '2') {
|
|
this.shopType = '1';
|
|
return
|
|
}
|
|
},
|
|
handleSearch() {
|
|
if (global.lat && global.lng) {
|
|
this.lat = global.lat
|
|
this.lng = global.lng
|
|
this.status = 'more';
|
|
this.page = 1;
|
|
this.isInit = false;
|
|
this.list = [];
|
|
this.getRecommendList(true);
|
|
} else {
|
|
this._getLocation()
|
|
}
|
|
},
|
|
//清空搜索框
|
|
clearSearchFunc() {
|
|
if (this.keyword != '') {
|
|
this.keyword = '';
|
|
}
|
|
if (global.lat && global.lng) {
|
|
this.lat = global.lat
|
|
this.lng = global.lng
|
|
this.status = 'more';
|
|
this.page = 1;
|
|
this.isInit = false;
|
|
this.list = [];
|
|
this.getRecommendList(true);
|
|
} else {
|
|
this._getLocation()
|
|
}
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.page {
|
|
width: 100vw;
|
|
overflow-x: hidden;
|
|
min-height: calc(100vh - var(--window-bottom));
|
|
background: rgba(246, 247, 249, 1);
|
|
background-size: 100% auto !important;
|
|
}
|
|
|
|
.searchResult_flex_0 {
|
|
background: #fff;
|
|
width: 750rpx;
|
|
height: 177rpx;
|
|
overflow: hidden;
|
|
z-index: 10;
|
|
top: 0rpx;
|
|
background-size: 100% auto !important;
|
|
}
|
|
|
|
.searchResult_titleItemfd0_1_c5_c1_c1 {
|
|
width: 16rpx;
|
|
height: 9rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
margin: 8rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_titleItemfd0_1_c5_c1_c0 {
|
|
width: 16rpx;
|
|
height: 9rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_titleItemfd0_1_c5_c1 {
|
|
margin: 0rpx 0rpx 0rpx 12rpx;
|
|
}
|
|
|
|
.searchResult_titleItemfd0_1_c4_c1_c1 {
|
|
width: 16rpx;
|
|
height: 9rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
margin: 8rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_titleItemfd0_1_c4_c1_c0 {
|
|
width: 16rpx;
|
|
height: 9rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
margin: 0rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_titleItemfd0_1_c4_c1 {
|
|
margin: 0rpx 0rpx 0rpx 12rpx;
|
|
}
|
|
|
|
.searchResult_titleItemfd0_1_c3_c1 {
|
|
width: 16rpx;
|
|
height: 9rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
margin: 0rpx 0rpx 0rpx 12rpx;
|
|
}
|
|
|
|
.checkTitlefd0_1 {
|
|
font-weight: 700 !important;
|
|
font-size: 32rpx !important;
|
|
color: rgba(51, 51, 51, 1) !important;
|
|
background-color: rgba(255, 255, 255, 1) !important;
|
|
}
|
|
|
|
::v-deep .searchResult_benbenTabsfd0_1 {
|
|
background: #fff;
|
|
width: 750rpx;
|
|
height: 90rpx;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
font-size: 32rpx;
|
|
font-weight: 400;
|
|
color: rgba(51, 51, 51, 1);
|
|
}
|
|
|
|
.searchResult_fd0_0_c2_c0 {
|
|
color: #333333;
|
|
font-size: 32rpx;
|
|
font-weight: 400;
|
|
line-height: 32rpx;
|
|
}
|
|
|
|
.searchResult_fd0_0_c2 {
|
|
margin: 0rpx 0rpx 0rpx 24rpx;
|
|
}
|
|
|
|
.searchResult_fd0_0_c1_c2 {
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd0_0_c1_c1 {
|
|
font-size: 28rpx;
|
|
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;
|
|
border-radius: 34rpx 34rpx 34rpx 34rpx;
|
|
padding: 0rpx 24rpx 0rpx 24rpx;
|
|
margin: 0rpx 0rpx 0rpx 24rpx;
|
|
}
|
|
|
|
.searchResult_fd0_0_c0_c0 {
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.searchResult_fd0_0 {
|
|
padding: 12rpx 24rpx 12rpx 24rpx;
|
|
}
|
|
|
|
.searchResult_flex_1 {
|
|
background: #fff;
|
|
width: 566rpx;
|
|
background-size: 100% auto !important;
|
|
position: relative;
|
|
}
|
|
|
|
.searchResult_fd1_3_c1_c1 {
|
|
background: var(--benbenbgColor0);
|
|
border-radius: 0rpx 36rpx 36rpx 0rpx;
|
|
font-size: 32rpx;
|
|
color: var(--benbenFontColor3);
|
|
width: 246rpx;
|
|
height: 72rpx;
|
|
line-height: 72rpx;
|
|
margin: 0rpx 0rpx 0rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd1_3_c1_c0 {
|
|
background: #333;
|
|
border-radius: 36rpx 0rpx 0rpx 36rpx;
|
|
font-size: 32rpx;
|
|
color: var(--benbenFontColor3);
|
|
width: 246rpx;
|
|
height: 72rpx;
|
|
line-height: 72rpx;
|
|
}
|
|
|
|
.searchResult_fd1_3_c1 {
|
|
padding: 24rpx 23rpx 24rpx 23rpx;
|
|
position: absolute;
|
|
top: 1200rpx;
|
|
}
|
|
|
|
.searchResult_fd1_3_c0_c1 {
|
|
border: 1px solid #999999;
|
|
width: 230rpx;
|
|
height: 72rpx;
|
|
border-radius: 40rpx 40rpx 40rpx 40rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.searchResult_fd1_3_c0_c0 {
|
|
border: 1px solid #999999;
|
|
width: 230rpx;
|
|
height: 72rpx;
|
|
border-radius: 40rpx 40rpx 40rpx 40rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.searchResult_fd1_3_c0 {
|
|
padding: 0rpx 17rpx 0rpx 17rpx;
|
|
}
|
|
|
|
.searchResult_fd1_2_c1_c1_c0 {
|
|
line-height: 33rpx;
|
|
font-size: 24rpx;
|
|
font-weight: 500;
|
|
color: #333333;
|
|
}
|
|
|
|
.searchResult_fd1_2_c1_c1 {
|
|
background: #F8F8F8;
|
|
width: 160rpx;
|
|
height: 80rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
margin: 0rpx 8rpx 16rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd1_2_c1_c0_c0 {
|
|
line-height: 33rpx;
|
|
font-size: 24rpx;
|
|
font-weight: 500;
|
|
color: var(--benbenFontColor5);
|
|
}
|
|
|
|
.searchResult_fd1_2_c1_c0 {
|
|
border: 1px solid var(--benbenbdColor5);
|
|
background: var(--benbenbgColor1);
|
|
width: 160rpx;
|
|
height: 80rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
background-size: 100% auto !important;
|
|
margin: 0rpx 8rpx 16rpx 8rpx;
|
|
}
|
|
|
|
::v-deep .searchResult_fd1_2_c1 {
|
|
margin: 0rpx 16rpx 28rpx 16rpx;
|
|
}
|
|
|
|
.searchResult_fd1_2_c0_c1 {
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd1_2_c0_c0 {
|
|
line-height: 45rpx;
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: #333333;
|
|
}
|
|
|
|
.searchResult_fd1_2_c0 {
|
|
margin: 0rpx 24rpx 17rpx 32rpx;
|
|
}
|
|
|
|
.searchResult_fd1_1_c1_c1_c0 {
|
|
line-height: 33rpx;
|
|
font-size: 24rpx;
|
|
font-weight: 500;
|
|
color: #333333;
|
|
}
|
|
|
|
.searchResult_fd1_1_c1_c1 {
|
|
background: #F8F8F8;
|
|
width: 160rpx;
|
|
height: 80rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
margin: 0rpx 8rpx 16rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd1_1_c1_c0_c0 {
|
|
line-height: 33rpx;
|
|
font-size: 24rpx;
|
|
font-weight: 500;
|
|
color: var(--benbenFontColor5);
|
|
}
|
|
|
|
.searchResult_fd1_1_c1_c0 {
|
|
border: 1px solid var(--benbenbdColor5);
|
|
background: var(--benbenbgColor1);
|
|
width: 160rpx;
|
|
height: 80rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
background-size: 100% auto !important;
|
|
margin: 0rpx 8rpx 16rpx 8rpx;
|
|
}
|
|
|
|
::v-deep .searchResult_fd1_1_c1 {
|
|
margin: 0rpx 16rpx 28rpx 16rpx;
|
|
}
|
|
|
|
.searchResult_fd1_1_c0_c1 {
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd1_1_c0_c0 {
|
|
line-height: 45rpx;
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: #333333;
|
|
}
|
|
|
|
.searchResult_fd1_1_c0 {
|
|
margin: 0rpx 24rpx 17rpx 32rpx;
|
|
}
|
|
|
|
.searchResult_fd1_0_c0 {
|
|
line-height: 50rpx;
|
|
font-size: 36rpx;
|
|
font-weight: 400;
|
|
color: #333333;
|
|
margin: 0rpx 0rpx 0rpx 32rpx;
|
|
}
|
|
|
|
.searchResult_fd1_0 {
|
|
background: #fff;
|
|
margin: 0rpx 0rpx 35rpx 0rpx;
|
|
height: 86rpx;
|
|
background-size: 100% auto !important;
|
|
}
|
|
|
|
.searchResult_flex_2 {
|
|
padding: 24rpx 24rpx 0rpx 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3_c1_c4 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3_c1_c3 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3_c1_c2 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3_c1_c1 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3_c1_c0 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3_c0_c1 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3_c0_c0 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c3 {
|
|
margin: 18rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c2_c1_c1 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c2_c1_c0 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c2_c0_c1 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c2_c0_c0 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c2 {
|
|
margin: 18rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c1_c2 {
|
|
color: #FF9D00;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
line-height: 30rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c1_c1 {
|
|
color: #FF9D00;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
line-height: 30rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c1_c0 {
|
|
width: 20rpx;
|
|
height: 19rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
margin: 0rpx 8rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c1 {
|
|
margin: 18rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1_c0_c0_c0 {
|
|
color: #333333;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
line-height: 32rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c1 {
|
|
margin: 0rpx 0rpx 0rpx 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c0_c1_c0 {
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c0_c0_c2 {
|
|
color: #FFFFFF;
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
line-height: 36rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c0_c0_c1 {
|
|
color: #FFFFFF;
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
line-height: 36rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c0_c0_c0 {
|
|
color: #FFFFFF;
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
line-height: 36rpx;
|
|
}
|
|
|
|
.searchResult_fd2_1_c0_c0 {
|
|
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/23.png) no-repeat, rgba(255, 162, 31, 1);
|
|
width: 128rpx;
|
|
height: 36rpx;
|
|
background-size: 100% auto !important;
|
|
border-radius: 16rpx 0rpx 24rpx 0rpx;
|
|
position: absolute;
|
|
z-index: 10;
|
|
}
|
|
|
|
.searchResult_fd2_1 {
|
|
background: rgba(255, 255, 255, 1);
|
|
margin: 0rpx 0rpx 24rpx 0rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
background-size: 100% auto !important;
|
|
padding: 24rpx 24rpx 24rpx 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c2_c1_c1 {
|
|
color: #999999;
|
|
font-size: 17rpx;
|
|
font-weight: 400;
|
|
line-height: 17rpx;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c2_c1_c0 {
|
|
color: #999999;
|
|
font-size: 17rpx;
|
|
font-weight: 400;
|
|
line-height: 17rpx;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c2_c1 {
|
|
margin: 0rpx 0rpx 0rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c2_c0_c1 {
|
|
color: #E32121;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
line-height: 22rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c2_c0_c0 {
|
|
color: #E32121;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
line-height: 22rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c2 {
|
|
margin: 12rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c1 {
|
|
color: #333333;
|
|
font-size: 18rpx;
|
|
font-weight: 500;
|
|
line-height: 30rpx;
|
|
margin: 12rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2_c0 {
|
|
width: 144rpx;
|
|
height: 144rpx;
|
|
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c2 {
|
|
margin: 0rpx 24rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c2_c1_c1 {
|
|
color: #999999;
|
|
font-size: 17rpx;
|
|
font-weight: 400;
|
|
line-height: 17rpx;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c2_c1_c0 {
|
|
color: #999999;
|
|
font-size: 17rpx;
|
|
font-weight: 400;
|
|
line-height: 17rpx;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c2_c1 {
|
|
margin: 0rpx 0rpx 0rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c2_c0_c1 {
|
|
color: #E32121;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
line-height: 22rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c2_c0_c0 {
|
|
color: #E32121;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
line-height: 22rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c2 {
|
|
margin: 12rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c1 {
|
|
color: #333333;
|
|
font-size: 18rpx;
|
|
font-weight: 500;
|
|
line-height: 30rpx;
|
|
margin: 12rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1_c0 {
|
|
width: 144rpx;
|
|
height: 144rpx;
|
|
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c1 {
|
|
margin: 0rpx 24rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c2_c1_c1 {
|
|
color: #999999;
|
|
font-size: 17rpx;
|
|
font-weight: 400;
|
|
line-height: 17rpx;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c2_c1_c0 {
|
|
color: #999999;
|
|
font-size: 17rpx;
|
|
font-weight: 400;
|
|
line-height: 17rpx;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c2_c1 {
|
|
margin: 0rpx 0rpx 0rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c2_c0_c1 {
|
|
color: #E32121;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
line-height: 22rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c2_c0_c0 {
|
|
color: #E32121;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
line-height: 22rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c2 {
|
|
margin: 12rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c1 {
|
|
width: 144rpx;
|
|
color: #333333;
|
|
font-size: 18rpx;
|
|
font-weight: 500;
|
|
line-height: 30rpx;
|
|
margin: 12rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0_c0 {
|
|
width: 144rpx;
|
|
height: 144rpx;
|
|
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0_c0 {
|
|
margin: 0rpx 24rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4_c0 {
|
|
touch-action: none;
|
|
width: 430rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c4 {
|
|
margin: 34rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3_c1_c4 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3_c1_c3 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3_c1_c2 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3_c1_c1 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3_c1_c0 {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3_c0_c1 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3_c0_c0 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c3 {
|
|
margin: 18rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c2_c1_c1 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c2_c1_c0 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c2_c0_c1 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c2_c0_c0 {
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c2 {
|
|
margin: 18rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c1_c2 {
|
|
color: #FF9D00;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
line-height: 30rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c1_c1 {
|
|
color: #FF9D00;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
line-height: 30rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c1_c0 {
|
|
width: 20rpx;
|
|
height: 19rpx;
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
margin: 0rpx 8rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c1 {
|
|
margin: 18rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1_c0_c0_c0 {
|
|
color: #333333;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
line-height: 32rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c1 {
|
|
margin: 0rpx 0rpx 0rpx 24rpx;
|
|
padding: 10rpx 0rpx 0rpx 0rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c0_c1_c0 {
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c0_c0_c2 {
|
|
color: #FFFFFF;
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
line-height: 36rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c0_c0_c1 {
|
|
color: #FFFFFF;
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
line-height: 36rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c0_c0_c0 {
|
|
color: #FFFFFF;
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
line-height: 36rpx;
|
|
}
|
|
|
|
.searchResult_fd2_0_c0_c0 {
|
|
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/23.png) no-repeat, rgba(255, 162, 31, 1);
|
|
width: 128rpx;
|
|
height: 36rpx;
|
|
background-size: 100% auto !important;
|
|
border-radius: 16rpx 0rpx 24rpx 0rpx;
|
|
position: absolute;
|
|
z-index: 9;
|
|
}
|
|
|
|
.searchResult_fd2_0 {
|
|
background: rgba(255, 255, 255, 1);
|
|
margin: 0rpx 0rpx 24rpx 0rpx;
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
background-size: 100% auto !important;
|
|
padding: 24rpx 24rpx 24rpx 24rpx;
|
|
}
|
|
</style>
|