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