Senderinfor.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <template>
  2. <!-- 填写寄件人信息 -->
  3. <view class="back">
  4. <view class="info">
  5. <view class="item u-flex u-row-between">
  6. <text class="title">{{i18n.senderinfo}}</text>
  7. <view class="u-flex">
  8. <u-icon name="order" color="rgba(0, 0, 0, 0.6)" size="23"></u-icon>
  9. <text class="wx">{{i18n.wxAddress}}</text>
  10. </view>
  11. </view>
  12. <view class="item u-flex ">
  13. <text class="left">{{i18n.name}}</text>
  14. <view class="right">
  15. <input type="text" :placeholder="i18n.Fill" />
  16. </view>
  17. </view>
  18. <view class="item u-flex ">
  19. <text class="left">{{i18n.phone}}</text>
  20. <view class="right">
  21. <input type="text" :placeholder="i18n.Fill" />
  22. </view>
  23. </view>
  24. <view class="item u-flex ">
  25. <text class="left">{{i18n.city}}</text>
  26. <view class="right">
  27. <input type="text" :placeholder="i18n.selection" disabled="" />
  28. </view>
  29. </view>
  30. <view class="item u-flex ">
  31. <text class="left">{{i18n.detailed}}</text>
  32. <view class="right">
  33. <input type="area" :placeholder="i18n.Fill" disabled="" />
  34. </view>
  35. </view>
  36. <view class="item u-flex ">
  37. <input type="area" :placeholder="i18n.company" />
  38. </view>
  39. <!-- 默认地址 -->
  40. <view class="u-flex u-row-between" style="margin-top: 22rpx;">
  41. <view class="u-flex">
  42. <view class="">
  43. <u-checkbox-group v-model="checkboxValue1" placement="row" @change="checkboxChange">
  44. <u-checkbox shape='circle' :customStyle="{marginRight: '4px'}" :name="name">
  45. </u-checkbox>
  46. </u-checkbox-group>
  47. </view>
  48. <text class="clear">{{i18n.initial}}</text>
  49. </view>
  50. <text class="clear">
  51. {{i18n.empty}}
  52. </text>
  53. </view>
  54. </view>
  55. <view class="history">{{i18n.history}}</view>
  56. <view class="add">
  57. <view class="">
  58. <text class="name">陈盼盼</text>
  59. <text class="phone">176****3298</text>
  60. </view>
  61. <view class="addinfo">江苏省南京市浦口区浦口大道东方万汇城北区</view>
  62. </view>
  63. <view class="bottom">
  64. <view class="btn">
  65. {{i18n.enter}}
  66. </view>
  67. </view>
  68. </view>
  69. </template>
  70. <script>
  71. export default {
  72. data() {
  73. return {
  74. checkboxValue1: [],
  75. name: 1
  76. };
  77. },
  78. computed: {
  79. i18n() {
  80. return this.$t('index')
  81. }
  82. },
  83. onShow() {
  84. uni.setNavigationBarTitle({
  85. title: this.i18n.goods
  86. })
  87. },
  88. methods: {
  89. checkboxChange(n) {
  90. console.log('change', n);
  91. }
  92. }
  93. }
  94. </script>
  95. <style lang="scss">
  96. .back {
  97. padding: 20rpx 24rpx;
  98. box-sizing: border-box;
  99. .bottom {
  100. width: 750rpx;
  101. height: 166rpx;
  102. background: #FFFFFF;
  103. position: fixed;
  104. bottom: 0;
  105. left: 0;
  106. padding: 18rpx 24rpx;
  107. box-sizing: border-box;
  108. .btn {
  109. width: 702rpx;
  110. height: 88rpx;
  111. background: #F83224;
  112. border-radius: 44rpx;
  113. font-family: PingFangSC, PingFang SC;
  114. font-weight: 500;
  115. font-size: 32rpx;
  116. color: #FFFFFF;
  117. line-height: 88rpx;
  118. text-align: center;
  119. font-style: normal;
  120. }
  121. }
  122. .add {
  123. width: 702rpx;
  124. // height: 160rpx;
  125. background: #FFFFFF;
  126. border-radius: 16rpx;
  127. padding: 24rpx;
  128. box-sizing: border-box;
  129. .addinfo {
  130. font-family: PingFangSC, PingFang SC;
  131. font-weight: 400;
  132. font-size: 24rpx;
  133. color: #222222;
  134. line-height: 34rpx;
  135. text-align: left;
  136. font-style: normal;
  137. }
  138. .name {
  139. font-family: PingFangSC, PingFang SC;
  140. font-weight: 500;
  141. font-size: 28rpx;
  142. color: #333333;
  143. line-height: 40rpx;
  144. text-align: left;
  145. font-style: normal;
  146. }
  147. .phone {
  148. font-family: SFPro, SFPro;
  149. font-weight: 400;
  150. font-size: 24rpx;
  151. color: #333333;
  152. line-height: 28rpx;
  153. text-align: left;
  154. font-style: normal;
  155. margin-left: 16rpx;
  156. }
  157. }
  158. .history {
  159. font-family: PingFangSC, PingFang SC;
  160. font-weight: 500;
  161. font-size: 30rpx;
  162. color: #333333;
  163. line-height: 42rpx;
  164. text-align: left;
  165. font-style: normal;
  166. margin: 28rpx 0 24rpx;
  167. }
  168. .info {
  169. padding: 28rpx 24rpx;
  170. box-sizing: border-box;
  171. width: 702rpx;
  172. // height: 742rpx;
  173. background: #FFFFFF;
  174. border-radius: 16rpx;
  175. .clear {
  176. font-family: PingFangSC, PingFang SC;
  177. font-weight: 400;
  178. font-size: 24rpx;
  179. color: #333333;
  180. line-height: 34rpx;
  181. text-align: left;
  182. font-style: normal;
  183. }
  184. .item {
  185. border-bottom: 2rpx solid rgba(151, 151, 151, 0.1);
  186. // height: 100rpx;
  187. min-height: 100rpx;
  188. padding: 20rpx 0;
  189. box-sizing: border-box;
  190. .title {
  191. font-family: PingFangSC, PingFang SC;
  192. font-weight: 600;
  193. font-size: 32rpx;
  194. color: #333333;
  195. line-height: 44rpx;
  196. text-align: left;
  197. font-style: normal;
  198. }
  199. .wx {
  200. font-family: PingFangSC, PingFang SC;
  201. font-weight: 400;
  202. font-size: 24rpx;
  203. color: #333333;
  204. line-height: 34rpx;
  205. text-align: left;
  206. font-style: normal;
  207. }
  208. .left {
  209. font-family: PingFangSC, PingFang SC;
  210. font-weight: 400;
  211. font-size: 28rpx;
  212. color: #222222;
  213. line-height: 40rpx;
  214. text-align: left;
  215. font-style: normal;
  216. width: 160rpx;
  217. }
  218. .right {
  219. font-family: PingFangSC, PingFang SC;
  220. font-weight: 400;
  221. font-size: 28rpx;
  222. color: #222222;
  223. line-height: 40rpx;
  224. text-align: left;
  225. font-style: normal;
  226. margin-left: 60rpx;
  227. }
  228. }
  229. }
  230. }
  231. </style>