公寓小程序端前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

33 lines
1.9 KiB

<!--subpages/eventAdd/add/add.wxml-->
<view class="bsPageCont">
<image class="bsImg" src="../../../images/bxBac.png" />
<image class="bsImg1" src="../../../images/icon_1.png" />
<view class="bxMessage">
<text style="font-weight: bold;font-size: 40rpx;">填写信息</text>
<text style="color: rgba(102,102,102,1);font-size: 26rpx;">请您填写相关问题</text>
</view>
<view class="bsCon2">
<view class="bxName">
<view class="bsSpan1"><text class="required">*</text> 报修物品</view>
<van-cell-group class="bxinput" border="{{false}}" >
<van-field model:value="{{ repairItem }}" placeholder="请输入" border="{{ false }}" bind:change="onChange" />
</van-cell-group>
</view>
<view class="bsSpan "><text class="required">*</text> 故障说明</view>
<textarea class="question-input" placeholder="请输入详细故障说明" bindinput="onInput" value="{{faultDescribe}}" maxlength="" />
<view class="bsSpan" style="margin-top: 15rpx;margin-left: 0rpx;">上传图片</view>
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead" bind:before-read="beforeRead" bind:delete="deleteData" max-count="3" />
</view>
<view class="bsCon3">
<view style="display: flex;">
<view class="bsSpan1"> <text class="required">*</text> 位置</view>
<van-radio-group value="{{positionType}}" bind:change="onChangeRadio" direction="horizontal">
<van-radio name="{{0}}">所住房间</van-radio>
<van-radio name="{{1}}">公共区域</van-radio>
</van-radio-group>
</view>
<textarea wx:if="{{positionType === 1}}" bind:input="onInputP" value="{{position}}" style="background-color:#f6f6f6;width: 96%;margin-top:24rpx;padding: 10rpx 10rpx 0rpx 10rpx;" placeholder="请输入位置信息"/>
</view>
<view style="height: 120rpx;"></view>
<view class="bsBtn" bindtap="repairSubmit">提交</view>
</view>