Commit e4846fc7 authored by denghr's avatar denghr

活动设置

parent 7f3f4c8c
......@@ -67,10 +67,18 @@
</el-form-item>
</el-col>
<el-col :span="14">
<el-form-item label="活动开始/结束时间" label-width="130px" style="padding-left:8px">
<el-date-picker v-model="formdata.starTimeStr" type = "datetime" placeholder = "开始时间" value-format=" yyyy-MM-dd HH:mm" format="yyyy-MM-dd HH:mm" :picker-options="pickerOptionsStart"></el-date-picker>
<span> - </span>
<el-date-picker v-model="formdata.endTimeStr" type = "datetime" placeholder = "结束时间" value-format=" yyyy-MM-dd HH:mm" format="yyyy-MM-dd HH:mm" :picker-options="pickerOptionsEnd"></el-date-picker>
<el-form-item label="活动开始/结束时间" label-width="130px" style="padding-left:8px" required>
<el-col :span="11">
<el-form-item prop="starTimeStr">
<el-date-picker v-model="formdata.starTimeStr" type = "datetime" placeholder = "开始时间" value-format=" yyyy-MM-dd HH:mm" format="yyyy-MM-dd HH:mm" :picker-options="pickerOptionsStart"></el-date-picker>
</el-form-item>
</el-col>
<el-col class="line" :span="2"><span style="padding-left:18px">-</span></el-col>
<el-col :span="11">
<el-form-item prop="endTimeStr">
<el-date-picker v-model="formdata.endTimeStr" type = "datetime" placeholder = "结束时间" value-format=" yyyy-MM-dd HH:mm" format="yyyy-MM-dd HH:mm" :picker-options="pickerOptionsEnd"></el-date-picker>
</el-form-item>
</el-col>
</el-form-item>
</el-col>
</el-row>
......@@ -219,6 +227,14 @@
numLimit: {
required: true,
message: '请输入参与人数',
},
starTimeStr:{
required: true,
message: '请输入起始时间',
},
endTimeStr:{
required: true,
message: '请输入结束时间',
}
},
newPeopelVisible:false,
......
......@@ -111,7 +111,7 @@
:headers="getHeaderWithToken"
:on-success="handleAvatarSuccess">
<img v-if="$utils.isString(form.background) && !$utils.isEmpty(form.background)" :src="form.background" style="width:200px;max-height:200px;">
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:100px;height: 100px;"></i>
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:100px;height: 100px;vertical-align: middle;"></i>
</el-upload>
</el-form-item>
<el-form-item label="按钮图片" prop="buttonImages" :style="{display:'block'}">
......@@ -122,7 +122,7 @@
:headers="getHeaderWithToken"
:on-success="handleBtnSuccess">
<img v-if="$utils.isString(form.buttonImages) && !$utils.isEmpty(form.buttonImages)" :src="form.buttonImages" style="width:100px;max-height:30px;">
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:100px;height: 100px;"></i>
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:100px;height: 100px;vertical-align: middle;"></i>
</el-upload>
</el-form-item>
<el-form-item label="跳转链接" prop="url">
......
......@@ -103,7 +103,7 @@
:headers="getHeaderWithToken"
:on-success="handleAvatarSuccess">
<img v-if="$utils.isString(form.picture) && !$utils.isEmpty(form.picture)" :src="form.picture" style="width:200px;max-height:200px;">
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:100px;height: 100px;"></i>
<i v-else class="el-icon-plus avatar-uploader-icon" style="lineHeight:100px;width:100px;height: 100px;vertical-align: middle;"></i>
</el-upload>
</el-form-item>
<el-form-item label="跳转链接" prop="url">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment