返回按钮修改
This commit is contained in:
parent
7312a00edc
commit
3a8691c0d9
@ -9,8 +9,8 @@ let httpApiThree
|
|||||||
let httpApiFour
|
let httpApiFour
|
||||||
|
|
||||||
// 在打包之前请检查当前环境是否正确
|
// 在打包之前请检查当前环境是否正确
|
||||||
// const env = 'dev'; // 开发
|
const env = 'dev'; // 开发
|
||||||
const env = 'prod'; // 生产
|
// const env = 'prod'; // 生产
|
||||||
// const env = 'prew'; // 预上线
|
// const env = 'prew'; // 预上线
|
||||||
|
|
||||||
switch (env) {
|
switch (env) {
|
||||||
|
@ -149,7 +149,7 @@
|
|||||||
AllMenuList: [{
|
AllMenuList: [{
|
||||||
name: '商户平台',
|
name: '商户平台',
|
||||||
icon: '/static/applet/shop_app.png',
|
icon: '/static/applet/shop_app.png',
|
||||||
data: "__UNI__1EE148C",
|
data: '/pages/moreProject/moreProject',
|
||||||
type: 2,
|
type: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -297,7 +297,7 @@
|
|||||||
this.getUniMp(data);
|
this.getUniMp(data);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
this.getUniMp1(data);
|
this.navigator(data);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -323,7 +323,6 @@
|
|||||||
getUniMp(data) {
|
getUniMp(data) {
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
console.log(data, typeof data == 'string');
|
console.log(data, typeof data == 'string');
|
||||||
|
|
||||||
if(typeof data == 'string') uniMP.loadMP(data);
|
if(typeof data == 'string') uniMP.loadMP(data);
|
||||||
else uniMP.loadMPurl(data);
|
else uniMP.loadMPurl(data);
|
||||||
// uniMP.loadMPurl(data);
|
// uniMP.loadMPurl(data);
|
||||||
@ -335,38 +334,6 @@
|
|||||||
title: 'H5不支持打开小程序'
|
title: 'H5不支持打开小程序'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
changeHandler(e) {
|
|
||||||
const {
|
|
||||||
columnIndex,
|
|
||||||
value,
|
|
||||||
values,
|
|
||||||
index,
|
|
||||||
picker = this.$refs.uPicker
|
|
||||||
} = e;
|
|
||||||
if (columnIndex === 0) {
|
|
||||||
getStreet({
|
|
||||||
area_code: value[0]['code']
|
|
||||||
}).then(res => {
|
|
||||||
this.$refs.uPicker.setColumnValues(1, res.data);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getUniMp1(data) {
|
|
||||||
// #ifdef APP-PLUS
|
|
||||||
console.log(data, typeof data == 'string');
|
|
||||||
|
|
||||||
if (typeof data == 'string') uniMP.loadMPx(data);
|
|
||||||
else uniMP.loadMPurl(data);
|
|
||||||
// uniMP.loadMPurl(data);
|
|
||||||
// uniMP.open(data.id);
|
|
||||||
return;
|
|
||||||
// #endif
|
|
||||||
uni.showToast({
|
|
||||||
icon: 'none',
|
|
||||||
title: 'H5不支持打开小程序'
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
changeHandler(e) {
|
changeHandler(e) {
|
||||||
const {
|
const {
|
||||||
columnIndex,
|
columnIndex,
|
||||||
@ -500,7 +467,6 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-box1 {
|
.site-box1 {
|
||||||
width: 706rpx;
|
width: 706rpx;
|
||||||
/* #ifdef MP || APP-PLUS */
|
/* #ifdef MP || APP-PLUS */
|
||||||
@ -515,7 +481,6 @@
|
|||||||
left: 20rpx;
|
left: 20rpx;
|
||||||
|
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
|
|
||||||
// 位置
|
// 位置
|
||||||
.place_wrapper {
|
.place_wrapper {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@ -533,7 +498,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-box {
|
.site-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/* #ifdef MP || APP-PLUS */
|
/* #ifdef MP || APP-PLUS */
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
</image>
|
</image>
|
||||||
<text class="text">保证缴纳金</text>
|
<text class="text">保证缴纳金</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="examine"
|
<view class="examine"
|
||||||
@click="navigator(`/pages/commissionedSales/index/index?mer_id=${mer_id}`)">
|
@click="navigator(`/pages/commissionedSales/index/index?mer_id=${mer_id}`)">
|
||||||
<image class="icon_img" src="@/static/images/weituo.png" mode="aspectFill">
|
<image class="icon_img" src="@/static/images/weituo.png" mode="aspectFill">
|
||||||
</image>
|
</image>
|
||||||
@ -83,7 +83,7 @@
|
|||||||
<image class="icon_img" src="@/static/images/weituo.png" mode="aspectFill">
|
<image class="icon_img" src="@/static/images/weituo.png" mode="aspectFill">
|
||||||
</image>
|
</image>
|
||||||
<text class="text">委托订单</text>
|
<text class="text">委托订单</text>
|
||||||
</view> -->
|
</view>
|
||||||
|
|
||||||
<!-- <view class="examine" @click="navigator(`/pages/nongKe/teach_video/teach_video`)">
|
<!-- <view class="examine" @click="navigator(`/pages/nongKe/teach_video/teach_video`)">
|
||||||
<image class="icon_img"
|
<image class="icon_img"
|
||||||
@ -188,7 +188,7 @@
|
|||||||
</image>
|
</image>
|
||||||
<text class="text">保证缴纳金</text>
|
<text class="text">保证缴纳金</text>
|
||||||
</view>
|
</view>
|
||||||
<!--
|
|
||||||
<view class="examine"
|
<view class="examine"
|
||||||
@click="navigator(`/pages/users/trading_hall/index?mer_id=${mer_id}`)">
|
@click="navigator(`/pages/users/trading_hall/index?mer_id=${mer_id}`)">
|
||||||
<image class="icon_img" src="@/static/images/diaohuo.png" mode="aspectFill">
|
<image class="icon_img" src="@/static/images/diaohuo.png" mode="aspectFill">
|
||||||
@ -212,7 +212,7 @@
|
|||||||
<image class="icon_img" src="@/static/images/fabu.png" mode="aspectFill">
|
<image class="icon_img" src="@/static/images/fabu.png" mode="aspectFill">
|
||||||
</image>
|
</image>
|
||||||
<text class="text">发布管理</text>
|
<text class="text">发布管理</text>
|
||||||
</view> -->
|
</view>
|
||||||
|
|
||||||
<!-- <view class="examine" @click="navigator(`/pages/users/user_invoice_Finance/index?mer_id=${mer_id}`)">
|
<!-- <view class="examine" @click="navigator(`/pages/users/user_invoice_Finance/index?mer_id=${mer_id}`)">
|
||||||
<image class="icon_img" src="@/static/images/cwgk.png" mode="aspectFill">
|
<image class="icon_img" src="@/static/images/cwgk.png" mode="aspectFill">
|
||||||
|
@ -6,10 +6,18 @@
|
|||||||
<view v-if="showtit">
|
<view v-if="showtit">
|
||||||
<view :class="{'head':true,'show':showtit}" style="padding-top: var(--status-bar-height);">
|
<view :class="{'head':true,'show':showtit}" style="padding-top: var(--status-bar-height);">
|
||||||
<view style="display: flex;align-items: center;">
|
<view style="display: flex;align-items: center;">
|
||||||
<u--image :showLoading="true" v-if="cloudList.length>0" src="/static/images/LHYC/FH.png"
|
<!-- <u--image :showLoading="true" v-if="cloudList.length>0" src="/static/images/LHYC/FH.png"
|
||||||
width="50.82rpx" height="50.82rpx" @click='goBack'></u--image>
|
width="50.82rpx" height="50.82rpx" @click='goBack'></u--image>
|
||||||
|
|
||||||
<u--image v-else :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
<u--image v-else :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||||
height="50.82rpx" @click='goBack'></u--image>
|
height="50.82rpx" @click='goBack'></u--image> -->
|
||||||
|
|
||||||
|
<i class="iconfont icon-xiangzuo" v-if="cloudList.length>0"
|
||||||
|
style="font-size: 40rpx;text-align: left;" @click='goBack'></i>
|
||||||
|
<i class="iconfont icon-xiangzuo" v-else style="font-size: 40rpx;text-align: left;"
|
||||||
|
@click='goBack'></i>
|
||||||
|
|
||||||
|
|
||||||
<view class="head_tit" v-if="cloudList.length"
|
<view class="head_tit" v-if="cloudList.length"
|
||||||
style="font-size: 40rpx;transform: skewX(-10deg);font-weight: bold;"
|
style="font-size: 40rpx;transform: skewX(-10deg);font-weight: bold;"
|
||||||
:style="{color:cloudList.length>0?'':'black'}">
|
:style="{color:cloudList.length>0?'':'black'}">
|
||||||
@ -39,8 +47,10 @@
|
|||||||
<view style="align-items: center;display: flex;justify-content: space-between;">
|
<view style="align-items: center;display: flex;justify-content: space-between;">
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<view class="back" style="margin-right: 17rpx;">
|
<view class="back" style="margin-right: 17rpx;">
|
||||||
<u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
||||||
height="50.82rpx" @click='goBack'></u--image>
|
height="50.82rpx" @click='goBack'></u--image> -->
|
||||||
|
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||||
|
@click='goBack'></i>
|
||||||
</view>
|
</view>
|
||||||
<view class="" style="font-size: 40rpx;transform: skewX(-10deg);font-weight: 700;">
|
<view class="" style="font-size: 40rpx;transform: skewX(-10deg);font-weight: 700;">
|
||||||
供销综合云市场
|
供销综合云市场
|
||||||
|
@ -22,10 +22,15 @@
|
|||||||
<view :class="{'head':true,'show':showtit}"
|
<view :class="{'head':true,'show':showtit}"
|
||||||
style="padding-top: var(--status-bar-height);display: block;">
|
style="padding-top: var(--status-bar-height);display: block;">
|
||||||
<view style="display: flex;align-items: center;">
|
<view style="display: flex;align-items: center;">
|
||||||
<u--image :showLoading="true" v-if="cloudList.length>0" src="/static/images/LHYC/FH.png"
|
<!-- <u--image :showLoading="true" v-if="cloudList.length>0" src="/static/images/LHYC/FH.png"
|
||||||
width="50.82rpx" height="50.82rpx" @click='goBack'></u--image>
|
width="50.82rpx" height="50.82rpx" @click='goBack'></u--image>
|
||||||
<u--image v-else :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
<u--image v-else :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||||
height="50.82rpx" @click='goBack'></u--image>
|
height="50.82rpx" @click='goBack'></u--image> -->
|
||||||
|
<i class="iconfont icon-xiangzuo" v-if="cloudList.length>0"
|
||||||
|
style="font-size: 40rpx;text-align: left;" @click='goBack'></i>
|
||||||
|
<i class="iconfont icon-xiangzuo" v-else style="font-size: 40rpx;text-align: left;"
|
||||||
|
@click='goBack'></i>
|
||||||
|
|
||||||
<view class="head_tit" style="font-size: 36.8rpx;font-weight: 700;transform: skewX(-10deg);"
|
<view class="head_tit" style="font-size: 36.8rpx;font-weight: 700;transform: skewX(-10deg);"
|
||||||
:style="{color:cloudList.length>0?'':'black'}"
|
:style="{color:cloudList.length>0?'':'black'}"
|
||||||
@click="navgo(`/pages/nongKe/supply_chain/supplier?type_id=10&street_id=${street_code}&townName=${street}`)">
|
@click="navgo(`/pages/nongKe/supply_chain/supplier?type_id=10&street_id=${street_code}&townName=${street}`)">
|
||||||
@ -110,8 +115,11 @@
|
|||||||
<view style="align-items: center;display: flex;justify-content: space-between;">
|
<view style="align-items: center;display: flex;justify-content: space-between;">
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<view class="back" style="margin-right: 17rpx;">
|
<view class="back" style="margin-right: 17rpx;">
|
||||||
<u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
||||||
height="50.82rpx" @click='goBack'></u--image>
|
height="50.82rpx" @click='goBack'></u--image> -->
|
||||||
|
|
||||||
|
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||||
|
@click='goBack'></i>
|
||||||
</view>
|
</view>
|
||||||
<view class="" style="font-size: 40rpx;transform: skewX(-10deg);">
|
<view class="" style="font-size: 40rpx;transform: skewX(-10deg);">
|
||||||
供销综合云市场
|
供销综合云市场
|
||||||
|
@ -9,7 +9,10 @@
|
|||||||
<view class="head_tit">
|
<view class="head_tit">
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<view class="back" @click='backjJump()' style="margin-right:17rpx ;">
|
<view class="back" @click='backjJump()' style="margin-right:17rpx ;">
|
||||||
<view class="iconfont icon-xiangzuo" style="color: #333333;"></view>
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image> -->
|
||||||
|
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||||
|
></i>
|
||||||
</view>
|
</view>
|
||||||
<view style="font-size: 40rpx;">
|
<view style="font-size: 40rpx;">
|
||||||
<!-- {{titName}} -->
|
<!-- {{titName}} -->
|
||||||
|
@ -9,7 +9,10 @@
|
|||||||
<view class="head_tit">
|
<view class="head_tit">
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
||||||
<view class="iconfont icon-xiangzuo" style="color: #333333;"></view>
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image> -->
|
||||||
|
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||||
|
></i>
|
||||||
</view>
|
</view>
|
||||||
<view style="font-size: 40rpx;">
|
<view style="font-size: 40rpx;">
|
||||||
<!-- {{titName}} -->
|
<!-- {{titName}} -->
|
||||||
|
@ -8,8 +8,9 @@
|
|||||||
|
|
||||||
<view class="head_tit">
|
<view class="head_tit">
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||||
height="50.82rpx" @click='backjJump'></u--image>
|
height="50.82rpx" @click='backjJump'></u--image> -->
|
||||||
|
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;" @click='backjJump'></i>
|
||||||
<view class=""
|
<view class=""
|
||||||
style="font-size: 36.8rpx;font-weight: 700;transform: skewX(-10deg);margin-left: 20rpx;color: #F84221;">
|
style="font-size: 36.8rpx;font-weight: 700;transform: skewX(-10deg);margin-left: 20rpx;color: #F84221;">
|
||||||
供销综合云市场
|
供销综合云市场
|
||||||
@ -141,7 +142,7 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<u-loadmore :status="status" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 热搜 -->
|
<!-- 热搜 -->
|
||||||
@ -414,6 +415,7 @@
|
|||||||
menuList: [],
|
menuList: [],
|
||||||
street: "",
|
street: "",
|
||||||
showPicker: false,
|
showPicker: false,
|
||||||
|
status: "loadmore",
|
||||||
// 下拉菜单
|
// 下拉菜单
|
||||||
downMenu: [{
|
downMenu: [{
|
||||||
title: '默认',
|
title: '默认',
|
||||||
@ -920,19 +922,33 @@
|
|||||||
},
|
},
|
||||||
//上划加载更多
|
//上划加载更多
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (this.count === this.storeList.length) {
|
this.sotreParam.page += 1
|
||||||
if (this.count === 0) {
|
|
||||||
|
let rqData = {
|
||||||
|
keyword: this.sotreParam.keyword,
|
||||||
|
page: this.sotreParam.page,
|
||||||
|
limit: 10,
|
||||||
|
order: this.sotreParam.order,
|
||||||
|
category_id: this.sotreParam.category_id,
|
||||||
|
type_id: this.sotreParam.type_id,
|
||||||
|
street_id: this.sotreParam.street_id,
|
||||||
|
credit_buy: this.credit_buy
|
||||||
|
}
|
||||||
|
if (this.latitude) {
|
||||||
|
rqData.location = this.latitude + ',' + this.longitude
|
||||||
|
}
|
||||||
|
// console.log(rqData)
|
||||||
|
storeMerchantList(rqData).then(res => {
|
||||||
|
if (res.data.list == 0) {
|
||||||
|
this.status = "nomore"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
uni.showToast({
|
this.count = res.data.count
|
||||||
title: '已加载全部',
|
this.storeList.push(...res.data.list)
|
||||||
icon: 'none',
|
|
||||||
duration: 1000
|
})
|
||||||
});
|
|
||||||
} else {
|
|
||||||
this.sotreParam.page += 1
|
|
||||||
this.storeMerchantList()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,10 @@
|
|||||||
<view class="head_tit">
|
<view class="head_tit">
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
||||||
<view class="iconfont icon-xiangzuo" style="color: #333333;"></view>
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||||
|
height="50.82rpx"></u--image> -->
|
||||||
|
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||||
|
></i>
|
||||||
</view>
|
</view>
|
||||||
<view style="font-size: 40rpx;">
|
<view style="font-size: 40rpx;">
|
||||||
<!-- {{titName}} -->
|
<!-- {{titName}} -->
|
||||||
|
@ -135,12 +135,12 @@
|
|||||||
<input class="com_input" type="number" v-model="servicePhone" placeholder="输入客服电话">
|
<input class="com_input" type="number" v-model="servicePhone" placeholder="输入客服电话">
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="item_cell flex_a_c" v-if="type_code!='TypeFamousSpecialties'||type_code!='TypeLocalCuisine'||type_code!='TypeFeaturedCultural'" >
|
<view class="item_cell flex_a_c" v-if="type_code!='TypeFamousSpecialties'||type_code!='TypeLocalCuisine'||type_code!='TypeFeaturedCultural'" >
|
||||||
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao" v-if="credit_buy"></i>开启先货后款:</view>
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao" v-if="credit_buy"></i>开启先货后款:</view>
|
||||||
<u-switch v-model="credit_buy" @change="change"></u-switch>
|
<u-switch v-model="credit_buy" @change="change"></u-switch>
|
||||||
</view> -->
|
</view>
|
||||||
|
|
||||||
<!-- <view class="item_cell flex_a_c" v-if="credit_buy">
|
<view class="item_cell flex_a_c" v-if="credit_buy">
|
||||||
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算周期:</view>
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算周期:</view>
|
||||||
<input type="number" v-model="settle_cycle" placeholder="请输入 /周期单位为:天">
|
<input type="number" v-model="settle_cycle" placeholder="请输入 /周期单位为:天">
|
||||||
</view>
|
</view>
|
||||||
@ -148,8 +148,8 @@
|
|||||||
<view class="item_cell flex_a_c" v-if="credit_buy">
|
<view class="item_cell flex_a_c" v-if="credit_buy">
|
||||||
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算利率:</view>
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算利率:</view>
|
||||||
<input type="number" maxlength="5" v-model="interest_rate" placeholder="请输入 /利率单位为: %">
|
<input type="number" maxlength="5" v-model="interest_rate" placeholder="请输入 /利率单位为: %">
|
||||||
</view> -->
|
</view>
|
||||||
<!-- <view class="remarks">*利率结算范围为:0.01 ~ 0.1 利率单位为:%</view> -->
|
<view class="remarks">*利率结算范围为:0.01 ~ 0.1 利率单位为:%</view>
|
||||||
<!-- <view class="item_cell">
|
<!-- <view class="item_cell">
|
||||||
<view class="if_btn flex_a_c_j_sb">
|
<view class="if_btn flex_a_c_j_sb">
|
||||||
<text class="sub_title">是否开启商户:</text>
|
<text class="sub_title">是否开启商户:</text>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user