Compare commits

...

6 Commits

  1. 8
      CHANGELOG.md
  2. 2
      package-lock.json
  3. 2
      package.json
  4. 9
      src/App.vue
  5. 2
      src/components/ScrollList/ScrollList.vue
  6. 8
      src/components/ScrollListItem/ScrollListItem.vue

8
CHANGELOG.md

@ -2,6 +2,14 @@
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. 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.29](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.25...v1.0.0-B.29) (2024-05-22)
## [1.0.0-B.28](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.25...v1.0.0-B.28) (2024-05-22)
## [1.0.0-B.27](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.25...v1.0.0-B.27) (2024-05-22)
## [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-22)
## [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.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.24](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.23...v1.0.0-B.24) (2024-03-28)

2
package-lock.json

@ -1,6 +1,6 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.0-B.25",
"version": "1.0.0-B.29",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.0-B.25",
"version": "1.0.0-B.29",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",

9
src/App.vue

@ -39,7 +39,7 @@ onMounted(() => {
_getCustomerList() _getCustomerList()
timer = setInterval(() => { timer = setInterval(() => {
_getCustomerList() _getCustomerList()
scrollList.value.scroll()
scrollList.value?.scroll()
}, 1000 * 60) }, 1000 * 60)
}) })
onBeforeUnmount(() => { onBeforeUnmount(() => {
@ -47,7 +47,7 @@ onBeforeUnmount(() => {
}) })
function back() { function back() {
scrollList.value.scroll()
scrollList.value?.scroll()
} }
</script> </script>
@ -61,4 +61,9 @@ body,
#app { #app {
background: #000; background: #000;
} }
.special p,
.special div,
.special span {
font-size: 24px !important;
}
</style> </style>

2
src/components/ScrollList/ScrollList.vue

@ -27,7 +27,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { shallowRef, computed, onMounted, onBeforeUnmount } from 'vue'
import { shallowRef, computed } from 'vue'
import { chunk } from 'lodash-es' import { chunk } from 'lodash-es'
import ScrollListItem from '@/components/ScrollListItem/ScrollListItem.vue' import ScrollListItem from '@/components/ScrollListItem/ScrollListItem.vue'
import SwiperCore, { Autoplay } from 'swiper' import SwiperCore, { Autoplay } from 'swiper'

8
src/components/ScrollListItem/ScrollListItem.vue

@ -15,8 +15,8 @@
{{ formatDate(customer.addTime) }} {{ formatDate(customer.addTime) }}
</div> </div>
<ScrollView class="relative h-[355px]" scrollbar :list="customer.suggestionContent"> <ScrollView class="relative h-[355px]" scrollbar :list="customer.suggestionContent">
<div class="text-[#C70082] text-24 font-normal leading-normal whitespace-normal pr-[14px] pb-10">
<div v-html="customer.suggestionContent"></div>
<div class="text-[#C70082] font-normal leading-normal whitespace-normal pr-[14px] pb-10">
<div class="text-24 special" v-html="customer.suggestionContent"></div>
</div> </div>
</ScrollView> </ScrollView>
</div> </div>
@ -33,8 +33,8 @@
{{ formatDate(customer.updateTime) }} {{ formatDate(customer.updateTime) }}
</div> </div>
<ScrollView class="relative h-[356px]" scrollbar observe-image :list="customer.replyContent"> <ScrollView class="relative h-[356px]" scrollbar observe-image :list="customer.replyContent">
<div class="text-[##333333] text-24 font-normal leading-normal whitespace-normal pr-2">
<div class="mb-2" v-html="customer.replyContent"></div>
<div class="text-[##333333] font-normal leading-normal whitespace-normal pr-2">
<div class="mb-2 special text-24" v-html="customer.replyContent"></div>
<div v-if="customer.sign" class="text-[#333] text-24">店铺店长: {{ customer.sign }}</div> <div v-if="customer.sign" class="text-[#333] text-24">店铺店长: {{ customer.sign }}</div>
<div class="flex items-center text-[#333] text-24 pt-2"> <div class="flex items-center text-[#333] text-24 pt-2">
总经理: 能岛拓也 总经理: 能岛拓也

Loading…
Cancel
Save