delivery.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <template>
  2. <view>
  3. <!-- 地址 -->
  4. <view class="cu-list menu card ">
  5. <view class="cu-item arrow" >
  6. <view class="content " style="padding: 36rpx 0;">
  7. <image style="width: 60rpx;" src="/static/publish.png" class="png" mode="widthFix"></image>
  8. <text class="text-black text-bold margin-left-10 text-lg" >新增收货地址</text>
  9. </view>
  10. </view>
  11. </view>
  12. <!-- 时间 -->
  13. <view class="card">
  14. <view class="cu-form-group" >
  15. <view class="title">时间选择</view>
  16. <picker mode="time" :value="time" start="09:01" end="21:01" @change="TimeChange">
  17. <view class="picker">
  18. {{time}}
  19. </view>
  20. </picker>
  21. </view>
  22. <view class="cu-form-group">
  23. <view class="title">日期选择</view>
  24. <picker mode="date" :value="date" start="2015-09-01" end="2020-09-01" @change="DateChange">
  25. <view class="picker">
  26. {{date}}
  27. </view>
  28. </picker>
  29. </view>
  30. </view>
  31. <view class="card" >
  32. <view class="text-center desc">
  33. <view class="text-df" >
  34. <text>物品重量</text>
  35. </view>
  36. <view class="padding-top-10 text-sm">
  37. <text>每单仅限1~2件,超重另外收费!超过2公斤,每公斤加1元</text>
  38. </view>
  39. </view>
  40. <view class="form" style="padding: 40rpx 30rpx;">
  41. <view class="basis-sm">
  42. <text>选择重量</text>
  43. </view>
  44. <view class="basis-lg">
  45. <input type="digit" placeholder="请选择物体重量" />
  46. </view>
  47. </view>
  48. </view>
  49. <view class="card padding-10" >
  50. <view class="form">
  51. <view class="basis-sm">
  52. <text>驿站</text>
  53. </view>
  54. <view class="basis-lg">
  55. <input type="text" placeholder="请输入物件所在驿站(必填)" />
  56. </view>
  57. </view>
  58. </view>
  59. <view class="card">
  60. <view class="cu-form-group margin-top">
  61. <textarea maxlength="-1" placeholder="请输入备注信息"></textarea>
  62. </view>
  63. </view>
  64. <!-- 上传短信截图 -->
  65. <view class="card">
  66. <view class="text-center padding-20">
  67. <text>请提供取件短信截图</text>
  68. </view>
  69. <view class="margin-bottom-30 margin-top-10">
  70. <u-upload :action="action" :file-list="fileList" ></u-upload>
  71. </view>
  72. </view>
  73. <view class="read">
  74. <u-checkbox v-model="isCheck" active-color="blue">
  75. <text>我已阅读并同意</text>
  76. <text class="text-red-btn">《小区代收免责协议》</text>
  77. </u-checkbox>
  78. </view>
  79. <view class="" style="height: 160rpx;">
  80. </view>
  81. <view class=" footer-fixed" >
  82. <view class="cu-btn flex text-lg bg-red-btn" style="padding: 46rpx 0;">
  83. 确认下单
  84. </view>
  85. </view>
  86. </view>
  87. </template>
  88. <script>
  89. export default {
  90. data() {
  91. return {
  92. //日期时间
  93. time: '12:01',
  94. date: '2018-12-25',
  95. //上传
  96. action: 'http://www.example.com/upload',
  97. fileList: [],
  98. //协议
  99. isCheck:false
  100. }
  101. },
  102. methods: {
  103. }
  104. }
  105. </script>
  106. <style lang="scss">
  107. .card{
  108. width: 700rpx;
  109. margin:20rpx auto 0rpx auto;
  110. border-radius: 10rpx;
  111. border-bottom: 1rpx solid #b6b6b6;
  112. box-sizing: border-box;
  113. background-color: #FFFFFF;
  114. }
  115. .read{
  116. width: 700rpx;
  117. margin:30rpx auto 0rpx auto;
  118. }
  119. .card:first-child{
  120. margin-top: 30rpx;
  121. }
  122. .card .form{
  123. padding: 30rpx;
  124. display: flex;
  125. .basis-sm{
  126. flex-basis: 30%;
  127. }
  128. .basis-lg{
  129. flex-basis: 70%;
  130. }
  131. }
  132. .desc{
  133. background-color: #59a5f0;color: #FFFFFF;margin-top: 20rpx;padding: 20rpx;
  134. }
  135. </style>