Merge branch 'old' of https://gitea.lihaink.cn/mkm/nk-shop2.0 into old
This commit is contained in:
commit
ed6bea9962
5
App.vue
5
App.vue
@ -161,7 +161,7 @@
|
||||
jpushModule.initJPushService()
|
||||
jpushModule.addConnectEventListener(result => {
|
||||
let connectEnable = result.connectEnable
|
||||
// console.log("jpush连接", connectEnable)
|
||||
console.log("jpush连接", connectEnable)
|
||||
})
|
||||
|
||||
|
||||
@ -222,7 +222,8 @@
|
||||
|
||||
},
|
||||
onShow() {
|
||||
|
||||
|
||||
|
||||
let that = this
|
||||
// 记录H5和公众号
|
||||
if (this.$store.state.app.token) {
|
||||
|
@ -5,7 +5,7 @@ import request from "@/utils/request.js";
|
||||
*
|
||||
*/
|
||||
export function cloudWarehouse(data) {
|
||||
return request.get("store/product/cloudWarehouse", data);
|
||||
return request.get("store/product/cloudWarehouse", data, { noAuth: true });
|
||||
}
|
||||
/**
|
||||
* 获取云仓分类
|
||||
|
@ -2,8 +2,8 @@
|
||||
"name" : "惠农生活",
|
||||
"appid" : "__UNI__3A527D1",
|
||||
"description" : "",
|
||||
"versionName" : "1.4.5",
|
||||
"versionCode" : 145,
|
||||
"versionName" : "1.4.7",
|
||||
"versionCode" : 147,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@ -103,13 +103,13 @@
|
||||
"weixin" : {
|
||||
"__platform__" : [ "ios", "android" ],
|
||||
"appid" : "wx9d68c92b550ddd1e",
|
||||
"UniversalLinks" : "https://mer.crmeb.net/"
|
||||
"UniversalLinks" : "https://shop.lihaink.cn/"
|
||||
}
|
||||
},
|
||||
"share" : {
|
||||
"weixin" : {
|
||||
"appid" : "wx9d68c92b550ddd1e",
|
||||
"UniversalLinks" : "https://mer.crmeb.net/"
|
||||
"UniversalLinks" : "https://shop.lihaink.cn/"
|
||||
}
|
||||
},
|
||||
"geolocation" : {
|
||||
@ -160,7 +160,7 @@
|
||||
},
|
||||
"nativePlugins" : {
|
||||
"JG-JCore" : {
|
||||
"JPUSH_APPKEY_IOS" : "b5f679f4357018605ea6fd2e",
|
||||
"JPUSH_APPKEY_IOS" : "8a5efd65cda14fafa6e64ad3",
|
||||
"JPUSH_CHANNEL_IOS" : "",
|
||||
"JPUSH_APPKEY_ANDROID" : "b5f679f4357018605ea6fd2e",
|
||||
"JPUSH_CHANNEL_ANDROID" : "",
|
||||
@ -178,7 +178,7 @@
|
||||
"JPUSH_APPKEY_IOS" : {
|
||||
"des" : "[iOS]极光portal配置应用信息时分配的AppKey",
|
||||
"key" : "JCore:APP_KEY",
|
||||
"value" : "7869a2f94b120cfb4431b96f"
|
||||
"value" : "daebe19b547c43128796a078"
|
||||
},
|
||||
"JPUSH_CHANNEL_IOS" : {
|
||||
"des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
|
||||
@ -199,9 +199,9 @@
|
||||
}
|
||||
},
|
||||
"JG-JPush" : {
|
||||
"JPUSH_ISPRODUCTION_IOS" : "",
|
||||
"JPUSH_ISPRODUCTION_IOS" : "true",
|
||||
"JPUSH_ADVERTISINGID_IOS" : "",
|
||||
"JPUSH_DEFAULTINITJPUSH_IOS" : "",
|
||||
"JPUSH_DEFAULTINITJPUSH_IOS" : "true",
|
||||
"JPUSH_OPPO_APPKEY" : "",
|
||||
"JPUSH_OPPO_APPID" : "",
|
||||
"JPUSH_OPPO_APPSECRET" : "",
|
||||
|
@ -839,7 +839,7 @@
|
||||
}, {
|
||||
"path": "payment/payment",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarTitleText": "支付",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view style="height:120upx;"></view>
|
||||
<view class="footer acea-row row-right row-middle" v-if="goname != 'looks'" style="margin-bottom: var(--status-bar-height);">
|
||||
<view class="footer acea-row row-right row-middle" v-if="goname != 'looks'" style="padding-bottom: var(--status-bar-height);">
|
||||
<view class="more"></view>
|
||||
<view class="bnt cancel" v-if="orderInfo.pay_type == 8 && orderInfo.status == 12" @click="tongyi(order_id,1)">
|
||||
同意
|
||||
|
@ -131,8 +131,12 @@
|
||||
// console.log(self.verify_code);
|
||||
verifierOrder(self.mer_id,self.verify_code)
|
||||
.then(res => {
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/admin/cancellate_result/index?code='+self.verify_code+'&mer_id='+self.mer_id
|
||||
// });
|
||||
|
||||
uni.navigateTo({
|
||||
url: '/pages/admin/cancellate_result/index?code='+self.verify_code+'&mer_id='+self.mer_id
|
||||
url: '/pages/admin/orderList/index?types=2'+'&mer_id='+self.mer_id
|
||||
});
|
||||
})
|
||||
.catch(res => {
|
||||
@ -161,8 +165,11 @@
|
||||
scanType: ["qrCode", "barCode"]
|
||||
}).then(res=>{
|
||||
this.verify_code = res.resultStr
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/admin/cancellate_result/index?code='+self.verify_code+'&mer_id='+self.mer_id
|
||||
// });
|
||||
uni.navigateTo({
|
||||
url: '/pages/admin/cancellate_result/index?code='+self.verify_code+'&mer_id='+self.mer_id
|
||||
url: '/pages/admin/orderList/index?types=2'+'&mer_id='+self.mer_id
|
||||
});
|
||||
// this.codeChange();
|
||||
}).catch(res => {
|
||||
|
@ -109,8 +109,8 @@
|
||||
|
||||
</view>
|
||||
<view class="content_bootm">
|
||||
<view class="content_bootm_txt">
|
||||
查看TA提到的宝贝(2)
|
||||
<view class="content_bootm_txt" v-if="objinfo.product_list.length>0">
|
||||
查看TA提到的宝贝({{objinfo.product_list.length}})
|
||||
</view>
|
||||
|
||||
|
||||
@ -124,7 +124,7 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<button class="release_btn button" v-if="objinfo.mer_status==1&&type==1" @click="submit(objinfo)">发布</button>
|
||||
<!-- <button class="release_btn button" v-if="objinfo.mer_status==1&&type==1" @click="submit(objinfo)">发布</button> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -227,6 +227,7 @@
|
||||
import emptyPage from '@/components/emptyPage.vue';
|
||||
import {
|
||||
entrustlist,
|
||||
addEntrustCart,
|
||||
finishchain,
|
||||
checkchain
|
||||
} from '@/api/sale.js'
|
||||
@ -365,9 +366,25 @@
|
||||
},
|
||||
//下单
|
||||
order(item) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id + '&type=1'
|
||||
})
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id + '&type=1'
|
||||
// })
|
||||
addEntrustCart({
|
||||
community_id: item.community_id
|
||||
}).then(res => {
|
||||
|
||||
if (res.status == 200) {
|
||||
this.$util.Tips({
|
||||
title: res.message,
|
||||
icon: 'success'
|
||||
})
|
||||
uni.navigateTo({
|
||||
url: '/pages/users/order_confirm/index?cartId=' + res.data.cart_id.toString()
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
},
|
||||
//申请结束委托申请
|
||||
deteragrss(item) {
|
||||
|
@ -290,8 +290,8 @@
|
||||
<view v-if="description.content && description.content.title" class="title">
|
||||
{{description.content.title}}
|
||||
</view>
|
||||
<view v-if="description.content && description.content.image" class="pictures">
|
||||
<image v-for="(item,index) in description.content.image" :key="index" :src="item">
|
||||
<view v-if="description.content && description.content.image" class="pictures" style="background-color: #fff;">
|
||||
<image v-for="(item,index) in description.content.image" :key="index" :src="item" mode="aspectFit">
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
@ -704,11 +704,6 @@
|
||||
that.getConfig();
|
||||
uni.hideLoading();
|
||||
},
|
||||
|
||||
onHide() {
|
||||
|
||||
this.CartCount = 0
|
||||
},
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
|
@ -112,6 +112,7 @@
|
||||
merchant({
|
||||
id: this.mer_id
|
||||
}).then((res) => {
|
||||
|
||||
this.merchant_Data = res.data
|
||||
});
|
||||
},
|
||||
@ -137,14 +138,14 @@
|
||||
orderInfo: res.data
|
||||
.config, //微信、支付宝订单数据 【注意微信的订单信息,键值应该全部是小写,不能采用驼峰命名】
|
||||
success: (res) => {
|
||||
this.$util.Tips({
|
||||
that.$util.Tips({
|
||||
title: '支付成功'
|
||||
});
|
||||
this.decimal()
|
||||
this.list(true)
|
||||
that.decimal()
|
||||
that.list(true)
|
||||
},
|
||||
fail: (err) => {
|
||||
this.$util.Tips({
|
||||
that.$util.Tips({
|
||||
title: '支付失败'
|
||||
});
|
||||
|
||||
@ -176,8 +177,6 @@
|
||||
}
|
||||
|
||||
.content-order {
|
||||
|
||||
|
||||
background: #F4F4F4;
|
||||
border-radius: 21rpx 21rpx;
|
||||
margin-top: 30rpx;
|
||||
|
@ -204,7 +204,7 @@
|
||||
<text class="text">缴纳保证金</text>
|
||||
</view>
|
||||
|
||||
<!-- <view class="examine"
|
||||
<!-- <view class="examine"
|
||||
@click="navigator(`/pages/users/trading_hall/index?mer_id=${mer_id}`)">
|
||||
<image class="icon_img" src="@/static/images/diaohuo.png" mode="aspectFill">
|
||||
</image>
|
||||
|
@ -52,16 +52,23 @@
|
||||
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||
@click='goBack'></i>
|
||||
</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;">
|
||||
{town}}
|
||||
</view> -->
|
||||
<view class="head_tit" v-if="cloudList.length"
|
||||
style="font-size: 40rpx;transform: skewX(-10deg);font-weight: bold;"
|
||||
:style="{color:cloudList.length>0?'':'black'}">
|
||||
{{town}}里海云仓
|
||||
</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/SSBT.png"
|
||||
width="115.65rpx" height="56.82rpx" @click="serch"></u--image>
|
||||
<!-- <u--image class="img_cls" :showLoading="true" src="/static/images/GXSC/SSBT.png"
|
||||
width="115.65rpx" height="56.82rpx" @click="serch"></u--image> -->
|
||||
|
||||
<view class="serchbtn img_cls" @click="serch">搜索</view>
|
||||
</view>
|
||||
<view class='head_r' @click="showPop=true">
|
||||
<u--image :showLoading="true" src="/static/images/LHYC/QB.png" width="50.82rpx"
|
||||
@ -913,7 +920,18 @@
|
||||
opacity: 0,
|
||||
}
|
||||
}
|
||||
|
||||
.serchbtn {
|
||||
// position: absolute;
|
||||
// right: 5rpx;
|
||||
// top: 5rpx;
|
||||
width: 100rpx;
|
||||
height: 50rpx;
|
||||
border-radius: 30rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
// background-color: #FEAB00;
|
||||
background: linear-gradient(to right, #F84221, #FF6D20);
|
||||
}
|
||||
.selected-list {
|
||||
padding: 24rpx 14rpx;
|
||||
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||
@ -1146,7 +1164,7 @@
|
||||
.img_cls {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 7rpx;
|
||||
right: 5rpx;
|
||||
transform: translateY(-50%);
|
||||
|
||||
}
|
||||
|
@ -26,11 +26,11 @@
|
||||
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"
|
||||
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>
|
||||
|
||||
<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);"
|
||||
:style="{color:cloudList.length>0?'':'black'}"
|
||||
@click="navgo(`/pages/nongKe/supply_chain/supplier?type_id=10&street_id=${street_code}&townName=${street}`)">
|
||||
@ -114,22 +114,23 @@
|
||||
<view style="align-items: center;display: flex;justify-content: space-between;">
|
||||
<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"
|
||||
<!-- <u--image :showLoading="true" src="/static/images/LHYC/FH.png" width="50.82rpx"
|
||||
height="50.82rpx" @click='goBack'></u--image> -->
|
||||
|
||||
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||
@click='goBack'></i>
|
||||
|
||||
<i class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"
|
||||
@click='goBack'></i>
|
||||
</view>
|
||||
<view class="" style="font-size: 40rpx;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/SSBT.png"
|
||||
width="115.65rpx" height="56.82rpx" @click="serch"></u--image>
|
||||
v-model="keyword" class="serch_cls" style="height: 56.82rpx;"></u-search>
|
||||
<!-- <u--image class="img_cls" :showLoading="true" src="/static/images/GXSC/SSBT.png"
|
||||
width="115.65rpx" height="56.82rpx" @click="serch"></u--image> -->
|
||||
<view class="serchbtn img_cls" @click="serch">搜索</view>
|
||||
</view>
|
||||
<view class='head_r' @click="showPop=true">
|
||||
<u--image :showLoading="true" src="/static/images/LHYC/QB.png" width="50.82rpx"
|
||||
@ -345,8 +346,7 @@
|
||||
<!-- 多规格购物车 -->
|
||||
|
||||
|
||||
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse">
|
||||
</authorize>
|
||||
|
||||
<view class="" :style="`height:${appInfo.bottom}px;`">
|
||||
</view>
|
||||
</view>
|
||||
@ -404,7 +404,8 @@
|
||||
</u-popup>
|
||||
</view>
|
||||
|
||||
|
||||
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse">
|
||||
</authorize>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
@ -492,7 +493,7 @@
|
||||
page_num: 1,
|
||||
act_img: "",
|
||||
cartTagInfo: {},
|
||||
isAuto: false,
|
||||
|
||||
headTop1: "",
|
||||
actList: [{
|
||||
tit: '综合',
|
||||
@ -510,6 +511,7 @@
|
||||
}],
|
||||
status: "loadmore",
|
||||
flag: false,
|
||||
isAuto: false,
|
||||
isShowAuth: false, //是否隐藏授权
|
||||
|
||||
}
|
||||
@ -859,8 +861,9 @@
|
||||
},
|
||||
addcart(item, i) {
|
||||
if (!this.isLogin) {
|
||||
this.isAuto = true;
|
||||
this.isShowAuth = true
|
||||
console.log('2222')
|
||||
this.isAuto = true
|
||||
this.isShowAuth = true;
|
||||
return
|
||||
}
|
||||
|
||||
@ -969,6 +972,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
.serchbtn {
|
||||
// position: absolute;
|
||||
// right: 5rpx;
|
||||
// top: 5rpx;
|
||||
width: 100rpx;
|
||||
height: 50rpx;
|
||||
border-radius: 30rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
// background-color: #FEAB00;
|
||||
background: linear-gradient(to right, #F84221, #FF6D20);
|
||||
}
|
||||
|
||||
.selected-list {
|
||||
padding: 24rpx 14rpx;
|
||||
border-radius: 10.51rpx 10.51rpx 10.51rpx 10.51rpx;
|
||||
@ -1201,7 +1217,7 @@
|
||||
.img_cls {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 7rpx;
|
||||
right: 5rpx;
|
||||
transform: translateY(-50%);
|
||||
|
||||
}
|
||||
|
@ -26,8 +26,9 @@
|
||||
:value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
|
||||
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
|
||||
v-model="sotreParam.keyword" class="serch_cls"></u-search>
|
||||
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||
src="/static/images/GXSC/SSBT.png" width="115.65rpx" height="56.82rpx"></u--image>
|
||||
<view class="serchbtn img_cls" @tap="searchSubmit">搜索</view>
|
||||
<!-- <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||
src="/static/images/GXSC/SSBT.png" width="115.65rpx" height="56.82rpx"></u--image> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -703,7 +704,19 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.serchbtn {
|
||||
// position: absolute;
|
||||
// right: 5rpx;
|
||||
// top: 5rpx;
|
||||
width: 100rpx;
|
||||
height: 50rpx;
|
||||
border-radius: 30rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
// background-color: #FEAB00;
|
||||
color: #fff;
|
||||
background: linear-gradient(to right, #F84221, #FF6D20);
|
||||
}
|
||||
.com_name {
|
||||
font-size: 32rpx;
|
||||
// background-color: red;
|
||||
@ -1304,7 +1317,7 @@
|
||||
.img_cls {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 7rpx;
|
||||
right: 5rpx;
|
||||
transform: translateY(-50%);
|
||||
|
||||
}
|
||||
|
@ -9,8 +9,11 @@
|
||||
<view class="head_tit">
|
||||
<view class="" style="display: flex;align-items: center;">
|
||||
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
||||
<u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||
height="50.82rpx"></u--image>
|
||||
<!-- <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 style="font-size: 40rpx;">
|
||||
<!-- {{titName}} -->
|
||||
@ -27,8 +30,9 @@
|
||||
:value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
|
||||
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
|
||||
v-model="sotreParam.keyword" class="serch_cls"></u-search>
|
||||
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||
src="/static/images/GXSC/SSBT.png" width="115.65rpx" height="56.82rpx"></u--image>
|
||||
<view class="serchbtn img_cls" @tap="searchSubmit">搜索</view>
|
||||
<!-- <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||
src="/static/images/GXSC/SSBT.png" width="115.65rpx" height="56.82rpx"></u--image> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -700,6 +704,19 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.serchbtn {
|
||||
// position: absolute;
|
||||
// right: 5rpx;
|
||||
// top: 5rpx;
|
||||
width: 100rpx;
|
||||
height: 50rpx;
|
||||
border-radius: 30rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
// background-color: #FEAB00;
|
||||
color: #fff;
|
||||
background: linear-gradient(to right, #F84221, #FF6D20);
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@ -1305,7 +1322,7 @@
|
||||
.img_cls {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 7rpx;
|
||||
right: 5rpx;
|
||||
transform: translateY(-50%);
|
||||
|
||||
}
|
||||
|
@ -29,8 +29,9 @@
|
||||
:value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
|
||||
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
|
||||
v-model="sotreParam.keyword" class="serch_cls"></u-search>
|
||||
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||
src="/static/images/GXSC/SSBT.png" width="115.65rpx" height="56.82rpx"></u--image>
|
||||
<view class="serchbtn img_cls" @tap="searchSubmit">搜索</view>
|
||||
<!-- <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||
src="/static/images/GXSC/SSBT.png" width="115.65rpx" height="56.82rpx"></u--image> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -704,7 +705,19 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.serchbtn {
|
||||
// position: absolute;
|
||||
// right: 5rpx;
|
||||
// top: 5rpx;
|
||||
width: 100rpx;
|
||||
height: 50rpx;
|
||||
border-radius: 30rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
// background-color: #FEAB00;
|
||||
color: #fff;
|
||||
background: linear-gradient(to right, #F84221, #FF6D20);
|
||||
}
|
||||
.com_name {
|
||||
font-size: 32rpx;
|
||||
// background-color: red;
|
||||
@ -1305,7 +1318,7 @@
|
||||
.img_cls {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 7rpx;
|
||||
right: 5rpx;
|
||||
transform: translateY(-50%);
|
||||
|
||||
}
|
||||
|
@ -306,7 +306,7 @@
|
||||
<view class="content-clip"></view>
|
||||
<view class='footer acea-row row-right row-middle' v-if="isGoodsReturn==false">
|
||||
<!-- <view class='bnt cancel' @click="cancelSales">取消售后</view> -->
|
||||
<!-- <view v-if="!orderInfo.receipt && !isGoodsReturn" class='bnt cancel' @click="applyInvoice">申请开票</view> -->
|
||||
<view v-if="!orderInfo.receipt && !isGoodsReturn" class='bnt cancel' @click="applyInvoice">申请开票</view>
|
||||
<view v-if="orderInfo.activity_type == 2 && (orderInfo.status == 10 || orderInfo.status == 11)"
|
||||
class=" acea-row row-right row-middle">
|
||||
<view v-if="orderInfo.presellOrder.activeStatus == 0" class='bnt b-color btn_auto'>
|
||||
|
@ -363,7 +363,7 @@
|
||||
},
|
||||
mapGetters(['isLogin', 'uid', 'viewColor', 'keyColor', ])),
|
||||
onLoad: function(options) {
|
||||
console.log('11111111')
|
||||
|
||||
this.credit_buy = options.credit_buy
|
||||
// console.log(options.product_type)
|
||||
if (options.product_type) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
<view class="title_search">
|
||||
<span class="iconfont"></span>
|
||||
<form @submit="search" report-submit="true">
|
||||
<input type="text" :name="where.keyword" v-model="where.keyword" placeholder="搜索商品" confirm-type='search'/>
|
||||
<input type="text" v-model="where.keyword" placeholder="搜索商品" confirm-type='search'/>
|
||||
</form>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -3,16 +3,17 @@
|
||||
<!-- #ifdef MP || APP-PLUS -->
|
||||
|
||||
<view class="conten-top" :style="'height:'+statusBarHeight+'px'">
|
||||
<view class="" style="position: absolute;left: 30rpx;bottom: 15rpx;" @click="logout"><i class="iconfont icon-xiangzuo"
|
||||
style="font-size: 40rpx;text-align: left;"></i></view>
|
||||
<view class="" style="position: absolute;left: 30rpx;bottom: 15rpx;width: 120rpx; left:50%;margin-left:-60rpx;">
|
||||
<view class="" style="position: absolute;left: 30rpx;bottom: 15rpx;" @click="logout"><i
|
||||
class="iconfont icon-xiangzuo" style="font-size: 40rpx;text-align: left;"></i></view>
|
||||
<view class=""
|
||||
style="position: absolute;left: 30rpx;bottom: 15rpx;width: 120rpx; left:50%;margin-left:-60rpx;">
|
||||
商家入驻
|
||||
</view>
|
||||
</view>
|
||||
<view :style="'height:'+statusBarHeight+'px'"></view>
|
||||
<!-- #endif -->
|
||||
|
||||
<view v-if="!successful" :style="viewColor" >
|
||||
<view v-if="!successful" :style="viewColor">
|
||||
<form report-submit='true'>
|
||||
<view class='merchantsSettled'>
|
||||
<view class="merchantBgCount">
|
||||
@ -226,7 +227,7 @@
|
||||
拒绝
|
||||
</button>
|
||||
|
||||
<button :class="num>0?'setAgCountbtnb':'setAgCountbtnc'" :disabled="num!=0" @click="formSubmit">
|
||||
<button :class="num>0?'setAgCountbtnb':'setAgCountbtnc'" :disabled="num!=0" @click="agree">
|
||||
<text v-if="num>0">请仔细阅读协议{{num}}S</text>
|
||||
<text v-else>同意</text>
|
||||
|
||||
@ -290,6 +291,9 @@
|
||||
import {
|
||||
configMap
|
||||
} from "@/utils";
|
||||
import {
|
||||
intention,
|
||||
} from "@/api/product"
|
||||
import parser from "@/components/jyf-parser/jyf-parser";
|
||||
import authorize from '@/components/Authorize';
|
||||
import Verify from '@/components/verify/verify.vue';
|
||||
@ -371,7 +375,13 @@
|
||||
isType: false,
|
||||
num: 10,
|
||||
detail: {},
|
||||
statusBarHeight:0
|
||||
statusBarHeight: 0,
|
||||
where: {
|
||||
type: 1,
|
||||
page: 1,
|
||||
limit: 10
|
||||
},
|
||||
codenote: []
|
||||
};
|
||||
},
|
||||
beforeDestroy() {
|
||||
@ -400,13 +410,19 @@
|
||||
}
|
||||
this.getArea()
|
||||
this.shoplist()
|
||||
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight+45;
|
||||
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 45;
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onReady() {},
|
||||
methods: {
|
||||
//获取交易信息
|
||||
codelist() {
|
||||
intention(this.where).then(res => {
|
||||
this.codenote = res.data.list
|
||||
})
|
||||
},
|
||||
//退出
|
||||
logout() {
|
||||
uni.switchTab({
|
||||
@ -782,75 +798,144 @@
|
||||
showxy() {
|
||||
this.isshow = true
|
||||
},
|
||||
|
||||
formSubmit: function(e) {
|
||||
|
||||
|
||||
|
||||
|
||||
//提交
|
||||
agree() {
|
||||
let that = this;
|
||||
if (that.validateForm() && that.validate) {
|
||||
if (this.num == 0) {
|
||||
let requestData = {
|
||||
phone: that.merchantData.phone,
|
||||
mer_name: that.merchantData.enterprise_name,
|
||||
name: that.merchantData.user_name,
|
||||
code: that.merchantData.yanzhengma,
|
||||
company_name: that.merchantData.company_name,
|
||||
address: that.merchantData.address,
|
||||
social_credit_code: that.merchantData.social_credit_code,
|
||||
merchant_category_id: that.merchantData.classification,
|
||||
mer_type_id: that.merchantData.mer_type,
|
||||
mer_storeType: this.mer_storeType,
|
||||
area_id: this.area_id,
|
||||
street_id: this.street_id,
|
||||
village_id: this.village_id,
|
||||
is_nmsc: this.isnum,
|
||||
images: that.pics
|
||||
}
|
||||
that.validate = false;
|
||||
if (that.mer_i_id) {
|
||||
updateGoodsRecord(that.mer_i_id, requestData).then(res => {
|
||||
if (res.status == 200) {
|
||||
title: '提交成功',
|
||||
that.loading = true;
|
||||
that.timer = setTimeout(() => {
|
||||
that.successful = true;
|
||||
that.validate = true;
|
||||
}, 1000)
|
||||
}
|
||||
}).catch(res => {
|
||||
this.isshow = false
|
||||
let requestData = {
|
||||
phone: that.merchantData.phone,
|
||||
mer_name: that.merchantData.enterprise_name,
|
||||
name: that.merchantData.user_name,
|
||||
code: that.merchantData.yanzhengma,
|
||||
company_name: that.merchantData.company_name,
|
||||
address: that.merchantData.address,
|
||||
social_credit_code: that.merchantData.social_credit_code,
|
||||
merchant_category_id: that.merchantData.classification,
|
||||
mer_type_id: that.merchantData.mer_type,
|
||||
mer_storeType: this.mer_storeType,
|
||||
area_id: this.area_id,
|
||||
street_id: this.street_id,
|
||||
village_id: this.village_id,
|
||||
is_nmsc: this.isnum,
|
||||
images: that.pics
|
||||
}
|
||||
that.validate = false;
|
||||
if (that.mer_i_id) {
|
||||
updateGoodsRecord(that.mer_i_id, requestData).then(res => {
|
||||
if (res.status == 200) {
|
||||
title: '提交成功',
|
||||
that.loading = true;
|
||||
that.timer = setTimeout(() => {
|
||||
that.successful = true;
|
||||
that.validate = true;
|
||||
that.$util.Tips({
|
||||
title: res
|
||||
});
|
||||
})
|
||||
} else {
|
||||
create(requestData).then(data => {
|
||||
if (data.status == 200) {
|
||||
title: '提交成功',
|
||||
that.loading = true;
|
||||
this.timer = setTimeout(() => {
|
||||
that.successful = true;
|
||||
that.validate = true;
|
||||
}, 1000)
|
||||
}
|
||||
}, 1000)
|
||||
}
|
||||
}).catch(res => {
|
||||
this.isshow = false
|
||||
that.validate = true;
|
||||
that.$util.Tips({
|
||||
title: res
|
||||
});
|
||||
})
|
||||
} else {
|
||||
create(requestData).then(data => {
|
||||
if (data.status == 200) {
|
||||
title: '提交成功',
|
||||
that.loading = true;
|
||||
this.timer = setTimeout(() => {
|
||||
that.successful = true;
|
||||
that.validate = true;
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
}).catch(res => {
|
||||
that.validate = true;
|
||||
that.$util.Tips({
|
||||
title: res
|
||||
});
|
||||
})
|
||||
}
|
||||
} else {
|
||||
}).catch(res => {
|
||||
this.isshow = false
|
||||
that.validate = true;
|
||||
that.$util.Tips({
|
||||
title: res
|
||||
});
|
||||
})
|
||||
}
|
||||
},
|
||||
formSubmit() {
|
||||
if (this.validateForm() && this.validate) {
|
||||
if (this.codenote.length == 0) {
|
||||
this.isshow = true
|
||||
this.countDown()
|
||||
} else {
|
||||
if (this.codenote[0].status == 0) {
|
||||
uni.showModal({
|
||||
title: '申请正在审核中,请勿重复提交'
|
||||
})
|
||||
} else {
|
||||
this.isshow = true
|
||||
this.countDown()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// let that = this;
|
||||
// if (that.validateForm() && that.validate) {
|
||||
// if (this.num == 0) {
|
||||
// let requestData = {
|
||||
// phone: that.merchantData.phone,
|
||||
// mer_name: that.merchantData.enterprise_name,
|
||||
// name: that.merchantData.user_name,
|
||||
// code: that.merchantData.yanzhengma,
|
||||
// company_name: that.merchantData.company_name,
|
||||
// address: that.merchantData.address,
|
||||
// social_credit_code: that.merchantData.social_credit_code,
|
||||
// merchant_category_id: that.merchantData.classification,
|
||||
// mer_type_id: that.merchantData.mer_type,
|
||||
// mer_storeType: this.mer_storeType,
|
||||
// area_id: this.area_id,
|
||||
// street_id: this.street_id,
|
||||
// village_id: this.village_id,
|
||||
// is_nmsc: this.isnum,
|
||||
// images: that.pics
|
||||
// }
|
||||
// that.validate = false;
|
||||
// if (that.mer_i_id) {
|
||||
// updateGoodsRecord(that.mer_i_id, requestData).then(res => {
|
||||
// if (res.status == 200) {
|
||||
// title: '提交成功',
|
||||
// that.loading = true;
|
||||
// that.timer = setTimeout(() => {
|
||||
// that.successful = true;
|
||||
// that.validate = true;
|
||||
// }, 1000)
|
||||
// }
|
||||
// }).catch(res => {
|
||||
// this.isshow = false
|
||||
// that.validate = true;
|
||||
// that.$util.Tips({
|
||||
// title: res
|
||||
// });
|
||||
// })
|
||||
// } else {
|
||||
// create(requestData).then(data => {
|
||||
// if (data.status == 200) {
|
||||
// title: '提交成功',
|
||||
// that.loading = true;
|
||||
// this.timer = setTimeout(() => {
|
||||
// that.successful = true;
|
||||
// that.validate = true;
|
||||
// }, 1000)
|
||||
// }
|
||||
|
||||
// }).catch(res => {
|
||||
// that.validate = true;
|
||||
// that.$util.Tips({
|
||||
// title: res
|
||||
// });
|
||||
// })
|
||||
// }
|
||||
// } else {
|
||||
// this.isshow = true
|
||||
// this.countDown()
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
|
||||
|
||||
},
|
||||
@ -999,7 +1084,7 @@
|
||||
|
||||
.merchantsSettled {
|
||||
background-image: linear-gradient(var(--view-bntColor21) 0%, var(--view-bntColor22) 100%);
|
||||
|
||||
|
||||
height: 140vh;
|
||||
position: relative;
|
||||
}
|
||||
|
@ -246,12 +246,14 @@
|
||||
loadTitle: '加载更多',
|
||||
}
|
||||
},
|
||||
|
||||
onPullDownRefresh() {
|
||||
this.list(true, this.street_id);
|
||||
this.Area()
|
||||
uni.stopPullDownRefresh()
|
||||
},
|
||||
onShow() {
|
||||
this.selfLocation()
|
||||
},
|
||||
onLoad() {
|
||||
this.Area()
|
||||
this.selfLocation()
|
||||
@ -268,18 +270,13 @@
|
||||
})
|
||||
|
||||
},
|
||||
onShow(){
|
||||
this.list(true,this.street_id);
|
||||
},
|
||||
|
||||
onReachBottom() {
|
||||
if (this.productList.length > 0) {
|
||||
setTimeout(() => {
|
||||
this.list(false, this.street_id);
|
||||
}, 500)
|
||||
} else {
|
||||
this.list(true, this.street_id)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="whiteBg" v-if="formItem === 1">
|
||||
<div class="title acea-row row-center-wrapper">
|
||||
<div class="title acea-row row-center-wrappe">
|
||||
<div class="item" :class="current === index ? 'on' : ''" v-for="(item, index) in navList"
|
||||
@click="navTap(index)" :key="index">
|
||||
{{ item }}
|
||||
@ -47,11 +47,13 @@
|
||||
v-model="account" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="acea-row row-middle">
|
||||
<image src="/static/images/code_2.png"></image>
|
||||
<input type="text" placeholder="填写验证码" placeholder-class="placeholder" class="codeIput"
|
||||
v-model="captcha" />
|
||||
|
||||
<input type="number" placeholder="填写验证码" placeholder-class="placeholder" class="codeIput"
|
||||
v-model="captcha" maxlength="4" />
|
||||
<button class="code" :disabled="disabled" :class="disabled === true ? 'on' : ''"
|
||||
@click="handleVerify">
|
||||
{{ text }}
|
||||
@ -61,8 +63,8 @@
|
||||
<div class="item" v-if="isShowCode">
|
||||
<div class="acea-row row-middle">
|
||||
<image src="/static/images/code_2.png"></image>
|
||||
<input type="text" placeholder="填写验证码" placeholder-class="placeholder" class="codeIput"
|
||||
v-model="codeVal" />
|
||||
<input type="number" placeholder="填写验证码" placeholder-class="placeholder" class="codeIput"
|
||||
v-model="codeVal" maxlength="4" />
|
||||
<div class="code" @click="getcaptcha">
|
||||
<image class="code-img" style="width: 100%;height: 100%;" :src="codeUrl" />
|
||||
</div>
|
||||
@ -95,8 +97,9 @@
|
||||
<div class="item">
|
||||
<div class="acea-row row-middle">
|
||||
<image src="/static/images/code_2.png"></image>
|
||||
<input type="text" placeholder="填写验证码" placeholder-class="placeholder" class="codeIput"
|
||||
<input type="number" placeholder="填写验证码" maxLength='4' placeholder-class="placeholder" class="codeIput"
|
||||
v-model="captcha" />
|
||||
|
||||
<button class="code" :disabled="disabled" :class="disabled === true ? 'on' : ''"
|
||||
@click="handleVerify">
|
||||
{{ text }}
|
||||
@ -110,10 +113,11 @@
|
||||
v-model="password" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="item" v-if="isShowCode">
|
||||
<div class="acea-row row-middle">
|
||||
<image src="/static/images/code_2.png"></image>
|
||||
<input type="text" placeholder="填写验证码" placeholder-class="placeholder" class="codeIput"
|
||||
<input type="number" placeholder="填写验证码" maxlength="4" placeholder-class="placeholder" class="codeIput"
|
||||
v-model="codeVal" />
|
||||
<div class="code" @click="getcaptcha">
|
||||
<image class="code-img" style="width: 100%;height: 100%;" :src="codeUrl" />
|
||||
@ -156,16 +160,18 @@
|
||||
<input type='number' placeholder='填写手机号码' placeholder-class='placeholder'
|
||||
v-model="account"></input>
|
||||
</view>
|
||||
|
||||
<view class="item acea-row row-between-wrapper">
|
||||
<input type='number' placeholder='填写验证码' placeholder-class='placeholder' class="codeIput"
|
||||
<input type='number' placeholder='填写验证码' maxlength="4" placeholder-class='placeholder' class="codeIput"
|
||||
v-model="captcha"></input>
|
||||
|
||||
<button class="code" :class="disabled === true ? 'on' : ''" :disabled='disabled'
|
||||
@click="handleVerify">
|
||||
{{ text }}
|
||||
</button>
|
||||
</view>
|
||||
<view class="item">
|
||||
<input type='password' placeholder='填写登录密码' placeholder-class='placeholder'
|
||||
<input type='password' placeholder='填写登录密码' placeholder-class='placeholder'
|
||||
v-model="password"></input>
|
||||
</view>
|
||||
<view class="protocol acea-row row-between-wrapper">
|
||||
@ -892,7 +898,9 @@
|
||||
// #ifdef APP-PLUS
|
||||
jpushModule.initJPushService()
|
||||
jpushModule.getRegistrationID(result => {
|
||||
|
||||
if (result.registerID) {
|
||||
|
||||
bindJG({
|
||||
phone: this.account,
|
||||
jg_register_id: result.registerID
|
||||
|
@ -164,13 +164,14 @@
|
||||
<view class='discount'>暂无优惠券</view>
|
||||
</block>
|
||||
</view> -->
|
||||
<!-- <view v-if="item.openReceipt == 1" class='item acea-row row-between-wrapper'>
|
||||
<view class='item acea-row row-between-wrapper'>
|
||||
<view>开具发票 <text @tap="showInvoice" class="iconfont icon-wenhao1"></text></view>
|
||||
<view class='discount discount_voice' @tap="goInvoice(item.mer_id)">
|
||||
{{(item.invoiceData && item.invoiceData.receipt_title) ? item.invoiceData.receipt_title : '不开发票'}}
|
||||
<text class='iconfont icon-jiantou'></text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view v-if="order_type === 2 && item.list[0].productPresell.presell_type ==2"
|
||||
class="item acea-row row-between-wrapper"
|
||||
style="border-top: 1px solid #f5f5f5; border-bottom: 1px solid #f5f5f5;">
|
||||
@ -382,6 +383,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view style='height:140rpx;'></view>
|
||||
|
||||
<view class='footer acea-row row-between-wrapper'>
|
||||
<view class="footer_count">
|
||||
<view>
|
||||
|
@ -250,8 +250,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class='bottom acea-row row-right row-middle'>
|
||||
<!-- <view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view> -->
|
||||
<view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view>
|
||||
<block v-if="item.status == 0 || item.status == 9 || item.status == -1">
|
||||
<view class='bnt b-color' @click='goOrderDetails(item.order_id)'>查看详情</view>
|
||||
</block>
|
||||
|
@ -259,8 +259,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class='bottom acea-row row-right row-middle'>
|
||||
<!-- <view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view> -->
|
||||
<view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view>
|
||||
<block v-if="item.status == 0 || item.status == 9 || item.status == -1">
|
||||
<view class='bnt b-color' @click='goOrderDetails(item.order_id)'>查看详情</view>
|
||||
</block>
|
||||
|
@ -247,8 +247,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class='bottom acea-row row-right row-middle'>
|
||||
<!-- <view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view> -->
|
||||
<view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view>
|
||||
<block v-if="item.status == 0 || item.status == 9 || item.status == -1">
|
||||
<view v-if="!item.receipt && item.status != -1" class="bnt cancelBnt">一键转卖</view>
|
||||
<view class='bnt b-color' @click='goOrderDetails(item.order_id)'>查看详情</view>
|
||||
|
@ -257,8 +257,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class='bottom acea-row row-right row-middle'>
|
||||
<!-- <view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view> -->
|
||||
<view v-if="!item.receipt && item.status != -1" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view>
|
||||
<block v-if="item.status == 0 || item.status == 9 || item.status == -1">
|
||||
<view class='bnt b-color' @click='goOrderDetails(item.order_id)'>查看详情</view>
|
||||
</block>
|
||||
@ -283,6 +283,12 @@
|
||||
去付款
|
||||
</view>
|
||||
</block>
|
||||
<block v-if="item.order_status == 2 ">
|
||||
|
||||
<view class='bnt b-color' @click.stop='goOrderDetails(item.order_id)'>
|
||||
去发货
|
||||
</view>
|
||||
</block>
|
||||
<block v-if="item.order_status == 9 ">
|
||||
|
||||
<view class='bnt b-color' v-if="item.status==12" @click.stop='dePay'>
|
||||
|
@ -172,7 +172,7 @@
|
||||
},
|
||||
getOrderInfo() {
|
||||
groupOrderDetail(this.order_id, this.product_type).then(res => {
|
||||
console.log(res)
|
||||
|
||||
this.couponData = res.data
|
||||
this.$nextTick(() => {
|
||||
if (this.couponData.interest !== null) {
|
||||
@ -189,6 +189,7 @@
|
||||
pay_type: this.payType
|
||||
}
|
||||
).then(res => {
|
||||
|
||||
if (res.data.paid === false) {
|
||||
//拉起微信支付
|
||||
|
||||
@ -204,7 +205,7 @@
|
||||
}, 1000)
|
||||
}
|
||||
}).catch(err => {
|
||||
|
||||
|
||||
uni.showToast({
|
||||
title: err.message
|
||||
})
|
||||
@ -213,7 +214,10 @@
|
||||
orderPay(this.order_id, {
|
||||
type: this.payType
|
||||
}).then(res => {
|
||||
|
||||
|
||||
let jsConfig = res.data.result.config
|
||||
|
||||
if (res.data.status === 'weixinApp') {
|
||||
//拉起微信支付
|
||||
// #ifdef APP-PLUS
|
||||
@ -257,15 +261,35 @@
|
||||
});
|
||||
// #endif
|
||||
|
||||
} else {
|
||||
if (res.status == 200) {
|
||||
|
||||
// uni.navigateBack({
|
||||
// delta: 1
|
||||
// })
|
||||
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: res.message
|
||||
})
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({
|
||||
url:'/pages/users/order_list/index?status=2'
|
||||
})
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// setTimeout(() => {
|
||||
// uni.navigateBack({
|
||||
// delta: 1
|
||||
// })
|
||||
// }, 1000)
|
||||
uni.showToast({
|
||||
title: res.message
|
||||
})
|
||||
// uni.showToast({
|
||||
// icon:'none' ,
|
||||
// title: res.message
|
||||
// })
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user