pub.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="wrap pb10">
  2. <i-solitaire-head class="mb10" community="{{community}}"></i-solitaire-head>
  3. <view class="form mb10">
  4. <view class="cell">
  5. <view class="cell-hd">标题:</view>
  6. <view class="cell-bd">
  7. <input class='cell-ipt' value="" bindinput="titleInput" type="text" placeholder="请输入标题"></input>
  8. </view>
  9. </view>
  10. <view class="cell-col">
  11. <text class="wordLimit text-gray">{{currentNoteLen|0}}/{{noteMaxLen}}</text>
  12. <textarea class='cell-textarea' bindinput="contentInput" maxlength="500" placeholder="内容" value=""></textarea>
  13. </view>
  14. <view class='cell-col'>
  15. <view class="tit">上传接龙图片(最多10张)</view>
  16. <view class='img-wrap'>
  17. <chooseImage imgMax="10" bind:on-changeImage="changeImg" bind:onChooseImage="chooseImage" token="{{token}}"></chooseImage>
  18. </view>
  19. </view>
  20. <view class="sub-tit weight fsz-30 p30">商品项目</view>
  21. <view class='cell-col'>
  22. <view class='video-wrap'>
  23. <view class="item" wx:for="{{goods}}" wx:key="id" wx:if="{{goods.length}}">
  24. <i-solitaire-good spuItem="{{item}}" type="2" bind:onSelect="deleteGoods" idx="{{index}}"></i-solitaire-good>
  25. </view>
  26. <navigator class="addBtn fsz-24" url="/lionfish_comshop/moduleA/solitaire/addGood">
  27. <text class="iconfont icon-tubiaozhizuomoban fsz-28"></text> 添加商品
  28. </navigator>
  29. </view>
  30. </view>
  31. <view class="sub-tit weight fsz-30 p30">活动设置</view>
  32. <view class="cell">
  33. <view class="cell-hd">开始时间:</view>
  34. <view class="cell-bd">
  35. <DateTimePicker bind:dateTimePicker="beginTimePicker" name='begintime' format='yyyy-MM-dd HH:mm:ss' placeholder="选择开始时间" />
  36. </view>
  37. </view>
  38. <view class="cell">
  39. <view class="cell-hd">结束时间:</view>
  40. <view class="cell-bd">
  41. <DateTimePicker bind:dateTimePicker="endTimePicker" name='endtime' format='yyyy-MM-dd HH:mm:ss' placeholder="选择结束时间" />
  42. </view>
  43. </view>
  44. </view>
  45. <view class="submit_button">
  46. <view class="span" bindtap='subForm'>发布接龙</view>
  47. </view>
  48. </view>