Showing
2 changed files
with
6 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-10-17 09:22:56 | 2 | * @Date: 2024-10-17 09:22:56 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-10-31 11:44:29 | 4 | + * @LastEditTime: 2024-10-31 14:15:06 |
| 5 | * @FilePath: /hager/src/views/about/index.vue | 5 | * @FilePath: /hager/src/views/about/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
| 50 | <div v-else> | 50 | <div v-else> |
| 51 | <div v-for="(item, index) in intro_list" :key="index" style="padding: 1rem;"> | 51 | <div v-for="(item, index) in intro_list" :key="index" style="padding: 1rem;"> |
| 52 | <div class="about-img xs" :style="{ 'background-image': 'url('+ item.img +')' }"></div> | 52 | <div class="about-img xs" :style="{ 'background-image': 'url('+ item.img +')' }"></div> |
| 53 | - <div class="about-box"> | 53 | + <div class="about-box xs"> |
| 54 | <div class="title"> | 54 | <div class="title"> |
| 55 | <p class="c xs">{{ item.c_title }}</p> | 55 | <p class="c xs">{{ item.c_title }}</p> |
| 56 | <p class="e xs">{{ item.e_title }}</p> | 56 | <p class="e xs">{{ item.e_title }}</p> |
| ... | @@ -160,6 +160,9 @@ export default { | ... | @@ -160,6 +160,9 @@ export default { |
| 160 | padding: 2rem; | 160 | padding: 2rem; |
| 161 | height: 25rem; /* 让 .about-box 撑满父容器 */ | 161 | height: 25rem; /* 让 .about-box 撑满父容器 */ |
| 162 | box-sizing: border-box; | 162 | box-sizing: border-box; |
| 163 | + &.xs { | ||
| 164 | + height: 20rem; | ||
| 165 | + } | ||
| 163 | .title { | 166 | .title { |
| 164 | font-weight: bold; | 167 | font-weight: bold; |
| 165 | .c { | 168 | .c { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-09-29 14:26:41 | 2 | * @Date: 2024-09-29 14:26:41 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-10-31 13:44:49 | 4 | + * @LastEditTime: 2024-10-31 14:16:25 |
| 5 | * @FilePath: /hager/src/views/product/detail.vue | 5 | * @FilePath: /hager/src/views/product/detail.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -354,7 +354,6 @@ export default { | ... | @@ -354,7 +354,6 @@ export default { |
| 354 | }, | 354 | }, |
| 355 | checkItem (item) { // 选中资料项目 | 355 | checkItem (item) { // 选中资料项目 |
| 356 | item.checked = !item.checked; | 356 | item.checked = !item.checked; |
| 357 | - console.warn(item); | ||
| 358 | this.download_list.forEach(item => { | 357 | this.download_list.forEach(item => { |
| 359 | item.checked_sum = item.list.filter(item => item.checked).length; | 358 | item.checked_sum = item.list.filter(item => item.checked).length; |
| 360 | }); | 359 | }); | ... | ... |
-
Please register or login to post a comment