门店
This commit is contained in:
@@ -61,7 +61,7 @@ export default {
|
|||||||
...mapActions(['getUserInfo', 'autoLogin']),
|
...mapActions(['getUserInfo', 'autoLogin']),
|
||||||
handleLogin() {
|
handleLogin() {
|
||||||
if (!this.token) {
|
if (!this.token) {
|
||||||
this.autoLogin();
|
this.autoLogin({loginWay: ''});
|
||||||
} else this.$u.toast("已登录,无需重新登录!")
|
} else this.$u.toast("已登录,无需重新登录!")
|
||||||
},
|
},
|
||||||
handleAdminLogin({detail: {code: phoneCode}}) {
|
handleAdminLogin({detail: {code: phoneCode}}) {
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ export default {
|
|||||||
type: 'token'
|
type: 'token'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png",
|
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodemendian.png",
|
||||||
label: "我的门店",
|
label: "我的门店",
|
||||||
path: "./myStoreList",
|
path: "./myStoreList",
|
||||||
type: 'token'
|
type: 'token'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="myStoreList">
|
<div class="myStoreList">
|
||||||
<div class="item">
|
<div class="item" @click="toStoreForm">
|
||||||
<div class="top-flex">
|
<div class="top-flex">
|
||||||
<div class="name">小荣超市11111</div>
|
<div class="name">小荣超市11111</div>
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||||
@@ -28,7 +28,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
toStoreForm() {
|
||||||
|
uni.navigateTo({url: './storeForm'})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" inactive-color="#222" active-color="#222"
|
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" inactive-color="#222" active-color="#222"
|
||||||
height="100" :bar-style="barStyle"></u-tabs>
|
height="100" :bar-style="barStyle"></u-tabs>
|
||||||
</div>
|
</div>
|
||||||
<Situation v-if="tabIndex != 1"></Situation>
|
<Situation v-if="tabIndex != 1" @toStoreDetail="toStoreDetail"></Situation>
|
||||||
<Evaluate v-else></Evaluate>
|
<Evaluate v-else @toEvaluateForm="toEvaluateForm" @toStoreDetail="toStoreDetail"></Evaluate>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -29,10 +29,20 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
change(e) {
|
change(e) {
|
||||||
this.tabIndex = e
|
this.tabIndex = e
|
||||||
}
|
},
|
||||||
|
toEvaluateForm(e) {
|
||||||
|
console.log(e)
|
||||||
|
uni.navigateTo({url: './EvaluateForm'})
|
||||||
|
},
|
||||||
|
toStoreDetail(e) {
|
||||||
|
console.log(e)
|
||||||
|
uni.navigateTo({url: './StoreDetail'})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="header-info">
|
<div class="header-info">
|
||||||
<div class="name">小荣超市11111</div>
|
<div class="name">小荣超市11111</div>
|
||||||
<div class="time">
|
<div class="time">
|
||||||
<u-icon name="clock" color="#000" size="24"></u-icon> 评价时间:2024.06.01
|
<u-icon name="clock" color="#000" size="32"></u-icon> 评价时间:2024.06.01
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-info">
|
<div class="flex-info">
|
||||||
<div class="flex-item item-user">
|
<div class="flex-item item-user">
|
||||||
@@ -29,27 +29,27 @@
|
|||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="label">(1)、门店整洁美观</div>
|
<div class="label">(1)、门店整洁美观</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-yes">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-xz.png" alt="" class="img-yes">
|
||||||
是
|
是
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-wxz.png" alt="" class="img-no">
|
||||||
否
|
否
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="label">(2)、有绿植安放</div>
|
<div class="label">(2)、有绿植安放</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-yes">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-xz.png" alt="" class="img-yes">
|
||||||
是
|
是
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-wxz.png" alt="" class="img-no">
|
||||||
否
|
否
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="label">(3)、其他</div>
|
<div class="label">(3)、其他</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-yes">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-xz.png" alt="" class="img-yes">
|
||||||
是
|
是
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-wxz.png" alt="" class="img-no">
|
||||||
否
|
否
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -57,36 +57,36 @@
|
|||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="label">(1)、车辆乱停</div>
|
<div class="label">(1)、车辆乱停</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-yes">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-xz.png" alt="" class="img-yes">
|
||||||
是
|
是
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-wxz.png" alt="" class="img-no">
|
||||||
否
|
否
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="label">(2)、门头凌乱</div>
|
<div class="label">(2)、门头凌乱</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-yes">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-xz.png" alt="" class="img-yes">
|
||||||
是
|
是
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-wxz.png" alt="" class="img-no">
|
||||||
否
|
否
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="label">(3)、垃圾凌乱</div>
|
<div class="label">(3)、垃圾凌乱</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-yes">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-xz.png" alt="" class="img-yes">
|
||||||
是
|
是
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-wxz.png" alt="" class="img-no">
|
||||||
否
|
否
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="label">(4)、其他</div>
|
<div class="label">(4)、其他</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-yes">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-xz.png" alt="" class="img-yes">
|
||||||
是
|
是
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-wxz.png" alt="" class="img-no">
|
||||||
否
|
否
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -138,8 +138,8 @@ export default {
|
|||||||
padding: 36px 32px 32px;
|
padding: 36px 32px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: #323233;
|
color: #323233;
|
||||||
background-image: url("https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png");
|
background-image: url("https://cdn.cunwuyun.cn/wechat/fd-store/evaluate-form-headerBg.png");
|
||||||
background-size: 100vw;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
.name {
|
.name {
|
||||||
font-family: PingFangSC-SNaNpxibold;
|
font-family: PingFangSC-SNaNpxibold;
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
<u-icon name="star-fill" color="#FF8C19" size="24"></u-icon>
|
<u-icon name="star-fill" color="#FF8C19" size="24"></u-icon>
|
||||||
<u-icon name="star-fill" color="#F0F0F0" size="24"></u-icon>
|
<u-icon name="star-fill" color="#F0F0F0" size="24"></u-icon>
|
||||||
<span class="star-num">4.8</span>
|
<span class="star-num">4.8</span>
|
||||||
<div class="right-btn">
|
<div class="right-btn" @click="toEvaluateForm">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">评价
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/store-detail-edit-icon.png" alt="">评价
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -78,7 +78,11 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {},
|
methods: {
|
||||||
|
toEvaluateForm() {
|
||||||
|
uni.navigateTo({url: './EvaluateForm'})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -88,10 +92,10 @@ export default {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
.header-info {
|
.header-info {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 380px;
|
// height: 390px;
|
||||||
padding: 40px 32px 32px 32px;
|
padding: 40px 32px 32px 32px;
|
||||||
box-sizing: border-box;
|
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-size: 100vw;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
.flex-top {
|
.flex-top {
|
||||||
@@ -133,9 +137,10 @@ export default {
|
|||||||
margin-left: 32px;
|
margin-left: 32px;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
img {
|
img {
|
||||||
width: 20px;
|
width: 28px;
|
||||||
height: 20px;
|
height: 28px;
|
||||||
margin-right: 8px;
|
margin-right: 4px;
|
||||||
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,13 +21,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="list-content">
|
<div class="list-content">
|
||||||
<div class="item">
|
<div class="item" @click="toStoreDetail">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="right-btn">
|
<div class="right-btn" @click="toEvaluateForm">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">评价
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/store-detail-edit-icon.png" alt="">评价
|
||||||
</div>
|
</div>
|
||||||
<div class="store-name">小荣超市</div>
|
<div class="store-name">小荣超市</div>
|
||||||
<div class="star-info">
|
<div class="star-info">
|
||||||
@@ -68,11 +68,37 @@ export default {
|
|||||||
appName: '我要评价',
|
appName: '我要评价',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
list: [],
|
||||||
|
current: 1,
|
||||||
|
pages: 2,
|
||||||
searchVal: '',
|
searchVal: '',
|
||||||
gridName: ''
|
gridName: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
console.log(44)
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
console.log(33)
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
methods: {
|
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() {
|
getSearchList() {
|
||||||
|
|
||||||
},
|
},
|
||||||
@@ -84,6 +110,12 @@ export default {
|
|||||||
// this.search.girdId = e?.id
|
// this.search.girdId = e?.id
|
||||||
// this.getDatas()
|
// this.getDatas()
|
||||||
},
|
},
|
||||||
|
toEvaluateForm() {
|
||||||
|
this.$emit('toEvaluateForm', {id: '123'})
|
||||||
|
},
|
||||||
|
toStoreDetail() {
|
||||||
|
this.$emit('toStoreDetail', {id: '123'})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -156,9 +188,10 @@ export default {
|
|||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
img {
|
img {
|
||||||
width: 20px;
|
width: 28px;
|
||||||
height: 20px;
|
height: 28px;
|
||||||
margin-right: 8px;
|
margin-right: 4px;
|
||||||
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.store-name {
|
.store-name {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<div class="flex-content">
|
<div class="flex-content">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/situation-mdzsl.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<p>门店总数量</p>
|
<p>门店总数量</p>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/situation-mdzrs.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<p>门店总人数</p>
|
<p>门店总人数</p>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/situation-zwgs.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<p>总网格数</p>
|
<p>总网格数</p>
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
<img src="https://cdn.cunwuyun.cn/wechat/fd-store/situation-zwgy.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<p>总网格员</p>
|
<p>总网格员</p>
|
||||||
@@ -55,9 +55,9 @@
|
|||||||
<div class="cell cell-th">
|
<div class="cell cell-th">
|
||||||
<span class="store-name">门店名称</span>
|
<span class="store-name">门店名称</span>
|
||||||
<span class="user-name">经营者姓名</span>
|
<span class="user-name">经营者姓名</span>
|
||||||
<span class="user-name">经营者姓名</span>
|
<span class="user-name">经营类型</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="cell">
|
<div class="cell" @click="toStoreDetail">
|
||||||
<span class="store-name">小荣超市</span>
|
<span class="store-name">小荣超市</span>
|
||||||
<span class="user-name">小荣</span>
|
<span class="user-name">小荣</span>
|
||||||
<span class="user-name">小荣</span>
|
<span class="user-name">小荣</span>
|
||||||
@@ -75,6 +75,9 @@ export default {
|
|||||||
return {
|
return {
|
||||||
girdName: ''
|
girdName: ''
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleGridSelect(e) {
|
handleGridSelect(e) {
|
||||||
@@ -82,6 +85,9 @@ export default {
|
|||||||
// this.search.girdId = e?.id
|
// this.search.girdId = e?.id
|
||||||
// this.getDatas()
|
// this.getDatas()
|
||||||
},
|
},
|
||||||
|
toStoreDetail() {
|
||||||
|
this.$emit('toStoreDetail', {id: '123'})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
src/project/fengdu/AppStore/store.png
Normal file
BIN
src/project/fengdu/AppStore/store.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/project/fengdu/AppStore/store_selected.png
Normal file
BIN
src/project/fengdu/AppStore/store_selected.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user