Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
country-energy-ecological-construction
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
范加坤
country-energy-ecological-construction
Commits
68756cae
Commit
68756cae
authored
Jul 30, 2021
by
吕超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改图片展示方式
parent
0f40e5f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
sortList.vue
src/pages/biomassEnergyWarm/components/sortList.vue
+2
-1
picPopup.vue
src/pages/renewableEnergyVillage/components/picPopup.vue
+11
-6
No files found.
src/pages/biomassEnergyWarm/components/sortList.vue
View file @
68756cae
...
...
@@ -178,7 +178,8 @@ export default {
.partItem {
width: 100%;
height: calc(100vh - 150px - 37vh - 2vw);
// height: calc(100vh - 95px - 27vh - 2vw);
height: calc(100vh - 150px - 27vh - 2vw);
overflow-y: auto;
}
}
...
...
src/pages/renewableEnergyVillage/components/picPopup.vue
View file @
68756cae
...
...
@@ -21,7 +21,10 @@
class=
"left el-icon-arrow-left"
@
click=
"listValue
<
=
0
||
(
listValue
-=
1)"
></i>
<img
:src=
"`$
{BASE_URL}/images/${id}.jpg`" alt="" />
<img
:src=
"`$
{BASE_URL}/images/14_${list[listValue].key}.jpg`"
alt=""
/>
<i
class=
"right el-icon-arrow-right"
@
click=
"listValue >= list.length - 1 || (listValue += 1)"
...
...
@@ -52,10 +55,12 @@ export default {
return
{
BASE_URL
:
process
.
env
.
VUE_APP_BASE_URL
,
list
:
[
{
key
:
"base"
,
value
:
"基本情况"
},
{
key
:
"technology"
,
value
:
"技术模式"
},
{
key
:
"target"
,
value
:
"目标实现情况"
},
{
key
:
"interest"
,
value
:
"效益分析"
},
{
key
:
"basic_info1"
,
value
:
"基本情况"
},
{
key
:
"basic_info2"
,
value
:
"基本情况2"
},
{
key
:
"basic_info3"
,
value
:
"基本情况3"
},
{
key
:
"technical_patterns"
,
value
:
"技术模式"
},
{
key
:
"goal_achievement"
,
value
:
"目标实现情况"
},
{
key
:
"eco_benefits"
,
value
:
"效益分析"
},
],
listValue
:
0
,
};
...
...
@@ -116,7 +121,7 @@ export default {
img {
flex: 1;
height: 50vh;
object-fit: co
ver
;
object-fit: co
ntain
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment