From a3443ff129e002646d85113c27b4f27b7125687d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Wed, 29 Oct 2025 14:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=AE=B6=E5=85=A5?= =?UTF-8?q?=E9=A9=BB=E5=8A=9F=E8=83=BD=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v2Home.js | 2 + packages/shopEnter/auditStatus/index.css | 67 +++++++++++++ packages/shopEnter/auditStatus/index.vue | 117 +++++++++++++++++++++++ pages.json | 7 ++ pages/index/index.vue | 25 +++-- 5 files changed, 211 insertions(+), 7 deletions(-) create mode 100644 packages/shopEnter/auditStatus/index.css create mode 100644 packages/shopEnter/auditStatus/index.vue diff --git a/api/v2Home.js b/api/v2Home.js index 5831e864..049a5e35 100644 --- a/api/v2Home.js +++ b/api/v2Home.js @@ -4,4 +4,6 @@ export const apiArr = { getHomeBanner: "/api/v2/wechat/home-banner-region-crud/page", //获取首页banner及其广告 getButtonNum:"/api/v2/wechat/nav-display-crud/info",//获取首页button的行数 数量 getHomeButton:"/api/v2/wechat/home-button-region-crud/page", //获取首页button + + statusQuery:"/api/v2/wechat/store-info-crud/status-query", //门店审核状态查询 }; \ No newline at end of file diff --git a/packages/shopEnter/auditStatus/index.css b/packages/shopEnter/auditStatus/index.css new file mode 100644 index 00000000..8b801b99 --- /dev/null +++ b/packages/shopEnter/auditStatus/index.css @@ -0,0 +1,67 @@ +.container { + margin-top: 100rpx; + display: flex; + justify-content: center; +} + +.auditStatus { + width: 100px; + height: 100px; + margin: 0 auto; +} + +.title { + font-size: 40rpx; + font-weight: bold; + margin: 10rpx 0; + text-align: center; +} + +.content{ + font-size: 26rpx; + margin-top: 40rpx; + text-align: center; + color: #a9a9a9; +} + +.info{ + margin-top: 70rpx; + width: 500rpx; + background-color: #f6f6fa; + padding: 20rpx 30rpx; + border-radius: 20rpx; +} + +.info view{ + display: flex; + justify-content: space-between; + margin: 15rpx 0; +} + +.info_text{ + color: #999999; +} + +.info_text2{ + color: #faba5a; +} + +.btn{ + margin-top: 50rpx; + border: none; + background-color: #ff4218; + color: #ffffff; + border-radius: 50rpx; +} + +.warning{ + color: #ff4218; + font-size: 27rpx; + margin: 50rpx 0; +} + +.warning_title{ + font-size: 30rpx; + font-weight: bold; + margin-bottom: 20rpx; +} \ No newline at end of file diff --git a/packages/shopEnter/auditStatus/index.vue b/packages/shopEnter/auditStatus/index.vue new file mode 100644 index 00000000..39388d63 --- /dev/null +++ b/packages/shopEnter/auditStatus/index.vue @@ -0,0 +1,117 @@ + + + \ No newline at end of file diff --git a/pages.json b/pages.json index e0f1f15f..3bc5a06c 100644 --- a/pages.json +++ b/pages.json @@ -521,6 +521,13 @@ "navigationBarTitleText": "", "navigationBarBackgroundColor": "#f6f7fb" } + }, + { + "path": "auditStatus/index", + "style": { + "navigationBarTitleText": "审核状态", + "navigationBarBackgroundColor": "#fff" + } } ] }, diff --git a/pages/index/index.vue b/pages/index/index.vue index 92fbfcc8..4aad9486 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -94,12 +94,13 @@ - + - - + + @@ -325,7 +326,7 @@ export default { }, methods: { - goSearchView(){ + goSearchView() { NavgateTo('/packages/shop/search/index'); }, goToShop() { @@ -588,6 +589,11 @@ export default { return } if (e.link_url) { + if (e.link_url === '/packages/shopEnter/index/index') { + this.headershopEnterClick() + return + } + // #ifdef APP-PLUS uni.navigateTo({ url: '/pages/webview/webview?url=' + encodeURIComponent(e.link_url) @@ -659,8 +665,13 @@ export default { NavgateTo('/kitchen/index/index'); }, - headershopEnterClick() { - NavgateTo('/packages/shopEnter/index/index'); + async headershopEnterClick() { + const res = await request(apiArr2.statusQuery, "POST", {}, { silent: false }); + if (res.status) { + NavgateTo('/packages/shopEnter/auditStatus/index?itemObj=' + JSON.stringify(res)); + } else { + NavgateTo('/packages/shopEnter/index/index'); + } },