查看消息调准
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="create">
|
||||
<view class="create-title">公告内容</view>
|
||||
<block v-if="type !== 'check'">
|
||||
<block v-if="type !== 'cheack'">
|
||||
<u--textarea v-model="content" count height="240" maxlength="240" placeholder="请输入公告内容" />
|
||||
<u-button type="primary" text="发布" :disabled="disabled" @click="onCreate" color="#34CE98" />
|
||||
</block>
|
||||
<block v-if="type === 'check'">
|
||||
<block v-if="type === 'cheack'">
|
||||
<view class="content-a"> {{content}} </view>
|
||||
</block>
|
||||
</view>
|
||||
@@ -27,13 +27,17 @@
|
||||
targetId: '',
|
||||
content: '',
|
||||
aId: '',
|
||||
type: '' // check ' 查看详情'
|
||||
type: '' // cheack ' 查看详情'
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
onLoad(e) {
|
||||
console.log(e,'e,,,,,')
|
||||
this.targetId = e.targetId
|
||||
if (e.type) {
|
||||
this.type = e.type
|
||||
this.type = e.type
|
||||
uni.setNavigationBarTitle({
|
||||
title:' 公告内容'
|
||||
})
|
||||
}
|
||||
if (e.aId) {
|
||||
this.aId = e.aId
|
||||
|
||||
Reference in New Issue
Block a user