|
|
@@ -1,308 +1,295 @@
|
|
|
<!--pages/my/activity/activity.wxml-->
|
|
|
<view class="job-container">
|
|
|
- <view class="title">创建你的活动</view>
|
|
|
- <form class="form" action="">
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text>活动负责人</text>
|
|
|
- </view>
|
|
|
- <view class="input-box">
|
|
|
- <input class="input-label" disabled="true" type="text" model:value="{{user.vipname}}" placeholder="请输入活动负责人" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text>负责人联系电话</text>
|
|
|
+ <!--
|
|
|
+ <view class="title">创建你的活动</view>
|
|
|
+ <form class="form" action="">
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text>活动负责人</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <input class="input-label" disabled="true" type="text" model:value="{{user.vipname}}" placeholder="请输入活动负责人" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="input-box">
|
|
|
- <input class="input-label" disabled="true" type="text" model:value="{{teacherPhone}}" placeholder="请输入负责人联系电话" />
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text>负责人联系电话</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <input class="input-label" disabled="true" type="text" model:value="{{teacherPhone}}" placeholder="请输入负责人联系电话" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>活动标题</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>活动标题</text>
|
|
|
+ </view>
|
|
|
+ <textarea disabled="{{auditStatus == 1}}" class="input-textarea" maxlength="30" type="text" model:value="{{title}}" placeholder="请填写活动标题"></textarea>
|
|
|
</view>
|
|
|
- <textarea disabled="{{auditStatus == 1}}" class="input-textarea" maxlength="30" type="text" model:value="{{title}}" placeholder="请填写活动标题"></textarea>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>所属区域</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>所属区域</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box area">
|
|
|
+ <view class="section txt-color">
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="multiSelector" bindchange="areaChange" bindcolumnchange="MultiPickerAreaChange" value="{{multiIndex}}" range="{{multiArray}}" range-key="name">
|
|
|
+ <view class="picker">
|
|
|
+ <text>
|
|
|
+ {{multiArray[0][multiIndex[0]].name}} {{multiArray[1][multiIndex[1]].name}} {{multiArray[2][multiIndex[2]].name}}
|
|
|
+ </text>
|
|
|
+ <text class="iconfont icon-xiayibu font35 right-icon"></text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="input-box area">
|
|
|
- <view class="section txt-color">
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="multiSelector" bindchange="areaChange" bindcolumnchange="MultiPickerAreaChange" value="{{multiIndex}}" range="{{multiArray}}" range-key="name">
|
|
|
- <view class="picker">
|
|
|
- <text>{{multiArray[0][multiIndex[0]].name}} {{multiArray[1][multiIndex[1]].name}} {{multiArray[2][multiIndex[2]].name}}</text>
|
|
|
- <text class="iconfont icon-xiayibu font35 right-icon"></text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>活动地址</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <view class="section txt-color">
|
|
|
+ <view class="picker" bindtap="changeAddress">
|
|
|
+ <text>{{address ? address : '请填写活动地址'}}</text>
|
|
|
+ <view>
|
|
|
+ <image class="address-icon" src="{{appAssetsUrl2}}wjxy/mine/address-icon.png"></image>
|
|
|
+ 选择
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <!-- <view wx:else class="picker">
|
|
|
- 暂无
|
|
|
- <text class="iconfont icon-xiayibu font35 right-icon"></text>
|
|
|
- </view> -->
|
|
|
- </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>活动地址</text>
|
|
|
- </view>
|
|
|
- <view class="input-box">
|
|
|
- <view class="section txt-color">
|
|
|
- <view class="picker" bindtap="changeAddress">
|
|
|
- <text>{{address ? address : '请填写活动地址'}}</text>
|
|
|
- <view>
|
|
|
- <image class="address-icon" src="{{appAssetsUrl2}}wjxy/mine/address-icon.png"></image>选择
|
|
|
- </view>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>活动时间</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <view class="section txt-color picker-box">
|
|
|
+ <i class="iconfont1 icon-date date-icon"></i>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{startTimeDate}}" bindchange="startTimeBindDateChange">
|
|
|
+ <view wx:if="{{startTimeDate}}" class="picker">{{startTimeDate}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择日期</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{startTimeHS}}" bindchange="startTimeBindTimeChange">
|
|
|
+ <view wx:if="{{startTimeHS}}" class="picker">{{startTimeHS}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择时间</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <text>至</text>
|
|
|
+ <view class="section txt-color picker-box">
|
|
|
+ <i class="iconfont1 icon-date date-icon"></i>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{endTimeDate}}" bindchange="endTimeBindDateChange">
|
|
|
+ <view wx:if="{{endTimeDate}}" class="picker">{{endTimeDate}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择日期</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{endTimeHS}}" bindchange="endTimeBindTimeChange">
|
|
|
+ <view wx:if="{{endTimeHS}}" class="picker">{{endTimeHS}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择时间</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>活动时间</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>报名截止</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <view class="section txt-color picker-box">
|
|
|
+ <i class="iconfont1 icon-date date-icon"></i>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{registrationEndDate}}" bindchange="registrationEndBindDateChange">
|
|
|
+ <view wx:if="{{registrationEndDate}}" class="picker">{{registrationEndDate}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择日期</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{registrationEndHS}}" bindchange="registrationEndBindTimeChange">
|
|
|
+ <view wx:if="{{registrationEndHS}}" class="picker">{{registrationEndHS}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择时间</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="input-box">
|
|
|
- <view class="section txt-color picker-box">
|
|
|
- <i class="iconfont1 icon-date date-icon"></i>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{startTimeDate}}" bindchange="startTimeBindDateChange">
|
|
|
- <view wx:if="{{startTimeDate}}" class="picker">
|
|
|
- {{startTimeDate}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择日期</text>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{startTimeHS}}" bindchange="startTimeBindTimeChange">
|
|
|
- <view wx:if="{{startTimeHS}}" class="picker">
|
|
|
- {{startTimeHS}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择时间</text>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>集合时间</text>
|
|
|
</view>
|
|
|
- <text>至</text>
|
|
|
- <view class="section txt-color picker-box">
|
|
|
- <i class="iconfont1 icon-date date-icon"></i>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{endTimeDate}}" bindchange="endTimeBindDateChange">
|
|
|
- <view wx:if="{{endTimeDate}}" class="picker">
|
|
|
- {{endTimeDate}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择日期</text>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{endTimeHS}}" bindchange="endTimeBindTimeChange">
|
|
|
- <view wx:if="{{endTimeHS}}" class="picker">
|
|
|
- {{endTimeHS}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择时间</text>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <view class="input-box">
|
|
|
+ <view class="section txt-color picker-box">
|
|
|
+ <i class="iconfont1 icon-date date-icon"></i>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{meetingTimeDate}}" bindchange="meetingBindDateChange">
|
|
|
+ <view wx:if="{{meetingTimeDate}}" class="picker">{{meetingTimeDate}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择日期</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{meetingTimeHS}}" bindchange="meetingBindTimeChange">
|
|
|
+ <view wx:if="{{meetingTimeHS}}" class="picker">{{meetingTimeHS}}</view>
|
|
|
+ <view wx:else class="picker time">
|
|
|
+ <text>选择时间</text>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>报名截止</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text>活动费用</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <radio-group class="group" bindchange="freeRadioChange">
|
|
|
+ <label class="radio">
|
|
|
+ <radio disabled="{{auditStatus == 1}}" value="1" checked="{{isNeedVip == 1 ? true : false}}" />
|
|
|
+ 会员免费
|
|
|
+ </label>
|
|
|
+ <label class="radio">
|
|
|
+ <radio disabled="{{auditStatus == 1}}" value="0" checked="{{isNeedVip == 0 ? true : false}}" />
|
|
|
+ 不免费
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="input-box">
|
|
|
- <view class="section txt-color picker-box">
|
|
|
- <i class="iconfont1 icon-date date-icon"></i>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{registrationEndDate}}" bindchange="registrationEndBindDateChange">
|
|
|
- <view wx:if="{{registrationEndDate}}" class="picker">
|
|
|
- {{registrationEndDate}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择日期</text>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{registrationEndHS}}" bindchange="registrationEndBindTimeChange">
|
|
|
- <view wx:if="{{registrationEndHS}}" class="picker">
|
|
|
- {{registrationEndHS}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择时间</text>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="input-box">
|
|
|
+ <input style="width:500rpx;" disabled="{{auditStatus == 1}}" class="input-label" type="text" model:value="{{money}}" placeholder="请填写活动费用,如不收费填写0" />
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>集合时间</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text>是否推荐至首页</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <radio-group class="group" bindchange="recommendRadioChange">
|
|
|
+ <label class="radio">
|
|
|
+ <radio disabled="{{auditStatus == 1}}" value="1" checked="{{isTop == 1 ? true : false}}" />
|
|
|
+ 是
|
|
|
+ </label>
|
|
|
+ <label class="radio">
|
|
|
+ <radio disabled="{{auditStatus == 1}}" value="0" checked="{{isTop == 0 ? true : false}}" />
|
|
|
+ 否
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="input-box">
|
|
|
- <view class="section txt-color picker-box">
|
|
|
- <i class="iconfont1 icon-date date-icon"></i>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="date" start="2022-09-01" end="2025-09-01" value="{{meetingTimeDate}}" bindchange="meetingBindDateChange">
|
|
|
- <view wx:if="{{meetingTimeDate}}" class="picker">
|
|
|
- {{meetingTimeDate}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择日期</text>
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <picker disabled="{{auditStatus == 1}}" mode="time" start="00:00" end="23:59" value="{{meetingTimeHS}}" bindchange="meetingBindTimeChange">
|
|
|
- <view wx:if="{{meetingTimeHS}}" class="picker">
|
|
|
- {{meetingTimeHS}}
|
|
|
- </view>
|
|
|
- <view wx:else class="picker time">
|
|
|
- <text>选择时间</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text>标签选择</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <picker bindchange="labelPickerChange" style="width:100%;" value="{{labelListIndex}}" range="{{labelList}}" range-key='itemname'>
|
|
|
+ <view class="picker-label">
|
|
|
+ <text class="pla" wx:if="{{labelListIndex == null}}">请选择标签</text>
|
|
|
+ <text class="la" wx:else>{{labelList[labelListIndex].itemname}}</text>
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text>活动费用</text>
|
|
|
- </view>
|
|
|
- <view class="input-box">
|
|
|
- <radio-group class="group" bindchange="freeRadioChange">
|
|
|
- <label class="radio">
|
|
|
- <radio disabled="{{auditStatus == 1}}" value="1" checked="{{isNeedVip == 1 ? true : false}}" />会员免费
|
|
|
- </label>
|
|
|
- <label class="radio">
|
|
|
- <radio disabled="{{auditStatus == 1}}" value="0" checked="{{isNeedVip == 0 ? true : false}}" />不免费
|
|
|
- </label>
|
|
|
- </radio-group>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- wx:if="{{isNeedVip == 0}}" -->
|
|
|
- <view class="job-item">
|
|
|
- <view class="input-box">
|
|
|
- <input style="width:500rpx;" disabled="{{auditStatus == 1}}" class="input-label" type="text" model:value="{{money}}" placeholder="请填写活动费用,如不收费填写0" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text>是否推荐至首页</text>
|
|
|
- </view>
|
|
|
- <view class="input-box">
|
|
|
- <radio-group class="group" bindchange="recommendRadioChange">
|
|
|
- <label class="radio">
|
|
|
- <radio disabled="{{auditStatus == 1}}" value="1" checked="{{isTop == 1 ? true : false}}" />是
|
|
|
- </label>
|
|
|
- <label class="radio">
|
|
|
- <radio disabled="{{auditStatus == 1}}" value="0" checked="{{isTop == 0 ? true : false}}" />否
|
|
|
- </label>
|
|
|
- </radio-group>
|
|
|
-
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="input-box">
|
|
|
+ <input disabled="{{auditStatus == 1}}" class="input-label" type="text" model:value="{{willnum}}" placeholder="请输入最大参与报名人数" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text>标签选择</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text>负责老师</text>
|
|
|
+ </view>
|
|
|
+ <view class="input-box">
|
|
|
+ <input class="input-label" type="text" model:value="{{principal}}" placeholder="请输入负责老师姓名" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="input-box">
|
|
|
- <picker bindchange="labelPickerChange" style="width:100%;" value="{{labelListIndex}}" range="{{labelList}}" range-key='itemname'>
|
|
|
- <view class="picker-label">
|
|
|
- <text class="pla" wx:if="{{labelListIndex == null}}">请选择标签</text>
|
|
|
- <text class="la" wx:else>{{labelList[labelListIndex].itemname}}</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>
|
|
|
+ 活动封面缩略图
|
|
|
+ <text class="tip">(建议图片尺寸为:200*250)</text>
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="box flex-upload" data-index="0" bindtap="uploadHandle">
|
|
|
+ <image class="img" wx:if="{{thumbnailImg}}" src="{{thumbnailImg}}"></image>
|
|
|
+ <view wx:else class="upload-box">
|
|
|
+ <image class="upload-img" src="{{appAssetsUrl2}}wjxy/upload-img.png"></image>
|
|
|
+ <text class="upload-tip">点击上传封面</text>
|
|
|
</view>
|
|
|
- </picker>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="job-item">
|
|
|
- <view class="input-box">
|
|
|
- <input disabled="{{auditStatus == 1}}" class="input-label" type="text" model:value="{{willnum}}" placeholder="请输入最大参与报名人数" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text>负责老师</text>
|
|
|
- </view>
|
|
|
- <view class="input-box">
|
|
|
- <input class="input-label" type="text" model:value="{{principal}}" placeholder="请输入负责老师姓名" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>活动封面缩略图<text class="tip">(建议图片尺寸为:200*250)</text></text>
|
|
|
- </view>
|
|
|
- <view class="box flex-upload" data-index="0" bindtap="uploadHandle">
|
|
|
- <image class="img" wx:if="{{thumbnailImg}}" src="{{thumbnailImg}}"></image>
|
|
|
- <view wx:else class="upload-box">
|
|
|
- <image class="upload-img" src="{{appAssetsUrl2}}wjxy/upload-img.png"></image>
|
|
|
- <text class="upload-tip">点击上传封面</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>活动详情banner图<text class="tip">(建议图片尺寸为:200*250)</text></text>
|
|
|
- </view>
|
|
|
- <view class="box flex-upload" data-index="1" bindtap="uploadHandle">
|
|
|
- <image class="img" wx:if="{{bannerImg}}" src="{{bannerImg}}"></image>
|
|
|
- <view wx:else class="upload-box">
|
|
|
- <image class="upload-img" src="{{appAssetsUrl2}}wjxy/upload-img.png"></image>
|
|
|
- <text class="upload-tip">点击上传封面</text>
|
|
|
+ <view class="job-item">
|
|
|
+ <view class="label">
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>
|
|
|
+ 活动详情banner图
|
|
|
+ <text class="tip">(建议图片尺寸为:200*250)</text>
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="box flex-upload" data-index="1" bindtap="uploadHandle">
|
|
|
+ <image class="img" wx:if="{{bannerImg}}" src="{{bannerImg}}"></image>
|
|
|
+ <view wx:else class="upload-box">
|
|
|
+ <image class="upload-img" src="{{appAssetsUrl2}}wjxy/upload-img.png"></image>
|
|
|
+ <text class="upload-tip">点击上传封面</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text>活动详情</text>
|
|
|
- </view>
|
|
|
- <view class="box activity">
|
|
|
+ <view class="job-item">
|
|
|
<view class="label">
|
|
|
- <text>【活动介绍】</text>
|
|
|
- <textarea disabled="{{auditStatus == 1}}" class="activity-box" model:value="{{activityjs}}" name="" id="" cols="30" rows="10"></textarea>
|
|
|
+ <text>活动详情</text>
|
|
|
</view>
|
|
|
- <view class="label">
|
|
|
- <text>【活动要求】</text>
|
|
|
- <textarea disabled="{{auditStatus == 1}}" class="activity-box" model:value="{{activityyq}}" name="" id="" cols="30" rows="10"></textarea>
|
|
|
+ <view class="box activity">
|
|
|
+ <view class="label">
|
|
|
+ <text>【活动介绍】</text>
|
|
|
+ <textarea disabled="{{auditStatus == 1}}" class="activity-box" model:value="{{activityjs}}" name="" id="" cols="30" rows="10"></textarea>
|
|
|
+ </view>
|
|
|
+ <view class="label">
|
|
|
+ <text>【活动要求】</text>
|
|
|
+ <textarea disabled="{{auditStatus == 1}}" class="activity-box" model:value="{{activityyq}}" name="" id="" cols="30" rows="10"></textarea>
|
|
|
+ </view>
|
|
|
+ <view class="label">
|
|
|
+ <text>【注意事项】</text>
|
|
|
+ <textarea disabled="{{auditStatus == 1}}" class="activity-box" model:value="{{activitysx}}" name="" id="" cols="30" rows="10"></textarea>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
+ <view class="job-item">
|
|
|
<view class="label">
|
|
|
- <text>【注意事项】</text>
|
|
|
- <textarea disabled="{{auditStatus == 1}}" class="activity-box" model:value="{{activitysx}}" name="" id="" cols="30" rows="10"></textarea>
|
|
|
+ <text class="required">*</text>
|
|
|
+ <text>联系二维码</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="job-item">
|
|
|
- <view class="label">
|
|
|
- <text class="required">*</text>
|
|
|
- <text>联系二维码</text>
|
|
|
- </view>
|
|
|
- <input class="phone" type="text" model:value="{{contactInstructions}}" placeholder="请输入联系说明" />
|
|
|
- <view class="box flex-upload" data-index="2" bindtap="uploadHandle">
|
|
|
- <image class="img qrcode" wx:if="{{qrCodePicture}}" src="{{qrCodePicture}}"></image>
|
|
|
- <view wx:else class="upload-box">
|
|
|
- <image class="upload-img" src="{{appAssetsUrl2}}wjxy/upload-img.png"></image>
|
|
|
- <text class="upload-tip">点击上传二维码</text>
|
|
|
+ <input class="phone" type="text" model:value="{{contactInstructions}}" placeholder="请输入联系说明" />
|
|
|
+ <view class="box flex-upload" data-index="2" bindtap="uploadHandle">
|
|
|
+ <image class="img qrcode" wx:if="{{qrCodePicture}}" src="{{qrCodePicture}}"></image>
|
|
|
+ <view wx:else class="upload-box">
|
|
|
+ <image class="upload-img" src="{{appAssetsUrl2}}wjxy/upload-img.png"></image>
|
|
|
+ <text class="upload-tip">点击上传二维码</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ </form>
|
|
|
+ <view class="footer">
|
|
|
+ <button class="btn" bindtap="submit" wx:if="{{!activityId}}">提交预览</button>
|
|
|
+ <button class="btn" bindtap="cancel" wx:if="{{auditStatus == 0}}">取消活动</button>
|
|
|
+ <block wx:if="{{auditStatus == 1}}">
|
|
|
+ <view class="tip">活动审核通过,发布成功</view>
|
|
|
+ <button class="btn" bindtap="toApply">查看报名信息</button>
|
|
|
+ </block>
|
|
|
+ <block wx:if="{{auditStatus == 2}}">
|
|
|
+ <view class="error">{{detail.auditReason}} {{detail.auditTime}}</view>
|
|
|
+ <button class="btn" bindtap="submit">提交预览</button>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
- </form>
|
|
|
- <view class="footer">
|
|
|
- <button class="btn" bindtap="submit" wx:if="{{!activityId}}">提交预览</button>
|
|
|
- <button class="btn" bindtap="cancel" wx:if="{{auditStatus == 0}}">取消活动</button>
|
|
|
- <block wx:if="{{auditStatus == 1}}">
|
|
|
- <view class="tip">
|
|
|
- 活动审核通过,发布成功
|
|
|
- </view>
|
|
|
- <button class="btn" bindtap="toApply">查看报名信息</button>
|
|
|
- </block>
|
|
|
- <block wx:if="{{auditStatus == 2}}">
|
|
|
- <view class="error">
|
|
|
- <!-- detail.auditReason -->
|
|
|
- {{detail.auditReason}} {{detail.auditTime}}
|
|
|
- </view>
|
|
|
- <button class="btn" bindtap="submit">提交预览</button>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
+ -->
|
|
|
<!-- <button class="btn">取消活动</button>
|
|
|
<button class="btn">查看报名信息</button> -->
|
|
|
</view>
|