Commit 324c721d authored by 乐宝呗666's avatar 乐宝呗666

修改查询条件

parent 5b8b5d9d
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</el-option> </el-option>
</el-select> </el-select>
<div class="search d-flex"> <div class="search d-flex">
<el-input v-model="searchName" placeholder="请输入内容"></el-input> <el-input v-model="searchName" placeholder="请输入内容" clearable></el-input>
<el-button class="searchBtn" @click="getMajorItems">查询</el-button> <el-button class="searchBtn" @click="getMajorItems">查询</el-button>
</div> </div>
</div> </div>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<ul> <ul>
<li v-for="(item,j) in arr" :key="j" @click="viewPDF(item)"> <li v-for="(item,j) in arr" :key="j" @click="viewPDF(item)">
<el-image :src="item.imageUrl"></el-image> <el-image :src="item.imageUrl"></el-image>
<p>{{item.projectName|| '无项目名称'}}</p> <p>{{item.projectName}}</p>
</li> </li>
</ul> </ul>
...@@ -45,7 +45,11 @@ ...@@ -45,7 +45,11 @@
<el-image :src="item.imageUrl" class="case-img"></el-image> <el-image :src="item.imageUrl" class="case-img"></el-image>
<div class="case-content"> <div class="case-content">
<h5>{{item.systemName}}</h5> <h5>{{item.systemName}}</h5>
<div class="text-ells">{{item.introduce}}</div> <p>工期:{{item.duration}}</p>
<p :title="item.introduce">项目介绍:{{item.introduce}}</p>
<!-- <p @click="openLink(item.url)">产品链接:{{item.url}}</p> -->
<p :title="item.url">产品链接:<a :href="item.url" target="_blank">{{item.url}}</a></p>
<!-- <div class="text-ells">{{item.introduce}}</div> -->
</div> </div>
</li> </li>
</ul> </ul>
...@@ -115,6 +119,9 @@ export default { ...@@ -115,6 +119,9 @@ export default {
this.pdfUrl = item.planUrl this.pdfUrl = item.planUrl
window.open(this.pdfUrl, '_blank') window.open(this.pdfUrl, '_blank')
}, },
// openLink (item) {
// window.open(item, '_blank')
// },
// 案例展示 产品展示 // 案例展示 产品展示
productDemonstration () { productDemonstration () {
API_BASIC.productDemonstration({ industry: this.industry || null }).then(res => { API_BASIC.productDemonstration({ industry: this.industry || null }).then(res => {
...@@ -207,6 +214,7 @@ export default { ...@@ -207,6 +214,7 @@ export default {
.caseShow{ .caseShow{
::v-deep .el-carousel__indicators--horizontal { ::v-deep .el-carousel__indicators--horizontal {
bottom: -.15rem; bottom: -.15rem;
font-size: .12rem;
} }
::v-deep .el-carousel__indicator--horizontal { ::v-deep .el-carousel__indicator--horizontal {
padding: .06rem .04rem; padding: .06rem .04rem;
...@@ -223,6 +231,13 @@ export default { ...@@ -223,6 +231,13 @@ export default {
height:1rem; height:1rem;
margin-left: .2rem; margin-left: .2rem;
float: left; float: left;
z-index: 9;
p {
text-align: left;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
h5{ h5{
font-size:.14rem; font-size:.14rem;
font-family:PingFang-SC-Bold,PingFang-SC; font-family:PingFang-SC-Bold,PingFang-SC;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment