门店
This commit is contained in:
@@ -102,6 +102,12 @@ export default {
|
||||
path: "./myFamily",
|
||||
type: 'token'
|
||||
},
|
||||
{
|
||||
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png",
|
||||
label: "我的门店",
|
||||
path: "./myStoreList",
|
||||
type: 'token'
|
||||
},
|
||||
],
|
||||
// [
|
||||
// {
|
||||
|
||||
75
src/project/fengdu/AppMine/myStoreList.vue
Normal file
75
src/project/fengdu/AppMine/myStoreList.vue
Normal file
@@ -0,0 +1,75 @@
|
||||
<template>
|
||||
<div class="myStoreList">
|
||||
<div class="item">
|
||||
<div class="top-flex">
|
||||
<div class="name">小荣超市11111</div>
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
<div class="address">麒麟区南宁街道潇湘社区</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="top-flex">
|
||||
<div class="name">小荣超市11111</div>
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
<div class="address">麒麟区南宁街道潇湘社区</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'myStoreList',
|
||||
appName: '我的门店',
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.myStoreList {
|
||||
background-color: #F4F5FA;
|
||||
padding: 32px;
|
||||
.item {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border-radius: 32px;
|
||||
margin-bottom: 32px;
|
||||
.top-flex {
|
||||
padding: 24px 32px;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #eee;
|
||||
.name {
|
||||
display: inline-block;
|
||||
width: calc(100% - 128px);
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 30px;
|
||||
color: #333;
|
||||
line-height: 36px;
|
||||
}
|
||||
img {
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
.address {
|
||||
padding: 42px 32px 50px 32px;
|
||||
box-sizing: border-box;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 30px;
|
||||
color: #666;
|
||||
line-height: 36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
229
src/project/fengdu/AppMine/storeForm.vue
Normal file
229
src/project/fengdu/AppMine/storeForm.vue
Normal file
@@ -0,0 +1,229 @@
|
||||
<template>
|
||||
<div class="storeForm">
|
||||
<div class="form-content">
|
||||
<div class="item">
|
||||
<div class="top-flex">
|
||||
<div class="name">门店照</div>
|
||||
<div class="right">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
<u-icon name="arrow-right" color="#999" size="22"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-flex">
|
||||
<div class="label">门店名称</div>
|
||||
<div class="value">
|
||||
<u-input trim placeholder="请输入" input-align="right" v-model="form.name"
|
||||
placeholder-style="color:#999;font-size: 14px;" height="36"></u-input>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="line-flex">
|
||||
<div class="label">经营类型</div>
|
||||
<div class="value">
|
||||
111<u-icon name="arrow-right" color="#999" size="22"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="line-flex solid">
|
||||
<div class="label">经营者姓名</div>
|
||||
<div class="value">
|
||||
<u-input trim placeholder="请输入" input-align="right" v-model="form.name"
|
||||
placeholder-style="color:#999;font-size: 14px;" height="36"></u-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-flex solid">
|
||||
<div class="label">联系电话</div>
|
||||
<div class="value">
|
||||
<u-input trim placeholder="请输入" input-align="right" v-model="form.name"
|
||||
placeholder-style="color:#999;font-size: 14px;" height="36"></u-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-flex solid">
|
||||
<div class="label">地址</div>
|
||||
<div class="value">
|
||||
<u-input trim placeholder="请输入" input-align="right" v-model="form.name"
|
||||
placeholder-style="color:#999;font-size: 14px;" height="36"></u-input>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="btn">提交</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'storeForm',
|
||||
appName: '我的门店',
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
name : ''
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
upload() {
|
||||
if (!this.token) {
|
||||
this.$refs.login.show()
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
this.imgList = []
|
||||
this.hideStatus = false
|
||||
uni.chooseImage({
|
||||
count: this.limit,
|
||||
sizeType: ['compressed'],
|
||||
sourceType: ['album', 'camera'],
|
||||
success: (res) => {
|
||||
if (res.tempFilePaths.length > 9) {
|
||||
this.$toast(`图片不能超过9张`)
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
this.$loading('上传中')
|
||||
res.tempFilePaths.forEach((item, index) => {
|
||||
if (index === res.tempFilePaths.length - 1) {
|
||||
this.hideStatus = true
|
||||
}
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.uploadFile(item, res.tempFilePaths.length)
|
||||
})
|
||||
})
|
||||
},
|
||||
})
|
||||
},
|
||||
|
||||
uploadFile(img, total) {
|
||||
uni.uploadFile({
|
||||
url: this.$instance.defaults.baseURL + '/admin/file/add',
|
||||
filePath: img,
|
||||
name: 'file',
|
||||
header: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
Authorization: uni.getStorageSync('token'),
|
||||
},
|
||||
success: (res) => {
|
||||
const data = JSON.parse(res.data)
|
||||
|
||||
if (data.code === 0) {
|
||||
this.imgList.push(data.data[0].split(';')[0])
|
||||
} else {
|
||||
this.$toast(data.msg)
|
||||
}
|
||||
},
|
||||
complete: () => {
|
||||
this.$nextTick(() => {
|
||||
if (this.imgList.length === total && this.hideStatus) {
|
||||
this.$instance.post(`/app/appvillagepicturealbum/addPictures`, {
|
||||
areaName: uni.getStorageSync('areaName'),
|
||||
areaId: uni.getStorageSync('areaId'),
|
||||
type: this.type,
|
||||
urlList: this.imgList
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.getList(this.type)
|
||||
this.getTotalInfo(this.type)
|
||||
uni.$emit('update')
|
||||
}
|
||||
this.$hideLoading()
|
||||
this.hideStatus = false
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.storeForm {
|
||||
background-color: #F4F5FA;
|
||||
.form-content {
|
||||
padding: 32px;
|
||||
}
|
||||
.item {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border-radius: 32px;
|
||||
margin-bottom: 24px;
|
||||
.top-flex {
|
||||
padding: 24px 32px;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #eee;
|
||||
.name {
|
||||
display: inline-block;
|
||||
width: calc(100% - 168px);
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
font-size: 30px;
|
||||
color: #666;
|
||||
line-height: 36px;
|
||||
}
|
||||
.right {
|
||||
display: inline-block;
|
||||
img {
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
.line-flex {
|
||||
display: flex;
|
||||
padding: 42px 32px 50px;
|
||||
box-sizing: border-box;
|
||||
.label {
|
||||
width: 162px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 30px;
|
||||
color: #666;
|
||||
line-height: 36px;
|
||||
}
|
||||
.value {
|
||||
width: calc(100% - 162px);
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
.solid {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.footer {
|
||||
width: 100%;
|
||||
padding: 20px 32px 88px 32px;
|
||||
box-sizing: border-box;
|
||||
background: #FFF;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
.btn {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
background: #2D7DFF;
|
||||
border-radius: 40px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 34px;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
line-height: 80px;
|
||||
}
|
||||
}
|
||||
u-icon {
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
52
src/project/fengdu/AppStore/AppStore.vue
Normal file
52
src/project/fengdu/AppStore/AppStore.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<template>
|
||||
<div class="AppStore">
|
||||
<div class="tab">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" inactive-color="#222" active-color="#222"
|
||||
height="100" :bar-style="barStyle"></u-tabs>
|
||||
</div>
|
||||
<Situation v-if="tabIndex != 1"></Situation>
|
||||
<Evaluate v-else></Evaluate>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Situation from './components/Situation'
|
||||
import Evaluate from './components/Evaluate'
|
||||
export default {
|
||||
name: 'AppStore',
|
||||
appName: '门店',
|
||||
components: {Situation, Evaluate},
|
||||
data() {
|
||||
return {
|
||||
tabList: [{name: '门店情况'}, {name: '我要评价'}],
|
||||
tabIndex: 1,
|
||||
barStyle: {
|
||||
'width': '20px',
|
||||
'height': '3px',
|
||||
'border-radius': '2px',
|
||||
'bottom': '-3px',
|
||||
'background': '#2D7DFF'
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
change(e) {
|
||||
this.tabIndex = e
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppStore {
|
||||
background-color: #F4F5FA;
|
||||
.tab {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 9;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
313
src/project/fengdu/AppStore/EvaluateForm.vue
Normal file
313
src/project/fengdu/AppStore/EvaluateForm.vue
Normal file
@@ -0,0 +1,313 @@
|
||||
<template>
|
||||
<div class="EvaluateForm">
|
||||
<div class="header-info">
|
||||
<div class="name">小荣超市11111</div>
|
||||
<div class="time">
|
||||
<u-icon name="clock" color="#000" size="24"></u-icon> 评价时间:2024.06.01
|
||||
</div>
|
||||
<div class="flex-info">
|
||||
<div class="flex-item item-user">
|
||||
<p>经营者</p>
|
||||
<div>张三</div>
|
||||
</div>
|
||||
<div class="flex-item item-phone">
|
||||
<p>联系电话</p>
|
||||
<div>15425125362</div>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="flex-item item-type">
|
||||
<p>经营类型</p>
|
||||
<div>副食</div>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="form-info">
|
||||
<div class="form-title">评价清单</div>
|
||||
<div class="mini-title">一、正面清单</div>
|
||||
<div class="item">
|
||||
<div class="label">(1)、门店整洁美观</div>
|
||||
<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/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
||||
否
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="label">(2)、有绿植安放</div>
|
||||
<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/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
||||
否
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="label">(3)、其他</div>
|
||||
<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/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
||||
否
|
||||
</div>
|
||||
</div>
|
||||
<div class="mini-title">二、负面清单</div>
|
||||
<div class="item">
|
||||
<div class="label">(1)、车辆乱停</div>
|
||||
<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/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
||||
否
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="label">(2)、门头凌乱</div>
|
||||
<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/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
||||
否
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="label">(3)、垃圾凌乱</div>
|
||||
<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/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
||||
否
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="label">(4)、其他</div>
|
||||
<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/biaopin/residentAssistant/content-top-bg.png" alt="" class="img-no">
|
||||
否
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="text-area">
|
||||
<div class="label">请填写评语…</div>
|
||||
<u-input type="textarea" trim v-model="form.content" maxlength="300" height="400"
|
||||
placeholder-style="color: #999999;font-size: 15px;"/>
|
||||
<p>0/300</p>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="upload">
|
||||
<div class="label">上传图片</div>
|
||||
<div class="upload-info">
|
||||
<AiUploader v-model="form.files" :limit="9"></AiUploader>
|
||||
</div>
|
||||
<p>最多上传9张</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="footer">
|
||||
<div class="btn">提交</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'EvaluateForm',
|
||||
appName: '我要评价',
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
content: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.EvaluateForm {
|
||||
padding-bottom: 188px;
|
||||
.header-info {
|
||||
width: 100%;
|
||||
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-repeat: no-repeat;
|
||||
.name {
|
||||
font-family: PingFangSC-SNaNpxibold;
|
||||
font-weight: 600;
|
||||
font-size: 36px;
|
||||
line-height: 40px;
|
||||
word-break: break-all;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.time {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
font-size: 28px;
|
||||
line-height: 40px;
|
||||
margin-bottom: 20px;
|
||||
u-icon {
|
||||
margin-right: 6px;
|
||||
}
|
||||
}
|
||||
.flex-info {
|
||||
width: 100%;
|
||||
.flex-item {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
font-family: PingFangSC;
|
||||
font-size: 24px;
|
||||
line-height: 40px;
|
||||
box-sizing: border-box;
|
||||
p {
|
||||
color: #999;
|
||||
}
|
||||
div {
|
||||
color: #222;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 0;
|
||||
height: 48px;
|
||||
border-right: 1px solid #D9D9D9;
|
||||
}
|
||||
}
|
||||
.item-user {
|
||||
padding-right: 32px;
|
||||
}
|
||||
.item-phone {
|
||||
padding: 0 32px;
|
||||
}
|
||||
.item-type {
|
||||
padding-left: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.form-info {
|
||||
background-color: #fff;
|
||||
.form-title {
|
||||
font-family: PingFangSC-SNaNpxibold;
|
||||
font-weight: 600;
|
||||
font-size: 34px;
|
||||
color: #333;
|
||||
letter-spacing: 0;
|
||||
line-height: 40px;
|
||||
padding: 20px 0 20px 32px;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #F4F4F4;
|
||||
}
|
||||
.mini-title {
|
||||
font-family: PingFangSC-SNaNpxibold;
|
||||
font-weight: 600;
|
||||
font-size: 28px;
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
padding: 20px 0 0 32px;
|
||||
}
|
||||
.item {
|
||||
padding: 32px 32px 24px 32px;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #F4F4F4;
|
||||
.label {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
font-size: 28px;
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
margin-bottom: 44px;
|
||||
}
|
||||
.value {
|
||||
padding-left: 58px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #323233;
|
||||
line-height: 40px;
|
||||
img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 18px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.img-no {
|
||||
margin-left: 138px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.text-area {
|
||||
padding: 24px 30px;
|
||||
box-sizing: border-box;
|
||||
.label {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #333;
|
||||
line-height: 34px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
p {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24px;
|
||||
color: #999;
|
||||
line-height: 34px;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
.upload {
|
||||
.label {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #333;
|
||||
line-height: 80px;
|
||||
padding-left: 30px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.upload-info {
|
||||
padding: 0 30px;
|
||||
}
|
||||
p {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24px;
|
||||
color: #999;
|
||||
line-height: 34px;
|
||||
padding: 16px 0 24px 30px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
.line-bg {
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
background-color: #F4F5FA;
|
||||
}
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
padding: 20px 32px 88px 32px;
|
||||
box-sizing: border-box;
|
||||
background: #FFF;
|
||||
.btn {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
background: #2D7DFF;
|
||||
border-radius: 40px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 34px;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
line-height: 80px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
271
src/project/fengdu/AppStore/StoreDetail.vue
Normal file
271
src/project/fengdu/AppStore/StoreDetail.vue
Normal file
@@ -0,0 +1,271 @@
|
||||
<template>
|
||||
<div class="StoreDetail">
|
||||
<div class="header-info">
|
||||
<div class="flex-top">
|
||||
<div class="left">
|
||||
<div class="name">小荣超市11111</div>
|
||||
<div class="star-info">
|
||||
<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="#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>
|
||||
<span class="star-num">4.8</span>
|
||||
<div class="right-btn">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">评价
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="address"><u-icon name="map" color="#666" size="24"></u-icon>武昌区水果湖街道凯德1818负1层</div>
|
||||
<div class="flex-info">
|
||||
<div class="flex-item">
|
||||
<p>经营者</p>
|
||||
<div>张三</div>
|
||||
</div>
|
||||
<div class="flex-item">
|
||||
<p>联系电话</p>
|
||||
<div>15425125362</div>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="flex-item">
|
||||
<p>经营类型</p>
|
||||
<div>副食</div>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="list-content">
|
||||
<div class="type-list">
|
||||
<div class="type-item active">全部 6</div>
|
||||
<div class="type-item">全部 6</div>
|
||||
<div class="type-item">全部 6</div>
|
||||
<div class="type-item">全部 6</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="user-info">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="" class="user-img">
|
||||
<div class="user-name">
|
||||
<p>亓朋</p>
|
||||
<div>2024.06.01</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="star-info">
|
||||
<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="#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>
|
||||
<span class="star-num">4.8</span>
|
||||
</div>
|
||||
<div class="text">东西日期新鲜,包装很好,下次再来。</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'StoreDetail',
|
||||
appName: '门店情况',
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.StoreDetail {
|
||||
background-color: #fff;
|
||||
.header-info {
|
||||
width: 100%;
|
||||
height: 380px;
|
||||
padding: 40px 32px 32px 32px;
|
||||
box-sizing: border-box;
|
||||
background-image: url("https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png");
|
||||
background-size: 100vw;
|
||||
background-repeat: no-repeat;
|
||||
.flex-top {
|
||||
display: flex;
|
||||
.left {
|
||||
width: calc(100% - 152px);
|
||||
.name {
|
||||
padding-top: 8px;
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
line-height: 48px;
|
||||
font-family: PingFangSC-SNaNpxibold;
|
||||
font-weight: 600;
|
||||
font-size: 40px;
|
||||
color: #333;
|
||||
}
|
||||
.star-info {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24px;
|
||||
color: #FF8C19;
|
||||
line-height: 24px;
|
||||
margin-bottom: 44px;
|
||||
.star-num {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.right-btn {
|
||||
display: inline-block;
|
||||
width: 112px;
|
||||
line-height: 48px;
|
||||
background: #2D7DFF;
|
||||
border-radius: 24px;
|
||||
padding-left: 20px;
|
||||
box-sizing: border-box;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
color: #FFF;
|
||||
margin-left: 32px;
|
||||
vertical-align: bottom;
|
||||
img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.right {
|
||||
img {
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
padding: 4px;
|
||||
background: #FFF;
|
||||
border-radius: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.address {
|
||||
line-height: 36px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24px;
|
||||
color: #666;
|
||||
margin-bottom: 20px;
|
||||
u-icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
.flex-info {
|
||||
width: 100%;
|
||||
padding: 16px 0;
|
||||
display: flex;
|
||||
background-color: #F0F5FF;
|
||||
box-sizing: border-box;
|
||||
border-radius: 16px;
|
||||
.flex-item {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
font-family: PingFangSC;
|
||||
font-size: 24px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
p {
|
||||
color: #999;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
div {
|
||||
color: #222;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 0;
|
||||
height: 48px;
|
||||
border-right: 1px solid #D9D9D9;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.line-bg {
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
background-color: #F4F5FA;
|
||||
}
|
||||
.list-content {
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
.type-list {
|
||||
margin-bottom: 16px;
|
||||
.type-item {
|
||||
display: inline-block;
|
||||
padding: 0 24px;
|
||||
line-height: 56px;
|
||||
background: #F5F5F5;
|
||||
font-family: AppleSystNaNpxUIFont;
|
||||
font-size: 28px;
|
||||
color: #333;
|
||||
margin-right: 12px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.active {
|
||||
color: #fff;
|
||||
background-color: #2D7DFF;
|
||||
}
|
||||
}
|
||||
.item {
|
||||
.user-info {
|
||||
display: flex;
|
||||
margin-bottom: 24px;
|
||||
.user-img {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
border-radius: 50%;
|
||||
margin-right: 16px;
|
||||
}
|
||||
.user-name {
|
||||
p {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 28px;
|
||||
color: #323233;
|
||||
line-height: 40px;
|
||||
}
|
||||
div {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
color: #969799;
|
||||
line-height: 36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.star-info {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24px;
|
||||
color: #FF8C19;
|
||||
line-height: 24px;
|
||||
margin-bottom: 32px;
|
||||
.star-num {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
.text {
|
||||
width: 100%;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #323233;
|
||||
line-height: 40px;
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
227
src/project/fengdu/AppStore/components/Evaluate.vue
Normal file
227
src/project/fengdu/AppStore/components/Evaluate.vue
Normal file
@@ -0,0 +1,227 @@
|
||||
<template>
|
||||
<div class="Evaluate">
|
||||
<div class="search">
|
||||
<div class="search-input">
|
||||
<u-search v-model="searchVal" :clearabled="true" placeholder="搜索门店名称" :show-action="false"
|
||||
bg-color="#F4F5FA" search-icon-color="#666" color="#222" height="72" @search="getSearchList" @clear="handerClear">
|
||||
</u-search>
|
||||
</div>
|
||||
<div class="search-type">
|
||||
<div class="item">
|
||||
按评分排序<u-icon name="arrow-down" color="#999" size="28"></u-icon>
|
||||
</div>
|
||||
<div class="item">
|
||||
<AiPagePicker type="gird" @select="handleGridSelect">
|
||||
<span style="color:#222">{{gridName || '请选择网格'}}</span>
|
||||
<u-icon name="arrow-down" color="#999" size="28"></u-icon>
|
||||
</AiPagePicker>
|
||||
</div>
|
||||
<div class="item">
|
||||
经营类型<u-icon name="arrow-down" color="#999" size="28"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-content">
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="right-btn">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">评价
|
||||
</div>
|
||||
<div class="store-name">小荣超市</div>
|
||||
<div class="star-info">
|
||||
<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="#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>
|
||||
<span class="star-num">4.8</span>
|
||||
</div>
|
||||
<div class="flex-info">
|
||||
<div class="flex-item item-user">
|
||||
<p>经营者</p>
|
||||
<div>张三</div>
|
||||
</div>
|
||||
<div class="flex-item item-phone">
|
||||
<p>联系电话</p>
|
||||
<div>15425125362</div>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="flex-item item-type">
|
||||
<p>经营类型</p>
|
||||
<div>副食</div>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'Evaluate',
|
||||
appName: '我要评价',
|
||||
data() {
|
||||
return {
|
||||
searchVal: '',
|
||||
gridName: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getSearchList() {
|
||||
|
||||
},
|
||||
handerClear() {
|
||||
|
||||
},
|
||||
handleGridSelect(e) {
|
||||
this.gridName = e?.girdName
|
||||
// this.search.girdId = e?.id
|
||||
// this.getDatas()
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.Evaluate {
|
||||
.search {
|
||||
position: fixed;
|
||||
top: 100px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
border-top: 1px solid #F4F5FA;
|
||||
.search-input {
|
||||
width: 100%;
|
||||
padding: 24px 32px;
|
||||
background: #FFF;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.search-type {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 26px 32px;
|
||||
background-color: #fff;
|
||||
.item {
|
||||
line-height: 40px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #222;
|
||||
u-icon {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.list-content {
|
||||
padding: 32px 32px 0;
|
||||
box-sizing: border-box;
|
||||
.item {
|
||||
width: 100%;
|
||||
background: #FFF;
|
||||
border-radius: 16px;
|
||||
display: flex;
|
||||
position: relative;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 32px;
|
||||
.left {
|
||||
width: 168px;
|
||||
img {
|
||||
width: 152px;
|
||||
height: 174px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
width: calc(100% - 168px);
|
||||
.right-btn {
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
right: 32px;
|
||||
width: 112px;
|
||||
line-height: 48px;
|
||||
background: #2D7DFF;
|
||||
border-radius: 24px;
|
||||
padding-left: 20px;
|
||||
box-sizing: border-box;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
color: #FFF;
|
||||
img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
.store-name {
|
||||
width: calc(100% - 128px);
|
||||
line-height: 40px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 32px;
|
||||
color: #323233;
|
||||
word-break: break-all;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.star-info {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24px;
|
||||
color: #FF8C19;
|
||||
line-height: 24px;
|
||||
margin-bottom: 16px;
|
||||
.star-num {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
.flex-info {
|
||||
width: 100%;
|
||||
.flex-item {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
font-family: PingFangSC;
|
||||
font-size: 24px;
|
||||
line-height: 40px;
|
||||
p {
|
||||
color: #999;
|
||||
}
|
||||
div {
|
||||
color: #222;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 0;
|
||||
height: 48px;
|
||||
border-right: 1px solid #D9D9D9;
|
||||
}
|
||||
}
|
||||
.item-user {
|
||||
width: 104px;
|
||||
padding-right: 32px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.item-phone {
|
||||
width: calc(100% - 232px);
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.item-type {
|
||||
width: 128px;
|
||||
padding-left: 32px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
202
src/project/fengdu/AppStore/components/Situation.vue
Normal file
202
src/project/fengdu/AppStore/components/Situation.vue
Normal file
@@ -0,0 +1,202 @@
|
||||
<template>
|
||||
<div class="Situation">
|
||||
<div class="title">
|
||||
<div class="left">门店台账</div>
|
||||
</div>
|
||||
<div class="flex-content">
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
<div class="right">
|
||||
<p>门店总数量</p>
|
||||
<div>230</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
<div class="right">
|
||||
<p>门店总人数</p>
|
||||
<div>230</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
<div class="right">
|
||||
<p>总网格数</p>
|
||||
<div>230</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||
</div>
|
||||
<div class="right">
|
||||
<p>总网格员</p>
|
||||
<div>230</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="title">
|
||||
<div class="left">6月的五星门店<span>(排名不分先后)</span></div>
|
||||
<div class="right">
|
||||
<AiPagePicker type="gird" @select="handleGridSelect">
|
||||
<!-- <AiMore v-model="gridName" placeholder="请选择网格"/> -->
|
||||
<span :style="gridName ? '': 'color:#999'" class="grid-name">{{gridName || '请选择网格'}}</span>
|
||||
<u-icon name="arrow-down" color="#999" size="28"></u-icon>
|
||||
</AiPagePicker>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table">
|
||||
<div class="cell cell-th">
|
||||
<span class="store-name">门店名称</span>
|
||||
<span class="user-name">经营者姓名</span>
|
||||
<span class="user-name">经营者姓名</span>
|
||||
</div>
|
||||
<div class="cell">
|
||||
<span class="store-name">小荣超市</span>
|
||||
<span class="user-name">小荣</span>
|
||||
<span class="user-name">小荣</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'Situation',
|
||||
appName: '门店情况',
|
||||
data() {
|
||||
return {
|
||||
girdName: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleGridSelect(e) {
|
||||
this.gridName = e?.girdName
|
||||
// this.search.girdId = e?.id
|
||||
// this.getDatas()
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.Situation {
|
||||
padding-top: 100px;
|
||||
height: calc(100% - 100px);
|
||||
background-color: #F4F5FA;
|
||||
.title {
|
||||
line-height: 40px;
|
||||
padding: 32px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.left {
|
||||
font-family: PingFangSC-SNaNpxibold;
|
||||
font-weight: 600;
|
||||
font-size: 34px;
|
||||
color: #333;
|
||||
span {
|
||||
color: #333;
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
|
||||
}
|
||||
}
|
||||
.flex-content {
|
||||
padding: 0 32px;
|
||||
overflow: hidden;
|
||||
.item {
|
||||
float: left;
|
||||
width: calc(50% - 16px);
|
||||
display: flex;
|
||||
background: #FFF;
|
||||
border-radius: 12px;
|
||||
padding: 26px 0 26px 32px;
|
||||
box-sizing: border-box;
|
||||
.left {
|
||||
width: 88px;
|
||||
padding-top: 24px;
|
||||
img {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
p {
|
||||
line-height: 40px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #999;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
div {
|
||||
line-height: 60px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 44px;
|
||||
color: #444;
|
||||
}
|
||||
}
|
||||
}
|
||||
.item:nth-of-type(2n-1) {
|
||||
margin-right: 32px;
|
||||
}
|
||||
.item:nth-of-type(1),
|
||||
.item:nth-of-type(2) {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
.table {
|
||||
padding: 32px 20px 20px;
|
||||
width: calc(100% - 64px);
|
||||
margin-left: 32px;
|
||||
background-color: #FFF;
|
||||
box-sizing: border-box;
|
||||
.cell {
|
||||
display: flex;
|
||||
padding: 14px 0;
|
||||
span {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24px;
|
||||
color: #222;
|
||||
line-height: 44px;
|
||||
}
|
||||
.store-name {
|
||||
flex: 1;
|
||||
}
|
||||
.user-name {
|
||||
flex: 2;
|
||||
text-align: center;
|
||||
}
|
||||
.store-type {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
.cell-th {
|
||||
span {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
.cell:nth-of-type(2n-1) {
|
||||
background-color: #F7F9FF;
|
||||
}
|
||||
}
|
||||
.grid-name {
|
||||
font-size: 28px;
|
||||
color: #222;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user