修改页面文件样式

This commit is contained in:
wangxiaowei
2025-06-09 17:48:23 +08:00
parent 47d06ae355
commit b5cf31aeaa
13 changed files with 5289 additions and 4972 deletions

View File

@ -1,7 +1,7 @@
export const dev_host = 'https://app.wanjiashangchao.com'; // 开发环境域名
// export const dev_host = 'https://ltstore.stnav.com'; // 开发环境域名
// export const mock_host = 'https://ltstore.stnav.com'; // MOCK环境域名
export const mock_host = 'http://mock.zhongbenruanjian.com'; // MOCK环境域名
// export const dev_host = 'https://app.wanjiashangchao.com'; // 开发环境域名
export const dev_host = 'https://ltstore.stnav.com'; // 开发环境域名
export const mock_host = 'https://ltstore.stnav.com'; // MOCK环境域名
// export const mock_host = 'http://mock.zhongbenruanjian.com'; // MOCK环境域名
export const product_host = 'http://zbphp.zhongbenzx.com'; // 生产环境域名
export const WEBSOCKET = 'wss://zbphp.zhongbenzx.com/socket/';
export const PAAS_URL = 'https://yufabu.saizhuge.net'; // paas域名

View File

@ -35,7 +35,7 @@
</view>
<view class="cate-box">
<view class="cate-box-item" v-for="(ele, j) in item.son_list" :key="j" @tap.stop="handlerClassify(ele, item)">
<image style="width: 146rpx; height: 146rpx" :src="ele.thumb" mode="aspectFill" />
<image style="width: 80rpx; height: 80rpx" :src="ele.thumb" mode="aspectFill" />
<text class="text-333 text-sm goods_title">{{ ele.title }}</text>
</view>
</view>

View File

@ -80,8 +80,8 @@ export default {
}
.image {
width: 300rpx;
height: 300rpx;
width: 328rpx;
height: 260rpx;
}
.permission {

View File

@ -3,16 +3,18 @@
<view class="flex align-stretch benben-position-layout flex myFotprint_flex_0"
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
<view class='flex align-center justify-between flex-sub myFotprint_fd0_0'>
<view class='flex align-center myFotprint_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
<view class='flex align-center myFotprint_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
data-url="1">
<text class='fu-iconfont2 myFotprint_fd0_0_c0_c0'>&#xE794;</text>
</view>
<view class='flex align-center'>
<text class='myFotprint_fd0_0_c1_c0'>我的收藏</text>
</view>
<!-- #ifndef MP-WEIXIN -->
<view class='flex align-center justify-end myFotprint_fd0_0_c2' v-if="list.length" @tap.stop="switchTypeFunc()">
<text class='myFotprint_fd0_0_c2_c0' v-if="type=='1'">编辑</text><text class='myFotprint_fd0_0_c2_c0_1'
v-if="type=='2'">完成</text>
<view class='flex align-center justify-end myFotprint_fd0_0_c2' v-if="list.length"
@tap.stop="switchTypeFunc()">
<text class='myFotprint_fd0_0_c2_c0' v-if="type=='1'">编辑</text><text
class='myFotprint_fd0_0_c2_c0_1' v-if="type=='2'">完成</text>
</view>
<view class="myFotprint_fd0_0_c2" v-else></view>
<!-- #endif -->
@ -36,31 +38,35 @@
<fu-loading v-if="isShowLoading"></fu-loading>
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout myFotprint_flex_1" v-if="type=='1'">
<view class='flex flex-wrap align-center myFotprint_fd1_0' @tap.stop="handleJumpDiy" data-type="navigateTo"
:data-url="`/pages/dpxq/storeDetails/storeDetails?id=${item.store_id}`" v-for="(item, index) in list" :key="index">
:data-url="`/pages/dpxq/storeDetails/storeDetails?id=${item.store_id}`" v-for="(item, index) in list"
:key="index" style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<image class='myFotprint_fd1_0_c0' mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
<text class='myFotprint_fd1_0_c1_c0'>{{item.store_name}}</text>
<view class='flex flex-wrap align-center myFotprint_fd1_0_c1_c1'>
<text style="margin: 0 20rpx 0 0; color: #FF9D00;font-size: 26rpx;" v-if="item.store_type">{{item.store_type}}</text>
<text style="margin-right: 20rpx;color:#E5E5E5">|</text>
<image class='myFotprint_fd1_0_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd1_0_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd1_0_c1_c1_c2'>分</text>
<text class='myFotprint_fd1_0_c1_c1_c3'>月售</text>
<text class='myFotprint_fd1_0_c1_c1_c4'>{{item.sales_num_month}}</text>
</view>
<view class='flex flex-wrap align-center justify-between'>
<view class='flex flex-wrap align-center focus-num'>
<view>关注人数</view>
<view>{{item.collect_num}}</view>
</view>
</view>
<view class='flex flex-wrap align-center'>
<text class='myFotprint_fd1_0_c1_c2_c0'>起送</text>
<text class='myFotprint_fd1_0_c1_c2_c1'>¥</text>
<text class='myFotprint_fd1_0_c1_c2_c2'>{{item.start_price}}</text>
<text class='myFotprint_fd1_0_c1_c2_c0 text-333'>起送¥</text>
<text class='myFotprint_fd1_0_c1_c2_c2 text-333'>{{item.start_price}}</text>
<text class='myFotprint_fd1_0_c1_c2_c3'>{{item.minute}}</text>
<text class='myFotprint_fd1_0_c1_c2_c4'>分钟</text>
<text class='myFotprint_fd1_0_c1_c2_c5'>{{item.distance}}</text>
<text class='myFotprint_fd1_0_c1_c2_c6'>km</text>
</view>
<!-- <view class='flex flex-wrap align-center justify-center myFotprint_fd1_0_c1_c3'>
<text class='myFotprint_fd1_0_c1_c3_c0'>返利</text>
<text class='myFotprint_fd1_0_c1_c3_c1'>20</text>
<text class='myFotprint_fd1_0_c1_c3_c2'>%</text>
</view> -->
</view>
</view>
@ -86,21 +92,30 @@
<view v-if="item.isSelected" class='flex align-center flex myFotprint_fd2_0_c0' :key="key0"
@tap="$refs.showSelectPopup1661497105968.tapHandle(key0)">
<image class='myFotprint_fd2_0_c0_c0' mode="aspectFill" :src='STATIC_URL+"33.png"'></image>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c0_c1'>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c0_c1' style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<image class='myFotprint_fd2_0_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
<text class='myFotprint_fd2_0_c0_c1_c1_c0'>{{item.store_name}}</text>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c0_c1_c1_c1'>
<image class='myFotprint_fd2_0_c0_c1_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
<text style="margin: 0 20rpx 0 0; color: #FF9D00;font-size: 26rpx;" v-if="item.store_type">{{item.store_type}}</text>
<text style="margin-right: 20rpx;color:#E5E5E5">|</text>
<image class='myFotprint_fd2_0_c0_c1_c1_c1_c0' mode="aspectFit"
:src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c2'></text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c3'>月售</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c4'>{{item.sales_num_month}}</text>
</view>
<view class='flex flex-wrap align-center justify-between'>
<view class='flex flex-wrap align-center focus-num'>
<view>关注人数</view>
<view>{{item.collect_num}}</view>
</view>
</view>
<view class='flex flex-wrap align-center'>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c0'>起送</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c1'>¥</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c2'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c0 text-333'>起送¥</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c2 text-333'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c3'>{{item.minute}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c4'>分钟</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c5'>{{item.distance}}</text>
@ -117,21 +132,30 @@
<view v-else class='flex align-center flex myFotprint_fd2_0_c1' :key="key0"
@tap="$refs.showSelectPopup1661497105968.tapHandle(key0)">
<image class='myFotprint_fd2_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"160.png"'></image>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c1_c1'>
<image class='myFotprint_fd2_0_c1_c1_c0'mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c1_c1' style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<image class='myFotprint_fd2_0_c1_c1_c0' mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
<text class='myFotprint_fd2_0_c1_c1_c1_c0'>{{item.store_name}}</text>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c1_c1_c1_c1'>
<image class='myFotprint_fd2_0_c1_c1_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c2'></text>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c3'>月售</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c4'>{{item.sales_num_month}}</text>
<text style="margin: 0 20rpx 0 0; color: #FF9D00;font-size: 26rpx;" v-if="item.store_type">{{item.store_type}}</text>
<text style="margin-right: 20rpx;color:#E5E5E5">|</text>
<image class='myFotprint_fd2_0_c0_c1_c1_c1_c0' mode="aspectFit"
:src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c2'></text>
</view>
<view class='flex flex-wrap align-center justify-between'>
<view class='flex flex-wrap align-center focus-num'>
<view>关注人数</view>
<view>{{item.collect_num}}</view>
</view>
</view>
<view class='flex flex-wrap align-center'>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c0'>起送</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c1'>¥</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c2'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c0 text-333'>起送¥</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c2 text-333'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c3'>{{item.minute}}</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c4'>分钟</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c5'>{{item.distance}}</text>
@ -163,7 +187,8 @@
<template v-slot:unchecked>
<view class='flex flex position-relative justify-end align-center'>
<image class='myFotprint_noCheckfd3_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"160.png"'></image>
<image class='myFotprint_noCheckfd3_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"160.png"'>
</image>
</view>
</template>
@ -305,7 +330,7 @@
console.log(this.aids)
if (!this.aids) return this.$message.info('请先选择商家');
this.$util.showModal({
title:'提示',
title: '提示',
content: '确认删除吗?',
confirmColor: this.$store.state.themeColor,
success: res => {
@ -1098,4 +1123,36 @@
color: #333333;
margin: 40rpx 0rpx 40rpx 0rpx;
}
.point-bg {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png) no-repeat;
background-size: cover;
position: absolute;
top: -32rpx;
left: -32rpx;
z-index: 10;
width: 112rpx;
height: 112rpx;
}
.point-bg-txt {
transform: rotate(315deg);
font-size: 20rpx;
color: #fff;
margin-left: 12rpx;
margin-top: 32rpx;
}
.focus-num {
background-color: #FFEEED;
color:#FF5951;
font-size: 24rpx;
line-height: 24rpx;
padding: 4rpx 8rpx;
margin: 0 0 18rpx 0;
}
.text-333 {
color: #333;
}
</style>

View File

@ -3,7 +3,8 @@
<view class="flex align-stretch benben-position-layout flex myFotprint_flex_0"
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
<view class='flex align-center justify-between flex-sub myFotprint_fd0_0'>
<view class='flex align-center myFotprint_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
<view class='flex align-center myFotprint_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
data-url="1">
<text class='fu-iconfont2 myFotprint_fd0_0_c0_c0'>&#xE794;</text>
</view>
<view class='flex align-center'>
@ -11,9 +12,10 @@
</view>
<!-- #ifndef MP-WEIXIN -->
<view class='flex align-center justify-end myFotprint_fd0_0_c2' v-if="list.length" @tap.stop="switchTypeFunc()">
<text class='myFotprint_fd0_0_c2_c0' v-if="type=='1'">编辑</text><text class='myFotprint_fd0_0_c2_c0_1'
v-if="type=='2'">完成</text>
<view class='flex align-center justify-end myFotprint_fd0_0_c2' v-if="list.length"
@tap.stop="switchTypeFunc()">
<text class='myFotprint_fd0_0_c2_c0' v-if="type=='1'">编辑</text><text
class='myFotprint_fd0_0_c2_c0_1' v-if="type=='2'">完成</text>
</view>
<view class="myFotprint_fd0_0_c2" v-else></view>
<!-- #endif -->
@ -36,21 +38,30 @@
<fu-loading v-if="isShowLoading"></fu-loading>
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout myFotprint_flex_1" v-if="type=='1'">
<view class='flex flex-wrap align-center myFotprint_fd1_0' @tap.stop="handleJumpDiy" data-type="navigateTo"
:data-url="`/pages/dpxq/storeDetails/storeDetails?id=${item.store_id}`" v-for="(item, index) in list" :key="index">
:data-url="`/pages/dpxq/storeDetails/storeDetails?id=${item.store_id}`" v-for="(item, index) in list"
:key="index" style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<image class='myFotprint_fd1_0_c0' mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
<text class='myFotprint_fd1_0_c1_c0'>{{item.store_name}}</text>
<view class='flex flex-wrap align-center myFotprint_fd1_0_c1_c1'>
<text class="store-type" v-if="item.store_type">{{item.store_type}}</text>
<text class="clomns">|</text>
<image class='myFotprint_fd1_0_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd1_0_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd1_0_c1_c1_c2'>分</text>
<text class='myFotprint_fd1_0_c1_c1_c3'>月售</text>
<text class='myFotprint_fd1_0_c1_c1_c4'>{{item.sales_num_month}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c2'>分</text>
</view>
<view class='flex flex-wrap align-center justify-between'>
<view class='flex flex-wrap align-center focus-num'>
<view>关注人数</view>
<view>{{item.collect_num}}</view>
</view>
</view>
<view class='flex flex-wrap align-center'>
<text class='myFotprint_fd1_0_c1_c2_c0'>起送</text>
<text class='myFotprint_fd1_0_c1_c2_c1'>¥</text>
<text class='myFotprint_fd1_0_c1_c2_c2'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c0 text-333'>起送¥</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c2 text-333'>{{item.start_price}}</text>
<text class='myFotprint_fd1_0_c1_c2_c3'>{{item.minute}}</text>
<text class='myFotprint_fd1_0_c1_c2_c4'>分钟</text>
<text class='myFotprint_fd1_0_c1_c2_c5'>{{item.distance}}</text>
@ -84,23 +95,32 @@
:allow-cancel='true' type="checkbox" :disabled='false'>
<template v-for='(item,key0) in list'>
<view v-if="item.isSelected" class='flex align-center flex myFotprint_fd2_0_c0' :key="key0"
@tap="$refs.showSelectPopup1661497105968.tapHandle(key0)">
@tap="$refs.showSelectPopup1661497105968.tapHandle(key0)" >
<image class='myFotprint_fd2_0_c0_c0' mode="aspectFill" :src='STATIC_URL+"33.png"'></image>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c0_c1'>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c0_c1' style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<image class='myFotprint_fd2_0_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
<text class='myFotprint_fd2_0_c0_c1_c1_c0'>{{item.store_name}}</text>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c0_c1_c1_c1'>
<image class='myFotprint_fd2_0_c0_c1_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
<text class="store-type" v-if="item.store_type">{{item.store_type}}</text>
<text class="clomns">|</text>
<image class='myFotprint_fd2_0_c0_c1_c1_c1_c0' mode="aspectFit"
:src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c2'></text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c3'>月售</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c4'>{{item.sales_num_month}}</text>
</view>
<view class='flex flex-wrap align-center justify-between'>
<view class='flex flex-wrap align-center focus-num'>
<view>关注人数</view>
<view>{{item.collect_num}}</view>
</view>
</view>
<view class='flex flex-wrap align-center'>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c0'>起送</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c1'>¥</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c2'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c0 text-333'>起送¥</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c1 text-333'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c3'>{{item.minute}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c4'>分钟</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c5'>{{item.distance}}</text>
@ -117,21 +137,30 @@
<view v-else class='flex align-center flex myFotprint_fd2_0_c1' :key="key0"
@tap="$refs.showSelectPopup1661497105968.tapHandle(key0)">
<image class='myFotprint_fd2_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"160.png"'></image>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c1_c1'>
<image class='myFotprint_fd2_0_c1_c1_c0'mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c1_c1' style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<image class='myFotprint_fd2_0_c1_c1_c0' mode="aspectFill" :src='item.logo'></image>
<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
<text class='myFotprint_fd2_0_c1_c1_c1_c0'>{{item.store_name}}</text>
<view class='flex flex-wrap align-center myFotprint_fd2_0_c1_c1_c1_c1'>
<image class='myFotprint_fd2_0_c1_c1_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c2'></text>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c3'>月售</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c1_c4'>{{item.sales_num_month}}</text>
<text class="store-type" v-if="item.store_type">{{item.store_type}}</text>
<text class="clomns">|</text>
<image class='myFotprint_fd2_0_c0_c1_c1_c1_c0' mode="aspectFit"
:src='STATIC_URL+"31.png"'></image>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c1'>{{item.score}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c1_c2'></text>
</view>
<view class='flex flex-wrap align-center justify-between'>
<view class='flex flex-wrap align-center focus-num'>
<view>关注人数</view>
<view>{{item.collect_num}}</view>
</view>
</view>
<view class='flex flex-wrap align-center'>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c0'>起送</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c1'>¥</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c2'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c0 text-333'>起送¥</text>
<text class='myFotprint_fd2_0_c0_c1_c1_c2_c1 text-333'>{{item.start_price}}</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c3'>{{item.minute}}</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c4'>分钟</text>
<text class='myFotprint_fd2_0_c1_c1_c1_c2_c5'>{{item.distance}}</text>
@ -163,7 +192,8 @@
<template v-slot:unchecked>
<view class='flex flex position-relative justify-end align-center'>
<image class='myFotprint_noCheckfd3_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"160.png"'></image>
<image class='myFotprint_noCheckfd3_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"160.png"'>
</image>
</view>
</template>
@ -305,7 +335,7 @@
console.log(this.aids)
if (!this.aids) return this.$message.info('请先选择商家');
this.$util.showModal({
title:'提示',
title: '提示',
content: '确认删除吗?',
confirmColor: this.$store.state.themeColor,
success: res => {
@ -1098,4 +1128,48 @@
color: #333333;
margin: 40rpx 0rpx 40rpx 0rpx;
}
.point-bg {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png) no-repeat;
background-size: cover;
position: absolute;
top: -32rpx;
left: -32rpx;
z-index: 10;
width: 112rpx;
height: 112rpx;
}
.point-bg-txt {
transform: rotate(315deg);
font-size: 20rpx;
color: #fff;
margin-left: 12rpx;
margin-top: 32rpx;
}
.focus-num {
background-color: #FFEEED;
color:#FF5951;
font-size: 24rpx;
line-height: 24rpx;
padding: 4rpx 8rpx;
margin: 0 0 18rpx 0;
}
.text-333 {
color: #333;
}
.store-type {
margin: 0 20rpx 0 0;
color: #FF9D00;
font-size: 26rpx;
}
.clomns {
margin-right: 20rpx;
color:#E5E5E5
}
</style>

View File

@ -102,11 +102,12 @@
@tap="handleChangeTabs(1)" :id="`benben_tabsfd4_0_c0-title-item-${'1'}`">
<text>{{ sorting_id }}</text>
<image class='classificationList_titleItemfd4_0_c0_c3_c1'
:src='STATIC_URL + "62.png"'></image>
:src='STATIC_URL + "62_2.png"'></image>
</view> -->
<view class="classificationList_sort_item" @tap="handleChooseSort('aid', '综合排序')">综合排序</view>
<view class="classificationList_sort_item" @tap="handleChooseSort('score', '好评最高')">好评最高</view>
<view
style="margin-top: 6rpx;"
:class="{ 'currentFilter': tabls == '2', 'classificationList_sort_item flex flex-wrap align-center': true }"
@tap="handleChangeTabs(2)" :id="`benben_tabsfd4_0_c0-title-item-${'2'}`">
<text>距离</text>
@ -114,16 +115,16 @@
class='flex flex-direction flex-wrap align-center classificationList_titleItemfd4_0_c0_c4_c1'>
<image v-if="tabls == 2 && sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "63.png"'></image>
:src='STATIC_URL + "63_2.png"'></image>
<image v-if="tabls != 2 || sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "64.png"'></image>
:src='STATIC_URL + "64_2.png"'></image>
<image v-if="tabls != 2 || sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "62.png"'></image>
:src='STATIC_URL + "62_2.png"'></image>
<image v-if="tabls == 2 && sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "65.png"'></image>
:src='STATIC_URL + "65_2.png"'></image>
</view>
</view>
<view
@ -134,20 +135,20 @@
class='flex flex-direction flex-wrap align-center classificationList_titleItemfd4_0_c0_c5_c1'>
<image v-if="tabls == 3 && sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "63.png"'></image>
:src='STATIC_URL + "63_2.png"'></image>
<image v-if="tabls != 3 || sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "64.png"'></image>
:src='STATIC_URL + "64_2.png"'></image>
<image v-if="tabls != 3 || sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "62.png"'></image>
:src='STATIC_URL + "62_2.png"'></image>
<image v-if="tabls == 3 && sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "65.png"'></image>
:src='STATIC_URL + "65_2.png"'></image>
<!-- <image class='classificationList_titleItemfd4_0_c0_c5_c1_c0' mode="aspectFit"
:src='STATIC_URL+"64.png"'></image>
:src='STATIC_URL+"64_2.png"'></image>
<image class='classificationList_titleItemfd4_0_c0_c5_c1_c1' mode="aspectFit"
:src='STATIC_URL+"65.png"'></image> -->
:src='STATIC_URL+"65_2.png"'></image> -->
</view>
</view>
@ -193,7 +194,10 @@
<text class='classificationList_fd5_0_c1_c0_c0_c0'>{{ item.store_name }}</text>
</view>
</view>
<view class='flex flex-wrap align-center classificationList_fd5_0_c1_c1'>
<view class='flex flex-wrap align-center homePage_fd4_1_c1_c1' style="margin-top: 18rpx;">
<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>
<text style="margin-right: 20rpx;color:#E5E5E5">|</text>
<image class='classificationList_fd5_0_c1_c1_c0' mode="aspectFit" :src='STATIC_URL + "31.png"'>
</image>
<!-- <uv-rate count="5" :value="item.score" inactiveColor="#FF5951" activeColor="#FF5951" gutter="1" :allowHalf="true"></uv-rate> -->
@ -202,9 +206,9 @@
<text class='classificationList_fd5_0_c1_c1_c2'>分</text>
</view>
<view class='flex flex-wrap align-center justify-between classificationList_fd5_0_c1_c2'>
<view class='flex flex-wrap align-center'>
<text class='classificationList_fd5_0_c1_c2_c0_c0'>关注人数</text>
<text class='classificationList_fd5_0_c1_c2_c0_c1'>{{ item.collect_num }}</text>
<view class='flex flex-wrap align-center' style="background-color: #FFEEED;padding: 4rpx 8rpx;">
<text class='classificationList_fd5_0_c1_c2_c0_c0' style="color:#FF5951;">关注人数</text>
<text class='classificationList_fd5_0_c1_c2_c0_c1' style="color:#FF5951;">{{ item.collect_num }}</text>
</view>
<!-- <view class='flex flex-wrap align-center'>
<text class='classificationList_fd5_0_c1_c2_c1_c0'>人均¥</text>
@ -262,7 +266,7 @@
<text>{{ sorting_id }}</text>
<image class='classificationList_titleItemfd4_0_c0_c3_c1' :src='STATIC_URL + "62.png"'>
<image class='classificationList_titleItemfd4_0_c0_c3_c1' :src='STATIC_URL + "62_2.png"'>
</image>
</view>
@ -276,16 +280,16 @@
class='flex flex-direction flex-wrap align-center classificationList_titleItemfd4_0_c0_c4_c1'>
<image v-if="tabls == 2 && sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "63.png"'></image>
:src='STATIC_URL + "63_2.png"'></image>
<image v-if="tabls != 2 || sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "64.png"'></image>
:src='STATIC_URL + "64_2.png"'></image>
<image v-if="tabls != 2 || sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "62.png"'></image>
:src='STATIC_URL + "62_2.png"'></image>
<image v-if="tabls == 2 && sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "65.png"'></image>
:src='STATIC_URL + "65_2.png"'></image>
</view>
</view>
@ -299,20 +303,20 @@
class='flex flex-direction flex-wrap align-center classificationList_titleItemfd4_0_c0_c5_c1'>
<image v-if="tabls == 3 && sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "63.png"'></image>
:src='STATIC_URL + "63_2.png"'></image>
<image v-if="tabls != 3 || sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c0' mode="aspectFit"
:src='STATIC_URL + "64.png"'></image>
:src='STATIC_URL + "64_2.png"'></image>
<image v-if="tabls != 3 || sort == 'asc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "62.png"'></image>
:src='STATIC_URL + "62_2.png"'></image>
<image v-if="tabls == 3 && sort == 'desc'"
class='classificationList_titleItemfd4_0_c0_c4_c1_c1' mode="aspectFit"
:src='STATIC_URL + "65.png"'></image>
:src='STATIC_URL + "65_2.png"'></image>
<!-- <image class='classificationList_titleItemfd4_0_c0_c5_c1_c0' mode="aspectFit"
:src='STATIC_URL+"64.png"'></image>
:src='STATIC_URL+"64_2.png"'></image>
<image class='classificationList_titleItemfd4_0_c0_c5_c1_c1' mode="aspectFit"
:src='STATIC_URL+"65.png"'></image> -->
:src='STATIC_URL+"65_2.png"'></image> -->
</view>
</view>
@ -1400,4 +1404,11 @@ export default {
margin-left: 12rpx;
margin-top: 32rpx;
}
.homePage_fd4_1_c1_c1_c0 {
width: 20rpx;
height: 19rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
margin: 0rpx 8rpx 0rpx 0rpx;
}
</style>

View File

@ -9,9 +9,10 @@
<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>
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>
@ -20,20 +21,22 @@
</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">
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">
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 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>
<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 }"
@ -41,14 +44,23 @@
<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"'>
<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 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 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 v-if="tabls == 2 && sort == 'desc'"
class='searchResult_titleItemfd0_1_c5_c1_c1' mode="aspectFit"
:src='STATIC_URL+"65.png"'>
</image>
</view>
@ -58,18 +70,27 @@
<text>关注</text>
<view class='flex flex-direction flex-wrap align-center searchResult_titleItemfd0_1_c5_c1'>
<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 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 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 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 v-if="tabls == 3 && sort == 'desc'"
class='searchResult_titleItemfd0_1_c5_c1_c1' mode="aspectFit"
:src='STATIC_URL+"65.png"'>
</image>
</view>
@ -97,17 +118,18 @@
<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'>
<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)">
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)">
<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>
@ -118,17 +140,18 @@
<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'>
<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)">
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)">
<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>
@ -136,10 +159,12 @@
</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" />
<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>
@ -156,14 +181,18 @@
<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-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}`" style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<view class='flex flex-direction flex-wrap align-start'>
<view class='flex flex-wrap align-center justify-center searchResult_fd2_0_c0_c0'>
<!-- <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> -->
<view class='flex flex-wrap align-center'>
<image class='searchResult_fd2_0_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
</view>
@ -175,15 +204,17 @@
</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>
<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 class='flex flex-wrap align-center' style="background-color: #FFEEED;padding: 4rpx 8rpx;">
<text class='searchResult_fd2_0_c1_c2_c0_c0' style="color:#FF5951;">关注人数</text>
<text class='searchResult_fd2_0_c1_c2_c0_c1' style="color:#FF5951;">{{item.collect_num}}</text>
</view>
<!-- <view class='flex flex-wrap align-center'>
<text class='searchResult_fd2_0_c1_c2_c1_c0'>人均¥</text>
@ -203,23 +234,31 @@
<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">
<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'>
<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'>
<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>
<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'>
<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>
<text
class='searchResult_fd2_0_c1_c4_c0_c0_c2_c1_c1'>{{goods.market_price - 0}}</text>
</view>
</view>
</view>
@ -1445,4 +1484,23 @@
background-size: 100% auto !important;
padding: 24rpx 24rpx 24rpx 24rpx;
}
.point-bg {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png) no-repeat;
background-size: cover;
position: absolute;
top: -32rpx;
left: -32rpx;
z-index: 10;
width: 112rpx;
height: 112rpx;
}
.point-bg-txt {
transform: rotate(315deg);
font-size: 20rpx;
color: #fff;
margin-left: 12rpx;
margin-top: 32rpx;
}
</style>

View File

@ -29,18 +29,23 @@
<fu-empty-ui v-if="list.length === 0 && isInit"></fu-empty-ui>
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout activityList_flex_1"
@tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/`">
<view class='flex flex-wrap align-start activityList_fd1_0' v-for="(item, index) in list" :key="index" @tap.stop="handleJumpDiy" data-type="navigateTo"
:data-url="`/pages/hd/eventDetails/eventDetails?id=${item.aid}&name=${item.store_name}`">
<view class='flex flex-wrap align-start activityList_fd1_0' v-for="(item, index) in list" :key="index"
@tap.stop="handleJumpDiy" data-type="navigateTo"
:data-url="`/pages/hd/eventDetails/eventDetails?id=${item.aid}&name=${item.store_name}`" style="position: relative;">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<view class='flex flex-direction flex-wrap align-start' style="position: relative;">
<view class='flex flex-wrap align-center justify-center activityList_fd1_0_c0_c0'>
<!-- <view class='flex flex-wrap align-center justify-center activityList_fd1_0_c0_c0'>
<text class='activityList_fd1_0_c0_c0_c0'>积分</text>
<text class='activityList_fd1_0_c0_c0_c1'>{{item.score_rate}}</text>
<text class='activityList_fd1_0_c0_c0_c2'>%</text>
</view>
</view> -->
<view class='flex flex-wrap align-center'>
<image class='activityList_fd1_0_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
</view>
<image style="width: 50rpx; height: 50rpx; position: absolute; top: 0; right: 0; z-index: 10;" v-if="item.storelevel_thumb" :src="item.storelevel_thumb" mode="aspectFill"></image>
<image style="width: 50rpx; height: 50rpx; position: absolute; top: 0; right: 0; z-index: 10;"
v-if="item.storelevel_thumb" :src="item.storelevel_thumb" mode="aspectFill"></image>
</view>
<view class='flex flex-direction flex-wrap align-start flex-sub activityList_fd1_0_c1'>
<view class='flex flex-direction flex-wrap align-start'>
@ -48,10 +53,15 @@
<text class='activityList_fd1_0_c1_c0_c0_c0'>{{item.store_name}}</text>
</view>
<view class='flex align-center activityList_fd1_0_c1_c0_c1'>
<image class='activityList_fd1_0_c1_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"163.png"'></image>
<view class='activityList_fd1_0_c1_c0_c1_c1'>{{item.address_province + item.address_city + item.address_district + item.address_address}}</view>
<image class='activityList_fd1_0_c1_c0_c1_c0' mode="aspectFit"
:src='STATIC_URL+"163.png"'></image>
<view class='activityList_fd1_0_c1_c0_c1_c1'>
{{item.address_province + item.address_city + item.address_district + item.address_address}}
</view>
<text class='storeDetails_fd2_0_c1_c1_c1' style="margin: 20rpx 20rpx 0 0; color: #FF9D00;font-size: 26rpx;" v-if="item.store_type">{{item.store_type}}</text>
</view>
<text class='storeDetails_fd2_0_c1_c1_c1'
style="margin: 20rpx 20rpx 0 0; color: #FF9D00;font-size: 26rpx;"
v-if="item.store_type">{{item.store_type}}</text>
</view>
<view class='flex flex-wrap align-center activityList_fd1_0_c1_c1'>
<text class='activityList_fd1_0_c1_c1_c0'>{{item.distance}}</text>
@ -66,8 +76,10 @@
<!---flex布局flex布局结束-->
<block v-if="permissionStatus != 1">
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == 0" emptyImage="addr" pagingListNoListDataText="暂无开启位置权限"></fu-empty-ui>
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == -1" emptyImage="permission" pagingListNoListDataText="您已永久拒绝位置权限"></fu-empty-ui>
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == 0" emptyImage="addr"
pagingListNoListDataText="暂无开启位置权限"></fu-empty-ui>
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == -1" emptyImage="permission"
pagingListNoListDataText="您已永久拒绝位置权限"></fu-empty-ui>
</block>
</view>
</template>
@ -249,7 +261,7 @@
},
handlePermission(type) {
console.log(123)
if (type ==1) {
if (type == 1) {
this.requestAndroidPermission('android.permission.ACCESS_FINE_LOCATION');
} else {
permision.gotoAppPermissionSetting()
@ -272,11 +284,12 @@
let isLocation = uni.getStorageSync('LVTAI_USER_LOCATION') || false;
if (!isLocation) {
that.$util.showModal({
title:'提示',
title: '提示',
content: '获取您的定位权限以展示附近活动商家?',
success: res => {
if (res.confirm) {
that.requestAndroidPermission('android.permission.ACCESS_FINE_LOCATION');
that.requestAndroidPermission(
'android.permission.ACCESS_FINE_LOCATION');
} else {
that.permissionStatus = 0;
}
@ -407,6 +420,7 @@
font-size: 24rpx;
color: #fff;
}
.page {
width: 100vw;
overflow-x: hidden;
@ -539,4 +553,23 @@
background-size: 100% auto !important;
padding: 24rpx 24rpx 24rpx 24rpx;
}
.point-bg {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png) no-repeat;
background-size: cover;
position: absolute;
top: -32rpx;
left: -32rpx;
z-index: 10;
width: 112rpx;
height: 112rpx;
}
.point-bg-txt {
transform: rotate(315deg);
font-size: 20rpx;
color: #fff;
margin-left: 12rpx;
margin-top: 32rpx;
}
</style>

View File

@ -159,11 +159,6 @@
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<view class='flex flex-direction flex-wrap align-start' style="position: relative;">
<!-- <view class='flex flex-wrap align-center justify-center homePage_fd4_1_c0_c0'>
<text class='homePage_fd4_1_c0_c0_c0'>积分</text>
<text class='homePage_fd4_1_c0_c0_c1'>{{item.score_rate}}</text>
<text class='homePage_fd4_1_c0_c0_c2'>%</text>
</view> -->
<view class='flex flex-wrap align-center'>
<image class='homePage_fd4_1_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
</view>
@ -177,8 +172,7 @@
</view>
</view>
<view class='flex flex-wrap align-center homePage_fd4_1_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>
<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>
<text style="margin-right: 20rpx;color:#E5E5E5">|</text>
<!-- <uv-rate count="5" :value="item.score" inactiveColor="#FF5951" activeColor="#FF5951" gutter="1" :allowHalf="true"></uv-rate> -->
<!-- <text class='homePage_fd4_1_c1_c1_c1'>{{item.score}}</text> -->
@ -187,9 +181,9 @@
<text class='homePage_fd4_1_c1_c1_c2'>分</text>
</view>
<view class='flex flex-wrap align-center justify-between homePage_fd4_1_c1_c2'>
<view class='flex flex-wrap align-center' style="background-color: #FFEEED;padding: 4rpx 8rpx;">
<text class='homePage_fd4_1_c1_c2_c0_c0' style="color:#FF5951;">关注人数</text>
<text class='homePage_fd4_1_c1_c2_c0_c1' style="color:#FF5951;">{{item.collect_num}}</text>
<view class='flex flex-wrap align-center' style="background-color: #FFEEED;padding: 4rpx 8rpx;color:#FF5951;">
<text class='homePage_fd4_1_c1_c2_c0_c0'>关注人数</text>
<text class='homePage_fd4_1_c1_c2_c0_c1'>{{item.collect_num}}</text>
</view>
<!-- <view class='flex flex-wrap align-center'>
<text class='homePage_fd4_1_c1_c2_c1_c0'>人均¥</text>
@ -1175,14 +1169,12 @@
}
.homePage_fd4_1_c1_c2_c0_c1 {
color: #333333;
font-size: 24rpx;
font-weight: 400;
line-height: 24rpx;
}
.homePage_fd4_1_c1_c2_c0_c0 {
color: #333333;
font-size: 24rpx;
font-weight: 400;
line-height: 24rpx;

View File

@ -213,11 +213,12 @@
<image class='myPage_fd3_0_c0_c5_c0' mode="aspectFit" src='/static/cate/15.png'></image>
<text class='myPage_fd3_0_c0_c5_c1'>邀请有礼</text>
</view>
<!-- <view class='flex flex-direction flex-wrap align-center myPage_fd3_0_c0_c6'
<view class='flex flex-direction flex-wrap align-center myPage_fd3_0_c0_c6'
@tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/xtsz/aboutUs/aboutUs`">
<image class='myPage_fd3_0_c0_c6_c0' mode="aspectFit" :src='STATIC_URL + "6.png"'></image>
<text class='myPage_fd3_0_c0_c6_c1'>关于我们</text>
</view>
<!--
<view v-if="shopStatus == -1 && isPublish"
class='flex flex-direction flex-wrap align-center myPage_fd3_0_c0_c7'
@tap.stop="handleJumpDiy" data-type="navigateTo"
@ -238,21 +239,19 @@
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout myPage_flex_3">
<view class='flex flex-direction flex-wrap align-stretch myPage_fd3_0'>
<view class='flex flex-wrap align-center justify-between myPage_menu'>
<view class="flex align-center myPage_menu_item"
@tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/xtsz/aboutUs/aboutUs`">
<image :src='STATIC_URL + "my_about_icon.png"' style="width:44rpx;height: 44rpx;;"></image>
<text>关于我们</text>
<view class='flex flex-wrap align-center justify-between myPage_menu' @tap.stop="toTakeoutMiNiProgram" data-type="navigateTo" :data-url="`/pages/xtsz/aboutUs/aboutUs`">
<view class="flex align-center myPage_menu_item">
<image :src='STATIC_URL + "my_paotui_icon2.png"' style="width:44rpx;height: 44rpx;;"></image>
<text>跑腿服务</text>
</view>
<view>
<uv-icon name="arrow-right" size="32rpx"></uv-icon>
</view>
</view>
<view class="myPage_menu_line"></view>
<view class='flex flex-wrap align-center justify-between myPage_menu' v-if="shopStatus == -1 && isPublish">
<view class="flex align-center myPage_menu_item"
@tap.stop="handleJumpDiy" data-type="navigateTo"
<view class='flex flex-wrap align-center justify-between myPage_menu' v-if="shopStatus == -1 && isPublish" @tap.stop="handleJumpDiy" data-type="navigateTo"
:data-url="`/pages/my/merchantSettlement/merchantSettlement`">
<view class="flex align-center myPage_menu_item">
<image :src='STATIC_URL + "my_shop_icon.png"' style="width:44rpx;height: 44rpx;;"></image>
<text>商家入驻</text>
</view>
@ -260,8 +259,8 @@
<uv-icon name="arrow-right" size="32rpx"></uv-icon>
</view>
</view>
<view class='flex flex-wrap align-center justify-between myPage_menu' v-if="(shopStatus == 2 || shopStatus == 0 || shopStatus == 1) && isPublish">
<view class="flex align-center myPage_menu_item" @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/my/certificationAudit/certificationAudit?stateUS=${shopStatus}`">
<view class='flex flex-wrap align-center justify-between myPage_menu' v-if="(shopStatus == 2 || shopStatus == 0 || shopStatus == 1) && isPublish" @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/my/certificationAudit/certificationAudit?stateUS=${shopStatus}`">
<view class="flex align-center myPage_menu_item">
<image :src='STATIC_URL + "my_shop_icon.png"' style="width:44rpx;height: 44rpx;;"></image>
<text>商家入驻</text>
</view>
@ -598,6 +597,17 @@ export default {
}
let infomoney = datamoney.data;
this.money = infomoney.data
},
// 跳转小程序
toTakeoutMiNiProgram() {
uni.navigateToMiniProgram({
appId: 'wxc71d195244088eac',
path: '/pages/index/index',
success(res) {
console.log('打开成功');
}
})
}
}
};
@ -608,7 +618,7 @@ export default {
overflow-x: hidden;
min-height: calc(100vh - var(--window-bottom));
// background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/2.png) no-repeat, rgba(248, 248, 248, 1);
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/my_bg.png) no-repeat, rgba(248, 248, 248, 1);
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/my_bg2.png) no-repeat, rgba(248, 248, 248, 1);
background-size: 100% auto !important;
}

View File

@ -15,35 +15,38 @@
<view class='flex flex-wrap align-center justify-between' style="flex-direction: row; align-items: center;">
<view class='flex flex-row flex-wrap align-center flex-sub nearbyMerchants_fd1_0_c0'>
<image class='nearbyMerchants_fd1_0_c0_c0' mode="aspectFill" :src='STATIC_URL+"53.png"'></image>
<input type="text" placeholder="请输入商家名称" confirm-type="done" :maxlength="-1"
v-model="keyword" style="width: 400rpx; font-size: 30rpx;" @confirm="handleSearch" />
<input type="text" placeholder="请输入商家名称" confirm-type="done" :maxlength="-1" v-model="keyword"
style="width: 400rpx; font-size: 30rpx;" @confirm="handleSearch" />
</view>
<text class='nearbyMerchants_fd1_0_c1' @click="handleSearch">搜索</text>
</view>
<view class='flex flex-wrap align-center justify-around nearbyMerchants_fd1_1'>
<!-- @tap.stop="stateFunctionFunc()" -->
<view class='flex flex-wrap align-center justify-center nearbyMerchants_fd1_1_c0' @tap.stop="handleShowPopup(1)">
<text class='nearbyMerchants_fd1_1_c0_c0' :class="tabls == 1 ? 'active-tab' : ''"
>{{screeningMerchants_id}}</text>
<view class='flex flex-wrap align-center justify-center nearbyMerchants_fd1_1_c0'
@tap.stop="handleShowPopup(1)">
<text class='nearbyMerchants_fd1_1_c0_c0'
:class="tabls == 1 ? 'active-tab' : ''">{{screeningMerchants_id}}</text>
<image class='nearbyMerchants_fd1_1_c0_c1' :src='STATIC_URL+"92.png"' v-if="state=='1'"></image>
<image class='nearbyMerchants_fd1_1_c0_c1_1' :src='STATIC_URL+"93.png"' v-if="state=='2'"></image>
</view>
<view class='flex nearbyMerchants_fd1_1_c1'></view>
<!-- @tap.stop="stateFunctionFunc()" -->
<view class='flex flex-wrap align-center justify-center nearbyMerchants_fd1_1_c2' @tap.stop="handleShowPopup(2)"
>
<text class='nearbyMerchants_fd1_1_c2_c0' :class="tabls == 2 ? 'active-tab' : ''"
>{{filterDistance_id}}</text>
<!-- @tap.stop="stateFunctionFunc()" -->
<view class='flex flex-wrap align-center justify-center nearbyMerchants_fd1_1_c2'
@tap.stop="handleShowPopup(2)">
<text class='nearbyMerchants_fd1_1_c2_c0'
:class="tabls == 2 ? 'active-tab' : ''">{{filterDistance_id}}</text>
<image class='nearbyMerchants_fd1_1_c2_c1' :src='STATIC_URL+"93.png"' v-if="state=='1'"></image>
<image class='nearbyMerchants_fd1_1_c2_c1_1' :src='STATIC_URL+"92.png"' v-if="state=='2'"></image>
</view>
</view>
</view>
<view v-if="isHandLocation && !lat" class="kaiqiweizhi flex align-center justify-between"
:style="{top:(70 + StatusBar ) + 'px'}" style="flex-direction: row; justify-content: center; align-items: center;">
:style="{top:(70 + StatusBar ) + 'px'}"
style="flex-direction: row; justify-content: center; align-items: center;">
<view class="flex align-center" style="flex-direction: row; justify-content: center; align-items: center;">
<text class="" style="font-size: 32upx;font-weight: 550; color: #fff; line-height: 80rpx;">开启定位权限,显示周边商家及商品</text>
<text class=""
style="font-size: 32upx;font-weight: 550; color: #fff; line-height: 80rpx;">开启定位权限,显示周边商家及商品</text>
<text class="kaiqiweizhi-button" @click="_getPermission">
去开启
</text>
@ -58,7 +61,8 @@
<!-- <view class="flex benben-flex-layout flex-wrap align-center nearbyMerchants_flex_2">
</view> -->
<block v-if="isPublish">
<map style="width: 750rpx; height: 200px;" :latitude="lat" :longitude="lng" scale="13" :markers="covers"></map>
<map style="width: 750rpx; height: 200px;" :latitude="lat" :longitude="lng" scale="13"
:markers="covers"></map>
</block>
<!---flex布局flex布局结束-->
@ -68,51 +72,74 @@
<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 nearbyMerchants_flex_3">
<view class='flex flex-wrap align-center nearbyMerchants_fd3_0' v-for="(item, index) in list" :key="index" >
<view class='flex flex-direction flex-wrap align-start' @click.stop="handleToDetail(item)" style="position: relative;">
<view class='flex flex-wrap align-center nearbyMerchants_fd3_0' v-for="(item, index) in list" style="position: relative;"
:key="index">
<view class="point-bg">
<view class="point-bg-txt">积分{{item.score_rate}}%</view>
</view>
<view class='flex flex-direction flex-wrap align-start' @click.stop="handleToDetail(item)"
style="position: relative;">
<view class='flex flex-wrap align-center'>
<image class='nearbyMerchants_fd3_0_c0_c1_c0' mode="aspectFill" :src='item.logo'></image>
</view>
<image class="nearbyMerchants_fd3_0_c0_c0001" :src='STATIC_URL+"23.png"' mode="widthFix"></image>
<view class='flex flex-wrap align-center justify-center nearbyMerchants_fd3_0_c0_c0' style="flex-direction: row; justify-content: center;">
<!-- <image class="nearbyMerchants_fd3_0_c0_c0001" :src='STATIC_URL+"23.png"' mode="widthFix">
</image> -->
<!-- <view class='flex flex-wrap align-center justify-center nearbyMerchants_fd3_0_c0_c0'
style="flex-direction: row; justify-content: center;">
<text class='nearbyMerchants_fd3_0_c0_c0_c0'>积分</text>
<text class='nearbyMerchants_fd3_0_c0_c0_c1'>{{item.score_rate}}</text>
<text class='nearbyMerchants_fd3_0_c0_c0_c2'>%</text>
</view>
<image style="width: 50rpx; height: 50rpx; position: absolute; top: 0; right: 0; z-index: 100;" v-if="item.storelevel_thumb" :src="item.storelevel_thumb" mode="aspectFill"></image>
</view> -->
<image style="width: 50rpx; height: 50rpx; position: absolute; top: 0; right: 0; z-index: 100;"
v-if="item.storelevel_thumb" :src="item.storelevel_thumb" mode="aspectFill"></image>
</view>
<view class='flex flex-direction flex-wrap align-stretch flex-sub nearbyMerchants_fd3_0_c1'>
<view class='flex align-center justify-between' style="flex-direction: row; align-items: center; width: 474rpx; justify-content: space-between;">
<view class='flex flex-wrap align-center' style="width: 320rpx;" @click="handleToDetail(item)">
<view class='flex align-center justify-between'
style="flex-direction: row; align-items: center; width: 474rpx; justify-content: space-between;">
<view class='flex flex-wrap align-center' style="width: 320rpx;"
@click="handleToDetail(item)">
<text class='nearbyMerchants_fd3_0_c1_c0_c0_c0'>{{item.store_name}}</text>
</view>
<view class='flex align-center justify-center nearbyMerchants_fd3_0_c1_c0_c1' @click.stop="handleToMap(item)">
<image class='nearbyMerchants_fd3_0_c1_c0_c1_c0' mode="aspectFill" :src='STATIC_URL+"95.png"'></image>
<view class='flex align-center justify-center nearbyMerchants_fd3_0_c1_c0_c1'
@click.stop="handleToMap(item)">
<image class='nearbyMerchants_fd3_0_c1_c0_c1_c0' mode="aspectFill"
:src='STATIC_URL+"95.png"'></image>
<text class='nearbyMerchants_fd3_0_c1_c0_c1_c1'>到这里</text>
</view>
</view>
<view @click.stop="handleToDetail(item)" class='flex flex-wrap align-center nearbyMerchants_fd3_0_c1_c1' style="flex-direction: row; align-items: center; width: 474rpx;">
<text class='storeDetails_fd2_0_c1_c1_c1' style="margin-right: 20rpx; color: #FF9D00;font-size: 26rpx;" v-if="item.store_type">{{item.store_type}}</text>
<image class='nearbyMerchants_fd3_0_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'></image>
<view @click.stop="handleToDetail(item)"
class='flex flex-wrap align-center nearbyMerchants_fd3_0_c1_c1'
style="flex-direction: row; align-items: center; width: 474rpx;">
<text class='storeDetails_fd2_0_c1_c1_c1'
style="margin-right: 20rpx; color: #FF9D00;font-size: 26rpx;"
v-if="item.store_type">{{item.store_type}}</text>
<text style="margin-right: 20rpx;color:#E5E5E5">|</text>
<image class='nearbyMerchants_fd3_0_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"31.png"'>
</image>
<text class='nearbyMerchants_fd3_0_c1_c1_c1'>{{item.score}}</text>
<text class='nearbyMerchants_fd3_0_c1_c1_c2'>分</text>
</view>
<view @click.stop="handleToDetail(item)" class='flex flex-wrap align-center justify-between nearbyMerchants_fd3_0_c1_c2' style="flex-direction: row; align-items: center; width: 474rpx; justify-content: space-between;">
<view class='flex flex-wrap align-center' style="flex-direction: row; align-items: center;">
<text class='nearbyMerchants_fd3_0_c1_c2_c0_c0'>关注人数</text>
<text class='nearbyMerchants_fd3_0_c1_c2_c0_c1'>{{item.collect_num}}</text>
<view @click.stop="handleToDetail(item)"
class='flex flex-wrap align-center justify-between nearbyMerchants_fd3_0_c1_c2'
style="flex-direction: row; align-items: center; width: 474rpx; justify-content: space-between;">
<view class='flex flex-wrap align-center' style="flex-direction: row; align-items: center;background-color: #FFEEED;padding: 4rpx 8rpx;">
<text class='nearbyMerchants_fd3_0_c1_c2_c0_c0' style="color:#FF5951;">关注人数</text>
<text class='nearbyMerchants_fd3_0_c1_c2_c0_c1' style="color:#FF5951;">{{item.collect_num}}</text>
</view>
<!-- <view class='flex flex-wrap align-center' style="flex-direction: row; align-items: center; padding-right: 24rpx;">
<!-- <view class='flex flex-wrap align-center' style="flex-direction: row; align-items: center; padding-right: 24rpx;">
<text class='nearbyMerchants_fd3_0_c1_c2_c1_c0'>人均¥</text>
<text class='nearbyMerchants_fd3_0_c1_c2_c1_c1'>{{item.per_capita}}</text>
</view> -->
</view>
<view @click.stop="handleToDetail(item)" class='flex flex-wrap align-center justify-between nearbyMerchants_fd3_0_c1_c3' style="flex-direction: row; align-items: center; width: 474rpx; justify-content: space-between;">
<view @click.stop="handleToDetail(item)"
class='flex flex-wrap align-center justify-between nearbyMerchants_fd3_0_c1_c3'
style="flex-direction: row; align-items: center; width: 474rpx; justify-content: space-between;">
<view class='flex flex-wrap align-center' style="flex-direction: row; align-items: center;">
<text class='nearbyMerchants_fd3_0_c1_c3_c0_c0'>起送¥</text>
<text class='nearbyMerchants_fd3_0_c1_c3_c0_c1'>{{item.start_price}} </text>
</view>
<view class='flex flex-wrap align-center' style="flex-direction: row; align-items: center; padding-right: 24rpx;">
<view class='flex flex-wrap align-center'
style="flex-direction: row; align-items: center; padding-right: 24rpx;">
<text class='nearbyMerchants_fd3_0_c1_c3_c1_c0'>{{item.distance}}</text>
<text class='nearbyMerchants_fd3_0_c1_c3_c1_c1'>km</text>
</view>
@ -123,8 +150,10 @@
</view>
</block>
<block v-if="permissionStatus != 1">
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == 0" emptyImage="addr" pagingListNoListDataText="暂无开启位置权限"></fu-empty-ui>
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == -1" emptyImage="permission" pagingListNoListDataText="您已永久拒绝位置权限"></fu-empty-ui>
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == 0" emptyImage="addr"
pagingListNoListDataText="暂无开启位置权限"></fu-empty-ui>
<fu-empty-ui @permission="handlePermission" v-if="permissionStatus == -1" emptyImage="permission"
pagingListNoListDataText="您已永久拒绝位置权限"></fu-empty-ui>
</block>
<view class="popup-mask" v-if="showPopup" @click="handleHidePopup"></view>
@ -132,8 +161,8 @@
<view class='flex flex-wrap align-center justify-around nearbyMerchants_fd1_1'>
<view class='flex flex-wrap align-center justify-center nearbyMerchants_fd1_1_c0'
@tap.stop="handleShowPopup(1)">
<text class='nearbyMerchants_fd1_1_c0_c0' :class="tabls == 1 ? 'active-tab' : ''"
>{{screeningMerchants_id}}</text>
<text class='nearbyMerchants_fd1_1_c0_c0'
:class="tabls == 1 ? 'active-tab' : ''">{{screeningMerchants_id}}</text>
<image class='nearbyMerchants_fd1_1_c0_c1' :src='STATIC_URL+"92.png"' v-if="state=='1'"></image>
<image class='nearbyMerchants_fd1_1_c0_c1_1' :src='STATIC_URL+"93.png"' v-if="state=='2'"></image>
</view>
@ -142,8 +171,8 @@
<view class='flex flex-wrap align-center justify-center nearbyMerchants_fd1_1_c2'
@tap.stop="handleShowPopup(2)">
<text class='nearbyMerchants_fd1_1_c2_c0' :class="tabls == 2 ? 'active-tab' : ''"
>{{filterDistance_id}}</text>
<text class='nearbyMerchants_fd1_1_c2_c0'
:class="tabls == 2 ? 'active-tab' : ''">{{filterDistance_id}}</text>
<image class='nearbyMerchants_fd1_1_c2_c1' :src='STATIC_URL+"93.png"' v-if="state=='1'"></image>
<image class='nearbyMerchants_fd1_1_c2_c1_1' :src='STATIC_URL+"92.png"' v-if="state=='2'"></image>
</view>
@ -152,19 +181,24 @@
<scroll-view scroll-y="true" class="list">
<view class="item" @tap="handleChooseSort(1, '')">
<text class="title">全部商家</text>
<image class="img-dui" v-if="selectCateId == ''" :src='STATIC_URL+"dui.png"' mode="widthFix"></image>
<image class="img-dui" v-if="selectCateId == ''" :src='STATIC_URL+"dui.png"' mode="widthFix">
</image>
</view>
<view class="item" v-for="(item, index) in cateList" :key="index" @tap="handleChooseSort(1, item.aid)">
<view class="item" v-for="(item, index) in cateList" :key="index"
@tap="handleChooseSort(1, item.aid)">
<text class="title">{{item.title}}</text>
<image class="img-dui" v-if="selectCateId == item.aid" :src='STATIC_URL+"dui.png"' mode="widthFix"></image>
<image class="img-dui" v-if="selectCateId == item.aid" :src='STATIC_URL+"dui.png"'
mode="widthFix"></image>
</view>
</scroll-view>
</view>
<view class="list-wrap" v-if="tabls == 2">
<scroll-view scroll-y="true" class="list">
<view class="item" v-for="(item, index) in distanceList" :key="index" @tap="handleChooseSort(2, item.id)">
<view class="item" v-for="(item, index) in distanceList" :key="index"
@tap="handleChooseSort(2, item.id)">
<text class="title">{{item.title}}</text>
<image v-if="selectDistance == item.id" class="img-dui" :src='STATIC_URL+"dui.png"' mode="widthFix"></image>
<image v-if="selectDistance == item.id" class="img-dui" :src='STATIC_URL+"dui.png"'
mode="widthFix"></image>
</view>
</scroll-view>
</view>
@ -202,7 +236,11 @@
</view>
</template>
<script>
import { STATIC_URL, ACCEPT_PLATFORM, SYSTEM_CONFIG } from '@/common/config.js';
import {
STATIC_URL,
ACCEPT_PLATFORM,
SYSTEM_CONFIG
} from '@/common/config.js';
import amap from '@/common/amap-wx.js';
import {
API_BASE_URL
@ -443,7 +481,10 @@
},
methods: {
getPublishStatus() {
this.post(apiUrls.post673572b0bebd7, {app_version: SYSTEM_CONFIG.appVersion, type: ACCEPT_PLATFORM == 'IOS' ? 'ios' : 'android'}) .then(res => {
this.post(apiUrls.post673572b0bebd7, {
app_version: SYSTEM_CONFIG.appVersion,
type: ACCEPT_PLATFORM == 'IOS' ? 'ios' : 'android'
}).then(res => {
if (res.data.code == 1) {
this.isPublish = !res.data.data.is_listing;
@ -486,7 +527,7 @@
latitude: item.address_lat - 0,
longitude: item.address_lng - 0,
name: item.address_address,
success: function () {
success: function() {
console.log('success');
},
fail: (err) => {
@ -496,7 +537,7 @@
},
handlePermission(type) {
console.log(123)
if (type ==1) {
if (type == 1) {
this.requestAndroidPermission('android.permission.ACCESS_FINE_LOCATION');
} else {
permision.gotoAppPermissionSetting()
@ -519,11 +560,12 @@
let isLocation = uni.getStorageSync('LVTAI_USER_LOCATION') || false;
if (!isLocation) {
uni.showModal({
title:'提示',
title: '提示',
content: '获取您的定位权限以展示附近推荐商家?',
success: res => {
if (res.confirm) {
that.requestAndroidPermission('android.permission.ACCESS_FINE_LOCATION');
that.requestAndroidPermission(
'android.permission.ACCESS_FINE_LOCATION');
} else {
that.permissionStatus = 0;
}
@ -579,7 +621,7 @@
this.screeningMerchants_id = screeningMerchants_id;
this.distance =this.selectDistance;
this.distance = this.selectDistance;
let filterDistance_id = ''
this.distanceList.map((item) => {
if (item.id == this.distance) {
@ -660,7 +702,7 @@
height: 36,
iconPath: 'https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/Location.png'
}];
curPageData.map((item) => {
curPageData.map((item) => {
covers.push({
id: item.aid,
latitude: item.address_lat,
@ -794,6 +836,7 @@ curPageData.map((item) => {
font-size: 24rpx;
color: #fff;
}
.page {
width: 750rpx;
overflow-x: hidden;
@ -899,6 +942,7 @@ curPageData.map((item) => {
font-weight: 500;
line-height: 30rpx;
}
.active-tab {
color: #333333;
}
@ -1055,11 +1099,13 @@ curPageData.map((item) => {
border-radius: 0rpx 0rpx 0rpx 0rpx;
margin: 0rpx 4rpx 0rpx 0rpx;
}
.nearbyMerchants_fd3_0_c1_c0_c1001 {
position: relative;
width: 128rpx;
height: 40rpx;
}
.nearbyMerchants_fd3_0_c1_c0_c1 {
// position: relative;
background-color: #64CBE3;
@ -1112,11 +1158,13 @@ curPageData.map((item) => {
font-weight: 500;
line-height: 36rpx;
}
.nearbyMerchants_fd3_0_c0_c0001 {
position: absolute;
width: 128rpx;
height: 36rpx;
}
.nearbyMerchants_fd3_0_c0_c0 {
background-image: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/23.png) no-repeat, rgba(255, 162, 31, 1);
@ -1187,18 +1235,22 @@ curPageData.map((item) => {
border-radius: 0 0 24rpx 24rpx;
z-index: 99999;
}
.list-wrap {
display: flex;
flex-direction: row;
}
.img-dui {
width: 36rpx;
height: 25rpx;
}
.list {
flex: 1;
height: 600rpx;
}
.item {
// margin-bottom: 24rpx;
height: 104rpx;
@ -1206,20 +1258,24 @@ curPageData.map((item) => {
align-items: center;
justify-content: space-between;
}
.title {
font-size: 28rpx;
color: #666;
}
.activet {
color: #36AA2E !important;
}
.btn-wrap {
margin-top: 32rpx;
display: flex;
flex-direction: row;
justify-content: center;
}
.sure-btn {
position: fixed;
bottom: 48rpx;
@ -1237,10 +1293,12 @@ curPageData.map((item) => {
align-items: center;
justify-content: center;
}
.sure {
font-size: 32rpx;
color: #fff;
}
.btn {
width: 200rpx;
height: 64rpx;
@ -1250,22 +1308,46 @@ curPageData.map((item) => {
align-items: center;
justify-content: center;
}
.btn-unselect {
width: 240rpx;
}
.btn-unselect.active {
margin-left: 20rpx;
}
.btn-text {
font-size: 24rpx;
color: #666;
}
.active {
margin-left: 20rpx;
background-color: #36AA2E;
}
.btn-text-active {
font-size: 24rpx;
color: #fff;
}
.point-bg {
background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/point_bg.png) no-repeat;
background-size: cover;
position: absolute;
top: -32rpx;
left: -32rpx;
z-index: 10;
width: 112rpx;
height: 112rpx;
}
.point-bg-txt {
transform: rotate(315deg);
font-size: 20rpx;
color: #fff;
margin-left: 12rpx;
margin-top: 32rpx;
}
</style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB