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-11 15:24:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc835e24dcbe8d12d2b0e24056cb49c0f4081c3e
cc835e24
1 parent
a7458683
fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
src/common/mixin.js
src/views/solution/detail.vue
src/common/mixin.js
View file @
cc835e2
/*
* @Date: 2022-07-26 09:49:54
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-1
0 13:53:54
* @LastEditTime: 2024-10-1
1 11:29:08
* @FilePath: /hager/src/common/mixin.js
* @Description: 文件描述
*/
...
...
@@ -36,6 +36,11 @@ export default {
methods
:
{
handleResize
()
{
this
.
screenWidth
=
$
(
'.hagerBox'
).
width
();
// 更新屏幕宽度
if
(
this
.
screenWidth
<
768
)
{
this
.
top_img_height
=
'30vh'
;
}
else
{
this
.
top_img_height
=
'35rem'
;
}
},
},
},
...
...
src/views/solution/detail.vue
View file @
cc835e2
<!--
* @Date: 2024-09-29 15:49:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-1
0 15:40:35
* @LastEditTime: 2024-10-1
1 13:36:28
* @FilePath: /hager/src/views/solution/detail.vue
* @Description: 文件描述
-->
<template>
<div class="hager-solution-detail">
<el-image
style="width: 100%; height: 35rem
" fit="cover" src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"></el-image>
<el-image
:style="{width: '100%', height: top_img_height}
" fit="cover" src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"></el-image>
<hager-box class="box-n">
<el-row :gutter="0">
<el-col :span="12" style="height: 25rem;">
...
...
Please
register
or
login
to post a comment