diff --git a/src/pages/home.vue b/src/pages/home.vue index 882f169..99db33a 100644 --- a/src/pages/home.vue +++ b/src/pages/home.vue @@ -61,7 +61,7 @@ export default { ...mapActions(['getUserInfo', 'autoLogin']), handleLogin() { if (!this.token) { - this.autoLogin(); + this.autoLogin({loginWay: ''}); } else this.$u.toast("已登录,无需重新登录!") }, handleAdminLogin({detail: {code: phoneCode}}) { diff --git a/src/project/fengdu/AppMine/AppMine.vue b/src/project/fengdu/AppMine/AppMine.vue index 5ec2e86..ef0f1f5 100644 --- a/src/project/fengdu/AppMine/AppMine.vue +++ b/src/project/fengdu/AppMine/AppMine.vue @@ -103,7 +103,7 @@ export default { type: 'token' }, { - icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", + icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodemendian.png", label: "我的门店", path: "./myStoreList", type: 'token' diff --git a/src/project/fengdu/AppMine/myStoreList.vue b/src/project/fengdu/AppMine/myStoreList.vue index b20e84e..3e30030 100644 --- a/src/project/fengdu/AppMine/myStoreList.vue +++ b/src/project/fengdu/AppMine/myStoreList.vue @@ -1,6 +1,6 @@ @@ -29,10 +29,20 @@ export default { } } }, + onLoad() { + }, methods: { change(e) { this.tabIndex = e - } + }, + toEvaluateForm(e) { + console.log(e) + uni.navigateTo({url: './EvaluateForm'}) + }, + toStoreDetail(e) { + console.log(e) + uni.navigateTo({url: './StoreDetail'}) + }, }, } diff --git a/src/project/fengdu/AppStore/EvaluateForm.vue b/src/project/fengdu/AppStore/EvaluateForm.vue index 74cfb18..4359091 100644 --- a/src/project/fengdu/AppStore/EvaluateForm.vue +++ b/src/project/fengdu/AppStore/EvaluateForm.vue @@ -3,7 +3,7 @@
小荣超市11111
- 评价时间:2024.06.01 + 评价时间:2024.06.01
@@ -29,27 +29,27 @@
(1)、门店整洁美观
- + 是 - +
(2)、有绿植安放
- + 是 - +
(3)、其他
- + 是 - +
@@ -57,36 +57,36 @@
(1)、车辆乱停
- + 是 - +
(2)、门头凌乱
- + 是 - +
(3)、垃圾凌乱
- + 是 - +
(4)、其他
- + 是 - +
@@ -138,8 +138,8 @@ export default { padding: 36px 32px 32px; box-sizing: border-box; color: #323233; - background-image: url("https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png"); - background-size: 100vw; + background-image: url("https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-headerBg.png"); + background-size: cover; background-repeat: no-repeat; .name { font-family: PingFangSC-SNaNpxibold; diff --git a/src/project/fengdu/AppStore/StoreDetail.vue b/src/project/fengdu/AppStore/StoreDetail.vue index d16b195..a938789 100644 --- a/src/project/fengdu/AppStore/StoreDetail.vue +++ b/src/project/fengdu/AppStore/StoreDetail.vue @@ -11,8 +11,8 @@ 4.8 -
- 评价 +
+ 评价
@@ -78,7 +78,11 @@ export default { } }, - methods: {}, + methods: { + toEvaluateForm() { + uni.navigateTo({url: './EvaluateForm'}) + } + }, } @@ -88,10 +92,10 @@ export default { background-color: #fff; .header-info { width: 100%; - height: 380px; + // height: 390px; padding: 40px 32px 32px 32px; box-sizing: border-box; - background-image: url("https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png"); + background-image: url("https://cdn.cunwuyun.cn/wechat/fd-store/store-detail-headerBg.png"); background-size: 100vw; background-repeat: no-repeat; .flex-top { @@ -133,9 +137,10 @@ export default { margin-left: 32px; vertical-align: bottom; img { - width: 20px; - height: 20px; - margin-right: 8px; + width: 28px; + height: 28px; + margin-right: 4px; + vertical-align: text-bottom; } } } diff --git a/src/project/fengdu/AppStore/components/Evaluate.vue b/src/project/fengdu/AppStore/components/Evaluate.vue index d13501d..32b9e5a 100644 --- a/src/project/fengdu/AppStore/components/Evaluate.vue +++ b/src/project/fengdu/AppStore/components/Evaluate.vue @@ -21,13 +21,13 @@
-
+
-
- 评价 +
+ 评价
小荣超市
@@ -68,11 +68,37 @@ export default { appName: '我要评价', data() { return { + list: [], + current: 1, + pages: 2, searchVal: '', gridName: '' } }, + created() { + console.log(44) + this.getList() + }, + onLoad() { + console.log(33) + this.getList() + }, methods: { + getList() { + console.log(122) + if(this.current > this.pages) return + this.$loading() + this.$instance.post(`/app/appshopassess/list`, null, { + params: { + current: this.current, size: 15 + } + }).then(res => { + if (res?.data) { + this.list = this.current == 1 ? list : [this.list, list].flat() + this.pages = res.data.total + } + }).finally(() => uni.hideLoading()) + }, getSearchList() { }, @@ -84,6 +110,12 @@ export default { // this.search.girdId = e?.id // this.getDatas() }, + toEvaluateForm() { + this.$emit('toEvaluateForm', {id: '123'}) + }, + toStoreDetail() { + this.$emit('toStoreDetail', {id: '123'}) + } }, } @@ -156,9 +188,10 @@ export default { font-size: 24px; color: #FFF; img { - width: 20px; - height: 20px; - margin-right: 8px; + width: 28px; + height: 28px; + margin-right: 4px; + vertical-align: text-bottom; } } .store-name { diff --git a/src/project/fengdu/AppStore/components/Situation.vue b/src/project/fengdu/AppStore/components/Situation.vue index c6690ee..ec80abf 100644 --- a/src/project/fengdu/AppStore/components/Situation.vue +++ b/src/project/fengdu/AppStore/components/Situation.vue @@ -6,7 +6,7 @@
- +

门店总数量

@@ -15,7 +15,7 @@
- +

门店总人数

@@ -24,7 +24,7 @@
- +

总网格数

@@ -33,7 +33,7 @@
- +

总网格员

@@ -55,9 +55,9 @@
门店名称 经营者姓名 - 经营者姓名 + 经营类型
-
+
小荣超市 小荣 小荣 @@ -75,6 +75,9 @@ export default { return { girdName: '' } + }, + onShow() { + }, methods: { handleGridSelect(e) { @@ -82,6 +85,9 @@ export default { // this.search.girdId = e?.id // this.getDatas() }, + toStoreDetail() { + this.$emit('toStoreDetail', {id: '123'}) + } }, } diff --git a/src/project/fengdu/AppStore/store.png b/src/project/fengdu/AppStore/store.png new file mode 100644 index 0000000..676a344 Binary files /dev/null and b/src/project/fengdu/AppStore/store.png differ diff --git a/src/project/fengdu/AppStore/store_selected.png b/src/project/fengdu/AppStore/store_selected.png new file mode 100644 index 0000000..9e1facf Binary files /dev/null and b/src/project/fengdu/AppStore/store_selected.png differ