Compare commits

...

2 Commits

Author SHA1 Message Date
liyongle a6dc56fd7c chore(release): 1.0.7 3 years ago
liyongle 062b76dbe8 fix: 🧩 活动图片去除黑边 3 years ago
  1. 7
      CHANGELOG.md
  2. 4
      package-lock.json
  3. 2
      package.json
  4. 7
      src/views/Activity/ActivityItem.vue

7
CHANGELOG.md

@ -2,6 +2,13 @@
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.7](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.7-B.0...v1.0.7) (2023-09-01)
### Bug Fixes
* 🧩 活动图片去除黑边 ([062b76d](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/commit/062b76dbe8afdb640862a3998b5f77cab3bb1a8b))
### [1.0.7-B.0](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.6...v1.0.7-B.0) (2023-08-28) ### [1.0.7-B.0](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.6...v1.0.7-B.0) (2023-08-28)
### [1.0.6](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.6-B.0...v1.0.6) (2023-08-28) ### [1.0.6](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.6-B.0...v1.0.6) (2023-08-28)

4
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.7-B.0",
"version": "1.0.7",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.7-B.0",
"version": "1.0.7",
"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.7-B.0",
"version": "1.0.7",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",

7
src/views/Activity/ActivityItem.vue

@ -2,7 +2,7 @@
<div v-if="showThis" :key="actInfo.id" class="act-item"> <div v-if="showThis" :key="actInfo.id" class="act-item">
<!-- 图片 --> <!-- 图片 -->
<div class="img-container" @click="clickActItem"> <div class="img-container" @click="clickActItem">
<img :style="{ backgroundImage: `url(${getBackGround()})` }" alt="" />
<img :src="getBackGround()" alt="" />
<img v-if="actInfo.fileUrl.length === 0" src="@/assets/images/empty_big.svg" alt="" /> <img v-if="actInfo.fileUrl.length === 0" src="@/assets/images/empty_big.svg" alt="" />
</div> </div>
<!-- 标题 --> <!-- 标题 -->
@ -114,9 +114,8 @@ onMounted(() => {
background: #ebebeb00; background: #ebebeb00;
img { img {
width: inherit;
height: inherit;
background-size: cover;
width: 880px;
height: 495px;
border-radius: 16px; border-radius: 16px;
} }
} }

Loading…
Cancel
Save