|
@@ -1,190 +1,190 @@
|
|
|
-<!--为我的-信息发布页面-->
|
|
|
|
|
-<!-- 修改:信息发布页面移到首页-->
|
|
|
|
|
-
|
|
|
|
|
-<view class="title primary-text-color">信息{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
-
|
|
|
|
|
-<view wx:if="{{currentTab === 0}}" class="con">
|
|
|
|
|
- <view class="title2">信息发布类型</view>
|
|
|
|
|
- <view class="buttons">
|
|
|
|
|
- <myButton class="button" type="primary" bindtap="switch1">活动</myButton>
|
|
|
|
|
- <myButton class="button" type="primary" bindtap="switch2">纳新</myButton>
|
|
|
|
|
- <myButton class="button" type="primary" bindtap="switch3">通知</myButton>
|
|
|
|
|
- </view>
|
|
|
|
|
-</view>
|
|
|
|
|
-
|
|
|
|
|
-<scroll-view wx:if="{{currentTab === 1}}" style="height: {{winHeight - 60}}px;" scroll-y>
|
|
|
|
|
- <view class="sub-title">活动{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
- <form bindsubmit="switch4">
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">活动名称<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="name" value="{{activityInfo.name}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">活动类型<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <checkbox-group class="checkbox-group" name="type">
|
|
|
|
|
- <label wx:for="{{types1}}" wx:for-item="item" wx:key="value">
|
|
|
|
|
- <checkbox class="checkbox" value="{{item.value}}" checked="{{item.checked}}" color="#469298">{{item.value}}
|
|
|
|
|
- </checkbox>
|
|
|
|
|
- </label>
|
|
|
|
|
- </checkbox-group>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">活动简介</view>
|
|
|
|
|
- <textarea class="input" style="height: 100rpx;" placeholder="请填写" name="brief"
|
|
|
|
|
- value="{{activityInfo.brief}}"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">活动详情<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <textarea class="input" style="height: 200rpx;" placeholder="请填写" name="detail"
|
|
|
|
|
- value="{{activityInfo.detail}}"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">活动封图</view>
|
|
|
|
|
- <imagePicker name="poster" max="1" image-width="450" image-height="215" value="{{activityInfo.poster}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">活动图片</view>
|
|
|
|
|
- <imagePicker name="photo" max="9" image-width="145" image-height="145" value="{{activityInfo.photo}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">活动提供</view>
|
|
|
|
|
- <checkbox-group class="checkbox-group" name="tag">
|
|
|
|
|
- <label wx:for="{{types2}}" wx:for-item="item" wx:key="value">
|
|
|
|
|
- <checkbox class="checkbox" value="{{item.value}}" checked="{{item.checked}}" color="#469298">
|
|
|
|
|
- {{item.value}}</checkbox>
|
|
|
|
|
- </label>
|
|
|
|
|
- </checkbox-group>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">面向对象</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="orient" value="{{activityInfo.orient}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">活动时间</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="time" value="{{activityInfo.time}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">活动地点</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="place" value="{{activityInfo.place}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">联系方式</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="contact" value="{{activityInfo.contact}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">链接</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="link" value="{{activityInfo.link}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view wx:if="{{messageId}}" class="block" style="margin-top: 20rpx;">
|
|
|
|
|
- <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
|
|
|
|
|
- <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="notify"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <myButton class="button" type="primary">提交</myButton>
|
|
|
|
|
- </form>
|
|
|
|
|
-</scroll-view>
|
|
|
|
|
-
|
|
|
|
|
-<scroll-view wx:if="{{currentTab === 2}}" style="height: {{winHeight - 60}}px;" scroll-y>
|
|
|
|
|
- <view class="sub-title">纳新{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
- <form bindsubmit="switch4">
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">纳新标题<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="name" value="{{activityInfo.name}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">纳新简介</view>
|
|
|
|
|
- <textarea class="input" style="height: 100rpx;" placeholder="请填写" name="brief"
|
|
|
|
|
- value="{{activityInfo.brief}}"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">纳新详情<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <textarea class="input" style="height: 200rpx;" placeholder="请填写" name="detail"
|
|
|
|
|
- value="{{activityInfo.detail}}"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">纳新封图</view>
|
|
|
|
|
- <imagePicker name="poster" max="1" image-width="450" image-height="215" value="{{activityInfo.poster}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">纳新图片</view>
|
|
|
|
|
- <imagePicker name="photo" max="9" image-width="145" image-height="145" value="{{activityInfo.photo}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">面向对象</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="orient" value="{{activityInfo.orient}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">纳新时间</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="time" value="{{activityInfo.time}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">现宣信息</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="place" value="{{activityInfo.place}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">联系方式</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="contact" value="{{activityInfo.contact}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">链接</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="link" value="{{activityInfo.link}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view wx:if="{{messageId}}" class="block" style="margin-top: 20rpx;">
|
|
|
|
|
- <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
|
|
|
|
|
- <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="notify"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <myButton class="button" type="primary">提交</myButton>
|
|
|
|
|
- </form>
|
|
|
|
|
-</scroll-view>
|
|
|
|
|
-
|
|
|
|
|
-<scroll-view wx:if="{{currentTab === 3}}" style="height: {{winHeight - 60}}px;" scroll-y>
|
|
|
|
|
- <view class="sub-title">通知{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
- <form bindsubmit="switch4">
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">通知标题<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="name" value="{{activityInfo.name}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">通知类型<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <checkbox-group class="checkbox-group" name="type">
|
|
|
|
|
- <label wx:for="{{types3}}" wx:for-item="item" wx:key="value">
|
|
|
|
|
- <checkbox class="checkbox" value="{{item.value}}" checked="{{item.checked}}" color="#469298">{{item.value}}
|
|
|
|
|
- </checkbox>
|
|
|
|
|
- </label>
|
|
|
|
|
- </checkbox-group>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">通知简介</view>
|
|
|
|
|
- <textarea class="input" style="height: 100rpx;" placeholder="请填写" name="brief"
|
|
|
|
|
- value="{{activityInfo.brief}}"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">通知详情<span style="color: #FF0000">*</span></view>
|
|
|
|
|
- <textarea class="input" style="height: 200rpx;" placeholder="请填写" name="detail"
|
|
|
|
|
- value="{{activityInfo.detail}}"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">通知封图</view>
|
|
|
|
|
- <imagePicker name="poster" max="1" image-width="450" image-height="215" value="{{activityInfo.poster}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
- <view class="cate" style="align-self: flex-start;">通知图片</view>
|
|
|
|
|
- <imagePicker name="photo" max="9" image-width="145" image-height="145" value="{{activityInfo.photo}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="block">
|
|
|
|
|
- <view class="cate">链接</view>
|
|
|
|
|
- <input class="input" placeholder="请填写" name="link" value="{{activityInfo.link}}" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view wx:if="{{messageId}}" class="block" style="margin-top: 20rpx;">
|
|
|
|
|
- <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
|
|
|
|
|
- <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="notify"></textarea>
|
|
|
|
|
- </view>
|
|
|
|
|
- <myButton class="button" type="primary">提交</myButton>
|
|
|
|
|
- </form>
|
|
|
|
|
-</scroll-view>
|
|
|
|
|
-
|
|
|
|
|
-<view wx:if="{{currentTab === 4}}" class="con">
|
|
|
|
|
- <view class="con1 primary-text-color">{{messageId ? '修改' : '发布'}}成功!</view>
|
|
|
|
|
- <image class="success-icon" src="../../images/finish.png" mode="aspectFill" />
|
|
|
|
|
- <!-- <view class="con2"></view> -->
|
|
|
|
|
- <myButton class="button" type="primary" bindtap="returnToPublisher">返回</myButton>
|
|
|
|
|
|
|
+<!--为我的-信息发布页面-->
|
|
|
|
|
+<!-- 修改:信息发布页面移到首页-->
|
|
|
|
|
+
|
|
|
|
|
+<view class="title primary-text-color">信息{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
+
|
|
|
|
|
+<view wx:if="{{currentTab === 0}}" class="con">
|
|
|
|
|
+ <view class="title2">信息发布类型</view>
|
|
|
|
|
+ <view class="buttons">
|
|
|
|
|
+ <myButton class="button" type="primary" bindtap="switch1">活动</myButton>
|
|
|
|
|
+ <myButton class="button" type="primary" bindtap="switch2">纳新</myButton>
|
|
|
|
|
+ <myButton class="button" type="primary" bindtap="switch3">通知</myButton>
|
|
|
|
|
+ </view>
|
|
|
|
|
+</view>
|
|
|
|
|
+
|
|
|
|
|
+<scroll-view wx:if="{{currentTab === 1}}" style="height: {{winHeight - 60}}px;" scroll-y>
|
|
|
|
|
+ <view class="sub-title">活动{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
+ <form bindsubmit="switch4">
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">活动名称<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="name" value="{{messageInfo.name}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">活动类型<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <checkbox-group class="checkbox-group" name="type">
|
|
|
|
|
+ <label wx:for="{{types1}}" wx:for-item="item" wx:key="value">
|
|
|
|
|
+ <checkbox class="checkbox" value="{{item.value}}" checked="{{item.checked}}" color="#469298">{{item.value}}
|
|
|
|
|
+ </checkbox>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </checkbox-group>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">活动简介</view>
|
|
|
|
|
+ <textarea class="input" style="height: 100rpx;" placeholder="请填写" name="brief"
|
|
|
|
|
+ value="{{messageInfo.brief}}"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">活动详情<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <textarea class="input" style="height: 200rpx;" placeholder="请填写" name="detail"
|
|
|
|
|
+ value="{{messageInfo.detail}}"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">活动封图</view>
|
|
|
|
|
+ <imagePicker name="poster" max="1" image-width="450" image-height="215" value="{{messageInfo.poster}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">活动图片</view>
|
|
|
|
|
+ <imagePicker name="photo" max="9" image-width="145" image-height="145" value="{{messageInfo.photo}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">活动提供</view>
|
|
|
|
|
+ <checkbox-group class="checkbox-group" name="tag">
|
|
|
|
|
+ <label wx:for="{{types2}}" wx:for-item="item" wx:key="value">
|
|
|
|
|
+ <checkbox class="checkbox" value="{{item.value}}" checked="{{item.checked}}" color="#469298">
|
|
|
|
|
+ {{item.value}}</checkbox>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </checkbox-group>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">面向对象</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="orient" value="{{messageInfo.orient}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">活动时间</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="time" value="{{messageInfo.time}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">活动地点</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="place" value="{{messageInfo.place}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">联系方式</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="contact" value="{{messageInfo.contact}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">链接</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="link" value="{{messageInfo.link}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view wx:if="{{messageId}}" class="block" style="margin-top: 20rpx;">
|
|
|
|
|
+ <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
|
|
|
|
|
+ <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="notify"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <myButton class="button" type="primary">提交</myButton>
|
|
|
|
|
+ </form>
|
|
|
|
|
+</scroll-view>
|
|
|
|
|
+
|
|
|
|
|
+<scroll-view wx:if="{{currentTab === 2}}" style="height: {{winHeight - 60}}px;" scroll-y>
|
|
|
|
|
+ <view class="sub-title">纳新{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
+ <form bindsubmit="switch4">
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">纳新标题<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="name" value="{{messageInfo.name}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">纳新简介</view>
|
|
|
|
|
+ <textarea class="input" style="height: 100rpx;" placeholder="请填写" name="brief"
|
|
|
|
|
+ value="{{messageInfo.brief}}"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">纳新详情<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <textarea class="input" style="height: 200rpx;" placeholder="请填写" name="detail"
|
|
|
|
|
+ value="{{messageInfo.detail}}"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">纳新封图</view>
|
|
|
|
|
+ <imagePicker name="poster" max="1" image-width="450" image-height="215" value="{{messageInfo.poster}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">纳新图片</view>
|
|
|
|
|
+ <imagePicker name="photo" max="9" image-width="145" image-height="145" value="{{messageInfo.photo}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">面向对象</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="orient" value="{{messageInfo.orient}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">纳新时间</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="time" value="{{messageInfo.time}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">现宣信息</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="place" value="{{messageInfo.place}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">联系方式</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="contact" value="{{messageInfo.contact}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">链接</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="link" value="{{messageInfo.link}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view wx:if="{{messageId}}" class="block" style="margin-top: 20rpx;">
|
|
|
|
|
+ <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
|
|
|
|
|
+ <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="notify"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <myButton class="button" type="primary">提交</myButton>
|
|
|
|
|
+ </form>
|
|
|
|
|
+</scroll-view>
|
|
|
|
|
+
|
|
|
|
|
+<scroll-view wx:if="{{currentTab === 3}}" style="height: {{winHeight - 60}}px;" scroll-y>
|
|
|
|
|
+ <view class="sub-title">通知{{messageId ? '修改' : '发布'}}</view>
|
|
|
|
|
+ <form bindsubmit="switch4">
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">通知标题<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="name" value="{{messageInfo.name}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">通知类型<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <checkbox-group class="checkbox-group" name="type">
|
|
|
|
|
+ <label wx:for="{{types3}}" wx:for-item="item" wx:key="value">
|
|
|
|
|
+ <checkbox class="checkbox" value="{{item.value}}" checked="{{item.checked}}" color="#469298">{{item.value}}
|
|
|
|
|
+ </checkbox>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </checkbox-group>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">通知简介</view>
|
|
|
|
|
+ <textarea class="input" style="height: 100rpx;" placeholder="请填写" name="brief"
|
|
|
|
|
+ value="{{messageInfo.brief}}"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">通知详情<span style="color: #FF0000">*</span></view>
|
|
|
|
|
+ <textarea class="input" style="height: 200rpx;" placeholder="请填写" name="detail"
|
|
|
|
|
+ value="{{messageInfo.detail}}"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">通知封图</view>
|
|
|
|
|
+ <imagePicker name="poster" max="1" image-width="450" image-height="215" value="{{messageInfo.poster}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block" style="margin-bottom: 20rpx;">
|
|
|
|
|
+ <view class="cate" style="align-self: flex-start;">通知图片</view>
|
|
|
|
|
+ <imagePicker name="photo" max="9" image-width="145" image-height="145" value="{{messageInfo.photo}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="block">
|
|
|
|
|
+ <view class="cate">链接</view>
|
|
|
|
|
+ <input class="input" placeholder="请填写" name="link" value="{{messageInfo.link}}" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view wx:if="{{messageId}}" class="block" style="margin-top: 20rpx;">
|
|
|
|
|
+ <view class="cate primary-text-color" style="align-self: flex-start;">消息通知</view>
|
|
|
|
|
+ <textarea class="input" style="height: 200rpx;" placeholder="提交后会以消息的形式通知关注者" name="notify"></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <myButton class="button" type="primary">提交</myButton>
|
|
|
|
|
+ </form>
|
|
|
|
|
+</scroll-view>
|
|
|
|
|
+
|
|
|
|
|
+<view wx:if="{{currentTab === 4}}" class="con">
|
|
|
|
|
+ <view class="con1 primary-text-color">{{messageId ? '修改' : '发布'}}成功!</view>
|
|
|
|
|
+ <image class="success-icon" src="../../images/finish.png" mode="aspectFill" />
|
|
|
|
|
+ <!-- <view class="con2"></view> -->
|
|
|
|
|
+ <myButton class="button" type="primary" bindtap="returnToPublisher">返回</myButton>
|
|
|
</view>
|
|
</view>
|