提交 f8a2f332 authored 作者: 龙菲's avatar 龙菲

修复文物详情的轮播图bug

上级 9980a8fe
...@@ -286,7 +286,7 @@ export default { ...@@ -286,7 +286,7 @@ export default {
fadeEffect: { fadeEffect: {
crossFade: true, crossFade: true,
}, },
grabCursor: true, // grabCursor: true,
// 显示分页 // 显示分页
pagination: { pagination: {
el: ".swiper-pagination", el: ".swiper-pagination",
...@@ -572,7 +572,7 @@ $node-w: 700px; ...@@ -572,7 +572,7 @@ $node-w: 700px;
.swiper-container { .swiper-container {
height: 68vh; height: 68vh;
width: 100%;
.img-container { .img-container {
height: 100%; height: 100%;
width: 100%; width: 100%;
...@@ -588,7 +588,7 @@ $node-w: 700px; ...@@ -588,7 +588,7 @@ $node-w: 700px;
.swiper-button-next, .swiper-button-next,
.swiper-button-prev { .swiper-button-prev {
background-image: none; background-image: none;
border: 5px solid #fff; border: 2px solid #fff;
width: 60px; width: 60px;
height: 60px; height: 60px;
border-radius: 50%; border-radius: 50%;
...@@ -598,6 +598,7 @@ $node-w: 700px; ...@@ -598,6 +598,7 @@ $node-w: 700px;
color: #fff; color: #fff;
font-weight: bolder; font-weight: bolder;
transform: translateY(-72px); transform: translateY(-72px);
font-size: 22px !important;
} }
// >div { // >div {
...@@ -887,14 +888,15 @@ $node-w: 700px; ...@@ -887,14 +888,15 @@ $node-w: 700px;
:v-deep .swiper { :v-deep .swiper {
height: 66vh; height: 66vh;
.swiper-container {
height: 100%;
}
:v-deep .swiper-container {
height: 100%;
width: 100%;
.swiper-wrapper { .swiper-wrapper {
height: 100%; height: 100%;
} }
} }
}
// ::v-deep .el-radio-button:first-child .el-radio-button__inner{ // ::v-deep .el-radio-button:first-child .el-radio-button__inner{
// border-radius: 0; // border-radius: 0;
......
...@@ -21,44 +21,6 @@ ...@@ -21,44 +21,6 @@
<i class="el-icon-search"></i> <i class="el-icon-search"></i>
</div> </div>
</div> </div>
<!-- <el-select
class="type item"
v-model="type"
placeholder="请选择所属类别"
filterable
@change="handleTypeChange"
clearable
>
<el-option
v-for="(value, key) in dicts.culturalRelicType"
:key="key"
:label="value"
:value="key"
>
</el-option>
</el-select>
<el-cascader
class="years item"
v-model="years"
:options="culturalRelicYears"
:props="culturalRelicYearsProps"
placeholder="请选择文物年代"
filterable
@change="handleYearsChange"
clearable
ref="years"
>
</el-cascader> -->
<!-- <el-col :span="3">
<div class="search-button" @click="search" style="width: 100%">
<svg-icon icon-class="search"></svg-icon>
检索
</div>
</el-col> -->
<!-- </el-row> -->
</div> </div>
<transition name="el-zoom-in-top"> <transition name="el-zoom-in-top">
<div class="search-panel" v-show="showSearchPanel"> <div class="search-panel" v-show="showSearchPanel">
...@@ -292,6 +254,7 @@ export default { ...@@ -292,6 +254,7 @@ export default {
handleSizeChange(value) { handleSizeChange(value) {
this.list.size = value; this.list.size = value;
this.loadData(); this.loadData();
this.$refs["table"].bodyWrapper.scrollTop = 0;
}, },
// 改变当前显示页 // 改变当前显示页
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论