Commit 0933305d authored by 潘永坪's avatar 潘永坪

出租车页面bug修复

parent ac1ba620
<template> <template>
<!-- 客服 --> <!-- 客服 -->
<u-popup v-model="showPop" mode="bottom" border-radius="14" closeable height="85%"> <u-popup v-model="showPop" mode="bottom" border-radius="14" closeable height="75%">
<view class="son-wrap"> <view class="son-wrap">
<view class="title"> <view class="title">
客服电话 客服电话
......
This diff is collapsed.
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
//---跳转产品页面 //---跳转产品页面
goProduct(merchantId){ goProduct(merchantId){
uni.navigateTo({ uni.navigateTo({
url:'/pages/scenic/scenicChooseProduct/scenicChooseProduct?merchantId='+merchantId url:'/pages/scenic/combinationProduct/combinationProduct?merchantId='+merchantId
}) })
}, },
//---加载数据 //---加载数据
...@@ -226,7 +226,11 @@ export default { ...@@ -226,7 +226,11 @@ export default {
//如果是点击进行搜索 //如果是点击进行搜索
data.search=this.searchData data.search=this.searchData
} }
uni.showLoading({
title: '加载中'
})
this.$request('scenic/user/merchant/findMerchantList', data).then(res => { this.$request('scenic/user/merchant/findMerchantList', data).then(res => {
uni.hideLoading()
if (res.code == '00') { if (res.code == '00') {
this.scenicList=res.data.list||[] this.scenicList=res.data.list||[]
this.scenicList.forEach((item, index) => { this.scenicList.forEach((item, index) => {
...@@ -238,6 +242,8 @@ export default { ...@@ -238,6 +242,8 @@ export default {
icon: 'none' icon: 'none'
}) })
} }
}).catch(err=>{
uni.hideLoading()
}) })
}, },
//---送券 //---送券
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment