diff --git a/components/guide-pages/guide-pages.vue b/components/guide-pages/guide-pages.vue index d228785..e47da6e 100644 --- a/components/guide-pages/guide-pages.vue +++ b/components/guide-pages/guide-pages.vue @@ -93,7 +93,7 @@ .guide_pages_bg2 { width: 100vw; height: 100vh; - background: url("@/static/icon/e_0ban_2.jpg") no-repeat; + background: url("@/static/icon/e_0ban_2.jpg") no-repeat bottom center; background-size: cover; // background-color: #007AFF; display: flex; @@ -107,7 +107,7 @@ .guide_pages_bg3 { width: 100vw; height: 100vh; - background: url("@/static/icon/e_0ban_3.jpg") no-repeat; + background: url("@/static/icon/e_0ban_3.jpg") no-repeat bottom center; background-size: cover; // background-color: #EA552D; display: flex; @@ -127,7 +127,7 @@ .close_btj { position: absolute; - top: 60%; + top: 50%; left: 50%; width: 290rpx; height: 68rpx; diff --git a/manifest.json b/manifest.json index 4e14ca4..d58c8b9 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "1.0.02", - "versionCode" : 1002, + "versionName" : "1.0.03", + "versionCode" : 1003, "app-plus" : { "compatible" : { "ignoreVersion" : true @@ -120,8 +120,9 @@ "urltypes" : "medicine", "urlschemewhitelist" : "nuttyreading,zmzm", "privacyDescription" : { - "NSPhotoLibraryUsageDescription" : "为了给您提供修改头像的功能", - "NSCameraUsageDescription" : "为了给您提供修改头像的功能" + "NSPhotoLibraryUsageDescription" : "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用", + "NSCameraUsageDescription" : "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用", + "NSPhotoLibraryAddUsageDescription" : "保障您在此app中的修改头像、申诉反馈上传图片、留言上传图片功能的正常使用" } }, "icons" : { diff --git a/pages.json b/pages.json index 89f3694..7b2d0bc 100644 --- a/pages.json +++ b/pages.json @@ -579,7 +579,7 @@ "pagePath": "pages/bookShop/orderList", "iconPath": "static/tab/order.png", "selectedIconPath": "static/tab/order_active.png", - "text": "订单" + "text": "我的订单" }, { "pagePath": "pages/taihu/index", diff --git a/pages/goods/index/index.vue b/pages/goods/index/index.vue index 3542f2a..a166865 100644 --- a/pages/goods/index/index.vue +++ b/pages/goods/index/index.vue @@ -717,6 +717,7 @@ export default { curriculumInfo: "app/phone.do?getCourseInfo", detailInfo: "sociology/product/getProductDetail", goodsList: "book/shopproduct/getGlProductList", + visitorDetailInfo: "visitor/getProductDetail", // 游客状态下的商品详情 }, customButtonGroup1: [ { @@ -726,6 +727,7 @@ export default { color: "#fff", }, ], + requestType:'', // 数据请求类型是否为游客登陆状态 }; }, filters: { @@ -780,7 +782,7 @@ export default { }, onLoad(options) { this.options = options; - console.log('options',options) + console.log('options',options) // this.handleClickGetGoodsList(); // this.getUserInfo() // this.getCateList() @@ -799,6 +801,7 @@ export default { // this.searchList = [] }, onShow() { + this.requestType = this.options.type this.selectGoodsData = {}; this.getCourseDescriptionData(); this.show = false; @@ -823,6 +826,21 @@ export default { this.show = false; }, selectGoods(data) { + if(this.requestType == 'visitor'){ + uni.showModal({ + content:"登陆后可购买本商品", + confirmText:'去登录', + cancelText:'再逛逛', + success(res) { + if (res.confirm) { + uni.navigateTo({ + url:'/pages/user/login' + }) + } + }, + }) + return + } this.selectGoodsData = data; this.$refs.commonSelectGoods.open() // this.show = true; @@ -830,10 +848,25 @@ export default { }, onHandleClickBuy1() { + if(this.requestType == 'visitor'){ + uni.showModal({ + content:"登陆后可购买本商品", + confirmText:'去登录', + cancelText:'再逛逛', + success(res) { + if (res.confirm) { + uni.navigateTo({ + url:'/pages/user/login' + }) + } + }, + }) + return + } this.$refs.commonSelectGoods.open(); // this.show = true; }, - onHandleClickBuy() { + onHandleClickBuy() { console.log( this.selectGoodsData, "this.selectGoodsDatathis.selectGoodsDatathis.selectGoodsData" @@ -957,10 +990,11 @@ export default { async getCourseDescriptionData() { var data = {}; var that = this; - + let url = '' + this.requestType == 'visitor' ? url = this.urlList.visitorDetailInfo : url = this.urlList.detailInfo this.$http .request({ - url: this.urlList.detailInfo, + url, method: "POST", data: { productId: this.options.id, diff --git a/pages/mine/userInfo/persData.vue b/pages/mine/userInfo/persData.vue index a49076c..b008d37 100644 --- a/pages/mine/userInfo/persData.vue +++ b/pages/mine/userInfo/persData.vue @@ -373,8 +373,9 @@ - - + - \ No newline at end of file diff --git a/pages/user/workOrder.vue b/pages/user/workOrder.vue index 2e68f49..0719ae1 100644 --- a/pages/user/workOrder.vue +++ b/pages/user/workOrder.vue @@ -64,7 +64,7 @@ 问题截图: - + @@ -78,6 +78,7 @@