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-25 18:18:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ec5b8259e9e867d8fad98dbc8eded6c21090b9d
0ec5b825
1 parent
90c212ae
fix
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
src/components/common/hagerHeader.vue
src/views/product/detail.vue
src/views/search.vue
src/components/common/hagerHeader.vue
View file @
0ec5b82
<!--
* @Date: 2024-09-26 13:42:11
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-25 1
6:57:33
* @LastEditTime: 2024-10-25 1
8:04:57
* @FilePath: /hager/src/components/common/hagerHeader.vue
* @Description: 文件描述
-->
...
...
@@ -540,7 +540,7 @@ export default {
border-radius: 1rem;
border: 1px solid #E3F1F7;
background-color: #E3F1F7;
padding: 0.5rem 1rem;
padding: 0.5rem
2rem 0.5rem
1rem;
overflow: hidden;
width: 100%;
input {
...
...
src/views/product/detail.vue
View file @
0ec5b82
<!--
* @Date: 2024-09-29 14:26:41
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-25 1
7:57:24
* @LastEditTime: 2024-10-25 1
8:01:01
* @FilePath: /hager/src/views/product/detail.vue
* @Description: 文件描述
-->
...
...
@@ -84,7 +84,7 @@
<div @click="goToDownload" :class="['button', is_download_checked ? 'active' : '']">发送到邮箱</div>
</div>
<div class="info-list">
<el-row :gutter="0" v-for="(file, idx) in item.list" :key="idx">
<el-row :gutter="0" v-for="(file, idx) in item.list" :key="idx"
style="margin-bottom: 1rem;"
>
<el-col :span="18">
<div class="info-list-title">
<el-row :gutter="0">
...
...
src/views/search.vue
View file @
0ec5b82
<!--
* @Date: 2024-10-20 16:57:48
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-25 1
7:39:23
* @LastEditTime: 2024-10-25 1
8:13:06
* @FilePath: /hager/src/views/search.vue
* @Description: 文件描述
-->
...
...
@@ -14,7 +14,10 @@
<div slot="label" class="customer-label">产品 <span>{{ count_product }}</span></div>
<div class="search-product-list">
<div :class="['search-product-item', is_xs ? 'xs' : '']" v-for="(item, index) in product_list" :key="index">
<div :class="['search-product-item-img', is_xs ? 'xs' : '']" :style="{ 'background-image': 'url('+ item.cover +')' }"></div>
<div :class="['search-product-item-img', is_xs ? 'xs' : '']" :style="{ 'background-image': 'url('+ item.cover +')' }">
<!-- <div :class="['search-product-item-img', is_xs ? 'xs' : '']"> -->
<!-- <img style="width: 100%; height: auto;" :src="item.cover"> -->
</div>
<p @click="goToDetail(item)" class="search-product-item-title">{{ item.product_name }}</p>
</div>
</div>
...
...
@@ -286,11 +289,11 @@ export default {
border-radius: 5px;
border: 1px solid #ECECEC;
background-position: center;
background-size:
7
0%;
background-size:
5
0%;
background-repeat: no-repeat;
&.xs {
padding: 3rem 1rem;
background-size:
10
0%;
background-size:
8
0%;
img {
width: 100%;
}
...
...
Please
register
or
login
to post a comment