Compare commits
55 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
2c6be366e6 | 2 years ago |
|
|
cb6286d44f | 2 years ago |
|
|
92dfda2ccd | 2 years ago |
|
|
7080ef0209 | 2 years ago |
|
|
f2cbfa8378 | 2 years ago |
|
|
dccd69e44c | 2 years ago |
|
|
d4ae9bbedd | 2 years ago |
|
|
76e3d3424d | 2 years ago |
|
|
083ce97df8 | 2 years ago |
|
|
0e1398b5ff | 2 years ago |
|
|
440ee3cf8e | 2 years ago |
|
|
3ac73dcd33 | 2 years ago |
|
|
49401814b5 | 2 years ago |
|
|
1a344b4bf4 | 2 years ago |
|
|
47977cae9d | 2 years ago |
|
|
a66c4d65db | 2 years ago |
|
|
13e78e4fe2 | 2 years ago |
|
|
93f556e8d7 | 2 years ago |
|
|
75ba7eb1a6 | 2 years ago |
|
|
1966785118 | 2 years ago |
|
|
679782ca22 | 2 years ago |
|
|
b937b41e08 | 2 years ago |
|
|
368535c03d | 2 years ago |
|
|
e9e0c3f734 | 2 years ago |
|
|
5f9c9ea90e | 2 years ago |
|
|
74a7643986 | 2 years ago |
|
|
3e417e4caf | 2 years ago |
|
|
20fa21fa84 | 2 years ago |
|
|
a708abec87 | 2 years ago |
|
|
df7ef8d9bb | 2 years ago |
|
|
057fef0d52 | 2 years ago |
|
|
1ca219103f | 2 years ago |
|
|
aa544dec91 | 2 years ago |
|
|
5602f6f182 | 2 years ago |
|
|
685ea7545f | 2 years ago |
|
|
ac3d58d348 | 3 years ago |
|
|
32274bc8e1 | 3 years ago |
|
|
eb74b1ac36 | 3 years ago |
|
|
7cb80ea49b | 3 years ago |
|
|
871d21100f | 3 years ago |
|
|
748fe3fb0a | 3 years ago |
|
|
14729f4bb6 | 3 years ago |
|
|
66f9086f9d | 3 years ago |
|
|
541fa7ed3f | 3 years ago |
|
|
c78d5b3155 | 3 years ago |
|
|
9ef772e31a | 3 years ago |
|
|
8f6a428fc8 | 3 years ago |
|
|
c0e4f9be58 | 3 years ago |
|
|
c6af813654 | 3 years ago |
|
|
9c8aa0e59a | 3 years ago |
|
|
5e2e8c6dbf | 3 years ago |
|
|
bb75dd574b | 3 years ago |
|
|
db1650206a | 3 years ago |
|
|
f2addeb030 | 3 years ago |
|
|
e31a067acf | 3 years ago |
@ -0,0 +1,100 @@ |
|||
# Changelog |
|||
|
|||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. |
|||
|
|||
## [1.0.0-B.28](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.27...v1.0.0-B.28) (2024-05-08) |
|||
|
|||
## [1.0.0-B.27](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.26...v1.0.0-B.27) (2024-05-07) |
|||
|
|||
## [1.0.0-B.26](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.25...v1.0.0-B.26) (2024-05-07) |
|||
|
|||
|
|||
### Features |
|||
|
|||
* 🚀 新建杭州永旺顾客心声分支 ([dccd69e](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/dccd69e44ce6568313ca5b4e29790a062eec2406)) |
|||
|
|||
## [1.0.0-B.25](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.24...v1.0.0-B.25) (2024-04-01) |
|||
|
|||
## [1.0.0-B.24](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.23...v1.0.0-B.24) (2024-03-28) |
|||
|
|||
## [1.0.0-B.23](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.22...v1.0.0-B.23) (2024-03-28) |
|||
|
|||
## [1.0.0-B.22](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.21...v1.0.0-B.22) (2024-03-28) |
|||
|
|||
|
|||
### Features |
|||
|
|||
* 🚀 添加返回首页按钮 ([1a344b4](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/1a344b4bf4e2e00446f9673b6b7b73ee8676e563)) |
|||
|
|||
## [1.0.0-B.21](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.20...v1.0.0-B.21) (2024-03-25) |
|||
|
|||
## [1.0.0-B.20](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.19...v1.0.0-B.20) (2024-03-25) |
|||
|
|||
## [1.0.0-B.19](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.18...v1.0.0-B.19) (2024-01-16) |
|||
|
|||
## [1.0.0-B.18](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.17...v1.0.0-B.18) (2024-01-16) |
|||
|
|||
|
|||
### Bug Fixes |
|||
|
|||
* YongWang_Customer ([5f9c9ea](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/5f9c9ea90ebbd29ccf5dcbb77a522fc18f3ade5f)) |
|||
|
|||
## [1.0.0-B.17](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.16...v1.0.0-B.17) (2024-01-16) |
|||
|
|||
|
|||
### Bug Fixes |
|||
|
|||
* 🧩 修复问题文字过长时 超出矩形框 ([e9e0c3f](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/e9e0c3f7342c19a3f778133117343c68ba97ff0a)) |
|||
|
|||
## [1.0.0-B.16](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.15...v1.0.0-B.16) (2024-01-05) |
|||
|
|||
## [1.0.0-B.15](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.14...v1.0.0-B.15) (2024-01-05) |
|||
|
|||
## [1.0.0-B.14](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.13...v1.0.0-B.14) (2024-01-05) |
|||
|
|||
|
|||
### Features |
|||
|
|||
* 🚀 间隔5分钟刷新一次数据 ([a708abe](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/a708abec873464a8ed23a48a6c7711b2675f5614)) |
|||
|
|||
## [1.0.0-B.13](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.12...v1.0.0-B.13) (2024-01-03) |
|||
|
|||
## [1.0.0-B.12](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.11...v1.0.0-B.12) (2024-01-03) |
|||
|
|||
## [1.0.0-B.11](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.10...v1.0.0-B.11) (2023-12-29) |
|||
|
|||
## [1.0.0-B.10](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.9...v1.0.0-B.10) (2023-11-17) |
|||
|
|||
|
|||
### Bug Fixes |
|||
|
|||
* 🧩 修复图片显示多余 ([32274bc](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/32274bc8e1d1192108f82cc86f867e5fc9671ec4)) |
|||
|
|||
## [1.0.0-B.9](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.8...v1.0.0-B.9) (2023-11-17) |
|||
|
|||
|
|||
### Features |
|||
|
|||
* 🚀 添加负责人签字 ([7cb80ea](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/7cb80ea49bb70a0676d3cbf3265db9e503314739)) |
|||
|
|||
## [1.0.0-B.8](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.7...v1.0.0-B.8) (2023-11-08) |
|||
|
|||
## [1.0.0-B.7](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.6...v1.0.0-B.7) (2023-11-08) |
|||
|
|||
## [1.0.0-B.6](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.5...v1.0.0-B.6) (2023-11-08) |
|||
|
|||
## [1.0.0-B.5](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.4...v1.0.0-B.5) (2023-11-08) |
|||
|
|||
## [1.0.0-B.4](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.3...v1.0.0-B.4) (2023-11-08) |
|||
|
|||
## [1.0.0-B.3](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.2...v1.0.0-B.3) (2023-10-30) |
|||
|
|||
## [1.0.0-B.2](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.1...v1.0.0-B.2) (2023-10-27) |
|||
|
|||
## 1.0.0-B.1 (2023-10-25) |
|||
|
|||
|
|||
### Features |
|||
|
|||
* 🚀 commit ([e31a067](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/e31a067acf66fdbc0d41e9ec04905b066ee3325d)) |
|||
* 🚀 first commit ([26b3c78](https://git.1000my.com/project_yongwangyun/YongWang_Customer/commit/26b3c78b13b9e7b083bd918a77aceba1fc257355)) |
|||
|
After Width: | Height: | Size: 3.0 KiB |
@ -1,20 +1,66 @@ |
|||
<template> |
|||
<WeatherAndTime /> |
|||
<ScrollList /> |
|||
<WeatherAndTime :mall-code="mallCode" /> |
|||
<ScrollList ref="scrollList" :customer-list="customerList" :mall-code="mallCode" /> |
|||
<img src="./assets/images/back_index_icon.svg" class="fixed bottom-11 left-[52px] w-28 h-12 z-100" alt="" @click="back" /> |
|||
</template> |
|||
<script setup lang="ts"> |
|||
import { onMounted, onBeforeUnmount, ref, toRefs, shallowRef } from 'vue' |
|||
import { useRootStore } from '@/store/root' |
|||
import { getCustomerList } from '@/http/api/base' |
|||
import { HTTP_CODE } from '@/enums' |
|||
import WeatherAndTime from '@/components/WeatherAndTime/WeatherAndTime.vue' |
|||
import ScrollList from '@/components/ScrollList/ScrollList.vue' |
|||
|
|||
const store = useRootStore() |
|||
const { config } = toRefs(store) |
|||
|
|||
const scrollList = ref<InstanceType<typeof ScrollList> | null>(null) |
|||
const mallCode = ref<string>('') |
|||
|
|||
const pageIndex = ref(1) |
|||
const customerList = shallowRef<Customer[]>([]) |
|||
function _getCustomerList() { |
|||
const params = { |
|||
pageIndex: pageIndex.value, |
|||
pageSize: 1000, |
|||
mallCode: mallCode.value |
|||
} |
|||
getCustomerList(config.value.smallUrl, params).then(({ code, data }) => { |
|||
if (code === HTTP_CODE.ERR_OK) { |
|||
customerList.value = data.list |
|||
} |
|||
}) |
|||
} |
|||
|
|||
let timer: any |
|||
onMounted(() => { |
|||
const href = window.location.href |
|||
mallCode.value = href.split('=')[1] |
|||
_getCustomerList() |
|||
timer = setInterval(() => { |
|||
_getCustomerList() |
|||
scrollList.value?.scroll() |
|||
}, 1000 * 60) |
|||
}) |
|||
onBeforeUnmount(() => { |
|||
clearInterval(timer) |
|||
}) |
|||
|
|||
function back() { |
|||
scrollList.value?.scroll() |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
html, |
|||
body, |
|||
#app { |
|||
overflow: hidden; |
|||
width: 1920px; |
|||
height: 1080px; |
|||
} |
|||
#app { |
|||
background: #000; |
|||
background: url('./assets/images/bg.webp') no-repeat center center; |
|||
background-size: 1920px 1080px; |
|||
} |
|||
</style> |
|||
|
|||
|
After Width: | Height: | Size: 470 B |
|
After Width: | Height: | Size: 368 B |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 634 B |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 818 B |
@ -1,33 +1,53 @@ |
|||
<template> |
|||
<div class="flex justify-between items-center py-7 px-10"> |
|||
<img src="../../assets/images/logo.png" class="w-16 h-16" alt="" /> |
|||
<div class="flex-1"> |
|||
<img src="../../assets/images/logo.svg" class="w-60 h-[62px]" alt="" /> |
|||
</div> |
|||
<div class="flex items-center space-x-4"> |
|||
<img src="../../assets/images/heart.png" class="w-10 h-10" alt="" /> |
|||
<p class="text-36 text-white font-bold">顾客心声</p> |
|||
<img src="../../assets/images/heart.svg" class="w-10 h-10" alt="" /> |
|||
<p class="text-36 text-black/80 font-bold">顾客心声</p> |
|||
</div> |
|||
<div class="flex items-center"> |
|||
<div class="flex-1 flex items-center justify-end"> |
|||
<div class="w-9 h-9 mr-2"> |
|||
<Icon :type="icon.type" color="#fff" /> |
|||
<Icon :type="icon.type" color="rgba(0, 0, 0, 0.4)" /> |
|||
</div> |
|||
<p class="text-white text-40 font-bold">{{ weather.temperature_Now }}°</p> |
|||
<p class="text-black/70 text-40 font-bold">{{ weather.temperature_Now }}°</p> |
|||
<div class="w-px h-6 mx-5 bg-[#808080]"></div> |
|||
<div class="text-40 font-bold text-white mr-3">{{ currentTime }}</div> |
|||
<div class="flex flex-col text-white text-16"> |
|||
<p>{{ formatDay('y/m/d') }}</p> |
|||
<p>{{ whichWeek }}</p> |
|||
<div class="text-40 font-bold text-black/70 mr-3">{{ currentTime }}</div> |
|||
<div class="flex flex-col text-black/70 text-16"> |
|||
<p class="font-bold">{{ formatDay() }}</p> |
|||
<p class="font-bold">{{ whichWeek }}</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup lang="ts"> |
|||
import { watch } from 'vue' |
|||
import { formatDay } from '@/utils/utils' |
|||
import { useWeather } from '@/composables/useWeather' |
|||
import { useTime } from '@/composables/useTime' |
|||
import { useDay } from '@/composables/useDay' |
|||
import Icon from '@/base/Icon/Icon.vue' |
|||
|
|||
const { weather, icon } = useWeather() |
|||
type Props = { |
|||
mallCode: string |
|||
} |
|||
|
|||
const props = withDefaults(defineProps<Props>(), { |
|||
mallCode: '' |
|||
}) |
|||
|
|||
const { weather, icon, getWeatherStatus } = useWeather() |
|||
const { currentTime } = useTime() |
|||
const { whichWeek } = useDay() |
|||
|
|||
watch( |
|||
() => props.mallCode, |
|||
(newVal: string) => { |
|||
if (newVal.length) { |
|||
getWeatherStatus(props.mallCode) |
|||
} |
|||
} |
|||
) |
|||
</script> |
|||
|
|||
@ -1,6 +1,14 @@ |
|||
interface Customer { |
|||
suggestionContent: string |
|||
replyContent: string |
|||
sign: null | string |
|||
fileList: { |
|||
extCode: string |
|||
fileCode: string |
|||
fileName: string |
|||
filePath: string |
|||
type: string |
|||
}[] |
|||
addTime: string |
|||
updateTime: string |
|||
} |
|||
|
|||