Merge branch 'fly' into xy-ly

master
fanluyan 2 years ago
commit a2e657f64c

@ -4,7 +4,6 @@
<viewer <viewer
class="bigimg" class="bigimg"
:options="OptionssalseImg" :options="OptionssalseImg"
:images="bigPicPath"
v-if=" v-if="
bigPicPath.indexOf('nopic') == -1 && bigPicPath.indexOf('nopic') == -1 &&
bigPicPath.indexOf('videos') == -1 bigPicPath.indexOf('videos') == -1

@ -24,6 +24,7 @@
<div class="imageCenter" v-loading="loading"> <div class="imageCenter" v-loading="loading">
<div class="imgList" v-for="(item, index) in picList" :key="index"> <div class="imgList" v-for="(item, index) in picList" :key="index">
<viewer <viewer
:options="OptionssalseImg"
v-if="item.path !== null && item.path.indexOf('videos') == -1" v-if="item.path !== null && item.path.indexOf('videos') == -1"
class="bigpic" class="bigpic"
:style=" :style="
@ -90,6 +91,16 @@ import qs from "qs";
export default { export default {
data() { data() {
return { return {
OptionssalseImg: {
inline: false,
button: true,
navbar: false,
title: false,
toolbar: false,
tooltip: false,
zoomable: true,
url: "src",
},
value: "选项1", value: "选项1",
page: 1, // page: 1, //
pageSize: 4, // pageSize: 4, //

@ -64,7 +64,11 @@
v-for="(item, index) in picList" v-for="(item, index) in picList"
:key="index" :key="index"
> >
<viewer class="bigpic" v-if="item.path.indexOf('videos') == -1"> <viewer
:options="OptionssalseImg"
class="bigpic"
v-if="item.path.indexOf('videos') == -1"
>
<img :src="item.path + '!1280x720'" /> <img :src="item.path + '!1280x720'" />
<!-- <el-image :src="item.path" lazy></el-image> --> <!-- <el-image :src="item.path" lazy></el-image> -->
@ -137,6 +141,16 @@ import { getSearchInfo, getRealtimePhoto } from "@/utils/api/index";
export default { export default {
data() { data() {
return { return {
OptionssalseImg: {
inline: false,
button: true,
navbar: false,
title: false,
toolbar: false,
tooltip: false,
zoomable: true,
url: "src",
},
dyOptions: [], // dyOptions: [], //
xlOptions: [], //线 xlOptions: [], //线
gtOptions: [], // gtOptions: [], //

Loading…
Cancel
Save