Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-31 14:16:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7200b1078ccf2e5b4848beec23ce96e656d7da12
7200b107
1 parent
9103aa3e
fix
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
src/views/about/index.vue
src/views/product/detail.vue
src/views/about/index.vue
View file @
7200b10
<!--
* @Date: 2024-10-17 09:22:56
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-31 1
1:44:29
* @LastEditTime: 2024-10-31 1
4:15:06
* @FilePath: /hager/src/views/about/index.vue
* @Description: 文件描述
-->
...
...
@@ -50,7 +50,7 @@
<div v-else>
<div v-for="(item, index) in intro_list" :key="index" style="padding: 1rem;">
<div class="about-img xs" :style="{ 'background-image': 'url('+ item.img +')' }"></div>
<div class="about-box">
<div class="about-box
xs
">
<div class="title">
<p class="c xs">{{ item.c_title }}</p>
<p class="e xs">{{ item.e_title }}</p>
...
...
@@ -160,6 +160,9 @@ export default {
padding: 2rem;
height: 25rem; /* 让 .about-box 撑满父容器 */
box-sizing: border-box;
&.xs {
height: 20rem;
}
.title {
font-weight: bold;
.c {
...
...
src/views/product/detail.vue
View file @
7200b10
<!--
* @Date: 2024-09-29 14:26:41
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-31 1
3:44:49
* @LastEditTime: 2024-10-31 1
4:16:25
* @FilePath: /hager/src/views/product/detail.vue
* @Description: 文件描述
-->
...
...
@@ -354,7 +354,6 @@ export default {
},
checkItem (item) { // 选中资料项目
item.checked = !item.checked;
console.warn(item);
this.download_list.forEach(item => {
item.checked_sum = item.list.filter(item => item.checked).length;
});
...
...
Please
register
or
login
to post a comment