更改应用名
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
<div>区域选择</div>
|
<div>区域选择</div>
|
||||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect"></AiAreaPicker>
|
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect"></AiAreaPicker>
|
||||||
</div>
|
</div>
|
||||||
<u-search class="serach_content" placeholder="请输入标题" :show-action="false" v-model="keyword" @clear="clearSearch" @search="search"></u-search>
|
<u-search class="serach_content" placeholder="请输入标题" :show-action="false" v-model="keyword" @clear="clearSearch"
|
||||||
|
@search="search"></u-search>
|
||||||
<template v-if="datas.length > 0">
|
<template v-if="datas.length > 0">
|
||||||
<AiCard v-for="(item, i) in datas" :ref="item.id" :key="i" @click.native="toAdd(item, 1)">
|
<AiCard v-for="(item, i) in datas" :ref="item.id" :key="i" @click.native="toAdd(item, 1)">
|
||||||
<template #custom>
|
<template #custom>
|
||||||
@@ -19,20 +20,21 @@
|
|||||||
<u-parse :html="item.content"></u-parse>
|
<u-parse :html="item.content"></u-parse>
|
||||||
</p>
|
</p>
|
||||||
<div class="img-list" v-if="item.files.length && item.contentType != 1">
|
<div class="img-list" v-if="item.files.length && item.contentType != 1">
|
||||||
<img :src="items.accessUrl" alt="" v-for="(items, index) in item.files" :key="index" v-if="index < 3" @click.stop="previewImage(item.files, items.accessUrl)" />
|
<img :src="items.accessUrl" alt="" v-for="(items, index) in item.files" :key="index" v-if="index < 3"
|
||||||
|
@click.stop="previewImage(item.files, items.accessUrl)"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="img-list" v-if="item.files.length && item.contentType == 1">
|
<div class="img-list" v-if="item.files.length && item.contentType == 1">
|
||||||
<video class="video" :src="item.files[0].url"></video>
|
<video class="video" :src="item.files[0].url"></video>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<span class="left">
|
<span class="left">
|
||||||
<span class="type" v-if="item.categoryName">{{item.categoryName}}</span>
|
<span class="type" v-if="item.categoryName">{{ item.categoryName }}</span>
|
||||||
<span class="times">{{ item.createTime }}</span>
|
<span class="times">{{ item.createTime }}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="right">
|
<span class="right">
|
||||||
<img src="./img/view-icon.png" alt="">
|
<img src="./img/view-icon.png" alt="">
|
||||||
<span>{{item.viewCount}}</span>
|
<span>{{ item.viewCount }}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -62,7 +64,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AppServicePublic',
|
name: 'AppServicePublic',
|
||||||
appName: '三务公开',
|
appName: '内容发布',
|
||||||
components: {},
|
components: {},
|
||||||
props: {},
|
props: {},
|
||||||
data() {
|
data() {
|
||||||
@@ -99,7 +101,7 @@ export default {
|
|||||||
uni.$on('update', () => {
|
uni.$on('update', () => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = this.listName
|
document.title = this.listName
|
||||||
@@ -279,7 +281,7 @@ uni-page-body {
|
|||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-content{
|
.item-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -294,9 +296,10 @@ uni-page-body {
|
|||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img-list{
|
.img-list {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
img{
|
|
||||||
|
img {
|
||||||
width: calc(33% - 16px);
|
width: calc(33% - 16px);
|
||||||
height: 204px;
|
height: 204px;
|
||||||
margin: 0 16px 8px 0;
|
margin: 0 16px 8px 0;
|
||||||
@@ -321,7 +324,7 @@ uni-page-body {
|
|||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.type{
|
.type {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
line-height: 48px;
|
line-height: 48px;
|
||||||
@@ -338,19 +341,21 @@ uni-page-body {
|
|||||||
.right {
|
.right {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
color: #999;
|
color: #999;
|
||||||
img{
|
|
||||||
|
img {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.font {
|
.font {
|
||||||
color: #4181ff;
|
color: #4181ff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont-iconMore{
|
.iconfont-iconMore {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 42px;
|
top: 42px;
|
||||||
right: 32px;
|
right: 32px;
|
||||||
@@ -390,7 +395,7 @@ uni-page-body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep uni-video{
|
::v-deep uni-video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user