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'); + } },