12345678910111213141516171819202122232425262728293031323334 |
- <form bindsubmit="setNews">
- <view class='white-block'>
- <view class="form-item">
- <view class="label">播报类型:</view>
- <picker bindchange="bindTypeChange" value="{{typeIdx}}" range="{{typeList}}" range-key="name">
- <view class="picker">{{typeList[typeIdx].name}}</view>
- </picker>
- </view>
- <view class="form-item" style="height:140rpx" wx:if="{{typeIdx==1}}">
- <view class="label">播报周期:</view>
- <checkbox-group bindchange="checkboxChange">
- <label wx:for="{{weekList}}" class="checkBox">
- <checkbox value="{{item.id}}" />
- <text>{{item.name}}</text>
- </label>
- </checkbox-group>
- </view>
- <view class="form-item" wx:if="{{typeIdx==1}}">
- <view class="label">时间:</view>
- <picker mode="time" value="{{time}}" start="00:00" end="23:59" bindchange="bindTimeChange">
- <view class="picker">{{time}}</view>
- </picker>
- </view>
- <view class="form-item content">
- <view class="label">播报内容:</view>
- <textarea name="news" placeholder="100字以内" maxlength="100" class="input-normal "></textarea>
- </view>
- <button class="button-normal" form-type="submit">发送</button>
- </view>
- </form>
|