Compare commits

...

4 Commits

Author SHA1 Message Date
李永乐 171c4e5c89 活动详情为空时点击无效果 3 years ago
liyongle 5d8c40c720 chore(release): 1.0.10-B.0 3 years ago
liyongle a3bce6fbcd chore(release): 1.0.9 3 years ago
liyongle e6cdd99f4b fix: 🧩 活动详情为空时点击无效果 3 years ago
  1. 9
      CHANGELOG.md
  2. 4
      package-lock.json
  3. 2
      package.json
  4. 12
      src/views/Activity/Activity.vue

9
CHANGELOG.md

@ -2,6 +2,15 @@
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.10-B.0](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.9...v1.0.10-B.0) (2023-10-12)
### [1.0.9](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.9-B.2...v1.0.9) (2023-10-12)
### Bug Fixes
* 🧩 活动详情为空时点击无效果 ([e6cdd99](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/commit/e6cdd99f4beb731b1369c4edadbb8b48eb9c649a))
### [1.0.9-B.2](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.9-B.1...v1.0.9-B.2) (2023-10-11) ### [1.0.9-B.2](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.9-B.1...v1.0.9-B.2) (2023-10-11)

4
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.9-B.2",
"version": "1.0.10-B.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.9-B.2",
"version": "1.0.10-B.0",
"dependencies": { "dependencies": {
"@better-scroll/core": "^2.5.0", "@better-scroll/core": "^2.5.0",
"@better-scroll/observe-image": "^2.5.0", "@better-scroll/observe-image": "^2.5.0",

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.9-B.2",
"version": "1.0.10-B.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",

12
src/views/Activity/Activity.vue

@ -53,12 +53,14 @@ const modules = [Autoplay, Pagination]
const currentItem = ref<Activity>() const currentItem = ref<Activity>()
const showDetail = ref(false) const showDetail = ref(false)
function clickItem(item: Activity, code: string) { function clickItem(item: Activity, code: string) {
if (mySwiper.value) {
mySwiper.value.autoplay.stop()
}
item.list = shopAcList.value.filter(info => info.content.typeId[0] === code) item.list = shopAcList.value.filter(info => info.content.typeId[0] === code)
currentItem.value = item
showDetail.value = true
if ((item.type === '档期活动' && item.fileUrl_h.length) || (item.type !== '档期活动' && item.list.length)) {
if (mySwiper.value) {
mySwiper.value.autoplay.stop()
}
currentItem.value = item
showDetail.value = true
}
} }
// //

Loading…
Cancel
Save