From 7bfc426b8ec9d9f3213dd23d88f4632cab41150b Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Sun, 24 Mar 2024 15:28:42 +0800 Subject: [PATCH] add --- manifest.json | 3 +- pages.json | 8 ++-- pages/goods_details/index.vue | 1 + pages/shop_details/index.vue | 87 ++++++++++++++++++++++++++++++---- pages/user/index.vue | 12 +++++ static/images/5-001.png | Bin 4279 -> 1826 bytes static/images/5-002.png | Bin 3376 -> 1975 bytes utils/util.js | 4 ++ 8 files changed, 101 insertions(+), 14 deletions(-) diff --git a/manifest.json b/manifest.json index 9ec8201..918f544 100644 --- a/manifest.json +++ b/manifest.json @@ -26,7 +26,8 @@ "Share" : {}, "iBeacon" : {}, "Geolocation" : {}, - "Maps" : {} + "Maps" : {}, + "Barcode" : {} }, "safearea" : { "bottom" : { diff --git a/pages.json b/pages.json index ae224ae..55d41bf 100644 --- a/pages.json +++ b/pages.json @@ -56,16 +56,14 @@ { "path": "pages/shop/index", "style": { - "navigationStyle": "custom" - // #ifdef MP || APP-PLUS - , - "navigationBarBackgroundColor": "#F2F2F2" - // #endif + "enablePullDownRefresh": true, + "navigationBarTitleText": "门店" } }, { "path": "pages/shop_details/index", "style": { + "navigationStyle": "custom", "navigationStyle": "custom" // #ifdef MP || APP-PLUS , diff --git a/pages/goods_details/index.vue b/pages/goods_details/index.vue index 126872b..d716b94 100644 --- a/pages/goods_details/index.vue +++ b/pages/goods_details/index.vue @@ -1557,6 +1557,7 @@ // #ifdef H5 arr2 = [that.posterbackgd, await that.imgToBase(that.storeImage), await that.imgToBase(that.codeImg), await that.imgToBase(that.share_pic)]; // #endif + console.log(arr2); //生成推广海报 that.$util.goodsPosterCanvas(arr2, that.storeInfo.store_name, that.storeInfo.price, that.site_name, that.storeInfo.ot_price, function(tempFilePath) { that.$set(that, 'posterImage', tempFilePath); diff --git a/pages/shop_details/index.vue b/pages/shop_details/index.vue index 25bc3a0..586981c 100644 --- a/pages/shop_details/index.vue +++ b/pages/shop_details/index.vue @@ -2,7 +2,7 @@ - + @@ -15,7 +15,7 @@ 评分4.5分 位置好找,菜味道不错,价格实惠 - 北京市东城区朝阳门内大街··· + 北京市东城区朝阳门内大街··· @@ -34,27 +34,74 @@ - 信息 - 评论 + {{item.name}} + + + + + + + + + + 欢迎来到我们的火锅店!我们是一个有着悠久历史和传统美食文化的品牌,我们的火锅是采用新鲜的食材和秘制的调料烹饪而成,每一口都充满了浓郁的鲜香和醇厚的口感。 + + + 我们的品牌特色在于选用上等食材,如草原鲜嫩肥羊、天然海鲜等,以及秘制香料和特色锅底。店内环境优雅舒适,服务周到细致,为您打造一处独具特色的火锅天地。 + + 去付款 @@ -149,11 +196,35 @@ flex-direction: row; } &_item{ + font-size: 32rpx; + color: #999; & + .tabs_item{ margin-left: 68rpx; } } + .active{ + color: #333; + } } + .conter{ + margin-top: 28rpx; + .product_content{ + color: #666; + } + } + } + .btn{ + position: fixed; + bottom: 30rpx; + width: 80%; + height: 92rpx; + background: #1372F5; + border-radius: 60rpx; + text-align: center; + line-height: 92rpx; + color: #fff; + left: 50%; + transform: translateX(-50%); } } \ No newline at end of file diff --git a/pages/user/index.vue b/pages/user/index.vue index 769ba52..b306612 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -94,6 +94,7 @@ {{userInfo.total_unread}} + @@ -347,6 +348,17 @@ }, 500) }, methods: { + handleBorcode() { + // 从相机和相册扫码 + // #ifdef APP-PLUS + uni.scanCode({ + scanType:['qrCode'], + success: function (res) { + console.log('二维码信息:' + res); + } + }); + // #endif + }, authTo(url){ if(this.isLogin){ uni.navigateTo({ diff --git a/static/images/5-001.png b/static/images/5-001.png index 12dbfe793028c2f19e9d9a6db40469c1af960c9b..845cc63014e1c3f90794de754eb77e3f0f85cf01 100644 GIT binary patch delta 1811 zcmaKtXFQvW0>)p7El3oNbCf1^jWnew9V#UfnjBkNTCrpAqfsk;a}lCOaqU&3q30s@ zXze0ams%y-y4BWgiPaudt4{Cddw=)&^8fUF`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{o_+ABWpay|K%^6PPfwG9@2!|z z`58VZEwI+zc4iQJ-}A@+j?h2;Vz700<5PU_K_!AN4ns4*+`H zqus<4lPh@`C=kfb#JM8}#{&X@uxFAL?|Y}``Rlexv&Xv@;L_{L|PAoD$puaV^)U|k2GKpE{MQ9Solc6JGkl$ zyK-m@)oqD}iE01eGZ7Z>DTqY_%5x2Ga>-GUAX-4c!W91l$dIfg59$D100000NkvXXu0mjf DV@_?2 diff --git a/utils/util.js b/utils/util.js index d2c0dc5..51aecb2 100644 --- a/utils/util.js +++ b/utils/util.js @@ -327,17 +327,21 @@ export default { that.handleBorderRect(ctx, 30, 108, WIDTH-60, WIDTH-20, 12); ctx.clip(); ctx.drawImage(arr2[1], 30, 108, WIDTH-60, WIDTH-20); + console.log(ctx); ctx.draw(true, function() { + console.log('sss'); uni.canvasToTempFilePath({ canvasId: 'myCanvas', fileType: 'png', destWidth: WIDTH, destHeight: HEIGHT, success: function(res) { + console.log(res); uni.hideLoading(); successFn && successFn(res.tempFilePath); }, fail: function(err) { + console.log(res); uni.hideLoading(); errFun && errFun(err); }