index.wxml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <nav type="back" background-color="#46a9a4" title="账户管理" />
  2. <view class="top">
  3. <view class="top-figure">店铺首图</view>
  4. <upload bind:onChangeFile="changeFile" fileList="{{imageList}}" accept="image" maxCount="1" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}"></upload>
  5. <view class="top-deails">
  6. <view class="top-name">
  7. <view class="name">店铺名称:</view>
  8. <input bindblur="blur" type="text" class="input" data-name="storeName" value="{{storeName}}" placeholder="请输入店铺名称"></input>
  9. </view>
  10. <van-icon name="arrow" />
  11. </view>
  12. <view class="top-deails">
  13. <view class="top-name">
  14. <view class="name">人均消费:</view>
  15. <input bindblur="blur" type="text" class="input" data-name="perCapita" value="{{perCapita}}" placeholder="请输入人均消费"></input>
  16. </view>
  17. <van-icon name="arrow" />
  18. </view>
  19. <view class="top-deails">
  20. <view class="top-names">
  21. <view class="name">店铺简介:</view>
  22. <textarea bindblur="blur" type="text" class="input" data-name="desc" value="{{desc}}" placeholder="请输入店铺简介"></textarea>
  23. </view>
  24. </view>
  25. <view class="top-deails">
  26. <view class="top-name">
  27. <view class="name">店长名称:</view>
  28. <input bindblur="blur" type="text" class="input" data-name="name" value="{{name}}" placeholder="请输入店长名称"></input>
  29. </view>
  30. <van-icon name="arrow" />
  31. </view>
  32. <view class="top-deails">
  33. <view class="top-name">
  34. <view class="name">营业时间:</view>
  35. <input bindblur="blur" type="text" class="input" data-name="workingTime" value="{{workingTime}}" placeholder="请输入营业时间"></input>
  36. </view>
  37. <van-icon name="arrow" />
  38. </view>
  39. <view class="top-deails" bindtap="mobile">
  40. <view class="top-name">
  41. <view class="name">绑定手机号:</view>
  42. <!-- <input bindblur="blur" type="text" class="input" data-name="store.mobile" value="{{store.mobile}}" placeholder="绑定手机号"></input> -->
  43. <view class="content">{{store.mobile}}</view>
  44. </view>
  45. <van-icon name="arrow" />
  46. </view>
  47. <view class="top-deails">
  48. <view class="top-name">
  49. <view class="name">用户账号:</view>
  50. <view class="content">{{store.user.username}}</view>
  51. <!-- <input bindblur="blur" type="text" class="input" data-name="store.user.username" value="{{store.user.username}}" placeholder="用户账号"></input> -->
  52. </view>
  53. <van-icon name="arrow" />
  54. </view>
  55. <view class="top-deails" bindtap="password">
  56. <view class="top-name">
  57. <view class="name">重置密码:</view>
  58. <view class="content">{{store.user.password}}</view>
  59. <!-- <input bindblur="blur" type="text" class="input" data-name="store.user.password" value="{{store.user.password}}" placeholder="登录密码"></input> -->
  60. </view>
  61. <van-icon name="arrow" />
  62. </view>
  63. <view class="top-figure">店铺图片</view>
  64. <upload bind:onChangeFile="changeFiles" fileList="{{licenseList}}" accept="all" maxCount="9" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}"></upload>
  65. </view>
  66. <diy-editor width="100%" height="600rpx" insertPicture="{{true}}" placeholder="开始输入..." bind:Content="getHtml" bind:insertImage="insertImage" id="hf_editor" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}" />
  67. <!-- <diy-editor width="100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." data-field="{{field.key}}" bind:Content="getHtml" bind:insertImage="insertImage" id="editor{{field.key}}" /> -->
  68. <view class="bommon">
  69. <view class="bommon-name" bindtap="determine">确定</view>
  70. </view>