|
|
@ -4,7 +4,7 @@ |
|
|
|
<view class="form-section"> |
|
|
|
<view class="form-section"> |
|
|
|
<form> |
|
|
|
<form> |
|
|
|
<label :class="{ required: item.is_required }" v-for="(item, index) in event" :key="item.id"> |
|
|
|
<label :class="{ required: item.is_required }" v-for="(item, index) in event" :key="item.id"> |
|
|
|
<view>{{ item.event_name }}</view> |
|
|
|
<view>{{ item.event_name }}:</view> |
|
|
|
<input v-if="item.event_type === 1" v-model.trim="item.event_value" |
|
|
|
<input v-if="item.event_type === 1" v-model.trim="item.event_value" |
|
|
|
:placeholder="'请输入' + item.event_name" type="text"> |
|
|
|
:placeholder="'请输入' + item.event_name" type="text"> |
|
|
|
<input v-else-if="item.event_type === 4" v-model.trim="item.event_value" |
|
|
|
<input v-else-if="item.event_type === 4" v-model.trim="item.event_value" |
|
|
@ -346,13 +346,29 @@ export default { |
|
|
|
}; |
|
|
|
}; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.active-event { |
|
|
|
.activity-event { |
|
|
|
backrgound: #f5f5f5; |
|
|
|
backrgound: #f5f5f5; |
|
|
|
.form-section { |
|
|
|
.form-section { |
|
|
|
width: 690rpx; |
|
|
|
width: 690rpx; |
|
|
|
background: #fff; |
|
|
|
background: #fff; |
|
|
|
border-radius: 10rpx; |
|
|
|
border-radius: 10rpx; |
|
|
|
margin: 20rpx auto; |
|
|
|
margin: 20rpx auto; |
|
|
|
|
|
|
|
padding: 30rpx 40rpx; |
|
|
|
|
|
|
|
uni-label { |
|
|
|
|
|
|
|
padding: 0; |
|
|
|
|
|
|
|
margin-bottom: 26rpx; |
|
|
|
|
|
|
|
&:last-child { |
|
|
|
|
|
|
|
margin-bottom: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
input { |
|
|
|
|
|
|
|
// background: #f7f7f7; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
flex: 0 0 400rpx; |
|
|
|
|
|
|
|
margin-left: auto; |
|
|
|
|
|
|
|
border-radius: 10rpx; |
|
|
|
|
|
|
|
padding: 0 20rpx; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.activity-event .form-section uni-label uni-label { |
|
|
|
.activity-event .form-section uni-label uni-label { |
|
|
|