修改禅道已知bug
This commit is contained in:
+82
-109
@@ -21,48 +21,23 @@
|
||||
{{$t('addComparison')}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div class="content-box-left">
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
<div class="content-box-left-text">
|
||||
hadhasdasdhadashdjk
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box-right" v-for="item1 in 9">
|
||||
<div class="content-box-box-top">
|
||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
||||
<span class="content-box-box-text">
|
||||
<div style="overflow: auto;height: calc(100vh - 160px);">
|
||||
<div class="content-box" :style="{'width':clientWidth}" v-if="isTrue">
|
||||
<div style="width: 100%" v-for="(item1,index) in 14" class="content-box-top">
|
||||
<div v-for="(item2,index2) in 16" style="width: 340px;display: inline-block" class="content-box-left">
|
||||
<div class="content-box-box-top" v-if="index == 0">
|
||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
||||
<span class="content-box-box-text">
|
||||
中国
|
||||
</span>
|
||||
</div>
|
||||
<div class="content-box-box" v-for="item in 9">
|
||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
||||
<span class="content-box-box-text">
|
||||
</div>
|
||||
<div class="content-box-box" v-else>
|
||||
<img src="../../../../assets/mobileHome.png" class="content-box-box-img" alt="">
|
||||
<span class="content-box-box-text">
|
||||
中国
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -78,6 +53,7 @@
|
||||
import { getAction, postAction, downloadFile } from '@/api/manage'
|
||||
import displayInformationModel from './displayInformationModel'
|
||||
import countryCardViewAdd from './countryCardViewAdd'
|
||||
|
||||
export default {
|
||||
name: 'countryCardView',
|
||||
components: {
|
||||
@@ -85,18 +61,26 @@
|
||||
countryCardViewAdd
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
return {
|
||||
clientWidth: '',
|
||||
isTrue: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.isTrue = false
|
||||
this.$nextTick(() => {
|
||||
this.clientWidth = 340 * 14 + 'px'
|
||||
this.isTrue = true
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
displayInformationClick() {
|
||||
this.$refs.displayInformationModelRef.getData()
|
||||
},
|
||||
newlyAddedClick() {
|
||||
this.$refs.countryCardViewAddRef.add()
|
||||
this.$refs.countryCardViewAddRef.add()
|
||||
},
|
||||
countryCardViewAddForm(){
|
||||
countryCardViewAddForm() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -180,36 +164,8 @@
|
||||
}
|
||||
|
||||
.content-box {
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content-box-left {
|
||||
width: 200px;
|
||||
background: #fff;
|
||||
z-index: 111;
|
||||
display: inline-block;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
border-top: 1px #d9d9d9 solid;
|
||||
border-left: 1px #d9d9d9 solid;
|
||||
border-bottom: 1px #d9d9d9 solid;
|
||||
border-right: 1px #d9d9d9 solid;
|
||||
}
|
||||
|
||||
.content-box-left-text {
|
||||
font-size: 16px;
|
||||
color: #040B29;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
border-bottom: 1px #d9d9d9 solid;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
}
|
||||
|
||||
.content-box-left-text:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.content-box-box-top {
|
||||
@@ -217,52 +173,69 @@
|
||||
height: 160px;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
border-left: 1px #d9d9d9 solid;
|
||||
background: #fff;
|
||||
border-right: 1px #d9d9d9 solid;
|
||||
border-top: 1px #d9d9d9 solid;
|
||||
border-bottom: 1px #d9d9d9 solid;
|
||||
|
||||
.content-box-box-img {
|
||||
width: 70%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content-box-box-text {
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #040B29;
|
||||
}
|
||||
}
|
||||
|
||||
.content-box-left:first-child .content-box-box-top {
|
||||
border-left: 1px #d9d9d9 solid;
|
||||
}
|
||||
|
||||
.content-box-box {
|
||||
width: 340px;
|
||||
display: inline-block;
|
||||
height: 80px;
|
||||
background: #fff;
|
||||
border-right: 1px #d9d9d9 solid;
|
||||
border-bottom: 1px #d9d9d9 solid;
|
||||
cursor: pointer;
|
||||
|
||||
.content-box-box-img {
|
||||
width: 70%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content-box-box-text {
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #040B29;
|
||||
}
|
||||
}
|
||||
|
||||
.content-box-left:first-child .content-box-box {
|
||||
border-left: 1px #d9d9d9 solid;
|
||||
}
|
||||
|
||||
.content-box-left:first-child {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 110;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.content-box-top:first-child {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 111;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.content-box-right {
|
||||
width: 339px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
border-top: 1px #d9d9d9 solid;
|
||||
border-right: 1px #d9d9d9 solid;
|
||||
border-bottom: 1px #d9d9d9 solid;
|
||||
}
|
||||
|
||||
.content-box-right:last-child {
|
||||
border-right: 1px #d9d9d9 solid;
|
||||
}
|
||||
|
||||
.content-box-box-img {
|
||||
width: 70%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content-box-box-text {
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #040B29;
|
||||
}
|
||||
|
||||
.content-box-box {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
border-bottom: 1px #d9d9d9 solid;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.content-box-box:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user