11
This commit is contained in:
@@ -6,13 +6,12 @@
|
||||
<!--<div style="width: 95%;">-->
|
||||
<div>
|
||||
<!--<input class="query_input" v-model="query"/>-->
|
||||
<el-input class="query_input" v-model="query" size="small" placeholder="请输入内容"></el-input>
|
||||
<el-input class="query_input" v-model="query" size="small" :placeholder="$t('message.placeholder')"></el-input>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :xs="10" :sm="10" :md="10" :lg="4" :xl="4" style="float: right">
|
||||
<el-button class="query_button" type="primary" size="small" icon="el-icon-search"
|
||||
@click="handleCurrentChange(-1)">搜索
|
||||
</el-button>
|
||||
<el-button class="query_button" type="primary" size="small" icon="el-icon-search" @click="handleCurrentChange(-1)">
|
||||
{{ $t('message.search') }}</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -101,7 +100,7 @@ export default {
|
||||
title: this.query,
|
||||
id: this.value.navId,
|
||||
pageNum: this.value.pageNum,
|
||||
pageSize: 4
|
||||
pageSize: 5
|
||||
}
|
||||
this.type = this.$route.query && this.$route.query.type
|
||||
if (this.type != null && this.type != 0) {
|
||||
|
||||
@@ -17,9 +17,8 @@
|
||||
</el-row>
|
||||
</div>
|
||||
<div>
|
||||
<el-row>
|
||||
<!--正文内容-->
|
||||
<el-col class="context">
|
||||
<div class="context">
|
||||
<div v-for="(item,index) in value.data" class="tw">
|
||||
<el-row>
|
||||
<el-col :xs="6" :sm="6" :md="5" :lg="4" :xl="4">
|
||||
@@ -48,8 +47,7 @@
|
||||
</el-row>
|
||||
<hr v-if="index != value.data.length-1" style="border: 0.1rem solid #E6E6E6;" class="hr">
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
<el-row>
|
||||
<el-col class="pagination_p">
|
||||
@@ -98,14 +96,14 @@ export default {
|
||||
let type = this.$route.query && this.$route.query.type
|
||||
let router = ''
|
||||
if (type!=null){
|
||||
router = "?id="+context.id+'&type='+type
|
||||
router = "?id="+context.id+'&type='+type+"&lang="+sessionStorage.getItem("lang")
|
||||
}else {
|
||||
router="/" +this.value.navId+"?id="+context.id
|
||||
router="/" +this.value.navId+"?id="+context.id+"&lang="+sessionStorage.getItem("lang")
|
||||
}
|
||||
if (this.width <=992){
|
||||
this.$router.push("/mobile/" + this.value.secondId +router+"?lang="+sessionStorage.getItem("lang"));
|
||||
this.$router.push("/mobile/" + this.value.secondId +router);
|
||||
}else {
|
||||
this.$router.push("/pc/" + this.value.secondId +router+"?lang="+sessionStorage.getItem("lang"));
|
||||
this.$router.push("/pc/" + this.value.secondId +router);
|
||||
}
|
||||
},
|
||||
handleSizeChange(val) {
|
||||
@@ -121,7 +119,7 @@ export default {
|
||||
title:this.query,
|
||||
id: this.value.navId,
|
||||
pageNum: this.value.pageNum,
|
||||
pageSize: 4
|
||||
pageSize: 5
|
||||
}
|
||||
this.type = this.$route.query && this.$route.query.type
|
||||
if (this.type != null&&this.type!=0){
|
||||
@@ -171,6 +169,7 @@ export default {
|
||||
.context {
|
||||
margin: 3rem 2rem;
|
||||
padding-bottom: 3rem;
|
||||
padding-top: 2rem;
|
||||
//width: 84.3rem;
|
||||
background: #FFFFFF;
|
||||
|
||||
@@ -278,7 +277,11 @@ export default {
|
||||
}
|
||||
@media screen and (max-width: 1100px){
|
||||
.query {
|
||||
margin-top: 3rem;
|
||||
width: 80% !important;
|
||||
}
|
||||
.context{
|
||||
margin-top: 6rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user