云仓修改
@ -310,6 +310,14 @@
|
|||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}, {
|
||||||
|
"path": "tourism/indexa",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "特色文旅",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -197,13 +197,13 @@
|
|||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
onTabItemTap(e) {
|
onTabItemTap(e) {
|
||||||
|
|
||||||
uni.pageScrollTo({
|
|
||||||
selector: ".Circle_friends",
|
|
||||||
scrollTop: 0
|
|
||||||
})
|
|
||||||
|
|
||||||
|
uni.pageScrollTo({
|
||||||
|
selector: ".Circle_friends",
|
||||||
|
scrollTop: 0
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (this.status == 'nomore') return;
|
if (this.status == 'nomore') return;
|
||||||
@ -249,7 +249,7 @@
|
|||||||
this.backColor = 'rgba(252, 252, 252, 1.0)'
|
this.backColor = 'rgba(252, 252, 252, 1.0)'
|
||||||
this.isFshow = true
|
this.isFshow = true
|
||||||
this.show = false
|
this.show = false
|
||||||
this.$nextTick(()=>{
|
this.$nextTick(() => {
|
||||||
uni.setTabBarItem({
|
uni.setTabBarItem({
|
||||||
index: 0,
|
index: 0,
|
||||||
text: '返回顶部',
|
text: '返回顶部',
|
||||||
@ -318,6 +318,8 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
kkchange(e) {
|
kkchange(e) {
|
||||||
this.bgColor = e
|
this.bgColor = e
|
||||||
},
|
},
|
||||||
|
@ -1,143 +1,591 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="cloud_entrepot" :style="{'min-height': winHeight + 'px'}">
|
<view class="">
|
||||||
<view class="head-wrapper"></view>
|
<!-- <view class="cloud_entrepot" :style="{'min-height': winHeight + 'px'}">
|
||||||
<view class="town-title">{{town}}里海云仓</view>
|
<view class="head-wrapper"></view>
|
||||||
<view class="body-wrapper">
|
<view class="town-title">{{town}}里海云仓</view>
|
||||||
<block v-for="(item,index) in cloudList" :key="index">
|
<view class="body-wrapper">
|
||||||
<navigator class="item"
|
<block v-for="(item,index) in cloudList" :key="index">
|
||||||
:url="`/pages/nongKe/goods_list/index?cate_id=${item.category_id}&street=${street_code}&name=${item.category_name}`"
|
<navigator class="item"
|
||||||
:style="{'background-image': `url(${item.background})`}">
|
:url="`/pages/nongKe/goods_list/index?cate_id=${item.category_id}&street=${street_code}&name=${item.category_name}`"
|
||||||
<text class="item-title">{{item.category_name}}云仓服务</text>
|
:style="{'background-image': `url(${item.background})`}">
|
||||||
<text>{{item.description}}</text>
|
<text class="item-title">{{item.category_name}}云仓服务</text>
|
||||||
<view class="chakan-btn">查看</view>
|
<text>{{item.description}}</text>
|
||||||
</navigator>
|
<view class="chakan-btn">查看</view>
|
||||||
</block>
|
</navigator>
|
||||||
</view>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
|
</view> -->
|
||||||
|
|
||||||
|
|
||||||
|
<view class="">
|
||||||
|
<view style="height: var(--status-bar-height);"></view>
|
||||||
|
<transition name="fade">
|
||||||
|
<view class="head" v-if="showtit">
|
||||||
|
<view style="display: flex;align-items: center;">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image>
|
||||||
|
<view class="head_tit">
|
||||||
|
通滩镇里海云仓
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="" @click="showPop=true">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/QB.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image>
|
||||||
|
全部
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</transition>
|
||||||
|
<transition name="fade">
|
||||||
|
<!-- 滚动 -->
|
||||||
|
<view class="heads" v-if="!showtit">
|
||||||
|
<view class="" style="display: flex;align-items: center;">
|
||||||
|
<view class="back" style="margin-right: 17rpx;">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
<view class="" style="font-size: 40rpx;font-weight: 700;transform: skewX(-10deg);">
|
||||||
|
供销综合云市场
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view style="position: relative;width: 289.14rpx;">
|
||||||
|
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="请输入..."
|
||||||
|
v-model="keyword" class="serch_cls"></u-search>
|
||||||
|
<u--image class="img_cls" :showLoading="true" src="/static/images/GXSC/SS.png" width="115.65rpx"
|
||||||
|
height="56.82rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
<view class='iconfont search-right' @click="showPop=true">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/QB.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image>
|
||||||
|
全部
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</transition>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="box">
|
||||||
|
<view class="" style="">
|
||||||
|
<swiper :autoplay="false" :active-class="activeClass" :interval="3000" class="swipers"
|
||||||
|
:circular="true" previous-margin='1rpx' next-margin='1rpx' :current="current"
|
||||||
|
:disable-touch="true">
|
||||||
|
<swiper-item v-for="item in list3">
|
||||||
|
<u--image :showLoading="true" :src="item" width="750rpx" height="998.83rpx"></u--image>
|
||||||
|
</swiper-item>
|
||||||
|
</swiper>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/BG.png" width="750rpx"
|
||||||
|
height="998.83rpx"></u--image> -->
|
||||||
|
<view class="menu" v-if="false">
|
||||||
|
|
||||||
|
<swiper :autoplay="false" :active-class="activeClass" :interval="3000" class="swiper"
|
||||||
|
:circular="true" previous-margin='280rpx' next-margin='280rpx' :current="current"
|
||||||
|
@change="test">
|
||||||
|
<swiper-item v-for="item in list3">
|
||||||
|
<u--image :showLoading="true" :src="item" width="175.23rpx" height="175.23rpx"></u--image>
|
||||||
|
</swiper-item>
|
||||||
|
</swiper>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="content_act" :style="">
|
||||||
|
<view class="content_sift" v-if="true">
|
||||||
|
<view class="">
|
||||||
|
综合
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
销量
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
价格
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="goods_list">
|
||||||
|
<view class="goods" v-for="item,index in [1,1,1,1,1]">
|
||||||
|
<view class="left">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/BG.png" width="192.76rpx"
|
||||||
|
height="192.76rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
<view class="right">
|
||||||
|
<view class="tit">
|
||||||
|
亿福馒头粉纯天然无添加小麦粉加工 1000g/袋
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
<view class="good_score">
|
||||||
|
<text style="margin-right: 10rpx;color: #F84221;">5.0</text>
|
||||||
|
<text>3000+评论</text>
|
||||||
|
</view>
|
||||||
|
<view class="good_price">
|
||||||
|
<view class="good_price_l">
|
||||||
|
<view class=""
|
||||||
|
style="color: #F84221;font-size: 22.78rpx;font-weight: bold;">
|
||||||
|
¥<text style="font-size: 30rpx;">10</text>.00
|
||||||
|
</view>
|
||||||
|
<view class="old_price">
|
||||||
|
¥30.00
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="good_price_r">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/J.png"
|
||||||
|
width="49.07rpx" height="49.07rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 100rpx;">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="card">
|
||||||
|
<view class="left">
|
||||||
|
<view class="">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
|
||||||
|
height="63.09rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
<view class="tot_price">
|
||||||
|
<view class="">
|
||||||
|
¥20.00
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
支持配送 售后无忧
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="right">
|
||||||
|
去结算
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<!-- http://192.168.1.5:8080/ -->
|
||||||
|
</view>
|
||||||
|
<!-- 组件 -->
|
||||||
|
<view<u-popup mode="right" :show="showPop" @close="showPop=false" @open="showPop=true">
|
||||||
|
<view class="pop">
|
||||||
|
<!-- <text>出淤泥而不染,濯清涟而不妖</text> -->
|
||||||
|
<view class="pop_head" style="display: flex;">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image>
|
||||||
|
<view class="head_tit">
|
||||||
|
里海云仓
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="pop_content">
|
||||||
|
<view class="pop_li" v-for="item in [1,1,1,1,1,1]">
|
||||||
|
<u--image :showLoading="true" src="/static/images/LHYC/SHFWYC.png" width="84.11rpx"
|
||||||
|
height="84.11rpx"></u--image>
|
||||||
|
<view class="" style="margin-left: 20rpx;">
|
||||||
|
<view style="font-size: 33.29rpx;color: black;">
|
||||||
|
生活服务云仓服务
|
||||||
|
</view>
|
||||||
|
<view class="" style="font-size: 22.78rpx;">
|
||||||
|
生活服务云仓服务
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</u-popup>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getCityCloundShop } from '@/api/api.js'
|
import {
|
||||||
import { Toast } from '@/libs/uniApi';
|
getCityCloundShop
|
||||||
export default {
|
} from '@/api/api.js'
|
||||||
data() {
|
import {
|
||||||
let src = 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13';
|
Toast
|
||||||
return {
|
} from '@/libs/uniApi';
|
||||||
winHeight: 0,
|
export default {
|
||||||
cloudList: [],
|
data() {
|
||||||
street_code: '',
|
let src = 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13';
|
||||||
town: ''
|
return {
|
||||||
}
|
current: 3,
|
||||||
},
|
winHeight: 0,
|
||||||
onLoad(e) {
|
cloudList: [],
|
||||||
uni.getSystemInfo({
|
street_code: '',
|
||||||
success: (res) => {
|
town: '',
|
||||||
this.winHeight = res.windowHeight
|
list: [1, 1, 1, 1, 1],
|
||||||
},
|
showPop: false,
|
||||||
});
|
keyword: "",
|
||||||
this.street_code = e.street
|
showtit: true,
|
||||||
this.town = e.town
|
activeClass: 'activeClass',
|
||||||
this.getCloundShop()
|
list3: [
|
||||||
},
|
'/static/images/LHYC/BG.png',
|
||||||
onShow() {},
|
'/static/images/LHYC/WYLVYC.png',
|
||||||
onPullDownRefresh() {
|
'/static/images/LHYC/NFCPYC.png',
|
||||||
this.getCloundShop()
|
'/static/images/LHYC/NFCPYC.png',
|
||||||
uni.stopPullDownRefresh()
|
'/static/images/LHYC/NFCPYC.png',
|
||||||
},
|
],
|
||||||
methods: {
|
}
|
||||||
async getCloundShop() {
|
},
|
||||||
const { data } = await getCityCloundShop({ street_code: this.street_code })
|
onLoad(e) {
|
||||||
this.cloudList = data
|
uni.getSystemInfo({
|
||||||
data.length < 1 ? Toast("暂无云仓") : '';
|
success: (res) => {
|
||||||
}
|
this.winHeight = res.windowHeight
|
||||||
}
|
},
|
||||||
}
|
});
|
||||||
|
this.street_code = e.street
|
||||||
|
this.town = e.town
|
||||||
|
this.getCloundShop()
|
||||||
|
},
|
||||||
|
onShow() {},
|
||||||
|
onPageScroll(e) {
|
||||||
|
console.log(e.scrollTop)
|
||||||
|
|
||||||
|
this.showtit = !Boolean(e.scrollTop)
|
||||||
|
},
|
||||||
|
onPullDownRefresh() {
|
||||||
|
this.getCloundShop()
|
||||||
|
uni.stopPullDownRefresh()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
test(e) {
|
||||||
|
// console.log(e.target.current)
|
||||||
|
this.current = e.target.current
|
||||||
|
},
|
||||||
|
async getCloundShop() {
|
||||||
|
const {
|
||||||
|
data
|
||||||
|
} = await getCityCloundShop({
|
||||||
|
street_code: this.street_code
|
||||||
|
})
|
||||||
|
this.cloudList = data
|
||||||
|
data.length < 1 ? Toast("暂无云仓") : '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
.cloud_entrepot {
|
.box {
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/ycbg.png") no-repeat;
|
position: relative;
|
||||||
background-size: cover;
|
|
||||||
padding-bottom: 92.98rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.head-wrapper {
|
.content {
|
||||||
height: 485.96rpx;
|
width: 100vw;
|
||||||
width: 100%;
|
position: absolute;
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/top.png") no-repeat;
|
top: 965rpx;
|
||||||
background-size: cover;
|
z-index: 99;
|
||||||
margin-bottom: 49.12rpx;
|
background-color: #F4F4F4;
|
||||||
}
|
padding: 0 10rpx;
|
||||||
|
|
||||||
.town-title {
|
}
|
||||||
margin: 0 auto;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
font-size: 50.88rpx;
|
|
||||||
color: #fff;
|
|
||||||
margin-bottom: 28.07rpx;
|
|
||||||
|
|
||||||
&::after {
|
.content_act {
|
||||||
content: '';
|
width: 100vw;
|
||||||
display: inline-block;
|
position: absolute;
|
||||||
width: 66.67rpx;
|
top: 165rpx;
|
||||||
height: 31.58rpx;
|
z-index: 99;
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/you.png") no-repeat;
|
background-color: #F4F4F4;
|
||||||
background-size: cover;
|
padding: 0 10rpx;
|
||||||
margin-left: 24.56rpx;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
.fade-enter-active,
|
||||||
content: '';
|
.fade-leave-active {
|
||||||
display: inline-block;
|
transition: opacity 0.5s;
|
||||||
width: 66.67rpx;
|
/* 过渡动画持续时间 */
|
||||||
height: 31.58rpx;
|
}
|
||||||
background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/zuo.png") no-repeat;
|
|
||||||
background-size: cover;
|
|
||||||
margin-right: 24.56rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.body-wrapper {
|
.fade-enter,
|
||||||
width: 694.74rpx;
|
.fade-leave-to {
|
||||||
display: flex;
|
opacity: 0;
|
||||||
justify-content: space-between;
|
/* 初始状态和最终状态的透明度 */
|
||||||
flex-wrap: wrap;
|
}
|
||||||
margin: 0 auto;
|
|
||||||
|
|
||||||
.item {
|
.head_tits {
|
||||||
width: 336.84rpx;
|
display: flex;
|
||||||
height: 100%;
|
justify-content: space-between;
|
||||||
padding: 24.56rpx 28.07rpx;
|
align-items: center;
|
||||||
margin-bottom: 21.05rpx;
|
box-sizing: border-box;
|
||||||
background-repeat: no-repeat;
|
padding: 0 20rpx;
|
||||||
background-size: 100% 100%;
|
color: white;
|
||||||
box-sizing: border-box;
|
}
|
||||||
|
|
||||||
text {
|
.img_cls {
|
||||||
display: block;
|
position: absolute;
|
||||||
font-size: 24.56rpx;
|
top: 50%;
|
||||||
color: #999;
|
right: 7rpx;
|
||||||
margin-bottom: 14.04rpx;
|
transform: translateY(-50%);
|
||||||
}
|
|
||||||
|
|
||||||
.item-title {
|
}
|
||||||
font-size: 31.58rpx;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chakan-btn {
|
.pop {
|
||||||
width: 114.04rpx;
|
width: 615.07rpx;
|
||||||
height: 49.12rpx;
|
padding: 30rpx 28rpx;
|
||||||
font-size: 28.07rpx;
|
|
||||||
text-align: center;
|
.pop_content {
|
||||||
line-height: 49.12rpx;
|
width: 559rpx;
|
||||||
color: #fff;
|
height: 80vh;
|
||||||
margin-top: auto;
|
background-color: #F4F4F4;
|
||||||
background: linear-gradient(90deg, #FE5300 0%, #F84221 100%);
|
padding: 28rpx;
|
||||||
border-radius: 50px;
|
border-radius: 21.03rpx 21.03rpx 0rpx 0rpx;
|
||||||
}
|
margin-top: 47rpx;
|
||||||
}
|
|
||||||
}
|
.pop_head {
|
||||||
</style>
|
// display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pop_li {
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 52rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.head_tit {
|
||||||
|
margin-left: 20rpx;
|
||||||
|
font-size: 40rpx;
|
||||||
|
// font-weight: 700;
|
||||||
|
transform: skewX(-10deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.head {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 100;
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.heads {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 100;
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu {
|
||||||
|
position: absolute;
|
||||||
|
top: 748rpx;
|
||||||
|
width: 750rpx;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.goods_list {
|
||||||
|
|
||||||
|
box-shadow: 0 -330rpx 20px rgba(255, 255, 255, 0.6);
|
||||||
|
|
||||||
|
.goods {
|
||||||
|
display: flex;
|
||||||
|
padding: 21rpx;
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
width: 192.76rpx;
|
||||||
|
height: 192.76rpx;
|
||||||
|
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||||
|
margin-right: 21rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.tit {
|
||||||
|
font-size: 29.79rpx;
|
||||||
|
color: black;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.good_score {
|
||||||
|
font-size: 26rpx;
|
||||||
|
color: #B3B3B3;
|
||||||
|
margin-bottom: 15rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.good_price {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.good_price_l {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.old_price {
|
||||||
|
color: #B3B3B3;
|
||||||
|
text-decoration: line-through;
|
||||||
|
font-size: 26.29rpx;
|
||||||
|
margin-left: 15rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// color: greenyellow;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.activeClass {
|
||||||
|
width: 400rpx;
|
||||||
|
height: 400rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content_sift {
|
||||||
|
width: 750rpx;
|
||||||
|
padding: 22rpx 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 99999;
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.swipers {
|
||||||
|
width: 750rpx;
|
||||||
|
height: 998.83rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
width: 720rpx;
|
||||||
|
// margin:auto;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
background-color: #333333;
|
||||||
|
height: 101.64rpx;
|
||||||
|
border-radius: 50.82rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 10rpx 35rpx;
|
||||||
|
|
||||||
|
.tot_price {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 42rpx;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
font-size: 33.29rpx;
|
||||||
|
line-height: 50px;
|
||||||
|
background: linear-gradient(to right, #F84221, #FF6D20);
|
||||||
|
width: 175.23rpx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// .cloud_entrepot {
|
||||||
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/ycbg.png") no-repeat;
|
||||||
|
// background-size: cover;
|
||||||
|
// padding-bottom: 92.98rpx;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .head-wrapper {
|
||||||
|
// height: 485.96rpx;
|
||||||
|
// width: 100%;
|
||||||
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/top.png") no-repeat;
|
||||||
|
// background-size: cover;
|
||||||
|
// margin-bottom: 49.12rpx;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .town-title {
|
||||||
|
// margin: 0 auto;
|
||||||
|
// width: 100%;
|
||||||
|
// text-align: center;
|
||||||
|
// font-size: 50.88rpx;
|
||||||
|
// color: #fff;
|
||||||
|
// margin-bottom: 28.07rpx;
|
||||||
|
|
||||||
|
// &::after {
|
||||||
|
// content: '';
|
||||||
|
// display: inline-block;
|
||||||
|
// width: 66.67rpx;
|
||||||
|
// height: 31.58rpx;
|
||||||
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/you.png") no-repeat;
|
||||||
|
// background-size: cover;
|
||||||
|
// margin-left: 24.56rpx;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// &::before {
|
||||||
|
// content: '';
|
||||||
|
// display: inline-block;
|
||||||
|
// width: 66.67rpx;
|
||||||
|
// height: 31.58rpx;
|
||||||
|
// background: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/zuo.png") no-repeat;
|
||||||
|
// background-size: cover;
|
||||||
|
// margin-right: 24.56rpx;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .body-wrapper {
|
||||||
|
// width: 694.74rpx;
|
||||||
|
// display: flex;
|
||||||
|
// justify-content: space-between;
|
||||||
|
// flex-wrap: wrap;
|
||||||
|
// margin: 0 auto;
|
||||||
|
|
||||||
|
// .item {
|
||||||
|
// width: 336.84rpx;
|
||||||
|
// height: 100%;
|
||||||
|
// padding: 24.56rpx 28.07rpx;
|
||||||
|
// margin-bottom: 21.05rpx;
|
||||||
|
// background-repeat: no-repeat;
|
||||||
|
// background-size: 100% 100%;
|
||||||
|
// box-sizing: border-box;
|
||||||
|
|
||||||
|
// text {
|
||||||
|
// display: block;
|
||||||
|
// font-size: 24.56rpx;
|
||||||
|
// color: #999;
|
||||||
|
// margin-bottom: 14.04rpx;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .item-title {
|
||||||
|
// font-size: 31.58rpx;
|
||||||
|
// color: #333;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .chakan-btn {
|
||||||
|
// width: 114.04rpx;
|
||||||
|
// height: 49.12rpx;
|
||||||
|
// font-size: 28.07rpx;
|
||||||
|
// text-align: center;
|
||||||
|
// line-height: 49.12rpx;
|
||||||
|
// color: #fff;
|
||||||
|
// margin-top: auto;
|
||||||
|
// background: linear-gradient(90deg, #FE5300 0%, #F84221 100%);
|
||||||
|
// border-radius: 50px;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
</style>
|
@ -40,91 +40,90 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
<!-- 餐厅 -->
|
||||||
|
<view>
|
||||||
|
<u-tabs :list="list1" :activeStyle="{
|
||||||
|
color: '#303133',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
transform: 'scale(1.05)'
|
||||||
|
}" lineColor="#FF6D20" lineWidth='60'></u-tabs>
|
||||||
|
</view>
|
||||||
|
<!-- 分类 -->
|
||||||
|
|
||||||
<view class="store" style="background-color: white;">
|
<view class="display_around">
|
||||||
<view class="goods_list">
|
<view class="">
|
||||||
<view class="goods_cards" @click="goStore(item.mer_id)" v-for="(item,index) in storeList" :key="index">
|
全部美食
|
||||||
<view class="left">
|
</view>
|
||||||
<u--image :showLoading="true" :src="item.mer_avatar" width="157.71rpx"
|
<view class="">
|
||||||
height="157.71rpx"></u--image>
|
附近
|
||||||
</view>
|
</view>
|
||||||
<view class="right">
|
<view class="">
|
||||||
<view class="li heads" style="display: flex;">
|
智能排序
|
||||||
<text class="flag">特产</text>
|
</view>
|
||||||
<text class="com_name">{{item.mer_name}}</text>
|
<view class="">
|
||||||
<text
|
筛选
|
||||||
style="font-weight: normal; font-size: 10rpx;color: #737373;padding:0 10rpx; border-radius: 10rpx; border: 1px solid #737373;">{{item.type_name}}</text>
|
|
||||||
</view>
|
|
||||||
<view class="li">
|
|
||||||
<u--image v-for="item,index in [1,1,,1,1,1]" :key="index" :showLoading="true"
|
|
||||||
src="/static/images/GXSC/PF.png" width="20.85rpx" height="19.85rpx"></u--image>
|
|
||||||
<text style="margin-left: 10rpx;color: #FF6D20; ">5.0</text>
|
|
||||||
<text>月销2000+</text>
|
|
||||||
<text>20分钟</text>
|
|
||||||
<text>1.1km</text>
|
|
||||||
</view>
|
|
||||||
<view class="li" style="align-items: center;">
|
|
||||||
<u--image :showLoading="true" src="/static/images/GXSC/DH.png" width="33.85rpx"
|
|
||||||
height="33.85rpx"></u--image>
|
|
||||||
<text> {{item.service_phone}}</text>
|
|
||||||
</view>
|
|
||||||
<view class="li" style="align-items: center;">
|
|
||||||
<u--image :showLoading="true" src="/static/images/GXSC/SJ.png" width="33.85rpx"
|
|
||||||
height="33.85rpx"></u--image>
|
|
||||||
<text>{{item.mer_take_time[0]}}-{{item.mer_take_time[1]}}</text>
|
|
||||||
</view>
|
|
||||||
<view class="li" style="align-items: center;">
|
|
||||||
<u--image :showLoading="true" src="/static/images/GXSC/DW.png" width="33.85rpx"
|
|
||||||
height="33.85rpx"></u--image>
|
|
||||||
<text class="address">{{item.mer_address}}</text>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="">
|
|
||||||
<u-scroll-list>
|
|
||||||
<view v-for="(item, index) in list" :key="index" style="margin-right: 20rpx;">
|
|
||||||
<u--image :showLoading="true" src="https://cdn.uviewui.com/uview/album/1.jpg"
|
|
||||||
width="164.72rpx" height="164.72rpx"></u--image>
|
|
||||||
<view class="goods_tit_a">
|
|
||||||
笑口常开地方就是的开发建设的开发建设的,v空间和客户可怜见立刻就
|
|
||||||
</view>
|
|
||||||
<view style="color: red;">
|
|
||||||
$10.00
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<!-- <image :src="item.thumb"></image> -->
|
|
||||||
</view>
|
|
||||||
<!-- <view v-for="(item, index) in list" :key="index">
|
|
||||||
<image :src="item.thumb"></image>
|
|
||||||
</view> -->
|
|
||||||
</u-scroll-list>
|
|
||||||
</view>
|
|
||||||
<!-- <view class="">
|
|
||||||
<u-scroll-list>
|
|
||||||
<view v-for="(item, index) in list" :key="index" class="goods_card_a">
|
|
||||||
<u--image :showLoading="true" src="https://cdn.uviewui.com/uview/album/1.jpg"
|
|
||||||
width="164.72rpx" height="164.72rpx" @click="click"></u--image>
|
|
||||||
<view class="goods_tit_a">
|
|
||||||
笑口常开地方就是的开发建设的开发建设的,v空间和客户可怜见立刻就
|
|
||||||
</view>
|
|
||||||
<view class="goods_price">
|
|
||||||
$10.00
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</u-scroll-list>
|
|
||||||
</view>
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view class="display_around hot_serch">
|
||||||
|
<view class="hot_serch_li" v-for="item,index in [1,1,1,1]" :key="index">
|
||||||
|
泸州万达
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="padding: 0 20rpx;">
|
||||||
|
<view class="store" style="background-color: white;">
|
||||||
|
<view class="goods_list">
|
||||||
|
<view class="goods_cards" @click="goStore(item.mer_id)" v-for="(item,index) in storeList"
|
||||||
|
:key="index">
|
||||||
|
<view class="left">
|
||||||
|
<u--image :showLoading="true" :src="item.mer_avatar" width="157.71rpx"
|
||||||
|
height="157.71rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
<view class="right">
|
||||||
|
<view class="li heads" style="display: flex;">
|
||||||
|
<text class="com_name">{{item.mer_name}}</text>
|
||||||
|
<text
|
||||||
|
style="font-weight: normal; font-size: 10rpx;color: #737373;padding:0 10rpx; border-radius: 10rpx; border: 1px solid #737373;">{{item.type_name}}</text>
|
||||||
|
</view>
|
||||||
|
<view class="li">
|
||||||
|
<u--image v-for="item,index in [1,1,,1,1,1]" :key="index" :showLoading="true"
|
||||||
|
src="/static/images/GXSC/PF.png" width="20.85rpx" height="19.85rpx"></u--image>
|
||||||
|
<text style="margin-left:10rpx;color: #FF6D20; ">5.0</text>
|
||||||
|
<text>¥80/人</text>
|
||||||
|
<text>20分钟</text>
|
||||||
|
<text>1.1km</text>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="li" style="align-items: center;">
|
||||||
|
<u--image :showLoading="true" src="/static/images/GXSC/DH.png" width="33.85rpx"
|
||||||
|
height="33.85rpx"></u--image>
|
||||||
|
<text> {{item.service_phone}}</text>
|
||||||
|
</view>
|
||||||
|
<view class="li" style="align-items: center;">
|
||||||
|
<u--image :showLoading="true" src="/static/images/GXSC/SJ.png" width="33.85rpx"
|
||||||
|
height="33.85rpx"></u--image>
|
||||||
|
<text>{{item.mer_take_time[0]}}-{{item.mer_take_time[1]}}</text>
|
||||||
|
</view>
|
||||||
|
<view class="li" style="align-items: center;">
|
||||||
|
<u--image :showLoading="true" src="/static/images/GXSC/DW.png" width="33.85rpx"
|
||||||
|
height="33.85rpx"></u--image>
|
||||||
|
<text class="address">{{item.mer_address}}</text>
|
||||||
|
</view>
|
||||||
|
<u-line color="#B3B3B3"></u-line>
|
||||||
|
|
||||||
|
<view class="package display_around" v-for="item,index in [1,1,1]" :key="index">
|
||||||
|
<text class="hui">惠</text>
|
||||||
|
<text class="price">¥100</text>
|
||||||
|
<text class="sale">6.9折</text>
|
||||||
|
<text style="text-decoration: line-through;color: #B3B3B3;">¥100</text>
|
||||||
|
<text>究极套餐</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -138,7 +137,14 @@
|
|||||||
keyword: "",
|
keyword: "",
|
||||||
list: [1, 1, 1, 11, 1, 11, 11],
|
list: [1, 1, 1, 11, 1, 11, 11],
|
||||||
lists: [1, 1, 1, 1, 1],
|
lists: [1, 1, 1, 1, 1],
|
||||||
storeList: [1, 1, 1, 1, 1, 1, 1, 1, 1]
|
storeList: [1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
list1: [{
|
||||||
|
name: "美食餐厅"
|
||||||
|
}, {
|
||||||
|
name: "聚餐宴请"
|
||||||
|
}, {
|
||||||
|
name: "单人餐"
|
||||||
|
}, ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLaunch() {
|
onLaunch() {
|
||||||
@ -199,6 +205,10 @@
|
|||||||
|
|
||||||
.foodType {
|
.foodType {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 21rpx 38rpx;
|
||||||
|
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
|
||||||
|
|
||||||
.foodLi {}
|
.foodLi {}
|
||||||
}
|
}
|
||||||
@ -232,7 +242,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hot_serch {
|
||||||
|
margin: 20rpx;
|
||||||
|
|
||||||
|
.hot_serch_li {
|
||||||
|
background-color: white;
|
||||||
|
padding: 8rpx 22rpx;
|
||||||
|
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.store {
|
.store {
|
||||||
|
|
||||||
.goods_list {
|
.goods_list {
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
|
|
||||||
@ -303,6 +324,41 @@
|
|||||||
margin: 0 10rpx 0;
|
margin: 0 10rpx 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.package {
|
||||||
|
margin-top: 30rpx;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.hui {
|
||||||
|
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||||
|
background-color: #FEEBE7;
|
||||||
|
color: #F84221;
|
||||||
|
font-size: 22.78rpx;
|
||||||
|
// padding: 5rpx;
|
||||||
|
width: 36rpx;
|
||||||
|
height: 35rpx;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.price {
|
||||||
|
color: #F84221;
|
||||||
|
font-size: 36.8rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sale {
|
||||||
|
width: 77.1rpx;
|
||||||
|
height: 44rpx;
|
||||||
|
background-color: white;
|
||||||
|
color: #F84221;
|
||||||
|
border: 1px solid #F84221;
|
||||||
|
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||||
|
font-size: 22.78rpx;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 40rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -323,4 +379,9 @@
|
|||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.display_around {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
@ -20,9 +20,6 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view style="position: relative;width: 289.14rpx;">
|
<view style="position: relative;width: 289.14rpx;">
|
||||||
<!-- <text class='iconfont icon-sousuo'></text>
|
|
||||||
<input placeholder='搜索店铺名称' placeholder-class='placeholder' confirm-type='search' name="search"
|
|
||||||
:value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
|
|
||||||
<u-search borderColor="#FF6D20" bgColor="white" @change="test" :showAction="false"
|
<u-search borderColor="#FF6D20" bgColor="white" @change="test" :showAction="false"
|
||||||
placeholder="请输入..." v-model="sotreParam.keyword" class="serch_cls"></u-search>
|
placeholder="请输入..." v-model="sotreParam.keyword" class="serch_cls"></u-search>
|
||||||
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||||
|
@ -384,8 +384,6 @@
|
|||||||
this.getClassfication();
|
this.getClassfication();
|
||||||
this.getStoreType();
|
this.getStoreType();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
downMenus: function() {
|
downMenus: function() {
|
||||||
|
462
pages/nongKe/tourism/indexa.vue
Normal file
@ -0,0 +1,462 @@
|
|||||||
|
<template>
|
||||||
|
<view class="box">
|
||||||
|
<view class="head">
|
||||||
|
<view style="height: var(--status-bar-height);"></view>
|
||||||
|
<!-- <u--image style="position: absolute;" :showLoading="true" src="/static/images/MYTC/BG.png" width="750rpx"
|
||||||
|
height="748.25rpx" @click="click"></u--image> -->
|
||||||
|
<view class="head_tit">
|
||||||
|
<view class="head_tit_l">
|
||||||
|
<view class="iconfont icon-xiangzuo"></view>
|
||||||
|
<view style="font-size: 40rpx;font-weight: 700;margin-left: 30rpx; transform: skewX(-10deg);">
|
||||||
|
特色文旅
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="head_tit_r" style="font-size: 29.79rpx;">
|
||||||
|
江阳区 <text style="margin-left: 10rpx;" class="iconfont icon-xiangxia"></text>
|
||||||
|
<view class="" style="font-size: 22.78rpx;">
|
||||||
|
晴天30℃
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="head_serch">
|
||||||
|
<view style="position: relative;">
|
||||||
|
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
|
||||||
|
v-model="keyword" class="serch_cls"></u-search>
|
||||||
|
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true" src="/static/images/GXSC/SS.png"
|
||||||
|
width="115.65rpx" height="56.82rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 热门景点 -->
|
||||||
|
<view class="hot_attractions">
|
||||||
|
<view class="hot_tit">
|
||||||
|
热门景点
|
||||||
|
</view>
|
||||||
|
<view class="container">
|
||||||
|
<view class="left">
|
||||||
|
<view class="video">
|
||||||
|
<video src=""></video>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="container_right">
|
||||||
|
<view class="containerli" style="margin-bottom: 20rpx;">
|
||||||
|
<view class="container_img">
|
||||||
|
sdsd
|
||||||
|
</view>
|
||||||
|
<view class="tit">
|
||||||
|
sdssds
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="containerli">
|
||||||
|
<view class="container_img">
|
||||||
|
sdsd
|
||||||
|
</view>
|
||||||
|
<view class="tit">
|
||||||
|
<view class="">
|
||||||
|
asdsadasdsd
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 趣玩帮 -->
|
||||||
|
<view class="play">
|
||||||
|
<view class="hot_tit">
|
||||||
|
趣玩榜
|
||||||
|
</view>
|
||||||
|
<view class="content">
|
||||||
|
<view class="content_li" v-for="item,index in [1,1,1,1,1,1]">
|
||||||
|
<view class="num">
|
||||||
|
3.5万人游玩过
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 商家 -->
|
||||||
|
<view style="padding: 0 20rpx;">
|
||||||
|
<view class="store" style="background-color: white;">
|
||||||
|
<view class="goods_list">
|
||||||
|
<view class="goods_cards" @click="goStore(item.mer_id)" v-for="(item,index) in storeList"
|
||||||
|
:key="index">
|
||||||
|
<view class="left">
|
||||||
|
<u--image :showLoading="true" :src="item.mer_avatar" width="157.71rpx"
|
||||||
|
height="227rpx"></u--image>
|
||||||
|
</view>
|
||||||
|
<view class="right">
|
||||||
|
<view class="li heads" style="display: flex;">
|
||||||
|
<text class="com_name">{{item.mer_name}}</text>
|
||||||
|
<text class="leavl">AAAA</text>
|
||||||
|
</view>
|
||||||
|
<view class="li">
|
||||||
|
<u--image v-for="item,index in [1,1,,1,1,1]" :key="index" :showLoading="true"
|
||||||
|
src="/static/images/GXSC/PF.png" width="20.85rpx" height="19.85rpx"></u--image>
|
||||||
|
<text style="margin-left:10rpx;color: #FF6D20; ">5.0</text>
|
||||||
|
<text>2000条评论</text>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="li" style="align-items: center;">
|
||||||
|
<text> 距离你6.8KM</text>
|
||||||
|
<text> 江阳区</text>
|
||||||
|
</view>
|
||||||
|
<view class="li display_bet" style="align-items: center;">
|
||||||
|
<view class="">
|
||||||
|
<text class="leavl">公园</text>
|
||||||
|
<text class="leavl">绿化</text>
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
<text>免费预约</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="li" style="margin-top: 20rpx;">
|
||||||
|
<text style="font-weight: bold;">必玩</text>
|
||||||
|
<text>张家大叔、卧龙树、京杭太</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
storeMerchantList,
|
||||||
|
} from '@/api/store.js';
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
keyword: "",
|
||||||
|
list: [1, 1, 1, 11, 1, 11, 11],
|
||||||
|
lists: [1, 1, 1, 1, 1],
|
||||||
|
storeList: [1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
list1: [{
|
||||||
|
name: "美食餐厅"
|
||||||
|
}, {
|
||||||
|
name: "聚餐宴请"
|
||||||
|
}, {
|
||||||
|
name: "单人餐"
|
||||||
|
}, ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLaunch() {
|
||||||
|
console.log(46545)
|
||||||
|
// storeMerchantList().then(res => {
|
||||||
|
// // this.count = res.data.count
|
||||||
|
// // this.storeList = this.storeList.concat(res.data.list)
|
||||||
|
// // this.loading = false
|
||||||
|
// // this.loadingIcon = false
|
||||||
|
// console.log(res)
|
||||||
|
// })
|
||||||
|
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
// console.log(46545)
|
||||||
|
storeMerchantList().then(res => {
|
||||||
|
// this.count = res.data.count
|
||||||
|
this.storeList = res.data.list
|
||||||
|
// this.loading = false
|
||||||
|
// this.loadingIcon = false
|
||||||
|
// console.log(res)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
methods: {},
|
||||||
|
onPullDownRefresh() {
|
||||||
|
uni.stopPullDownRefresh()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.head {
|
||||||
|
// background-color: #F94621;
|
||||||
|
// background: url('/static/images/MYTC/BG.png') no-repeat;
|
||||||
|
padding: 20rpx;
|
||||||
|
border-radius: 0rpx 0rpx 31.54rpx 31.54rpx;
|
||||||
|
|
||||||
|
.head_tit {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
// color: white;
|
||||||
|
// margin-bottom: 20rpx;
|
||||||
|
|
||||||
|
.head_tit_l {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.head_tit_r {
|
||||||
|
// display: flex;
|
||||||
|
// align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.head_serch {
|
||||||
|
margin: 20rpx 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.foodType {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 21rpx 38rpx;
|
||||||
|
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
|
||||||
|
|
||||||
|
.foodLi {}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.head_content {
|
||||||
|
.head_content_card {
|
||||||
|
background: linear-gradient(to bottom, #FCB9AD, #FFFBF9, #FFFFFF);
|
||||||
|
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 20rpx 10rpx;
|
||||||
|
|
||||||
|
.goods_card {
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.goods_tit {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
.goods_price {
|
||||||
|
color: #F84221;
|
||||||
|
font-size: 29.79rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hot_tit {
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 33rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hot_attractions {
|
||||||
|
// justify-content: space-between;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
|
||||||
|
.container {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.left {
|
||||||
|
width: 210.28rpx;
|
||||||
|
height: 336.45rpx;
|
||||||
|
background-color: red;
|
||||||
|
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
|
||||||
|
margin-right: 22rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_right {
|
||||||
|
|
||||||
|
.containerli {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.container_img {
|
||||||
|
width: 210.28rpx;
|
||||||
|
height: 157.71rpx;
|
||||||
|
background-color: red;
|
||||||
|
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
|
||||||
|
// margin-right: 12rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tit {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.play {
|
||||||
|
padding: 0 20rpx;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
.content_li {
|
||||||
|
width: 227.8rpx;
|
||||||
|
height: 169.98rpx;
|
||||||
|
background-color: green;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.num {
|
||||||
|
bottom: 20rpx;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
font-size: 19.28rpx;
|
||||||
|
padding: 0 10rpx;
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
width: 192.76rpx;
|
||||||
|
background: url(/static/images/TSWL/WG.png);
|
||||||
|
background-size: cover;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.store {
|
||||||
|
|
||||||
|
.goods_list {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
|
||||||
|
.goods_cards {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
height: auto;
|
||||||
|
background-color: white;
|
||||||
|
padding: 20rpx;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
display: flex;
|
||||||
|
// align-items: center;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
margin-right: 20rpx;
|
||||||
|
width: 158rpx;
|
||||||
|
height: 227rpx;
|
||||||
|
// background-color: red;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
width: 75vw;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
.leavl {
|
||||||
|
|
||||||
|
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||||
|
padding: 0 10rpx;
|
||||||
|
font-size: 26.29rpx;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #F84221;
|
||||||
|
border: 1px solid #F84221;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heads {
|
||||||
|
|
||||||
|
// font-weight: bold;
|
||||||
|
.com_name {
|
||||||
|
font-size: 33rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
// color: red;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.goods_card_a {
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.goods_price_a {
|
||||||
|
color: #F84221;
|
||||||
|
}
|
||||||
|
|
||||||
|
.goods_tit_a {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
.li {
|
||||||
|
display: flex;
|
||||||
|
font-size: 26.29rpx;
|
||||||
|
margin-bottom: 10rpx;
|
||||||
|
|
||||||
|
align-items: center;
|
||||||
|
color: #737373;
|
||||||
|
|
||||||
|
text {
|
||||||
|
margin: 0 10rpx 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.package {
|
||||||
|
margin-top: 30rpx;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.hui {
|
||||||
|
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||||
|
background-color: #FEEBE7;
|
||||||
|
color: #F84221;
|
||||||
|
font-size: 22.78rpx;
|
||||||
|
// padding: 5rpx;
|
||||||
|
width: 36rpx;
|
||||||
|
height: 35rpx;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.price {
|
||||||
|
color: #F84221;
|
||||||
|
font-size: 36.8rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sale {
|
||||||
|
width: 77.1rpx;
|
||||||
|
height: 44rpx;
|
||||||
|
background-color: white;
|
||||||
|
color: #F84221;
|
||||||
|
border: 1px solid #F84221;
|
||||||
|
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||||
|
font-size: 22.78rpx;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 40rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.address {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.img_cls {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
right: 7rpx;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.display_around {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
|
||||||
|
.display_bet {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
</style>
|
@ -74,8 +74,10 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="list-con">
|
<view class="list-con">
|
||||||
|
<!-- <view class="list-con-left"
|
||||||
|
@tap="navgo('/pages/nongKe/specialty/index?type_code=TypeFamousSpecialties')"> -->
|
||||||
<view class="list-con-left"
|
<view class="list-con-left"
|
||||||
@tap="navgo('/pages/nongKe/specialty/index?type_code=TypeFamousSpecialties')">
|
@tap="navgo('/pages/nongKe/specialty/indexa?type_code=TypeFamousSpecialties')">
|
||||||
<!-- <view class="list-con-title">
|
<!-- <view class="list-con-title">
|
||||||
<view class="con-titlea">
|
<view class="con-titlea">
|
||||||
名优特产
|
名优特产
|
||||||
@ -87,8 +89,10 @@
|
|||||||
<image src="@/static/images/f5.png" mode="aspectFit"></image>
|
<image src="@/static/images/f5.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="list-con-right">
|
<view class="list-con-right">
|
||||||
|
<!-- <view class="con-right" style="margin-bottom: 20rpx"
|
||||||
|
@click="navgo('/pages/nongKe/food/index?type_code=TypeLocalCuisine')"> -->
|
||||||
<view class="con-right" style="margin-bottom: 20rpx"
|
<view class="con-right" style="margin-bottom: 20rpx"
|
||||||
@click="navgo('/pages/nongKe/food/index?type_code=TypeLocalCuisine')">
|
@click="navgo('/pages/nongKe/food/indexa?type_code=TypeLocalCuisine')">
|
||||||
<!-- <view class="list-con-title">
|
<!-- <view class="list-con-title">
|
||||||
<view class="con-titlea">
|
<view class="con-titlea">
|
||||||
当地美食
|
当地美食
|
||||||
@ -99,8 +103,10 @@
|
|||||||
</view> -->
|
</view> -->
|
||||||
<image src="@/static/images/f7.png" mode="aspectFit"></image>
|
<image src="@/static/images/f7.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- <view class="con-right"
|
||||||
|
@click="navgo('/pages/nongKe/tourism/index?type_code=TypeFeaturedCultural')"> -->
|
||||||
<view class="con-right"
|
<view class="con-right"
|
||||||
@click="navgo('/pages/nongKe/tourism/index?type_code=TypeFeaturedCultural')">
|
@click="navgo('/pages/nongKe/tourism/indexa?type_code=TypeFeaturedCultural')">
|
||||||
<!-- <view class="list-con-title">
|
<!-- <view class="list-con-title">
|
||||||
<view class="con-titlea">
|
<view class="con-titlea">
|
||||||
特色文旅
|
特色文旅
|
||||||
@ -132,7 +138,7 @@
|
|||||||
<view class="locationa"> 位置权限使用说明 </view>
|
<view class="locationa"> 位置权限使用说明 </view>
|
||||||
<view class="locationb"> 用于向你推荐最近门店 </view>
|
<view class="locationb"> 用于向你推荐最近门店 </view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <m-tabbar native>
|
<!-- <m-tabbar native>
|
||||||
<template v-slot:tabbar_index_2>
|
<template v-slot:tabbar_index_2>
|
||||||
<view class="custom_style">
|
<view class="custom_style">
|
||||||
<view class="custom_style_icon"></view>
|
<view class="custom_style_icon"></view>
|
||||||
|
BIN
static/images/LHYC/BBY.png
Normal file
After Width: | Height: | Size: 258 KiB |
BIN
static/images/LHYC/BBYYC.png
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
static/images/LHYC/BG.png
Normal file
After Width: | Height: | Size: 7.2 MiB |
BIN
static/images/LHYC/FH.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
static/images/LHYC/GWC.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
static/images/LHYC/J.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
static/images/LHYC/NFCPYC.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
static/images/LHYC/NYSC.png
Normal file
After Width: | Height: | Size: 358 KiB |
BIN
static/images/LHYC/PFH.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
static/images/LHYC/QB.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/images/LHYC/SCFWYC.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
static/images/LHYC/SHFW.png
Normal file
After Width: | Height: | Size: 228 KiB |
BIN
static/images/LHYC/SHFWYC.png
Normal file
After Width: | Height: | Size: 71 KiB |
BIN
static/images/LHYC/WYLVYC.png
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
static/images/LHYC/WYLY.png
Normal file
After Width: | Height: | Size: 296 KiB |
BIN
static/images/LHYC/资源 14@4x.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
static/images/LHYC/资源 17@4x.png
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
static/images/TSWL/WG.png
Normal file
After Width: | Height: | Size: 1.7 KiB |