This commit is contained in:
A1300399510
2023-07-27 19:48:32 +08:00
parent 9879550544
commit 556f40efe8
5 changed files with 10 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
<el-carousel-item v-for="(item, i) in list" :key="i">
<div class="dis-f jus-x al-item" v-if="item">
<div class="img-box dis-f jus-x" style="width:600px" v-if="item['type'] != 'attachment'">
<video autoplay controls :src="item.url"></video>
<video autoplay controls :src="item.url || item['videourl']"></video>
</div>
<div class="img-box dis-f jus-x" v-else>
<img :src="item && item.url || item['imageurl'] || item['image']" class="img" alt="">

View File

@@ -100,12 +100,18 @@ const executeScripts = () => {
left: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1111;
color: transparent;
}
.htmlCode * {
box-sizing: content-box;
}
.htmlCode .registerNewApp {
color: #000;
}
.htmlCode .register .box,
.htmlCode .register .box {
border-radius: 10px;

View File

@@ -14,7 +14,7 @@ axios.interceptors.request.use( //响应拦截
showFullScreenLoading()
// 开发时登录用的,可以直接替换小程序的 authorization
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3"
if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg"
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg"
return config;
},
error => {

View File

@@ -60,7 +60,7 @@
<div ref="slideshowList" class="slideshow-list box no-scrollbar flex1 flexacenter">
<div class="item" :class="{ 'pitch': index == carouselIndex }, `item${index}`"
v-for="(item, index) in allCarouselsData" @click="slideshowItem(index)">
<img class="img" :src="item['thumbnail'] || item['imageurl']" />
<img class="img" v-lazy="item['thumbnail'] || item['imageurl']" />
<img class="video-icon" v-if="item['type'] != 'attachment'"
src="@/assets/img/publicImage/video-icon.svg">
</div>

View File

@@ -88,6 +88,7 @@ const getData = () => {
requestLoading = true
proxy.$get("/tenement/pc/api/apartment", {
limit:10,
page,
...pitchValue
}).then(res => {