Commit 0f0ff7c6 authored by 吴春's avatar 吴春

11

parents ffdf1cc2 7d86f027
<template> <template>
<!-- v-if="setting&&setting.is_show_auth==1" -->
<div class="auth-page"> <div class="auth-page">
<u-popup <u-popup
v-model="showDialog" v-model="showDialog"
...@@ -21,7 +22,6 @@ ...@@ -21,7 +22,6 @@
v-if="AppConfig.TenantId!=18" v-if="AppConfig.TenantId!=18"
@tap="showLogin == true ? getUserProfile() : ''" @tap="showLogin == true ? getUserProfile() : ''"
></button> ></button>
<button v-else <button v-else
:style="sureStyle" :style="sureStyle"
class="hotsopt" class="hotsopt"
...@@ -63,6 +63,7 @@ export default { ...@@ -63,6 +63,7 @@ export default {
AppConfig:{ AppConfig:{
TenantId:0 TenantId:0
}, },
setting: {},
}; };
}, },
created() { created() {
...@@ -78,6 +79,9 @@ export default { ...@@ -78,6 +79,9 @@ export default {
let y = this.pageinfo.hotspot_cancel; let y = this.pageinfo.hotspot_cancel;
this.sureStyle = `height:${x.height}rpx;width:${x.width}rpx;left:${x.left}rpx;top:${x.top}rpx;`; this.sureStyle = `height:${x.height}rpx;width:${x.width}rpx;left:${x.left}rpx;top:${x.top}rpx;`;
this.cancelStyle = `height:${y.height}rpx;width:${y.width}rpx;left:${y.left}rpx;top:${y.top}rpx;`; this.cancelStyle = `height:${y.height}rpx;width:${y.width}rpx;left:${y.left}rpx;top:${y.top}rpx;`;
let set = uni.getStorageSync("basedata") ?
uni.getStorageSync("basedata").mall.setting : {};
this.setting = set;
}, },
methods: { methods: {
//授权获取手机号码 //授权获取手机号码
...@@ -209,6 +213,7 @@ export default { ...@@ -209,6 +213,7 @@ export default {
if (res.resultCode == 1) { if (res.resultCode == 1) {
obj.OpenId = res.data; obj.OpenId = res.data;
that.getLogin(obj); that.getLogin(obj);
} }
} }
); );
...@@ -289,7 +294,31 @@ export default { ...@@ -289,7 +294,31 @@ export default {
//不是相亲模式的时候去更新头像和昵称 //不是相亲模式的时候去更新头像和昵称
that.updateuserinfo(that.msg); //更新用户头像 that.updateuserinfo(that.msg); //更新用户头像
} }
if(uni.getStorageSync('jzTravelOpenId')){
that.SetMemberBindCustomer()
}
}
}
);
},
SetMemberBindCustomer(){
let that = this;
that.request2({
url: "/api/MemberUser/SetMemberBindCustomer",
data: {
Id: that.msg.Id,
CustomerOpenId: uni.getStorageSync('jzTravelOpenId')
},
},
(res) => {
if (res.resultCode == 1) {
uni.removeStorageSync('jzTravelOpenId');
} }
},(err) => {
// uni.showToast({
// title: err.message,
// icon: "none",
// });
} }
); );
}, },
......
...@@ -147,7 +147,11 @@ ...@@ -147,7 +147,11 @@
width: 24px; width: 24px;
text-align: right; text-align: right;
} }
.her_Two_study { overflow-x: auto !important; display: flex; white-space: nowrap; } .her_Two_study {
overflow-x: auto !important;
display: flex;
white-space: nowrap;
}
.style_five_label{ .style_five_label{
float:left; float:left;
padding: 0px 5px; padding: 0px 5px;
......
...@@ -136,7 +136,11 @@ ...@@ -136,7 +136,11 @@
width: 24px; width: 24px;
text-align: right; text-align: right;
} }
.her_Two_study { overflow-x: auto !important; display: flex; white-space: nowrap; } .her_Two_study {
overflow-x: auto !important;
display: flex;
white-space: nowrap;
}
.style_five_label{ .style_five_label{
float:left; float:left;
padding: 0px 5px; padding: 0px 5px;
......
...@@ -123,134 +123,134 @@ ...@@ -123,134 +123,134 @@
} }
] ]
}, },
// { {
// "root": "pages/mySupplier", "root": "pages/mySupplier",
// "pages": [{ "pages": [{
// "path": "index/index", "path": "index/index",
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, { }, {
// "path": "myBill" "path": "myBill"
// }, { }, {
// "path": "billDetails" "path": "billDetails"
// }, { }, {
// "path": "mySupplierList" "path": "mySupplierList"
// }, { }, {
// "path": "myProduct" "path": "myProduct"
// }, { }, {
// "path": "supplierOrder" "path": "supplierOrder"
// } }
// ] ]
// }, },
// { {
// "root": "pages/share", "root": "pages/share",
// "pages": [{ "pages": [{
// "path": "index/index", "path": "index/index",
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, },
// { {
// "path": "add/add" "path": "add/add"
// }, },
// { {
// "path": "cash/cash" "path": "cash/cash"
// }, },
// { {
// "path": "level/level" "path": "level/level"
// }, },
// { {
// "path": "level/level_t" "path": "level/level_t"
// }, },
// { {
// "path": "examine" "path": "examine"
// }, },
// { {
// "path": "buyVip/index" "path": "buyVip/index"
// }, },
// { {
// "path": "vipBuyCommission/vipBuyCommission" "path": "vipBuyCommission/vipBuyCommission"
// }, },
// { {
// "path": "buyRecord/index" "path": "buyRecord/index"
// }, },
// { {
// "path": "buyInterest/index" "path": "buyInterest/index"
// }, },
// { {
// "path": "salesvolume", //销售额 "path": "salesvolume", //销售额
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, },
// { {
// "path": "time/choiceDate" //时间选择 "path": "time/choiceDate" //时间选择
// } }
// ] ]
// }, },
// { {
// "root": "pages/share-team", "root": "pages/share-team",
// "pages": [{ "pages": [{
// "path": "share-team" "path": "share-team"
// }, { }, {
// "path": "share-detail", "path": "share-detail",
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }] }]
// }, },
// { {
// "root": "pages/share-order", "root": "pages/share-order",
// "pages": [{ "pages": [{
// "path": "share-order" "path": "share-order"
// }] }]
// }, },
// { {
// "root": "pages/share-qrcode", "root": "pages/share-qrcode",
// "pages": [{ "pages": [{
// "path": "share-qrcode" "path": "share-qrcode"
// }, { }, {
// "path": "share-select-school" "path": "share-select-school"
// }] }]
// }, },
// { {
// "root": "pages/share-money", "root": "pages/share-money",
// "pages": [{ "pages": [{
// "path": "share-money" "path": "share-money"
// }] }]
// }, },
// { {
// "root": "pages/coupon", "root": "pages/coupon",
// "pages": [{ "pages": [{
// "path": "list/list" "path": "list/list"
// }, },
// { {
// "path": "details/details" "path": "details/details"
// }, },
// { {
// "path": "index/index" "path": "index/index"
// }, },
// { {
// "path": "cards/list" //储蓄卡列表 "path": "cards/list" //储蓄卡列表
// }, },
// { {
// "path": "cards/carddetailed" //卡片明细 "path": "cards/carddetailed" //卡片明细
// }, { }, {
// "path": "cards/cardsreceive", //储蓄卡的领取 "path": "cards/cardsreceive", //储蓄卡的领取
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, },
// { {
// "path": "cards/purchase", //购买储蓄卡 "path": "cards/purchase", //购买储蓄卡
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// } }
// ] ]
// }, },
{ {
"root": "pages/order-submit", "root": "pages/order-submit",
"pages": [{ "pages": [{
...@@ -339,45 +339,45 @@ ...@@ -339,45 +339,45 @@
} }
] ]
}, },
// { {
// "root": "pages/microShop", "root": "pages/microShop",
// "pages": [{ "pages": [{
// "path": "index/index", "path": "index/index",
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, },
// { {
// "path": "myClients/myClients" "path": "myClients/myClients"
// }, },
// { {
// "path": "wdWithdrawal" "path": "wdWithdrawal"
// }, },
// { {
// "path": "wdOrder" "path": "wdOrder"
// }, },
// { {
// "path": "wdCase" "path": "wdCase"
// }, },
// { {
// "path": "shopSettings" "path": "shopSettings"
// }, },
// { {
// "path": "storeManagement/storeManagement" "path": "storeManagement/storeManagement"
// }, },
// { {
// "path": "storeManagement/goodsEdit" "path": "storeManagement/goodsEdit"
// }, },
// { {
// "path": "storeManagement/addGoods" "path": "storeManagement/addGoods"
// }, },
// { {
// "path": "storeManagement/index" "path": "storeManagement/index"
// } }
// ] ]
// }, },
//司导模块 //司导模块
// { // {
// "root": "pages/guidecar", // "root": "pages/guidecar",
...@@ -417,8 +417,7 @@ ...@@ -417,8 +417,7 @@
"pages": [{ "pages": [{
"path": "index" "path": "index"
}] }]
} },
// ,
//教育列表 //教育列表
// { // {
// "root": "pages/school", // "root": "pages/school",
...@@ -502,57 +501,58 @@ ...@@ -502,57 +501,58 @@
// }] // }]
// }, // },
//线下服务 //线下服务
// { {
// "root": "pages/reserve", "root": "pages/reserve",
// "pages": [{ "pages": [{
// "path": "storeList" "path": "storeList"
// }, { }, {
// "path": "storeDetails", "path": "storeDetails",
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, { }, {
// "path": "personalList" "path": "personalList"
// }, { }, {
// "path": "subscribe" "path": "subscribe"
// }, { }, {
// "path": "personal/couponDetail" "path": "personal/couponDetail"
// }, { }, {
// "path": "designerDetail" "path": "designerDetail"
// }, { }, {
// "path": "goodsDetails" "path": "goodsDetails"
// }, { }, {
// "path": "personal/orderlist" "path": "personal/orderlist"
// }, { }, {
// "path": "personal/orderDetails", "path": "personal/orderDetails",
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, { }, {
// "path": "personal/cardList" "path": "personal/cardList"
// }, { }, {
// "path": "personal/receivecard" "path": "personal/receivecard"
// }, { }, {
// "path": "personal/order-commit" "path": "personal/order-commit"
// }, { }, {
// "path": "personal/order-commit-details" "path": "personal/order-commit-details"
// }, { }, {
// "path": "commentList" "path": "commentList"
// }, { }, {
// "path": "share_qrcode" "path": "share_qrcode"
// }, { }, {
// "path": "offline-success", "path": "offline-success",
// "style": { "style": {
// "navigationStyle": "custom" "navigationStyle": "custom"
// } }
// }, { }, {
// "path": "draw" "path": "draw"
// }, { }, {
// "path": "personal/myVipList" "path": "personal/myVipList"
// }, { }, {
// "path": "personal/vipDetail" "path": "personal/vipDetail"
// }] }]
// }, }
// ,
//朋友圈 //朋友圈
// { // {
// "root": "pages/friendcircle", // "root": "pages/friendcircle",
...@@ -691,197 +691,197 @@ ...@@ -691,197 +691,197 @@
// ] // ]
// }, // },
//韩国馆项目 //韩国馆项目
,{ // ,{
"root": "pages/kotra", // "root": "pages/kotra",
"pages": [{ // "pages": [{
"path": "contanctus" // "path": "contanctus"
}, { // }, {
"path": "contanctDetail" // "path": "contanctDetail"
}, { // }, {
"path": "compInformation" // "path": "compInformation"
}, { // }, {
"path": "activeInner" // "path": "activeInner"
}, { // }, {
"path": "news" //最新动向 // "path": "news" //最新动向
}, { // }, {
"path": "fat" //fat资讯 // "path": "fat" //fat资讯
}, { // }, {
"path": "procurementList" //采购申请 // "path": "procurementList" //采购申请
}, { // }, {
"path": "investmentList" //投资申请 // "path": "investmentList" //投资申请
}, { // }, {
"path": "zixunList" //咨询信息 // "path": "zixunList" //咨询信息
}, { // }, {
"path": "activeInnerDetail" //活动详情 // "path": "activeInnerDetail" //活动详情
}, { // }, {
"path": "newsInDetail" //新闻详情 // "path": "newsInDetail" //新闻详情
}, { // }, {
"path": "procurementDetail" //采购查看详情 // "path": "procurementDetail" //采购查看详情
}, { // }, {
"path": "investmentDetail" //投资详情 // "path": "investmentDetail" //投资详情
}, { // }, {
"path": "activityList" //我的活动 // "path": "activityList" //我的活动
}, { // }, {
"path": "zixunDetail" //咨询详情 // "path": "zixunDetail" //咨询详情
}, { // }, {
"path": "typeList" //类型 // "path": "typeList" //类型
}, { // }, {
"path": "companyInfo" //企业信息 // "path": "companyInfo" //企业信息
}, { // }, {
"path": "activitysignUp" //活动报名 相亲模式 // "path": "activitysignUp" //活动报名 相亲模式
}, // },
{ // {
"path": "signList" //活动报名 相亲模式 // "path": "signList" //活动报名 相亲模式
}, // },
{ // {
"path": "baomingorder" //报名订单 // "path": "baomingorder" //报名订单
}, { // }, {
"path": "brand/list" ,//品牌列表 // "path": "brand/list" ,//品牌列表
"style": { // "style": {
"navigationStyle": "custom" // "navigationStyle": "custom"
}, // },
"globalStyle": { // "globalStyle": {
"navigationStyle": "custom" // "navigationStyle": "custom"
} // }
}, { // }, {
"path": "brand/detail" //品牌详情 // "path": "brand/detail" //品牌详情
// // "enablePullDownRefresh": true,
// // "style": {
// // "navigationStyle": "custom"
// // }
// },
// {
// "path": "activeList" //活动列表
// }, {
// "path": "activeSignUp" //活动报名
// },
// {
// "path": "signListEdit" //活动报名人员修改
// },
// {
// "path": "brand/detail_new" ,//品牌详情-新版
// "enablePullDownRefresh": false
// },{
// "path": "brand/detail_brand" ,//品牌详情-新版
// "enablePullDownRefresh": false
// },{
// "path": "brand/detail_company" ,//品牌详情-新版
// "enablePullDownRefresh": false
// },{
// "path": "carrier/detail_carrier", //新载体详情
// "enablePullDownRefresh": true, // "enablePullDownRefresh": true,
// "style": { // "style": {
// "navigationStyle": "custom" // "navigationStyle": "custom"
// } // }
}, // },{
{ // "path": "carrier/detail_building", //楼宇信息
"path": "activeList" //活动列表 // "enablePullDownRefresh": true,
// "style": {
// "navigationStyle": "custom"
// }
// }, {
// "path": "carrier/detail", //品牌列表
// "enablePullDownRefresh": true,
// "style": {
// "navigationStyle": "custom"
// }
// }, {
// "path": "carrier/list", //载体列表
// "style": {
// "navigationStyle": "custom"
// },
// "globalStyle": {
// "navigationStyle": "custom"
// }
// }, {
// "path": "identification" //身份识别
// }, {
// "path": "firstShop/firstShop"
// }, {
// "path": "firstShop/list"
// }, {
// "path": "wish/list" //心愿列表
// }, {
// "path": "wish/detail" //心愿详情
// }, {
// "path": "wish/myWishPlan" //我的心愿计划
// }, {
// "path": "wish/richText" //心愿计划富文本
// }, {
// "path": "carrierInformation" //载体信息编辑页面
// }, {
// "path": "brandSearch" //品牌列表的搜索
// }, {
// "path": "enterpriseCertificationList" //企业认证列表
// }, {
// "path": "enterpriseCertificationdetails" //企业认证详情
// }, {
// "path": "billboard/billboardList", //榜单列表
// "style": {
// "navigationStyle": "custom"
// }
// }, {
// "path": "billboard/billboarddetails" //榜单详情
// }, {
// "path": "billboard/listsignUp" //榜单报名
// }, {
// "path": "billboard/mybillbordList", //我的榜单报名列表
// "style": {
// "navigationStyle": "custom"
// }
// }, {
// "path": "signSuccse" //报名成功页面
// },{
// "path": "BrandEnterSetIn/enterIndex" //载体首页
// }
// ]
// }
,{
"root": "pages/MallMange", //商城管理分包
"pages": [{
"path": "index"
}, { }, {
"path": "activeSignUp" //活动报名 "path": "order"
},
{
"path": "signListEdit" //活动报名人员修改
},
{
"path": "brand/detail_new" ,//品牌详情-新版
"enablePullDownRefresh": false
},{
"path": "brand/detail_brand" ,//品牌详情-新版
"enablePullDownRefresh": false
},{
"path": "brand/detail_company" ,//品牌详情-新版
"enablePullDownRefresh": false
},{
"path": "carrier/detail_carrier", //新载体详情
"enablePullDownRefresh": true,
"style": {
"navigationStyle": "custom"
}
},{
"path": "carrier/detail_building", //楼宇信息
"enablePullDownRefresh": true,
"style": {
"navigationStyle": "custom"
}
}, { }, {
"path": "carrier/detail", //品牌列表 "path": "goods"
"enablePullDownRefresh": true,
"style": {
"navigationStyle": "custom"
}
}, { }, {
"path": "carrier/list", //载体列表 "path": "set"
"style": {
"navigationStyle": "custom"
},
"globalStyle": {
"navigationStyle": "custom"
}
}, { }, {
"path": "identification" //身份识别 "path": "timeQuantum"
}, { }, {
"path": "firstShop/firstShop" "path": "userManage"
}, { }, {
"path": "firstShop/list" "path": "modifyAddress" //修改地址
}, { }, {
"path": "wish/list" //心愿列表 "path": "returnModifyAddress" //修改退货地址
}, { }, {
"path": "wish/detail" //心愿详情 "path": "address" //退货地址列表
}, { }, {
"path": "wish/myWishPlan" //我的心愿计划 "path": "sendGoods" //发货
}, { }, {
"path": "wish/richText" //心愿计划富文本 "path": "sendGoodsSaleAfter" //售后发货
}, { }, {
"path": "carrierInformation" //载体信息编辑页面 "path": "commentsManage" //评论管理
}, { }, {
"path": "brandSearch" //品牌列表的搜索 "path": "tixianApply" //提现申请
}, { }, {
"path": "enterpriseCertificationList" //企业认证列表 "path": "orderMessage" //订单消息
}, { }, {
"path": "enterpriseCertificationdetails" //企业认证详情 "path": "orderSearch" //订单搜索页
}, { }, {
"path": "billboard/billboardList", //榜单列表 "path": "orderDetail", //订单详情
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, { }, {
"path": "billboard/billboarddetails" //榜单详情 "path": "afterOrderDetail", //售后订单详情
}, {
"path": "billboard/listsignUp" //榜单报名
}, {
"path": "billboard/mybillbordList", //我的榜单报名列表
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, { }]
"path": "signSuccse" //报名成功页面
},{
"path": "BrandEnterSetIn/enterIndex" //载体首页
}
]
} }
// { //, 咖啡
// "root": "pages/MallMange", //商城管理分包
// "pages": [{
// "path": "index"
// }, {
// "path": "order"
// }, {
// "path": "goods"
// }, {
// "path": "set"
// }, {
// "path": "timeQuantum"
// }, {
// "path": "userManage"
// }, {
// "path": "modifyAddress" //修改地址
// }, {
// "path": "returnModifyAddress" //修改退货地址
// }, {
// "path": "address" //退货地址列表
// }, {
// "path": "sendGoods" //发货
// }, {
// "path": "sendGoodsSaleAfter" //售后发货
// }, {
// "path": "commentsManage" //评论管理
// }, {
// "path": "tixianApply" //提现申请
// }, {
// "path": "orderMessage" //订单消息
// }, {
// "path": "orderSearch" //订单搜索页
// }, {
// "path": "orderDetail", //订单详情
// "style": {
// "navigationStyle": "custom"
// }
// }, {
// "path": "afterOrderDetail", //售后订单详情
// "style": {
// "navigationStyle": "custom"
// }
// }]
// },
// 咖啡
// { // {
// "root": "pages/coffee", // "root": "pages/coffee",
// "pages": [ // "pages": [
......
...@@ -9,13 +9,12 @@ ...@@ -9,13 +9,12 @@
"> ">
<Text class="grid-text" v-if='IsEducation!=1'>商品库存有限,请尽快下单哦</Text> <Text class="grid-text" v-if='IsEducation!=1'>商品库存有限,请尽快下单哦</Text>
<Text class="grid-text" <Text class="grid-text"
v-if='IsEducation==1'>{{list[0].GoodsList.length?list[0].GoodsList.length:'0'}}个课程</Text> v-if='IsEducation==1'>{{list[0]&&list[0].GoodsList&&list[0].GoodsList.length?list[0].GoodsList.length:'0'}}个课程</Text>
<Text @click="edit" v-if="editType == false && list[0].GoodsList.length>0" class="grid-text_r">编辑</Text> <Text @click="edit" v-if="editType == false && list[0]&&list[0].GoodsList&&list[0].GoodsList.length>0" class="grid-text_r">编辑</Text>
<Text @click="edit" v-if="editType == true" class="grid-text_r">完成</Text> <Text @click="edit" v-if="editType == true" class="grid-text_r">完成</Text>
</view> </view>
<view style="width: 100%; height: 30rpx; background: #f7f7f7; margin: 20rpx 0;"></view> <view style="width: 100%; height: 30rpx; background: #f7f7f7; margin: 20rpx 0;"></view>
<u-empty v-if="emptyshow == true" text="购物车还是空的哦" mode="car"></u-empty> <u-empty v-if="emptyshow == true" text="购物车还是空的哦" mode="car"></u-empty>
<view v-if="list.length > 0" <view v-if="list.length > 0"
style="height: calc(100vh - 60px-30px-35px-20px);width: calc(100vw);overflow: hidden;padding-top: 10px;"> style="height: calc(100vh - 60px-30px-35px-20px);width: calc(100vw);overflow: hidden;padding-top: 10px;">
<scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" :style="{ height: '100%' }"> <scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" :style="{ height: '100%' }">
...@@ -77,7 +76,7 @@ ...@@ -77,7 +76,7 @@
<view class="The-title"> <view class="The-title">
{{ item.GoodsName}} {{ item.GoodsName}}
</view> </view>
<view v-if="item.EduData.ClassCondition.length>0" class="limit" @touchstart="mouseover()" @touchend="mouseLeave()"> <view v-if="item.EduData&&item.EduData.ClassCondition&&item.EduData.ClassCondition.length>0" class="limit" @touchstart="mouseover()" @touchend="mouseLeave()">
<u-icon name="lock" size="44" :color="mc" /> <u-icon name="lock" size="44" :color="mc" />
<view class="limit-box" v-show="limitShow"> <view class="limit-box" v-show="limitShow">
此课程有报名限制,请点击详情查看 此课程有报名限制,请点击详情查看
...@@ -113,7 +112,7 @@ ...@@ -113,7 +112,7 @@
<!-- <Text v-if='u.TenantId==27&&item.EduData.ClassTime' style="color: #a0a09d;font-size: 22rpx;margin-right: 5rpx;"> <!-- <Text v-if='u.TenantId==27&&item.EduData.ClassTime' style="color: #a0a09d;font-size: 22rpx;margin-right: 5rpx;">
上课时间:{{item.EduData.ClassTime}} 上课时间:{{item.EduData.ClassTime}}
</Text> --> </Text> -->
<view v-if="item.EduData.ClassTimeList.length>0&&u.TenantId==27" <view v-if="item.EduData&&item.EduData.ClassTimeList&&item.EduData.ClassTimeList.length>0&&u.TenantId==27"
style="color: #a0a09d;font-size: 22rpx;margin-right: 5rpx;"> style="color: #a0a09d;font-size: 22rpx;margin-right: 5rpx;">
<view v-if="!item.show"> <view v-if="!item.show">
<view style='display: flex; <view style='display: flex;
......
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
<view class="triangle-up" :style="{ top: pagePaddingBottom }"></view> <view class="triangle-up" :style="{ top: pagePaddingBottom }"></view>
</view> </view>
<coupon v-if="showCoupons" :coupon-message="couponMessage" :cform="ComeFrom" @goLook="goLook" @closeBtn="closeBtn"></coupon> <coupon v-if="showCoupons" :coupon-message="couponMessage" :cform="ComeFrom" @goLook="goLook" @closeBtn="closeBtn"></coupon>
<template v-show="setting&&setting.is_show_auth==1"> <template v-if="setting&&setting.is_show_auth==1">
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth> <auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
</template> </template>
<official-account></official-account> <official-account></official-account>
...@@ -260,6 +260,9 @@ ...@@ -260,6 +260,9 @@
let c = this.$uiConfig.is_bang ? 78 : 50; let c = this.$uiConfig.is_bang ? 78 : 50;
this.boxpaddingbottom = c; this.boxpaddingbottom = c;
this.contentHeight = this.$utils.calcContentHeight(c); this.contentHeight = this.$utils.calcContentHeight(c);
if (options && options.jzTravelOpenId) {
uni.setStorageSync("jzTravelOpenId", options.jzTravelOpenId);
}
if (options && options.page_id) { if (options && options.page_id) {
this.pageId = options.page_id; this.pageId = options.page_id;
let queryString = ""; let queryString = "";
...@@ -440,6 +443,7 @@ ...@@ -440,6 +443,7 @@
} else { } else {
that.sharejump(); //4-9新加 that.sharejump(); //4-9新加
this.handleChengShuang(); this.handleChengShuang();
this.SetMemberBindCustomer()
} }
// #endif // #endif
...@@ -609,6 +613,27 @@ ...@@ -609,6 +613,27 @@
} }
}, },
methods: { methods: {
SetMemberBindCustomer(){
let that = this;
that.request2({
url: "/api/MemberUser/SetMemberBindCustomer",
data: {
Id: that.u.UserId,
CustomerOpenId: uni.getStorageSync('jzTravelOpenId')
},
},
(res) => {
if (res.resultCode == 1) {
uni.removeStorageSync('jzTravelOpenId');
}
},(err) => {
// uni.showToast({
// title: err.message,
// icon: "none",
// });
}
);
},
getunilogin(res) { getunilogin(res) {
let that = this; let that = this;
//静默登录操作 //静默登录操作
......
...@@ -222,7 +222,17 @@ ...@@ -222,7 +222,17 @@
<text class="bold">{{ ds.total_price }}</text> <text class="bold">{{ ds.total_price }}</text>
</view> </view>
<view class="right"> <view class="right">
<u-button :disabled="!address_enable" size="80" :ripple="true" shape="circle" @click="ds.promptNoSuperiorFY== true ? submitModel():submitOrderHandler()" <u-button v-if="ds.promptNoSuperiorFY== true" :disabled="!address_enable" size="80" :ripple="true" shape="circle" @click="submitModel()"
:custom-style="{
backgroundColor: mc,
height: '80rpx',
color: '#FFF',
fontSize: '14px'
}">
<u-loading mode="circle" style="margin-right: 5px;" v-if="submitOrder"></u-loading>
{{btntext}}
</u-button>
<u-button v-else :disabled="!address_enable" size="80" :ripple="true" shape="circle" @click="submitOrderHandler()"
:custom-style="{ :custom-style="{
backgroundColor: mc, backgroundColor: mc,
height: '80rpx', height: '80rpx',
...@@ -554,7 +564,7 @@ ...@@ -554,7 +564,7 @@
that.payInfo.total_price = that.ds.total_price; that.payInfo.total_price = that.ds.total_price;
} }
if (that.formdata.Use_Deposit_Id != 0 && that.ds.total_price == 0) { //如果使用了储蓄卡 就直接支付成功 跳入支付结果 if ((that.formdata.Use_Deposit_Id != 0 || that.formdata.use_integral != 0) && that.ds.total_price == 0) { //如果使用了储蓄卡 就直接支付成功 跳入支付结果
uni.reLaunch({ uni.reLaunch({
url: '/pages/order-submit/pay-success?payInfo=' + JSON.stringify(that.payInfo) url: '/pages/order-submit/pay-success?payInfo=' + JSON.stringify(that.payInfo)
}) })
......
...@@ -162,6 +162,10 @@ ...@@ -162,6 +162,10 @@
<view class="label">佣金抵扣</view> <view class="label">佣金抵扣</view>
<view class="content right">-¥{{ orders.DeductionCommission }}</view> <view class="content right">-¥{{ orders.DeductionCommission }}</view>
</view> </view>
<view class="field" v-if="orders.IntegralMoney>0">
<view class="label">积分抵扣</view>
<view class="content right">-¥{{ orders.IntegralMoney }}</view>
</view>
<view style="width: 100%;height: 1px;background: #f5f5f5;margin: 5px 0;"></view> <view style="width: 100%;height: 1px;background: #f5f5f5;margin: 5px 0;"></view>
<view class="field"> <view class="field">
<view class="label">&nbsp;</view> <view class="label">&nbsp;</view>
......
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