BUG 30788
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" selectRoot>
|
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" selectRoot>
|
||||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||||
<span v-else>请选择</span>
|
<span v-else>请选择</span>
|
||||||
<u-icon name="arrow-right" color="#666" size="24" style="margin-left:4px;" />
|
<u-icon name="arrow-right" color="#666" size="24" style="margin-left:4px;"/>
|
||||||
</AiAreaPicker>
|
</AiAreaPicker>
|
||||||
</div>
|
</div>
|
||||||
<u-search class="serach_content" placeholder="请输入标题" :show-action="false" v-model="keyword" @clear="clearSearch"
|
<u-search class="serach_content" placeholder="请输入标题" :show-action="false" v-model="keyword" @clear="clearSearch"
|
||||||
@@ -207,10 +207,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
uni-page-body {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
::v-deep .content {
|
::v-deep .content {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
@@ -248,13 +244,10 @@ uni-page-body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont-iconMore {
|
|
||||||
// margin-top: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.AppServicePublic {
|
.AppServicePublic {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
|
||||||
.header-top {
|
.header-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -1,26 +1,23 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="Detail">
|
<div class="Detail">
|
||||||
<div class="header-top">
|
<div class="header-top">
|
||||||
<div class="titles">{{data.title}}</div>
|
<div class="titles">{{ data.title }}</div>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<span class="left">
|
<span class="left">
|
||||||
<span class="type" v-if="data.categoryName">{{data.categoryName}}</span>
|
<span class="type" v-if="data.categoryName">{{ data.categoryName }}</span>
|
||||||
<span class="times">{{ data.createTime }}</span>
|
<span class="times">{{ data.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>{{data.viewCount}}</span>
|
<span>{{ data.viewCount }}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="header-middle">
|
<div class="header-middle">
|
||||||
<div class="contsnts">
|
<div class="contsnts">
|
||||||
<u-parse :html="data.content"></u-parse>
|
<u-parse :html="data.content"></u-parse>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="img-list" v-if="data.files && data.files.length && data.contentType != 1">
|
<!-- <div class="img-list" v-if="data.files && data.files.length && data.contentType != 1">
|
||||||
<div class="title">图片</div>
|
<div class="title">图片</div>
|
||||||
@@ -35,8 +32,6 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'Detail',
|
name: 'Detail',
|
||||||
components: {},
|
|
||||||
props: {},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
data: {},
|
data: {},
|
||||||
@@ -45,8 +40,6 @@ export default {
|
|||||||
selectList: []
|
selectList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
|
||||||
watch: {},
|
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
this.id = o.id
|
this.id = o.id
|
||||||
this.listName = o.listName
|
this.listName = o.listName
|
||||||
@@ -55,8 +48,6 @@ export default {
|
|||||||
onShow() {
|
onShow() {
|
||||||
document.title = this.listName
|
document.title = this.listName
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {},
|
|
||||||
methods: {
|
methods: {
|
||||||
previewImage(images, img) {
|
previewImage(images, img) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
@@ -74,7 +65,7 @@ export default {
|
|||||||
getType() {
|
getType() {
|
||||||
this.$http.post(`/app/appcontentmoduleinfo/listByName?names=${this.listName}`).then((res) => {
|
this.$http.post(`/app/appcontentmoduleinfo/listByName?names=${this.listName}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
if(res.data && res.data.length) {
|
if (res.data && res.data.length) {
|
||||||
this.selectList = res.data[0].categoryList
|
this.selectList = res.data[0].categoryList
|
||||||
}
|
}
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
@@ -86,15 +77,14 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
uni-page-body {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.Detail {
|
.Detail {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 32px;
|
padding: 0 32px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
||||||
.header-top {
|
.header-top {
|
||||||
padding: 40px 0 32px 0;
|
padding: 40px 0 32px 0;
|
||||||
|
|
||||||
.titles {
|
.titles {
|
||||||
font-size: 48px;
|
font-size: 48px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@@ -110,6 +100,7 @@ uni-page-body {
|
|||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
|
|
||||||
.to-left {
|
.to-left {
|
||||||
margin-left: 32px;
|
margin-left: 32px;
|
||||||
}
|
}
|
||||||
@@ -118,11 +109,15 @@ uni-page-body {
|
|||||||
|
|
||||||
.header-middle {
|
.header-middle {
|
||||||
padding: 64px 0 48px 0;
|
padding: 64px 0 48px 0;
|
||||||
|
background: inherit;
|
||||||
|
|
||||||
.contsnts {
|
.contsnts {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
background: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
width: 686px;
|
width: 686px;
|
||||||
@@ -130,13 +125,14 @@ uni-page-body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.img-list{
|
.img-list {
|
||||||
img{
|
img {
|
||||||
width: 204px;
|
width: 204px;
|
||||||
height: 204px;
|
height: 204px;
|
||||||
margin: 0 8px 8px 0;
|
margin: 0 8px 8px 0;
|
||||||
}
|
}
|
||||||
.title{
|
|
||||||
|
.title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
line-height: 112px;
|
line-height: 112px;
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
@@ -164,7 +160,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;
|
||||||
@@ -181,19 +177,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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep uni-video{
|
::v-deep uni-video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user