图片连接替换
This commit is contained in:
+10
-7
@@ -36,7 +36,7 @@
|
||||
<view @click.stop="govideo(item1.id)" class="u-flex u-col-top u-m-t-30 u-w-300 "
|
||||
v-for="(item1,index1) in item" :key="index1">
|
||||
<view class="u-relative">
|
||||
<u-image :src="apiUrl+ item1.img" width="100rpx" height="140rpx"
|
||||
<u-image :src="imageUrl+ item1.img" width="100rpx" height="140rpx"
|
||||
radius="5"></u-image>
|
||||
<image v-show="index == 0 && index1==0" src="/static/image/icon8.png"
|
||||
class="u-w-40 u-h-40 u-absolute u-index-1" style="top: 0px;left:-2px;"></image>
|
||||
@@ -71,7 +71,7 @@
|
||||
<view @click.stop="govideo(item.id)" class="u-m-t-30 u-m-r-20 u-w-200" v-for="(item,index) in list"
|
||||
:key="index">
|
||||
<view class="u-relative">
|
||||
<u-image :src="apiUrl+ item.img" width="200rpx" height="280rpx" radius="6"></u-image>
|
||||
<u-image :src="imageUrl+ item.img" width="200rpx" height="280rpx" radius="6"></u-image>
|
||||
<view
|
||||
class="u-b-9505FF-09A7FF u-absolute u-index-1 u-w-72 u-h-40 u-text-center u-lh-40 u-color-f u-font-22"
|
||||
style="border-radius: 12rpx 0 20rpx 0;top: 0px;left:0px;">{{item.video_tag}}</view>
|
||||
@@ -92,7 +92,7 @@
|
||||
<view @click.stop="govideo(item.id)" class="u-m-t-30 u-m-r-16 u-w-210" v-for="(item,index) in CatList"
|
||||
:key="index">
|
||||
<view class="u-relative">
|
||||
<u-image :src="apiUrl+ item.img" width="210rpx" height="280rpx" radius="6"></u-image>
|
||||
<u-image :src="imageUrl+ item.img" width="210rpx" height="280rpx" radius="6"></u-image>
|
||||
<view v-show="item.type_text && item.type_text!=''"
|
||||
class="yichu u-b-FF5205-FF0591 u-absolute u-index-1 u-text-center u-lh-40 u-color-f u-font-22 u-p-t-4 u-p-b-4 u-p-l-10 u-p-r-10"
|
||||
style="border-radius: 12rpx 0 20rpx 0;top: 0px;left:0px;">
|
||||
@@ -116,7 +116,7 @@
|
||||
<view class="u-p-l-20 u-p-r-20">
|
||||
<view class="u-b-383636 u-radius-20 u-p-t-10 u-p-b-10 u-p-l-20 u-p-r-20 u-flex u-col-top u-row-between">
|
||||
<view class="u-flex">
|
||||
<u-image :src="item.img" width="80rpx" height="120rpx" radius="6"></u-image>
|
||||
<u-image :src="imageUrl+item.img" width="80rpx" height="120rpx" radius="6"></u-image>
|
||||
<view class="u-flex-1 u-m-l-20 u-h-100 u-flex-col u-row-between u-p-t-10 u-p-b-10 u-color-f">
|
||||
<view class="u-font-24 u-word-break u-line-1">{{LookInfo.vname}}</view>
|
||||
<view class="u-font-20">{{LookInfo.mid}}集</view>
|
||||
@@ -135,7 +135,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import navbar from '@/components/navbar.vue'
|
||||
import navbar from '@/components/navbar.vue';
|
||||
import config from '../utils/config';
|
||||
export default {
|
||||
components: {
|
||||
navbar,
|
||||
@@ -158,12 +159,14 @@
|
||||
},
|
||||
show: false, //底部最近观看短剧显示隐藏
|
||||
LookInfo: {}, //最近观看短剧信息
|
||||
apiUrl: '', //域名
|
||||
apiUrl: "", //域名
|
||||
home_gif: "",
|
||||
dy_seek: ""
|
||||
dy_seek: "",
|
||||
imageUrl:config.imgUrl
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
console.log(this.imageUrl)
|
||||
this.config()
|
||||
},
|
||||
onShow() {
|
||||
|
||||
Reference in New Issue
Block a user