diff --git a/CoreCms.Net.Uni-App/CoreShop/common/request/http.interceptor.js b/CoreCms.Net.Uni-App/CoreShop/common/request/http.interceptor.js index 8aee044d2f74ca8eb7b32d3539fa63f5ba6530bc..0d1f9db4ba8bcaf074c7ccf5854f7b5a4e06775d 100644 --- a/CoreCms.Net.Uni-App/CoreShop/common/request/http.interceptor.js +++ b/CoreCms.Net.Uni-App/CoreShop/common/request/http.interceptor.js @@ -51,31 +51,10 @@ const install = (Vue, vm) => { //console.log(page.route); // 登录信息过期或者未登录 if (result.data === 14007 || result.data === 14006) { - // #ifdef H5 || APP-PLUS || APP-PLUS-NVUE - if (page.route.indexOf('pages/login/loginBySMS/loginBySMS') < 0) { - db.del("userToken"); - uni.showToast({ - title: result.msg, - icon: 'none', - duration: 1000, - complete: function () { - setTimeout(function () { - uni.hideToast(); - uni.navigateTo({ - url: '/pages/login/loginBySMS/loginBySMS' - }); - }, - 1000); - } - }); - } - // #endif - // #ifdef MP-WEIXIN || MP-ALIPAY || MP-TOUTIAO db.del("userToken"); console.log("开启登录弹窗"); //Vue.prototype.$store.commit('showLoginTip', true); Vue.prototype.$store.commit('hasLogin', false); - // #endif } } @@ -83,8 +62,6 @@ const install = (Vue, vm) => { // res为服务端返回值,可能有code,result等字段 // 这里对res.result进行返回,将会在this.$u.post(url).then(res => {})的then回调中的res的到 // 如果配置了originalData为true,请留意这里的返回值 - - } } diff --git a/CoreCms.Net.Uni-App/CoreShop/common/setting/constVarsHelper.js b/CoreCms.Net.Uni-App/CoreShop/common/setting/constVarsHelper.js index 9ee458bf7c2e32a3ac45ef2994fa9a58d79b23fd..9b978782bd3eb25f678397a94d7673a6deaf7115 100644 --- a/CoreCms.Net.Uni-App/CoreShop/common/setting/constVarsHelper.js +++ b/CoreCms.Net.Uni-App/CoreShop/common/setting/constVarsHelper.js @@ -7,7 +7,6 @@ export const apiBaseUrl = 'https://api.demo.coreshop.cn'; //项目静态资源请求地址,如果使用官方的静态文件地址可以直接替换为:https://files.cdn.coreshop.cn export const apiFilesUrl = 'https://files.cdn.coreshop.cn'; -export const h5Url = apiBaseUrl + "/wap/"; //H5端网站地址, // #ifdef H5 export const baseUrl = process.env.NODE_ENV === 'development' ? window.location.origin + '/' : apiBaseUrl @@ -22,11 +21,6 @@ export const paymentType = { serviceOrder: 5, //服务订单 }; -// #ifdef MP-TOUTIAO -export const ttPlatform = 'toutiao'; //toutiao=今日头条小程序, douyin=抖音小程序, pipixia=皮皮虾小程序, huoshan=火山小视频小程序 -// #endif - - //nav页面导航类型 export const navLinkType = { urlLink: 1, //"URL链接" diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue index bcfa999558f2eb6c2ff566f8160f47a4e8b90c91..c2a71efd77b0dc78cf08f71dce243fbd8b32add0 100644 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue +++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue @@ -1,44 +1,6 @@ @@ -193,11 +154,6 @@ hideModal() { this.showLogin = false; }, - // 去登录 - toAccountLogin() { - this.showLogin = false; - this.$u.route('/pages/login/loginByAccount/loginByAccount'); - }, // 小程序,取消登录 closeAuth() { this.showLogin = false; @@ -236,12 +192,7 @@ _this.$refs.uToast.show({ title: '登录成功', type: 'success', }) return false } else { - // #ifdef MP-WEIXIN _this.sessionAuthIdTool = res.data.sessionAuthId; - // #endif - // #ifndef MP-WEIXIN - _this.$u.route({ type: 'navigateTo', url: '/pages/login/loginBySMS/loginBySMS?sessionAuthId=' + res.data.sessionAuthId }); - // #endif } } else { _this.$refs.uToast.show({ title: '登录失败,请重试', type: 'error', }) @@ -290,122 +241,7 @@ _this.$u.toast('登录失败,请重试') } }) - }, - // #ifdef MP-ALIPAY - getALICode() { - let that = this - uni.login({ - scopes: 'auth_user', - success: (res) => { - if (res.authCode) { - uni.getUserInfo({ - provider: 'alipay', - success: function (infoRes) { - if (infoRes.errMsg == "getUserInfo:ok") { - let userInfo = { - 'nickname': infoRes.nickName, - 'avatar': infoRes.avatar - } - that.aLiLoginStep1(res.authCode, userInfo); - } - }, - fail: function (errorRes) { - this.$u.toast('未取得用户昵称头像信息'); - } - }); - } else { - this.$u.toast('未取得code'); - } - }, - fail: function (res) { - this.$u.toast('用户授权失败my.login'); - } - }); - }, - aLiLoginStep1(code, userInfo) { - let data = { - 'code': code, - 'userInfo': userInfo - } - this.$u.api.alilogin1(data).then(res => { - this.alipayNoLogin = false; - if (res.status) { - this.sessionAuthIdTool = res.data.sessionAuthId - //判断是否返回了token,如果没有,就说明没有绑定账号,跳转到绑定页面 - if (!res.data.hasOwnProperty('token')) { - this.$u.route({ type: 'redirectTo', url: '/pages/login/loginBySMS/loginBySMS?sessionAuthId=' + res.data.sessionAuthId }); - } else { - this.$db.set('userToken', res.data.token) - uni.navigateBack({ - delta: 1 - }); - } - } else { - this.$u.toast(res.msg) - } - }) - }, - // #endif - // #ifdef MP-TOUTIAO - ttLogin() { - let that = this - uni.login({ - provider: 'toutiao', - success: (res) => { - //console.log(res); - if (res.errMsg == "login:ok") { - uni.getUserInfo({ - provider: 'toutiao', - success: function (infoRes) { - //console.log(infoRes); - if (infoRes.errMsg == "getUserInfo:ok") { - let code = res.code; - let userInfo = { - 'nickname': infoRes.userInfo.nickName, - 'avatar': infoRes.userInfo.avatarUrl, - 'gender': infoRes.userInfo.gender, - 'language': infoRes.userInfo.language, - 'country': infoRes.userInfo.country, - 'city': infoRes.userInfo.city, - 'province': infoRes.userInfo.province - } - that.ttLoginStep(code, userInfo); - } - }, - fail: function (errorRes) { - this.$u.toast('未取得用户昵称头像信息'); - } - }); - } else { - this.$u.toast('未取得code'); - } - }, - fail: function (res) { - this.$u.toast('用户授权失败my.login'); - } - }); - }, - ttLoginStep(code, userInfo) { - let data = { - 'code': code, - 'userInfo': userInfo - } - this.$u.api.ttlogin(data).then(res => { - if (res.status) { - if (!res.data.hasOwnProperty('token')) { - this.$u.route({ type: 'redirectTo', url: '/pages/login/loginBySMS/loginBySMS?sessionAuthId=' + res.data.userId }); - } else { - this.$db.set('userToken', res.data.token) - uni.navigateBack({ - delta: 1 - }); - } - } else { - this.$u.toast(res.msg) - } - }) } - // #endif } }; diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-page/coreshop-video.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-page/coreshop-video.vue index e050c3a2566a750de4477904a512c856c30df0db..dc35fbeef4d8aba93b4c49c078a7c07113c40544 100644 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-page/coreshop-video.vue +++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-page/coreshop-video.vue @@ -25,9 +25,7 @@ }, onReady: function (res) { - // #ifndef MP-ALIPAY - this.videoContext = uni.createVideoContext('myVideo') - // #endif + }, methods: { diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByAli.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByAli.vue deleted file mode 100644 index 1a07e0b1075e0055fea8bb010f905aedd2b16f3f..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByAli.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByApp.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByApp.vue deleted file mode 100644 index f1b4a36c0702b2ba115feaa395d4c47c5aad484f..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByApp.vue +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByH5.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByH5.vue deleted file mode 100644 index 91b2fd09c8da4d3371337b9e87a14e038ae8bcd3..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByH5.vue +++ /dev/null @@ -1,334 +0,0 @@ - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByTt.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByTt.vue deleted file mode 100644 index 27a6d7161ae65222bf93041d7670afd62c7696fd..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-payments/coreshop-paymentsByTt.vue +++ /dev/null @@ -1,232 +0,0 @@ - - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByAli.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByAli.vue deleted file mode 100644 index ed2459608876c3892aaca7efd037a2d35e6b3224..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByAli.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByApp.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByApp.vue deleted file mode 100644 index 9224587b94f7617be42beb5e020350e9cf8a7bfc..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByApp.vue +++ /dev/null @@ -1,265 +0,0 @@ - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByTt.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByTt.vue deleted file mode 100644 index 7776108f57337c5d532edd882a29d81610ea7022..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByTt.vue +++ /dev/null @@ -1,124 +0,0 @@ - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByh5.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByh5.vue deleted file mode 100644 index 3b68043e3bd9402ed2fedff18b4c629f65e8323c..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-share/shareByh5.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/main.js b/CoreCms.Net.Uni-App/CoreShop/main.js index 7bef6ec8931e71f0391b1d32acfef0398b760ccd..0c4cb4aabfbada5f26b99bd073b7ae68bc64e277 100644 --- a/CoreCms.Net.Uni-App/CoreShop/main.js +++ b/CoreCms.Net.Uni-App/CoreShop/main.js @@ -23,6 +23,15 @@ Vue.use(uView); let mpShare = require('@/uview-ui/libs/mixin/mpShare.js'); Vue.mixin(mpShare) +//全局引用常量配置文件,用于template内代码使用 +Vue.mixin({ + data() { + return { + $globalConstVars: GlobalConstVars + } + } +}) + Vue.config.productionTip = false Vue.prototype.$upload = Upload; Vue.prototype.$common = Common; diff --git a/CoreCms.Net.Uni-App/CoreShop/manifest.json b/CoreCms.Net.Uni-App/CoreShop/manifest.json index d3a60f7730714147efcc15c3e71fe1a6aa33cc2b..4fe48522ef5942a41c26acf3895846db50f819e4 100644 --- a/CoreCms.Net.Uni-App/CoreShop/manifest.json +++ b/CoreCms.Net.Uni-App/CoreShop/manifest.json @@ -102,7 +102,7 @@ "quickapp" : {}, /* 快应用特有相关 */ "mp-weixin" : { - "appid" : "wx11d95cdaee6058f6", + "appid" : "wx6fc139d4de0b470f", "setting" : { "urlCheck" : true, "postcss" : true, diff --git a/CoreCms.Net.Uni-App/CoreShop/pages.json b/CoreCms.Net.Uni-App/CoreShop/pages.json index ed355c426107248b73070f0a06009357d3f33f2b..9c95269cc3c9bdb88070a64d814b9000367c28e5 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages.json +++ b/CoreCms.Net.Uni-App/CoreShop/pages.json @@ -47,13 +47,6 @@ "navigationBarTitleText": "会员中心" } }, - { - "path": "pages/search/search", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "搜索" - } - }, { "path": "pages/category/index/index", "style": { @@ -67,201 +60,270 @@ "navigationBarTextStyle": "black", "navigationBarTitleText": "商品列表" } - }, - { - "path": "pages/goods/goodDetails/goodDetails", - "style": { - "navigationBarTextStyle": "black", - // #ifdef H5 - "titleNView": false, - // #endif - "navigationBarTitleText": "商品详情", - "navigationStyle": "custom" - } - }, - { - "path": "pages/placeOrder/index/index", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "提交订单" - } - }, - { - "path": "pages/placeOrder/invoice/invoice", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "发票" - } - }, - { - "path": "pages/placeOrder/storeList/storeList", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "门店列表" - } - }, - { - "path": "pages/payment/pay/pay", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "支付" - } - }, - { - "path": "pages/payment/waiting/waiting", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "等待支付" - } - }, - { - "path": "pages/payment/result/result", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "支付结果" - } - }, - - { - "path": "pages/article/details/details", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "文章详情" - } - }, - { - "path": "pages/article/list/list", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "文章列表" - } - }, - { - "path": "pages/login/loginBySMS/loginBySMS", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "授权登录" - } - }, - { - "path": "pages/share/sharePoster/sharePoster", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "分享" - } - }, - { - "path": "pages/activity/pinTuan/list/list", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "拼团列表" - } - }, + } + ], + "subpackages": [ { - "path": "pages/activity/pinTuan/details/details", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "拼团详情" - } + "root": "pages/share", + "name": "share", + "pages": [ + { + "path": "sharePoster/sharePoster", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "分享" + } + }, + { + "path": "jump/jump", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "加载中..." + } + } + ] }, { - "path": "pages/activity/seckill/list/list", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "秒杀列表" - } + "root": "pages/serviceGoods", + "name": "serviceGoods", + "pages": [ + { + "path": "index/index", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "服务商品列表" + } + }, + { + "path": "details/details", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "服务商品详情" + } + } + ] }, { - "path": "pages/activity/seckill/details/details", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "秒杀详情" - } + "root": "pages/map", + "name": "map", + "pages": [ + { + "path": "map", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "地图展示" + } + } + ] }, { - "path": "pages/activity/groupBuying/list/list", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "团购列表" - } + "root": "pages/reward", + "name": "reward", + "pages": [ + { + "path": "reward", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "打赏" + } + } + ] }, { - "path": "pages/activity/groupBuying/details/details", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "团购详情" - } + "root": "pages/search", + "name": "search", + "pages": [ + { + "path": "search", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "搜索" + } + } + ] }, { - "path": "pages/form/details/details", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "万能表单" - } + "root": "pages/placeOrder", + "name": "placeOrder", + "pages": [ + { + "path": "index/index", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "提交订单" + } + }, + { + "path": "invoice/invoice", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "发票" + } + }, + { + "path": "storeList/storeList", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "门店列表" + } + } + ] }, - { - "path": "pages/share/jump/jump", - "style": { - "navigationBarTextStyle": "black", - // #ifdef H5 - "titleNView": false, - // #endif - "navigationBarTitleText": "加载中..." - } + "root": "pages/payment", + "name": "payment", + "pages": [ + { + "path": "pay/pay", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "支付" + } + }, + { + "path": "waiting/waiting", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "等待支付" + } + }, + { + "path": "result/result", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "支付结果" + } + } + ] }, { - "path": "pages/storeMap/storeMap", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "门店列表" - } + "root": "pages/storeMap", + "name": "storeMap", + "pages": [ + { + "path": "storeMap", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "门店列表" + } + } + ] }, - { - "path": "pages/serviceGoods/index/index", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "服务商品列表" - } + "root": "pages/goods", + "name": "goods", + "pages": [ + { + "path": "goodDetails/goodDetails", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "商品详情", + "navigationStyle": "custom" + } + }, + { + "path": "goodComments/goodComments", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "商品评论" + } + } + ] }, { - "path": "pages/serviceGoods/details/details", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "服务商品详情" - } + "root": "pages/form", + "name": "form", + "pages": [ + { + "path": "details/details", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "万能表单" + } + } + ] }, { - "path": "pages/coupon/coupon", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "优惠券列表" - } + "root": "pages/coupon", + "name": "coupon", + "pages": [ + { + "path": "coupon", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "优惠券列表" + } + } + ] }, { - "path": "pages/map/map", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "地图展示" - } + "root": "pages/article", + "name": "article", + "pages": [ + { + "path": "details/details", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "文章详情" + } + }, + { + "path": "list/list", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "文章列表" + } + } + ] }, { - "path": "pages/goods/goodComments/goodComments", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "商品评论" - } + "root": "pages/activity", + "name": "template", + "pages": [ + { + "path": "pinTuan/list/list", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "拼团列表" + } + }, + { + "path": "pinTuan/details/details", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "拼团详情" + } + }, + { + "path": "seckill/list/list", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "秒杀列表" + } + }, + { + "path": "seckill/details/details", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "秒杀详情" + } + }, + { + "path": "groupBuying/list/list", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "团购列表" + } + }, + { + "path": "groupBuying/details/details", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "团购详情" + } + } + ] }, - { - "path": "pages/reward/reward", - "style": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "打赏" - } - } - ], - "subpackages": [ { "root": "pages/member", "name": "member", @@ -741,7 +803,6 @@ }, { "pagePath": "pages/index/member/member", - //"pagePath": "pages/login/loginByAccount/loginByAccount", "text": "我的", "iconPath": "static/images/indexMenus/index04.png", "selectedIconPath": "static/images/indexMenus/index04_1.png" diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue b/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue index 07740be2b5e1de21ebcda6319c995dad6d7f69ab..c4f88a9c268730a89cec1aa8ddc23d0ebfacf965 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue @@ -148,21 +148,7 @@ - - - - - - - - - - - - - - @@ -342,18 +328,11 @@ - - - - - - - @@ -380,42 +359,14 @@ import { goods, articles, commonUse, tools } from '@/common/mixins/mixinsHelper.js' import coreshopNavbarSlot from '@/components/coreshop-navbar-slot/coreshop-navbar-slot.vue'; import spec from '@/components/coreshop-spec/coreshop-spec.vue'; - // #ifdef H5 - import shareByH5 from '@/components/coreshop-share/shareByh5.vue'; - // #endif - // #ifdef MP-WEIXIN import shareByWx from '@/components/coreshop-share/shareByWx.vue'; - // #endif - // #ifdef MP-TOUTIAO - import shareByTt from '@/components/coreshop-share/shareByTt.vue'; - // #endif - // #ifdef MP-ALIPAY - import shareByAli from '@/components/coreshop-share/shareByAli.vue'; - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - import shareByApp from '@/components/coreshop-share/shareByApp.vue'; - // #endif export default { mixins: [goods, articles, commonUse, tools], components: { coreshopFab, coreshopNavbarSlot, spec, - // #ifdef H5 - shareByH5, - // #endif - // #ifdef MP-WEIXIN shareByWx, - // #endif - // #ifdef MP-TOUTIAO - shareByTt, - // #endif - // #ifdef MP-ALIPAY - shareByAli, - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - shareByApp - // #endif }, data() { return { @@ -539,12 +490,7 @@ shareHref() { let pages = getCurrentPages(); let page = pages[pages.length - 1]; - // #ifdef H5 || MP-WEIXIN || APP-PLUS || APP-PLUS-NVUE return this.$globalConstVars.apiBaseUrl + 'wap/' + page.route + '?id=' + this.goodsId + '&groupId=' + this.groupId; - // #endif - // #ifdef MP-ALIPAY - return this.$globalConstVars.apiBaseUrl + 'wap/' + page.__proto__.route + '?id=' + this.goodsId + '&groupId=' + this.groupId; - // #endif }, defaultSpesDesc() { return this.product.defaultSpecificationDescription; @@ -816,45 +762,6 @@ }, //在线客服,只有手机号的,请自己替换为手机号 showChat() { - // #ifdef H5 - let _this = this; - window._AIHECONG('ini', { - entId: this.config.entId, - button: false, - appearance: { - panelMobile: { - tone: '#FF7159', - sideMargin: 30, - ratio: 'part', - headHeight: 50 - } - } - }); - //传递客户信息 - window._AIHECONG('customer', { - head: _this.userInfo.avatar, - 名称: _this.userInfo.nickname, - 手机: _this.userInfo.mobile - }); - window._AIHECONG('showChat'); - // #endif - // 客服页面 - // #ifdef APP-PLUS || APP-PLUS-NVUE - this.$u.route('/pages/member/customerService/index'); - // #endif - // 头条系客服 - // #ifdef MP-TOUTIAO - if (this.shopMobile != 0) { - let _this = this; - tt.makePhoneCall({ - phoneNumber: this.shopMobile.toString(), - success(res) { }, - fail(res) { } - }); - } else { - _this.$u.toast('暂无设置客服电话'); - } - // #endif }, //获取分享URL getShareUrl() { diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue b/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue index 73d873715da35ceeb5444c3ac5dadcd95178c7d2..849f4dafc948f7cb867947e9a0fdc5e90fa0722d 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue @@ -317,22 +317,8 @@ - - - - - + - - - - - - - - - -
@@ -383,18 +369,11 @@ - - - - - - - + + - @@ -512,42 +491,14 @@ import coreshopNavbarSlot from '@/components/coreshop-navbar-slot/coreshop-navbar-slot.vue'; import { goods, articles, commonUse, tools } from '@/common/mixins/mixinsHelper.js' import spec from '@/components/coreshop-spec/coreshop-spec.vue'; - // #ifdef H5 - import shareByH5 from '@/components/coreshop-share/shareByh5.vue'; - // #endif - // #ifdef MP-WEIXIN import shareByWx from '@/components/coreshop-share/shareByWx.vue'; - // #endif - // #ifdef MP-TOUTIAO - import shareByTt from '@/components/coreshop-share/shareByTt.vue'; - // #endif - // #ifdef MP-ALIPAY - import shareByAli from '@/components/coreshop-share/shareByAli.vue'; - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - import shareByApp from '@/components/coreshop-share/shareByApp.vue'; - // #endif export default { mixins: [goods, articles, commonUse, tools], components: { coreshopFab, coreshopNavbarSlot, spec, - // #ifdef H5 - shareByH5, - // #endif - // #ifdef MP-WEIXIN shareByWx, - // #endif - // #ifdef MP-TOUTIAO - shareByTt, - // #endif - // #ifdef MP-ALIPAY - shareByAli, - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - shareByApp - // #endif }, data() { return { @@ -680,12 +631,7 @@ shareHref() { let pages = getCurrentPages(); let page = pages[pages.length - 1]; - // #ifdef H5 || MP-WEIXIN || APP-PLUS || APP-PLUS-NVUE return this.$globalConstVars.apiBaseUrl + 'wap/' + page.route + '?id=' + this.goodsId + '&pinTuanId=' + this.pinTuanId; - // #endif - // #ifdef MP-ALIPAY - return this.$globalConstVars.apiBaseUrl + 'wap/' + page.__proto__.route + '?id=' + this.goodsId + '&pinTuanId=' + this.pinTuanId; - // #endif }, defaultSpesDesc() { return this.product.defaultSpecificationDescription; @@ -970,45 +916,6 @@ }, //在线客服,只有手机号的,请自己替换为手机号 showChat() { - // #ifdef H5 - let _this = this; - window._AIHECONG('ini', { - entId: this.config.entId, - button: false, - appearance: { - panelMobile: { - tone: '#FF7159', - sideMargin: 30, - ratio: 'part', - headHeight: 50 - } - } - }); - //传递客户信息 - window._AIHECONG('customer', { - head: _this.userInfo.avatar, - 名称: _this.userInfo.nickname, - 手机: _this.userInfo.mobile - }); - window._AIHECONG('showChat'); - // #endif - // 客服页面 - // #ifdef APP-PLUS || APP-PLUS-NVUE - this.$u.route('/pages/member/customerService/index'); - // #endif - // 头条系客服 - // #ifdef MP-TOUTIAO - if (this.shopMobile != 0) { - let _this = this; - tt.makePhoneCall({ - phoneNumber: this.shopMobile.toString(), - success(res) { }, - fail(res) { } - }); - } else { - _this.$u.toast('暂无设置客服电话'); - } - // #endif }, //获取分享URL getShareUrl() { diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue b/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue index ac279e66638d06426e554e67acf4ed4df172c7a7..19e9b9440ccf553650f30c146cd3db65e36c6196 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue @@ -148,22 +148,8 @@ - - - - - - - - - - - - - - - - + + @@ -345,18 +331,11 @@ - - - - - - - + + - @@ -384,42 +363,15 @@ import { goods, articles, commonUse, tools } from '@/common/mixins/mixinsHelper.js' import spec from '@/components/coreshop-spec/coreshop-spec.vue'; import coreshopNavbarSlot from '@/components/coreshop-navbar-slot/coreshop-navbar-slot.vue'; - // #ifdef H5 - import shareByH5 from '@/components/coreshop-share/shareByh5.vue'; - // #endif - // #ifdef MP-WEIXIN import shareByWx from '@/components/coreshop-share/shareByWx.vue'; - // #endif - // #ifdef MP-TOUTIAO - import shareByTt from '@/components/coreshop-share/shareByTt.vue'; - // #endif - // #ifdef MP-ALIPAY - import shareByAli from '@/components/coreshop-share/shareByAli.vue'; - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - import shareByApp from '@/components/coreshop-share/shareByApp.vue'; - // #endif + export default { mixins: [goods, articles, commonUse, tools], components: { coreshopFab, coreshopNavbarSlot, spec, - // #ifdef H5 - shareByH5, - // #endif - // #ifdef MP-WEIXIN shareByWx, - // #endif - // #ifdef MP-TOUTIAO - shareByTt, - // #endif - // #ifdef MP-ALIPAY - shareByAli, - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - shareByApp - // #endif }, data() { return { @@ -544,12 +496,7 @@ shareHref() { let pages = getCurrentPages(); let page = pages[pages.length - 1]; - // #ifdef H5 || MP-WEIXIN || APP-PLUS || APP-PLUS-NVUE return this.$globalConstVars.apiBaseUrl + 'wap/' + page.route + '?id=' + this.goodsId + '&groupId=' + this.groupId; - // #endif - // #ifdef MP-ALIPAY - return this.$globalConstVars.apiBaseUrl + 'wap/' + page.__proto__.route + '?id=' + this.goodsId + '&groupId=' + this.groupId; - // #endif }, defaultSpesDesc() { return this.product.defaultSpecificationDescription; @@ -820,45 +767,6 @@ }, //在线客服,只有手机号的,请自己替换为手机号 showChat() { - // #ifdef H5 - let _this = this; - window._AIHECONG('ini', { - entId: this.config.entId, - button: false, - appearance: { - panelMobile: { - tone: '#FF7159', - sideMargin: 30, - ratio: 'part', - headHeight: 50 - } - } - }); - //传递客户信息 - window._AIHECONG('customer', { - head: _this.userInfo.avatar, - 名称: _this.userInfo.nickname, - 手机: _this.userInfo.mobile - }); - window._AIHECONG('showChat'); - // #endif - // 客服页面 - // #ifdef APP-PLUS || APP-PLUS-NVUE - this.$u.route('/pages/member/customerService/index'); - // #endif - // 头条系客服 - // #ifdef MP-TOUTIAO - if (this.shopMobile != 0) { - let _this = this; - tt.makePhoneCall({ - phoneNumber: this.shopMobile.toString(), - success(res) { }, - fail(res) { } - }); - } else { - _this.$u.toast('暂无设置客服电话'); - } - // #endif }, //获取分享URL getShareUrl() { diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.scss b/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.scss index 82a4615ad3a41cd62e6af0300b729fc652dcd672..0dfbf9fee1f55196bfcf0767299f5206fb32dd78 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.scss +++ b/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.scss @@ -1,4 +1,4 @@ -.topBox { position: sticky; z-index: 1; width: 100%; /* #ifdef APP-PLUS */ top: calc(var(--status-bar-height) + 70rpx); /* #endif */ /* #ifdef H5 */ top: calc(var(--status-bar-height) + 110rpx); /* #endif */ /* #ifdef MP */ top: calc(var(--status-bar-height) + 135rpx); /* #endif */ } +.topBox { position: sticky; z-index: 1; width: 100%; /* #ifdef MP */ top: calc(var(--status-bar-height) + 135rpx); /* #endif */ } .good_box { border-radius: 8px; margin: 5px; background-color: #ffffff; padding: 5px; position: relative; width: calc(100% - 6px); } .good_image { width: 100%; border-radius: 4px; } diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.vue b/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.vue index 1efb791fd7ec1fff40d3608b6a7b03486f75cd4d..f8d92ac1f9347c0afd88a87c95cb42eb2dda195f 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/category/list/list.vue @@ -501,7 +501,6 @@ goSearch() { let pages = getCurrentPages(); let prevPage = pages[pages.length - 2]; - // #ifdef H5 || MP-WEIXIN || APP-PLUS || APP-PLUS-NVUE || MP-TOUTIAO if (prevPage && prevPage.route) { let search_flag = prevPage.route; if (search_flag == 'pages/search/search') { @@ -514,22 +513,6 @@ } else { this.$u.route('/pages/search/search'); } - // #endif - - // #ifdef MP-ALIPAY - if (prevPage && prevPage.__proto__.route) { - let search_flag = prevPage.__proto__.route; - if (search_flag == 'pages/search/search') { - uni.navigateBack({ - delta: 1 - }); - } else { - this.$u.route('/pages/search/search'); - } - } else { - this.$u.route('/pages/search/search'); - } - // #endif }, //取消筛选 filterNo() { @@ -636,21 +619,7 @@ closeDropdown() { this.$refs.uDropdown.close(); } - }, - // #ifdef MP-ALIPAY - onChangeShowState_show: function () { - var that = this; - that.setData({ - showView: (that.showView = true) - }); - }, - onChangeShowState_hid: function () { - var that = this; - that.setData({ - showView: (that.showView = false) - }); } - // #endif }; diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue b/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue index 122905f2441c4df2a7639c5adb8ef2b7e6169312..e2dc6b9e6c2cc083dad318f9d11f769e96fa5f7d 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue @@ -200,22 +200,8 @@ - - - - - + - - - - - - - - - -
@@ -287,18 +273,11 @@ - - - - - - - - @@ -400,42 +379,15 @@ import { goods, articles, commonUse, tools } from '@/common/mixins/mixinsHelper.js' import coreshopNavbarSlot from '@/components/coreshop-navbar-slot/coreshop-navbar-slot.vue'; import spec from '@/components/coreshop-spec/coreshop-spec.vue' - // #ifdef H5 - import shareByH5 from '@/components/coreshop-share/shareByh5.vue' - // #endif - // #ifdef MP-WEIXIN - import shareByWx from '@/components/coreshop-share/shareByWx.vue' - // #endif - // #ifdef MP-TOUTIAO - import shareByTt from '@/components/coreshop-share/shareByTt.vue' - // #endif - // #ifdef MP-ALIPAY - import shareByAli from '@/components/coreshop-share/shareByAli.vue' - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - import shareByApp from '@/components/coreshop-share/shareByApp.vue' - // #endif + import shareByWx from '@/components/coreshop-share/shareByWx.vue'; + export default { mixins: [goods, articles, commonUse, tools], components: { coreshopFab, coreshopNavbarSlot, spec, - // #ifdef H5 - shareByH5, - // #endif - // #ifdef MP-WEIXIN shareByWx, - // #endif - // #ifdef MP-TOUTIAO - shareByTt, - // #endif - // #ifdef MP-ALIPAY - shareByAli, - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - shareByApp, - // #endif }, data() { return { @@ -495,13 +447,11 @@ if (res.status) { _this.userInfo = res.data _this.hasLogin = true; - // #ifdef MP-WEIXIN //微信小程序打开客服时,传递用户信息 var kefupara = {} kefupara.nickName = res.data.nickname kefupara.tel = res.data.mobile _this.kefupara = JSON.stringify(kefupara) - // #endif } }) }; @@ -571,12 +521,7 @@ shareHref() { let pages = getCurrentPages() let page = pages[pages.length - 1] - // #ifdef H5 || MP-WEIXIN || APP-PLUS || APP-PLUS-NVUE return this.$globalConstVars.apiBaseUrl + 'wap/' + page.route + '?id=' + this.goodsId; - // #endif - // #ifdef MP-ALIPAY - return this.$globalConstVars.apiBaseUrl + 'wap/' + page.__proto__.route + '?id=' + this.goodsId; - // #endif }, defaultSpesDesc() { return this.product.defaultSpecificationDescription; @@ -874,45 +819,6 @@ }, //在线客服,只有手机号的,请自己替换为手机号 showChat() { - let _this = this; - // #ifdef H5 - window._AIHECONG('ini', { - entId: this.config.entId, - button: false, - appearance: { - panelMobile: { - tone: '#FF7159', - sideMargin: 30, - ratio: 'part', - headHeight: 50 - } - } - }) - //传递客户信息 - window._AIHECONG('customer', { - head: _this.userInfo.avatar, - '名称': _this.userInfo.nickname, - '手机': _this.userInfo.mobile - }) - window._AIHECONG('showChat') - // #endif - // 客服页面 - // #ifdef APP-PLUS || APP-PLUS-NVUE - this.$u.route('/pages/member/customerService/index'); - // #endif - // 头条系客服 - // #ifdef MP-TOUTIAO - if (this.shopMobile != 0) { - let _this = this; - tt.makePhoneCall({ - phoneNumber: this.shopMobile.toString(), - success(res) { }, - fail(res) { } - }); - } else { - _this.$u.toast('暂无设置客服电话'); - } - // #endif }, //获取分享URL getShareUrl() { diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/index/custom/custom.vue b/CoreCms.Net.Uni-App/CoreShop/pages/index/custom/custom.vue index 452c63ff99f637403b8eae6678997707569840a8..9be2acac170f4eb54fe489bd3be457cdf8417635 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/index/custom/custom.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/index/custom/custom.vue @@ -13,22 +13,9 @@ - - - - - - - - - - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue b/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue index e56df65ba6a8bd6e437e90213f1192e68a25b3b6..53c2af68584dc80613db9bc13f16339fa62473ca 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue @@ -13,22 +13,9 @@ - - - - - - - - - - - - - @@ -181,47 +168,6 @@ }, //在线客服,只有手机号的,请自己替换为手机号 showChat() { - // #ifdef H5 - let _this = this; - window._AIHECONG('ini', { - entId: this.$store.state.config.entId, - button: false, - appearance: { - panelMobile: { - tone: '#FF7159', - sideMargin: 30, - ratio: 'part', - headHeight: 50 - } - } - }); - //传递客户信息 - window._AIHECONG('customer', { - head: _this.userInfo.avatarImage, - 名称: _this.userInfo.nickName, - 手机: _this.userInfo.mobile - }); - window._AIHECONG('showChat'); - // #endif - - // 客服页面 - // #ifdef APP-PLUS || APP-PLUS-NVUE - this.$u.route('/pages/member/customerService/index'); - // #endif - - // 头条系客服 - // #ifdef MP-TOUTIAO - if (this.shopMobile != 0) { - let _this = this; - tt.makePhoneCall({ - phoneNumber: this.shopMobile.toString(), - success(res) { }, - fail(res) { } - }); - } else { - _this.$u.toast('暂无设置客服电话'); - } - // #endif }, //获取分享URL getShareUrl() { diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue b/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue index 89c6d2cb220634f43a93967563e7944ec91e2148..b69bfde6c8f7f781345535392081c3c73723440b 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/index/member/member.vue @@ -10,32 +10,12 @@ - - - - - - - - - - -
@@ -194,33 +163,15 @@ 其他
- 帮助中心 - {{ item.name }} - - - - 联系客服 - - - - - - - - - - - -
@@ -473,9 +424,6 @@ goLogin() { this.$store.commit('showLoginTip', true); }, - toLogin() { - this.$u.route('/pages/member/login/login/loginByAccount') - }, initData() { var _this = this //判断是开启分销还是原始推广 @@ -562,24 +510,6 @@ }, //在线客服,只有手机号的,请自己替换为手机号 showChat() { - // #ifdef H5 - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - this.$u.route('/pages/member/customerService/index'); - // #endif - // 头条系客服 - // #ifdef MP-TOUTIAO - if (this.shopMobile != 0) { - let _this = this; - tt.makePhoneCall({ - phoneNumber: this.shopMobile.toString(), - success(res) { }, - fail(res) { } - }); - } else { - _this.$u.toast('暂无设置客服电话'); - } - // #endif }, //同步微信昵称数据 syncWeChatInfo() { diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/login/forget/forget.vue b/CoreCms.Net.Uni-App/CoreShop/pages/login/forget/forget.vue deleted file mode 100644 index 9d1c979263be32b70dbe8b04837d6d8f0573d789..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/pages/login/forget/forget.vue +++ /dev/null @@ -1,203 +0,0 @@ - - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/login/loginByAccount/loginByAccount.vue b/CoreCms.Net.Uni-App/CoreShop/pages/login/loginByAccount/loginByAccount.vue deleted file mode 100644 index 61d65c75d0418fc611d453a7f08d62827cee0656..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/pages/login/loginByAccount/loginByAccount.vue +++ /dev/null @@ -1,309 +0,0 @@ - - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/login/loginBySMS/loginBySMS.scss b/CoreCms.Net.Uni-App/CoreShop/pages/login/loginBySMS/loginBySMS.scss deleted file mode 100644 index 28df07a5e3e9b19154c958b1931eb515267b262b..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/pages/login/loginBySMS/loginBySMS.scss +++ /dev/null @@ -1,38 +0,0 @@ -.wrap { font-size: 28rpx; - .content { width: 600rpx; margin: 80rpx auto 0; - - .title { text-align: left; font-size: 50rpx; font-weight: 500; margin-bottom: 100rpx; } - input { text-align: left; margin-bottom: 10rpx; padding-bottom: 6rpx; } - .tips { color: $u-type-info; margin-bottom: 60rpx; margin-top: 8rpx; } - .getCaptcha { background-color: rgb(253, 243, 208); color: $u-tips-color; border: none; font-size: 30rpx; padding: 12rpx 0; - - &::after { border: none; } - } - .alternative { color: $u-tips-color; display: flex; justify-content: space-between; margin-top: 30rpx; } - } - .buttom { - .loginType { display: flex; padding: 350rpx 150rpx 150rpx 150rpx; justify-content: center; - - .item { display: flex; flex-direction: column; align-items: center; color: $u-content-color; font-size: 28rpx; } - } - - .hint { padding: 20rpx 40rpx; font-size: 22rpx; color: $u-tips-color; - - .link { color: $u-type-warning; } - } - } -} - - -.wrapkey { padding: 80rpx 70rpx; } -.box { margin: 30rpx 0; font-size: 30rpx; color: 555; } -.key-input { padding: 30rpx 0; - text { display: none; } - .error { display: block; color: red; font-size: 30rpx; margin: 20rpx 0; } -} -.title { font-size: 50rpx; color: #333; } -.key-input .tips { font-size: 30rpx; color: #333; margin-top: 20rpx; margin-bottom: 60rpx; } -.captcha { color: $u-type-warning; font-size: 30rpx; margin-top: 40rpx; - .noCaptcha { display: block; } - .regain { display: block; } -} diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/login/loginBySMS/loginBySMS.vue b/CoreCms.Net.Uni-App/CoreShop/pages/login/loginBySMS/loginBySMS.vue deleted file mode 100644 index 9fd9b0cf14134b2a502c5ae9dca03bc5ba4f5a54..0000000000000000000000000000000000000000 --- a/CoreCms.Net.Uni-App/CoreShop/pages/login/loginBySMS/loginBySMS.vue +++ /dev/null @@ -1,365 +0,0 @@ - - - - - diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/address/list/list.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/address/list/list.vue index ad4e5eb7bff75ad4bb0a37bfe387bc0e5db09968..f530a1e6ba83718a5e9c11656c01ebbc3659b30b 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/address/list/list.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/address/list/list.vue @@ -69,18 +69,8 @@ let pages = getCurrentPages();//当前页 let beforePage = pages[pages.length - 2];//上个页面 - // #ifdef MP-ALIPAY || MP-TOUTIAO - this.$db.set('addressUserShip', data, true); - // #endif - - // #ifdef H5 || APP-PLUS || APP-PLUS-NVUE - this.$store.commit("userShip", data) - // #endif - - // #ifdef MP-WEIXIN beforePage.$vm.userShip = data; beforePage.$vm.params.areaId = data.areaId; - // #endif uni.navigateBack({ delta: 1 diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.scss b/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.scss index 4f15d1756dad3aaea633687d211dfc528d741869..435c84ea57a3ad3bca6d47844f3ec6605ca2c7c0 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.scss +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.scss @@ -16,13 +16,6 @@ .cell-header { padding: 10rpxpx 0; margin: 0; margin-left: 20rpx; font-size: 28rpx; font-weight: 550; } .mr5 { margin-right: 10rpx; } .inputStyle { display: inline-block; border: 2rpx solid #ccc; height: 13rpx; line-height: 13rpx; width: 60rpx; text-align: center; font-size: 24rpx; vertical-align: middle; } -/* #ifdef MP-ALIPAY */ - -/* #endif */ -/* #ifdef MP-TOUTIAO */ -.goods-item-c { height: 1.5rem; } -.goods-buy { height: 100%; } -/* #endif */ .refund-price { border-bottom: none; } .refund-tip { padding: 0 26rpx 10rpx; text-align: right; } @@ -42,4 +35,4 @@ uni-checkbox.checkboxNo .uni-checkbox-input { background-color: #e1e1e1 !important; border-color: #e1e1e1 !important; } -.icon { width: 50upx; height: 50upx; /* #ifdef MP-ALIPAY */ background-size: 100% 100%; /* #endif */ } +.icon { width: 50upx; height: 50upx; } diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.vue index f62b8731a890f98fda7b30b297171bc38e62a2eb..072da8c45b70f20aef7122a78c1f33d8fa57c1c0 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/submit/submit.vue @@ -64,7 +64,6 @@
- - - - - - -
diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/myStore/myStore.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/myStore/myStore.vue index ab3a5359cd3d5059e2f1aae80c4eed54c932facd..eac3dda08b9c739f9efd44d87bf0d3c5ed2010ef 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/myStore/myStore.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/myStore/myStore.vue @@ -15,26 +15,9 @@ {{totalGoods}} 全部宝贝
- - - - - - - - - - - - - - - - -
@@ -44,15 +27,7 @@ - - - - - 请将此页面添加浏览器书签 - 方便下次浏览 - - @@ -148,18 +123,8 @@ this.getGoods(); }, mounted() { - // #ifdef H5 || APP-PLUS || APP-PLUS-NVUE - window.addEventListener('scroll', this.handleScroll) - // #endif }, updated() { - // #ifndef MP-WEIXIN || MP-TOUTIAO || MP-ALIPAY - // 获取上半部分的整体高度 - this.$nextTick(() => { - let h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; //浏览器高度 - this.top_height = this.$refs.myStore.$el.clientHeight; - }) - // #endif }, methods: { // 显示modal弹出框 @@ -174,7 +139,6 @@ goSearch() { let pages = getCurrentPages(); let prevPage = pages[pages.length - 2]; - // #ifdef H5 || MP-WEIXIN || APP-PLUS || APP-PLUS-NVUE || MP-TOUTIAO if (prevPage && prevPage.route) { let search_flag = prevPage.route; if (search_flag == 'pages/search/search') { @@ -187,21 +151,6 @@ } else { this.$u.route('/pages/search/search'); } - // #endif - // #ifdef MP-ALIPAY - if (prevPage && prevPage.__proto__.route) { - let search_flag = prevPage.__proto__.route; - if (search_flag == 'pages/search/search') { - uni.navigateBack({ - delta: 1 - }); - } else { - this.$u.route('/pages/search/search'); - } - } else { - this.$u.route('/pages/search/search'); - } - // #endif }, //取得商品数据 @@ -265,25 +214,7 @@ page: 11, } let pageUrl = 'pages/share/jump/jump'; - // #ifdef H5 - data.client = 1; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-WEIXIN data.client = 2; - data.url = pageUrl; - // #endif - // #ifdef MP-ALIPAY - data.client = 3; - data.url = pageUrl; - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - data.client = 5; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-TOUTIAO - data.client = 6; - // #endif let userToken = this.$db.get('userToken') if (userToken && userToken != '') { data.token = userToken diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/panel/panel.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/panel/panel.vue index 80affeff83dc10d6dfd0f98877d91f5f83acd6f0..1485399d3cdb0494456782b1c6f5fe47ecdd0d25 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/panel/panel.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/agent/panel/panel.vue @@ -184,25 +184,8 @@ page: 11, } let pageUrl = 'pages/share/jump/jump'; - // #ifdef H5 - data.client = 1; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-WEIXIN data.client = 2; - data.url = pageUrl; - // #endif - // #ifdef MP-ALIPAY - data.client = 3; - data.url = pageUrl; - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - data.client = 5; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-TOUTIAO - data.client = 6; - // #endif + let userToken = this.$db.get('userToken') if (userToken && userToken != '') { data.token = userToken diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/bankcard/bankcard.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/bankcard/bankcard.vue index 556741df65f0ef2191b35a8e0d1899bcc9983958..49722058a9b7aa8efefef6e4d2a16376c5420ad5 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/bankcard/bankcard.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/bankcard/bankcard.vue @@ -121,17 +121,7 @@ let pages = getCurrentPages();//当前页 let beforePage = pages[pages.length - 2];//上个页面 - // #ifdef H5 || APP-PLUS || APP-PLUS-NVUE - beforePage.cardInfo = this.cards[index] - // #endif - - // #ifdef MP-WEIXIN beforePage.$vm.cardInfo = this.cards[index] - // #endif - - // #ifdef MP-ALIPAY || MP-TOUTIAO - this.$db.set('userCardInfo', this.cards[index], true); - // #endif uni.navigateBack({ delta: 1 diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.scss b/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.scss index ebbafd29824f06967de42a3c050b4bd01a46f518..95b8b371eb211fdff1bdfbaf87a8b8ef37d2f449 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.scss +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.scss @@ -4,8 +4,4 @@ .withdrawcash-input { display: flex; align-items: center; font-size: 50upx; border-bottom: 2upx solid #e8e8e8; padding-bottom: 20upx; width: 95%; max-width: 95%; text { font-size: 40upx; } input { display: inline-block; min-width: 500upx; padding-left: 20upx; } -} - -/* #ifdef MP-ALIPAY */ -.coreshop-cell-hd-title input { font-size: 24px; height: 18px; } -/* #endif */ +} \ No newline at end of file diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.vue index 0a2640d7200b1b82acc9d66b61ca55c0571c0113..4e2b5aa0c0219d09e594c72d77e395d911c78a06 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/balance/withdrawCash/withdrawCash.vue @@ -75,13 +75,6 @@ this.userInfo() }, onShow() { - // #ifdef MP-ALIPAY || MP-TOUTIAO - let userCardInfo = this.$db.get('userCardInfo', true); - if (userCardInfo) { - this.cardInfo = userCardInfo; - this.$db.del('userCardInfo', true); - } - // #endif }, computed: { userbankCard() { diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/myStore/myStore.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/myStore/myStore.vue index 07dc3621eccc35ba48695edb7b79aea3aa102762..90470ffcd19055371ab68eb7e3d9c60e4db500ef 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/myStore/myStore.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/myStore/myStore.vue @@ -15,26 +15,9 @@ {{totalGoods}} 全部宝贝 - - - - - - - - - - - - - - - - - @@ -45,15 +28,7 @@ - - - - - 请将此页面添加浏览器书签 - 方便下次浏览 - - @@ -148,18 +123,8 @@ this.getGoods(); }, mounted() { - // #ifdef H5 || APP-PLUS || APP-PLUS-NVUE - window.addEventListener('scroll', this.handleScroll) - // #endif }, updated() { - // #ifndef MP-WEIXIN || MP-TOUTIAO || MP-ALIPAY - // 获取上半部分的整体高度 - this.$nextTick(() => { - let h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; //浏览器高度 - this.top_height = this.$refs.myStore.$el.clientHeight; - }) - // #endif }, methods: { // 显示modal弹出框 @@ -174,7 +139,6 @@ goSearch() { let pages = getCurrentPages(); let prevPage = pages[pages.length - 2]; - // #ifdef H5 || MP-WEIXIN || APP-PLUS || APP-PLUS-NVUE || MP-TOUTIAO if (prevPage && prevPage.route) { let search_flag = prevPage.route; if (search_flag == 'pages/search/search') { @@ -187,21 +151,6 @@ } else { this.$u.route('/pages/search/search'); } - // #endif - // #ifdef MP-ALIPAY - if (prevPage && prevPage.__proto__.route) { - let search_flag = prevPage.__proto__.route; - if (search_flag == 'pages/search/search') { - uni.navigateBack({ - delta: 1 - }); - } else { - this.$u.route('/pages/search/search'); - } - } else { - this.$u.route('/pages/search/search'); - } - // #endif }, //取得商品数据 @@ -266,25 +215,8 @@ let pages = getCurrentPages() let page = pages[pages.length - 1] let pageUrl = 'pages/share/jump/jump'; - // #ifdef H5 - data.client = 1; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-WEIXIN data.client = 2; - data.url = pageUrl; - // #endif - // #ifdef MP-ALIPAY - data.client = 3; - data.url = pageUrl; - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - data.client = 5; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-TOUTIAO - data.client = 6; - // #endif + let userToken = this.$db.get('userToken') if (userToken && userToken != '') { data.token = userToken diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/panel/panel.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/panel/panel.vue index 455e1e573ee3cabc24536f99487ec6c2c6c714ce..68f1c8b188c21927208ba13e838d00fca3166822 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/panel/panel.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/distribution/panel/panel.vue @@ -183,25 +183,8 @@ page: 4, } let pageUrl = 'pages/share/jump/jump'; - // #ifdef H5 - data.client = 1; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-WEIXIN data.client = 2; - data.url = pageUrl; - // #endif - // #ifdef MP-ALIPAY - data.client = 3; - data.url = pageUrl; - // #endif - // #ifdef APP-PLUS || APP-PLUS-NVUE - data.client = 5; - data.url = this.$globalConstVars.apiBaseUrl + 'wap/' + pageUrl; - // #endif - // #ifdef MP-TOUTIAO - data.client = 6; - // #endif + let userToken = this.$db.get('userToken') if (userToken && userToken != '') { data.token = userToken diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/invite/index.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/invite/index.vue index 6e8d75cad8e67e45430d0232e9c5dbad012d1376..ccde8d717d8ba8783702e920cc0087c1f361d803 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/invite/index.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/invite/index.vue @@ -27,16 +27,9 @@ 提交 - - - - - @@ -46,10 +39,7 @@ diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/payment/pay/pay.vue b/CoreCms.Net.Uni-App/CoreShop/pages/payment/pay/pay.vue index 26151b9f78eac9442b1b14b220961615f44ebed1..c89c530a7aee4cba3e7c8cb89eaca51e32af244b 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/payment/pay/pay.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/payment/pay/pay.vue @@ -84,21 +84,7 @@ - - - - - - - - - - - - - - @@ -110,25 +96,7 @@