界面跟新

This commit is contained in:
jia 2023-09-09 22:08:03 +08:00
commit dbd29fa2e2
26 changed files with 1726 additions and 322 deletions

View File

@ -225,8 +225,9 @@
}, {
"path": "goods_list/index",
"style": {
"navigationBarTitleText": "里海云仓",
"enablePullDownRefresh": true
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},
{
@ -303,8 +304,8 @@
}, {
"path": "cloud_entrepot/index",
"style": {
"navigationBarTitleText": "里海云仓",
"enablePullDownRefresh": false
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
}, {
@ -355,6 +356,14 @@
"navigationStyle": "custom"
}
}, {
"path": "tourism/indexa",
"style": {
"navigationBarTitleText": "特色文旅",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
]
},

View File

@ -215,6 +215,12 @@
scrollTop: 0
})
uni.pageScrollTo({
selector: ".Circle_friends",
scrollTop: 0
})
},
onReachBottom() {
@ -266,7 +272,7 @@
this.backColor = 'rgba(252, 252, 252, 1.0)'
this.isFshow = true
this.show = false
this.$nextTick(() => {
this.$nextTick(()=>{
uni.setTabBarItem({
index: 0,
text: '返回顶部',
@ -379,6 +385,9 @@
tabsChange1(item) {
this.getArticleList(item.article_category_id)
this.streeta_id = item.id

File diff suppressed because it is too large Load Diff

View File

@ -40,91 +40,90 @@
</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="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="flag">特产</text>
<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>月销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 class="display_around">
<view class="">
全部美食
</view>
<view class="">
附近
</view>
<view class="">
智能排序
</view>
<view class="">
筛选
</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>
</template>
@ -138,7 +137,14 @@
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]
storeList: [1, 1, 1, 1, 1, 1, 1, 1, 1],
list1: [{
name: "美食餐厅"
}, {
name: "聚餐宴请"
}, {
name: "单人餐"
}, ]
}
},
onLaunch() {
@ -199,6 +205,10 @@
.foodType {
display: flex;
justify-content: space-around;
background-color: #fff;
padding: 21rpx 38rpx;
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
.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 {
.goods_list {
margin-top: 20rpx;
@ -303,6 +324,41 @@
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%);
}
.display_around {
display: flex;
justify-content: space-around;
}
</style>

View File

@ -335,6 +335,8 @@
},
//
godDetail(item) {
console.log(452)
return
goShopDetail(item, this.uid).then(res => {
if (this.isLogin) {
initiateAssistApi(item.activity_id).then(res => {

View File

@ -20,9 +20,6 @@
</view>
<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"
placeholder="请输入..." v-model="sotreParam.keyword" class="serch_cls"></u-search>
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true"

View File

@ -384,8 +384,6 @@
this.getClassfication();
this.getStoreType();
},
computed: {
downMenus: function() {

View 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>

View File

@ -8,8 +8,9 @@
</view>
<view class='nav acea-row row-between-wrapper'>
<view>购物数量 <text class='num t-color'>{{cartTotalCount}}</text></view>
<view v-if="cartList.valid.length > 0 || cartList.invalid.length > 0" class='administrate acea-row row-center-wrapper'
@click='manage'>{{ footerswitch ? '管理' : '取消'}}</view>
<view v-if="cartList.valid.length > 0 || cartList.invalid.length > 0"
class='administrate acea-row row-center-wrapper' @click='manage'>{{ footerswitch ? '管理' : '取消'}}
</view>
</view>
<view v-if="cartList.valid.length > 0 || cartList.invalid.length > 0">
<view class='list'>
@ -20,31 +21,38 @@
<text v-if="!item.allCheck" class="iconfont icon-weixuanzhong"></text>
<text v-else class="iconfont icon-xuanzhong1"></text>
</view>
<navigator :url="hide_mer_status == 0 ? '/pages/store/home/index?id='+item.mer_id : '#'" class="info">
<navigator :url="hide_mer_status == 0 ? '/pages/store/home/index?id='+item.mer_id : '#'"
class="info">
<text class="iconfont icon-shangjiadingdan"></text>
<view class="name">{{item.mer_name}}</view>
<text class="iconfont icon-xiangyou"></text>
</navigator>
<view class="coupon-btn" v-if="item.hasCoupon>0" @click="giveCoupon(item)">优惠券</view>
</view>
<navigator v-for="goods in item.list" :key="goods.cart_id" :url='"/pages/goods_details/index?id="+goods.product.product_id'
hover-class='none' class='picTxt acea-row'>
<navigator v-for="goods in item.list" :key="goods.cart_id"
:url='"/pages/goods_details/index?id="+goods.product.product_id' hover-class='none'
class='picTxt acea-row'>
<view class="checkbox" @click.stop="goodsCheck(goods,index)">
<text v-if="!goods.check" class="iconfont icon-weixuanzhong"></text>
<text v-else class="iconfont icon-xuanzhong1"></text>
</view>
<view class='pictrue'>
<image :src='(goods.productAttr && goods.productAttr.image) || goods.product.image'></image>
<image :src='(goods.productAttr && goods.productAttr.image) || goods.product.image'>
</image>
<!-- <image v-else :src='item.productInfo.image'></image> -->
</view>
<view class='text'>
<view class='line1'>{{goods.product.store_name}}</view>
<view class='infor line1' v-if="goods.productAttr.sku" @click.stop='changeCart(goods,goods.cart_id)'>
<view class='infor line1' v-if="goods.productAttr.sku"
@click.stop='changeCart(goods,goods.cart_id)'>
{{goods.productAttr.sku}}
<text class="iconfont icon-xiala1"></text>
</view>
<view v-if="goods.product.once_max_count>0 && goods.product.once_min_count>0" class="buy_limit">
<text v-if="goods.product.once_min_count>0">{{goods.product.once_min_count}}件起购,</text><text v-if="goods.product.once_max_count>0">最多{{goods.product.once_max_count}}</text>
<view v-if="goods.product.once_max_count>0 && goods.product.once_min_count>0"
class="buy_limit">
<text
v-if="goods.product.once_min_count>0">{{goods.product.once_min_count}}件起购</text><text
v-if="goods.product.once_max_count>0">最多{{goods.product.once_max_count}}</text>
</view>
<view class='money acea-row row-middle'>
<text>{{goods.productAttr.price}}</text>
@ -54,9 +62,11 @@
</view>
</view>
<view class='carnum acea-row row-center-wrapper'>
<view class="reduce" :class="goods.numSub ? 'on' : ''" @click.stop='subCart(goods)'>-</view>
<view class="reduce" :class="goods.numSub ? 'on' : ''" @click.stop='subCart(goods)'>
-</view>
<view class='num'>{{goods.cart_num}}</view>
<view class="plus" :class="goods.numAdd ? 'on' : ''" @click.stop='addCart(goods)'>+</view>
<view class="plus" :class="goods.numAdd ? 'on' : ''" @click.stop='addCart(goods)'>+
</view>
</view>
</navigator>
</view>
@ -64,15 +74,18 @@
</view>
<view class='invalidGoods' v-if="cartList.invalid.length > 0">
<view class='goodsNav acea-row row-between-wrapper'>
<view @click='goodsOpen'><text class='iconfont' :class='goodsHidden==true?"icon-xiangxia":"icon-xiangshang"'></text>失效商品</view>
<view @click='goodsOpen'><text class='iconfont'
:class='goodsHidden==true?"icon-xiangxia":"icon-xiangshang"'></text>失效商品</view>
<view class='del' @click='unsetCart'><text class='iconfont icon-shanchu1'></text>清空</view>
</view>
<view class='goodsList' :hidden='goodsHidden'>
<block v-for="(item,index) in cartList.invalid" :key='index'>
<navigator :url="'/pages/goods_details/index?id='+item.product_id" class='item acea-row row-between-wrapper' hover-class='none'>
<navigator :url="'/pages/goods_details/index?id='+item.product_id"
class='item acea-row row-between-wrapper' hover-class='none'>
<view class='invalid'>失效</view>
<view class='pictrue'>
<image :src='(item.productAttr && item.productAttr.image) || item.product.image'></image>
<image :src='(item.productAttr && item.productAttr.image) || item.product.image'>
</image>
</view>
<view class='text acea-row row-column-between'>
@ -88,17 +101,20 @@
</view>
</view>
</view>
<view class='noCart' v-if="recommend" :style="{marginTop:cartList.invalid.length ==0 && cartList.invalid.length ==0?'170rpx':'' }">
<view class='noCart' v-if="recommend"
:style="{marginTop:cartList.invalid.length ==0 && cartList.invalid.length ==0?'170rpx':'' }">
<view class='pictrue'>
<image src='../../static/images/noCart.png'></image>
<view>暂无商品去添加点什么吧</view>
</view>
</view>
<recommend v-if="recommend_switch == 1" :hostProduct='hostProduct' :isLogin="isLogin"></recommend>
<view class='loadingicon acea-row row-center-wrapper' v-if="hostProduct.length>5 && recommend_switch == 1">
<view class='loadingicon acea-row row-center-wrapper'
v-if="hostProduct.length>5 && recommend_switch == 1">
<text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>{{loadTitle}}
</view>
</view>
<view class='footer acea-row row-between-wrapper' :class="isFooter?'':'on'" v-if="cartList.valid.length > 0">
<view class='footer acea-row row-between-wrapper' :class="isFooter?'':'on'"
v-if="cartList.valid.length > 0">
<view>
<view class="allcheckbox" @click.stop="checkboxAllChange">
<text v-if="!isAllSelect" class="iconfont icon-weixuanzhong"></text>
@ -124,19 +140,16 @@
</view>
<!-- 优惠券弹窗 -->
<block v-if="coupon.coupon">
<couponListWindow
:coupon='coupon'
@ChangCouponsClone="ChangCouponsClone"
@ChangCouponsUseState="ChangCouponsUseState"
></couponListWindow>
<couponListWindow :coupon='coupon' @ChangCouponsClone="ChangCouponsClone"
@ChangCouponsUseState="ChangCouponsUseState"></couponListWindow>
</block>
<!-- 组件 -->
<addcartWindow :attr="attr" :isShow='1' :iSplus='1' :destri='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr" @goCat="goCat" @attrVal="attrVal" id='product-window'></addcartWindow>
<addcartWindow :attr="attr" :isShow='1' :iSplus='1' :destri='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr"
@goCat="goCat" @attrVal="attrVal" id='product-window'></addcartWindow>
<authorize :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse" @onLoadFun="onLoadFun"></authorize>
<view class="foot" v-if="newData.status && newData.status.status">
<view class="page-footer" id="target" :style="{'background-color':newData.bgColor.color[0].item}">
<view class="foot-item" v-for="(item,index) in newData.menuList" :key="index"
@click="goRouter(item)">
<view class="foot-item" v-for="(item,index) in newData.menuList" :key="index" @click="goRouter(item)">
<block v-if="item.link == activeRouter">
<image :src="item.imgList[0]"></image>
<view class="txt" :style="{color:newData.activeTxtColor.color[0].item}">{{item.name}}
@ -183,14 +196,16 @@
} from "vuex";
import recommend from '@/components/recommend';
import authorize from '@/components/Authorize';
import { configMap } from '@/utils';
import {
configMap
} from '@/utils';
const app = getApp();
export default {
props: {
image: {
type: String,
default: '',
}
}
},
components: {
recommend,
@ -203,7 +218,7 @@
loading: false, //
loadend: false, //
loadTitle: '加载更多', //
isFooter:false,
isFooter: false,
cartCount: 0,
goodsHidden: true,
footerswitch: true,
@ -226,7 +241,7 @@
list: [],
},
//
cartTotalCount:0,
cartTotalCount: 0,
recommend: false,
productValue: [], //
attr: {
@ -248,11 +263,15 @@
activeRouter: '',
};
},
computed: configMap({hide_mer_status: 1,recommend_switch:0,navigation: {}}, mapGetters(['isLogin','viewColor'])),
onReady(){},
computed: configMap({
hide_mer_status: 1,
recommend_switch: 0,
navigation: {}
}, mapGetters(['isLogin', 'viewColor'])),
onReady() {},
mounted: function() {},
onLoad: function(options) {
},
onShow: function() {
let that = this
@ -270,12 +289,12 @@
this.selectValue = []; //
this.isShowAuth = false;
uni.setStorage({
key:'invoice_Data',
data:{},
success: function(){}
key: 'invoice_Data',
data: {},
success: function() {}
})
}else{
setTimeout(() =>{
} else {
setTimeout(() => {
this.isAuto = true;
this.isShowAuth = true
}, 300);
@ -284,10 +303,10 @@
methods: {
//
authColse: function(e) {
console.log(e,'authColse')
console.log(e, 'authColse')
this.isShowAuth = e;
},
onLoadFun(){
onLoadFun() {
this.isShowAuth = false;
},
goRouter(item) {
@ -311,27 +330,27 @@
} else {
uni.showTabBar()
this.isFooter = false
}
}
},
//
subDel: function(event) {
let that = this
let type_id = []
this.cartList.valid.forEach(el=>{
el.list.forEach(goods=>{
if(goods.check){
this.cartList.valid.forEach(el => {
el.list.forEach(goods => {
if (goods.check) {
type_id.push(goods.cart_id)
}
})
})
if(type_id.length == 0){
if (type_id.length == 0) {
return that.$util.Tips({
title: '请选择产品'
});
}else{
} else {
cartDel({
cart_id:type_id,
}).then(res=>{
cart_id: type_id,
}).then(res => {
this.getCartList();
this.getCartNum();
return that.$util.Tips({
@ -349,22 +368,22 @@
subCollect: function(event) {
let that = this
let type_id = []
this.cartList.valid.forEach(el=>{
el.list.forEach(goods=>{
if(goods.check){
this.cartList.valid.forEach(el => {
el.list.forEach(goods => {
if (goods.check) {
type_id.push(goods.spu.spu_id)
}
})
})
if(type_id.length == 0){
if (type_id.length == 0) {
return that.$util.Tips({
title: '请选择产品'
});
}else{
} else {
collectAll({
type_id:type_id,
type:1
}).then(res=>{
type_id: type_id,
type: 1
}).then(res => {
return that.$util.Tips({
title: res.message,
icon: 'success'
@ -385,25 +404,25 @@
*/
changeCart: function(goods, id) {
let that = this;
if(that.goods == goods){
if (that.goods == goods) {
that.isOpen = that.attr.cartAttr = true;
return
}else{
} else {
that.goods = JSON.parse((JSON.stringify(goods)));
that.currSku = goods.productAttr.sku.split(",");
that.$set(that.attr, 'productAttr', goods.attr);
const sku = {}
that.attrValue = goods.productAttr.sku
that.attrImage = goods.product.image
goods.attrValue.forEach((itemn)=>{
sku[itemn.sku] = itemn;
goods.attrValue.forEach((itemn) => {
sku[itemn.sku] = itemn;
})
that.$set(that, 'productValue',sku);
let productSelect = sku[that.attrValue];
that.$set(that, 'productValue', sku);
let productSelect = sku[that.attrValue];
that.isOpen = that.attr.cartAttr = true;
//
that.DefaultSelect(goods)
}
}
},
/**
* 默认选中属性
@ -414,9 +433,9 @@
let value = [];
let arr = []
console.log(arr, 'arr')
if(this.currSku){
if (this.currSku) {
value = this.currSku
}else{
} else {
for (var key in this.productValue) {
if (this.productValue[key].stock > 0) {
value = this.attr.productAttr.length ? key.split(",") : [];
@ -434,7 +453,8 @@
"store_name",
goods.product.store_name
);
this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : goods.product.image);
this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : goods
.product.image);
this.$set(this.attr.productSelect, "price", productSelect.price);
this.$set(this.attr.productSelect, "stock", productSelect.stock);
this.$set(this.attr.productSelect, "unique", productSelect.unique);
@ -495,7 +515,7 @@
}
this.goCart(productSelect);
},
goCart(productSelect){
goCart(productSelect) {
let that = this;
//,,
if (
@ -513,28 +533,30 @@
}
},
attrVal(val) {
this.$set(this.attr.productAttr[val.indexw], 'index', this.attr.productAttr[val.indexw].attr_values[val.indexn]);
this.$set(this.attr.productAttr[val.indexw], 'index', this.attr.productAttr[val.indexw].attr_values[val
.indexn]);
},
/**
* 属性变动赋值
*
*/
ChangeAttr: function(res) {
let productSelect = this.productValue[res];
let productSelect = this.productValue[res];
this.currSku = res;
this.newVal = this.productValue[res];
if(productSelect)this.$set(this, "uniqueValue", productSelect.unique);
if (productSelect) this.$set(this, "uniqueValue", productSelect.unique);
if (productSelect && productSelect.stock > 0) {
this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : this.attrImage);
this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : this
.attrImage);
this.$set(this.attr.productSelect, "price", productSelect.price);
this.$set(this.attr.productSelect, "stock", productSelect.stock);
this.$set(this.attr.productSelect, "unique", productSelect.unique);
this.$set(this, "uniqueValue", productSelect.unique);
this.$set(this.attr.productSelect, "cart_num", 1);
this.$set(this, "attrValue", res);
}
else {
this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : this.attrImage);
} else {
this.$set(this.attr.productSelect, "image", productSelect.image ? productSelect.image : this
.attrImage);
this.$set(this.attr.productSelect, "price", productSelect.price);
this.$set(this.attr.productSelect, "stock", 0);
this.$set(this.attr.productSelect, "unique", "");
@ -545,9 +567,9 @@
//
subOrder: function(event) {
let selectValue = []
this.cartList.valid.forEach(el=>{
el.list.forEach(goods=>{
if(goods.check){
this.cartList.valid.forEach(el => {
el.list.forEach(goods => {
if (goods.check) {
selectValue.push(goods.cart_id)
}
})
@ -593,7 +615,8 @@
cart_num: that.goods.cart_num,
product_attr_unique: that.newVal.unique
}).then(res => {
if (that.goods.hasOwnProperty('productAttr') && that.goods.cart_num > that.goods.productAttr.stock) {
if (that.goods.hasOwnProperty('productAttr') && that.goods.cart_num > that.goods
.productAttr.stock) {
that.goods.cart_num = that.goods.productAttr.stock;
that.goods.numAdd = true;
that.goods.numSub = false;
@ -631,7 +654,7 @@
}).then(res => {
goods.numSub = false;
goods.numAdd = false;
if(goods.cart_num <= 1){
if (goods.cart_num <= 1) {
goods.numSub = true;
}
goods.cart_num = Number(goods.cart_num) - 1
@ -673,12 +696,12 @@
})
this.cartList.valid = res.data.list
this.cartList.invalid = res.data.fail
if(res.data.list.length == 0 && res.data.list.length == 0){
if (res.data.list.length == 0 && res.data.list.length == 0) {
this.recommend = true;
if(!this.hostProduct.length){
if (!this.hostProduct.length) {
this.getHostProduct();
}
}else{
} else {
this.recommend = false
}
const sku = {}
@ -732,7 +755,8 @@
// //
el.list.forEach(e => {
if (e.check) {
totalMoney = this.$util.$h.Add(totalMoney, this.$util.$h.Mul(e.productAttr.price, e.cart_num))
totalMoney = this.$util.$h.Add(totalMoney, this.$util.$h.Mul(e.productAttr
.price, e.cart_num))
totalNum += e.cart_num
}
})
@ -778,12 +802,13 @@
},
//
unsetCart: function() {
let that = this,ids = [];
let that = this,
ids = [];
for (let i = 0, len = that.cartList.invalid.length; i < len; i++) {
ids.push(that.cartList.invalid[i].cart_id);
}
cartDel({
cart_id:ids
cart_id: ids
}).then(res => {
that.$util.Tips({
title: '清除成功'
@ -793,13 +818,13 @@
}).catch(res => {});
},
//
giveCoupon(item){
giveCoupon(item) {
let that = this;
let goodsArr = []
let couponList = [];
let activeList = [];
let ids = []
item.list.map(el=>{
item.list.map(el => {
ids.push(el.product_id)
})
uni.showLoading({
@ -807,15 +832,17 @@
mask: true
});
getCoupons({
ids:ids.join(',')
ids: ids.join(',')
}).then(res => {
goodsArr = res.data
getShopCoupons(item.mer_id).then(({data})=>{
getShopCoupons(item.mer_id).then(({
data
}) => {
uni.hideLoading();
couponList = goodsArr.concat(data)
this.$set(this.coupon, 'list', couponList);
this.$set(this.coupon, 'coupon', true);
}).catch(error=>{})
}).catch(error => {})
});
},
ChangCouponsClone: function() {
@ -852,19 +879,23 @@
z-index: 5;
top: 0;
}
.icon-xiala1{
.icon-xiala1 {
display: inline-block;
transform: rotate(180deg);
font-size: 14rpx;
padding: 0 5rpx;
}
.shoppingCart .labelNav .item .iconfont {
font-size: 25rpx;
margin-right: 10rpx;
}
.t-color {
color: var(--view-theme);
}
.shoppingCart {
/* #ifndef MP */
padding-bottom: 180rpx;
@ -872,13 +903,15 @@
/* #ifdef MP */
padding-bottom: calc(0rpx+ constant(safe-area-inset-bottom));
padding-bottom: calc(0rpx + env(safe-area-inset-bottom));
/* #endif */
&.showFoot{
&.showFoot {
padding-bottom: calc(180rpx+ constant(safe-area-inset-bottom));
padding-bottom: calc(180rpx + env(safe-area-inset-bottom));
}
}
.shoppingCart .nav {
width: 100%;
height: 80rpx;
@ -892,6 +925,7 @@
z-index: 5;
top: 76rpx;
}
.shoppingCart .nav .administrate {
font-size: 26rpx;
color: #282828;
@ -900,30 +934,37 @@
border-radius: 6rpx;
border: 1px solid #868686;
}
.shoppingCart .noCart {
margin-top: 20rpx;
margin-bottom: 20rpx;
background-color: #fff;
padding-top: 0.1rpx;
}
.shoppingCart .noCart .pictrue {
text-align: center;
margin: 78rpx auto 56rpx auto;
padding-bottom: 60rpx;
}
.shoppingCart .noCart .pictrue image {
width: 414rpx;
height: 305rpx;
}
.shoppingCart .noCart .pictrue view{
.shoppingCart .noCart .pictrue view {
color: #999;
}
.shoppingCart .list {
margin: 171rpx 0 20rpx;
}
.shoppingCart .list .item {
background-color: #fff;
margin-bottom: 15rpx;
.store-title {
display: flex;
align-items: center;
@ -931,35 +972,43 @@
padding: 0 30rpx;
height: 85rpx;
border-bottom: 1px solid #f0f0f0;
.checkbox {
width: 60rpx;
.iconfont {
font-size: 40rpx;
color: #CCCCCC;
}
.icon-xuanzhong1 {
color: var(--view-theme);
}
}
.info {
flex: 1;
display: flex;
align-items: center;
.iconfont {
font-size: 36rpx;
}
.name {
margin: 0 0 0 10rpx;
font-size: 28rpx;
color: #282828;
font-weight: bold;
}
.icon-xiangyou {
margin-top: 6rpx;
font-size: 22rpx;
color: #999;
}
}
.coupon-btn {
color: var(--view-theme);
font-size: 22rpx;
@ -971,53 +1020,64 @@
}
}
}
.vipImg {
width: 65rpx;
height: 28rpx;
margin-left: 10rpx;
image {
width: 100%;
height: 100%;
display: block;
}
}
.shoppingCart .list .item .picTxt {
width: 100%;
padding: 25rpx 30rpx;
position: relative;
align-items: center;
border-bottom: 1px solid #f0f0f0;
.checkbox {
width: 60rpx;
.iconfont {
font-size: 40rpx;
color: #CCCCCC;
}
.icon-xuanzhong1 {
color: var(--view-theme);
}
}
}
.shoppingCart .list .item .picTxt .pictrue {
width: 160rpx;
height: 160rpx;
}
.shoppingCart .list .item .picTxt .pictrue image {
width: 100%;
height: 100%;
border-radius: 6rpx;
}
.shoppingCart .list .item .picTxt .text {
width: 444rpx;
margin-left: 20rpx;
font-size: 28rpx;
color: #282828;
}
.shoppingCart .list .item .picTxt .buy_limit {
margin-top: 10rpx;
color: #E93323;
font-size: 22rpx;
}
.shoppingCart .list .item .picTxt .text .infor {
display: inline-block;
padding: 6rpx;
@ -1028,17 +1088,20 @@
background-color: #F5F5F5;
max-width: 460rpx;
}
.shoppingCart .list .item .picTxt .text .money {
font-size: 32rpx;
color: #282828;
margin-top: 28rpx;
}
.shoppingCart .list .item .picTxt .carnum {
height: 47rpx;
position: absolute;
bottom: 30rpx;
right: 30rpx;
}
.shoppingCart .list .item .picTxt .carnum view {
border: 1px solid #a4a4a4;
min-width: 66rpx;
@ -1048,24 +1111,30 @@
font-size: 28rpx;
color: #a4a4a4;
}
.shoppingCart .list .item .picTxt .carnum .reduce {
border-right: 0;
border-radius: 3rpx 0 0 3rpx;
}
.shoppingCart .list .item .picTxt .carnum .reduce.on {
border-color: #e3e3e3;
color: #dedede;
}
.shoppingCart .list .item .picTxt .carnum .plus {
border-left: 0;
border-radius: 0 3rpx 3rpx 0;
}
.shoppingCart .list .item .picTxt .carnum .num {
color: #282828;
}
.shoppingCart .invalidGoods {
background-color: #fff;
}
.shoppingCart .invalidGoods .goodsNav {
width: 100%;
height: 66rpx;
@ -1074,25 +1143,30 @@
font-size: 28rpx;
color: #282828;
}
.shoppingCart .invalidGoods .goodsNav .iconfont {
color: #424242;
font-size: 28rpx;
margin-right: 17rpx;
}
.shoppingCart .invalidGoods .goodsNav .del {
font-size: 26rpx;
color: #999;
}
.shoppingCart .invalidGoods .goodsNav .del .icon-shanchu1 {
color: #999;
font-size: 33rpx;
vertical-align: -2rpx;
margin-right: 8rpx;
}
.shoppingCart .invalidGoods .goodsList .item {
padding: 20rpx 30rpx;
border-top: 1px solid #f5f5f5;
}
.shoppingCart .invalidGoods .goodsList .item .invalid {
font-size: 22rpx;
color: #fff;
@ -1103,31 +1177,38 @@
text-align: center;
line-height: 36rpx;
}
.shoppingCart .invalidGoods .goodsList .item .pictrue {
width: 140rpx;
height: 140rpx;
}
.shoppingCart .invalidGoods .goodsList .item .pictrue image {
width: 100%;
height: 100%;
border-radius: 6rpx;
}
.shoppingCart .invalidGoods .goodsList .item .text {
width: 433rpx;
font-size: 28rpx;
color: #999;
height: 140rpx;
}
.shoppingCart .invalidGoods .goodsList .item .text .name {
width: 100%;
}
.shoppingCart .invalidGoods .goodsList .item .text .infor {
font-size: 24rpx;
}
.shoppingCart .invalidGoods .goodsList .item .text .end {
font-size: 26rpx;
color: #bbb;
}
.shoppingCart .footer {
z-index: 9;
width: 100%;
@ -1141,19 +1222,23 @@
bottom: calc(98rpx + constant(safe-area-inset-bottom)); /// IOS<11.2/
bottom: calc(98rpx + env(safe-area-inset-bottom)); /// IOS>11.2/
}
.shoppingCart .footer.on {
// #ifndef H5
bottom: 0rpx;
// #endif
}
.shoppingCart .footer .checkAll {
font-size: 28rpx;
color: #282828;
margin-left: 16rpx;
}
.shoppingCart .footer .money {
font-size: 30rpx;
}
.shoppingCart .footer .placeOrder {
color: #fff;
font-size: 30rpx;
@ -1165,6 +1250,7 @@
margin-left: 22rpx;
background-color: var(--view-theme);
}
.shoppingCart .footer .button .bnt {
font-size: 28rpx;
color: #999;
@ -1174,27 +1260,33 @@
height: 60rpx;
text-align: center;
line-height: 60rpx;
&.bt-color {
color: var(--view-theme);
border: 1px solid var(--view-theme);
}
}
.shoppingCart .footer .button form~form {
margin-left: 17rpx;
}
.allcheckbox {
display: flex;
align-items: center;
width: 260rpx;
.iconfont {
margin-right: 20rpx;
font-size: 40rpx;
color: #CCCCCC;
}
.icon-xuanzhong1 {
color: var(--view-theme);
}
}
.page-footer {
position: fixed;
bottom: 0;
@ -1211,9 +1303,11 @@
box-shadow: 0px 0px 17rpx 1rpx rgba(206, 206, 206, 0.32);
padding-bottom: constant(safe-area-inset-bottom); /// IOS<11.2/
padding-bottom: env(safe-area-inset-bottom); /// IOS>11.2/
&.filter{
&.filter {
filter: blur(2rpx);
}
.foot-item {
display: flex;
width: max-content;
@ -1221,6 +1315,7 @@
justify-content: center;
flex-direction: column;
position: relative;
.count-num {
position: absolute;
display: flex;
@ -1237,15 +1332,16 @@
padding: 4rpx;
}
}
.foot-item image {
height: 50rpx;
width: 50rpx;
text-align: center;
margin: 0 auto;
}
.foot-item .txt {
font-size: 24rpx;
}
}
</style>
</style>

View File

@ -1,5 +1,8 @@
<template>
<view :style="viewColor">
<view class="head-menu">
<view class='iconfont icon-xiangzuo' @click="returns"></view>
</view>
<view v-if="followDetail != null && followDetail" class="main" @click.stop="showManage = false">
<view v-if="followDetail.status != 1" class="approval_status">
<view class="status_count" :class="followDetail.status == 0 ? 'status1' : 'status0'">
@ -255,6 +258,16 @@
},
mounted: function() {},
methods: {
// 退
returns() {
uni.navigateBack()
},
//
goHome() {
uni.switchTab({
url: '/pages/index/index'
});
},
//
//#ifdef MP
plantShare(){
@ -354,6 +367,9 @@
plantDetailApi(that.id).then(res => {
that.loadData = false
that.followDetail = res.data
that.followDetail.relevance=that.followDetail.relevance.filter(item=>{
return item.spu
})
uni.hideLoading()
// #ifdef MP
that.plantShare();
@ -558,6 +574,12 @@
page{
background: #ffffff;
}
.head-menu{
height:50rpx;
padding-left: 20rpx;
line-height: 50rpx;
font-weight: bold;
}
.tab-cont{
background: #fff;
border-radius: 16rpx 16rpx 0 0;

View File

@ -249,8 +249,10 @@
video_link: this.addGoodsSecoundData.video_link
};
postData.attrValue = attrValue.filter(item => item != '');
postData.attrValue[0].bar_code
if(attrValue){
postData.attrValue = attrValue.filter(item => item != '');
postData.attrValue[0].bar_code
}
// console.log(postData);
if (getStorage('addGoodsFormData').spec_type == 0) {
// postData.attr = [getStorage('singleSpecification')];

View File

@ -14,11 +14,7 @@
<view :class="['iconfont','icon-xiaoxi',isFshow?'sitebox':'']" style="color:#000;"></view>
</navigator>
</view>
</view>
<zbpSwiper :isSelectPlace="true" :town="street" :streetname="street" :location_Arr="locationArr"
@change="dchange">
</zbpSwiper>
@ -74,6 +70,8 @@
</view>
<view class="list-con">
<!-- <view class="list-con-left"
@tap="navgo('/pages/nongKe/specialty/index?type_code=TypeFamousSpecialties')"> -->
<view class="list-con-left"
@tap="navgo('/pages/nongKe/specialty/index?type_code=TypeFamousSpecialties')">
<!-- <view class="list-con-title">
@ -87,6 +85,8 @@
<image src="@/static/images/f5.png" mode="aspectFit"></image>
</view>
<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"
@click="navgo('/pages/nongKe/food/index?type_code=TypeLocalCuisine')">
<!-- <view class="list-con-title">
@ -99,6 +99,8 @@
</view> -->
<image src="@/static/images/f7.png" mode="aspectFit"></image>
</view>
<!-- <view class="con-right"
@click="navgo('/pages/nongKe/tourism/index?type_code=TypeFeaturedCultural')"> -->
<view class="con-right"
@click="navgo('/pages/nongKe/tourism/index?type_code=TypeFeaturedCultural')">
<!-- <view class="list-con-title">
@ -133,6 +135,7 @@
<view class="locationb"> 用于向你推荐最近门店 </view>
</view>
<!-- <m-tabbar native>
<!-- <m-tabbar native>
<template v-slot:tabbar_index_2>
<view class="custom_style">
<view class="custom_style_icon"></view>

View File

@ -447,6 +447,11 @@
console.log(res);
}).catch(err => {
Toast(err)
setTimeout(()=>{
uni.navigateBack({
delta: 1
})}, 1000)
})
},
async postCreate(price) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
static/images/LHYC/BG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 MiB

BIN
static/images/LHYC/FH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/images/LHYC/GWC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
static/images/LHYC/J.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

BIN
static/images/LHYC/PFH.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
static/images/LHYC/QB.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
static/images/TSWL/WG.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB