buySellDetail.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <template>
  2. <view class="content">
  3. <view class="top-status">
  4. 待支付
  5. </view>
  6. <view class="good-info">
  7. <view class="good-img-tit flex">
  8. <image src="" mode="" class="good-img"></image>
  9. <view class="good-tit ">
  10. <view class="clamp2">
  11. 竹胎酵素健康饮健康生态竹胎酵素健康饮健康生态竹胎酵素健康饮健康生态竹胎酵素健康饮健康生态
  12. </view>
  13. <view class="good-time">
  14. 下单时间:2019-06-09
  15. </view>
  16. </view>
  17. </view>
  18. <view class="flex good-price">
  19. <view class="">
  20. 订单总价
  21. </view>
  22. <view class="">
  23. ¥699
  24. </view>
  25. </view>
  26. </view>
  27. <view class="user-info">
  28. <view class="top-tit">
  29. <view class="tit-t"></view>
  30. <view class="" style="display: inline-block;">
  31. 订单信息
  32. </view>
  33. </view>
  34. <view class="info-wrap">
  35. <view class="info-tit">
  36. 订单编号:
  37. </view>
  38. <view class="info-val">45875487854</view>
  39. </view>
  40. <view class="info-wrap">
  41. <view class="info-tit">
  42. 收款银行:
  43. </view>
  44. <view class="info-val">45875487854</view>
  45. </view>
  46. <view class="info-wrap">
  47. <view class="info-tit">
  48. 开户行:
  49. </view>
  50. <view class="info-val">45875487854</view>
  51. </view>
  52. <view class="info-wrap">
  53. <view class="info-tit">
  54. 开户名:
  55. </view>
  56. <view class="info-val">45875487854</view>
  57. <view class="fz" @click="fz()">
  58. 复制
  59. </view>
  60. </view>
  61. <view class="info-wrap">
  62. <view class="info-tit">
  63. 银行卡号:
  64. </view>
  65. <view class="info-val">45875487854</view>
  66. <view class="fz" @click="fz()">
  67. 复制
  68. </view>
  69. </view>
  70. <view class="info-wrap">
  71. <view class="info-tit">
  72. 支付宝账号:
  73. </view>
  74. <view class="info-val">45875487854</view>
  75. <view class="fz" @click="fz()">
  76. 复制
  77. </view>
  78. </view>
  79. <view class="info-wrap">
  80. <view class="info-tit">
  81. 微信收款码:
  82. </view>
  83. <image src="" mode="" class="info-img"></image>
  84. </view>
  85. <view class="info-wrap">
  86. <view class="info-tit">
  87. 卖家电话:
  88. </view>
  89. <view class="info-val">45875487854</view>
  90. <view class="fz" @click="fz()">
  91. 复制
  92. </view>
  93. </view>
  94. </view>
  95. <view class="up-wrap">
  96. <view class="up-tit">
  97. 上传凭证
  98. </view>
  99. <image src="../../static/img/upimg.png" mode="" class="upimg" v-if="upimg == ''" @click="imgsub()"></image>
  100. <image src="" mode="" class="upimg" v-else @click="imgsub()"></image>
  101. </view>
  102. <view class="apply-wrap">
  103. <view class="apply-btn">
  104. 立即支付
  105. </view>
  106. </view>
  107. </view>
  108. </template>
  109. <script>
  110. import { upload} from '@/api/order.js';
  111. export default {
  112. data() {
  113. return {
  114. upimg: '',
  115. }
  116. },
  117. methods: {
  118. imgsub() {
  119. console.log('imgsub');
  120. upload({
  121. filename: ''
  122. }).then(data => {
  123. this.upimg = data[0].url;
  124. // this.$set(this, text, data[0].url)
  125. });
  126. },
  127. }
  128. }
  129. </script>
  130. <style lang='scss' scoped>
  131. .top-status {
  132. width: 750rpx;
  133. height: 89rpx;
  134. line-height: 89rpx;
  135. padding-left: 20rpx;
  136. background: #FFFFFF;
  137. font-size: 32rpx;
  138. font-family: PingFang SC;
  139. font-weight: bold;
  140. color: #FF4C4C;
  141. line-height: 56rpx;
  142. }
  143. .good-info {
  144. width: 750rpx;
  145. height: 253rpx;
  146. padding: 30rpx;
  147. background: #FFFFFF;
  148. margin: 20rpx 0;
  149. .good-price {
  150. font-size: 26rpx;
  151. font-family: PingFangSC;
  152. font-weight: 500;
  153. color: #333333;
  154. padding-top: 10rpx;
  155. }
  156. .good-img-tit {
  157. justify-content: flex-start;
  158. .good-img {
  159. width: 160rpx;
  160. height: 160rpx;
  161. flex-shrink: 0;
  162. background-color: #eee;
  163. }
  164. .good-tit {
  165. height: 160rpx;
  166. padding: 20rpx 0 0;
  167. flex-shrink: 0;
  168. padding-left: 20rpx;
  169. width: 450rpx;
  170. font-size: 26rpx;
  171. font-family: PingFang SC;
  172. font-weight: 400;
  173. color: #1D2023;
  174. line-height: 40rpx;
  175. display: flex;
  176. flex-direction: column;
  177. justify-content: space-between;
  178. .good-time {
  179. font-size: 22rpx;
  180. font-family: PingFang SC;
  181. font-weight: 400;
  182. color: #999999;
  183. }
  184. }
  185. }
  186. }
  187. .user-info {
  188. padding: 20rpx 30rpx;
  189. background-color: #fff;
  190. margin: 20rpx 0;
  191. .top-tit {
  192. padding-bottom: 20rpx;
  193. .tit-t {
  194. margin-right: 8rpx;
  195. display: inline-block;
  196. width: 3rpx;
  197. height: 25rpx;
  198. background: linear-gradient(0deg, #FA2740, #FE5544);
  199. border-radius: 2rpx;
  200. font-size: 30rpx;
  201. font-family: PingFangSC;
  202. font-weight: 500;
  203. color: #333333;
  204. }
  205. }
  206. }
  207. .info-wrap {
  208. display: flex;
  209. justify-content: flex-start;
  210. align-items: flex-start;
  211. /* text-align: 80rpx; */
  212. font-size: 26rpx;
  213. font-family: PingFang SC;
  214. font-weight: 500;
  215. color: #666666;
  216. line-height: 56rpx;
  217. .info-img {
  218. width: 144rpx;
  219. height: 147rpx;
  220. background-color: #eee;
  221. }
  222. .info-tit {
  223. flex-shrink: 0;
  224. margin-right: 10rpx;
  225. }
  226. .fz {
  227. margin-left: 10rpx;
  228. text-align: center;
  229. width: 88rpx;
  230. height: 45rpx;
  231. line-height: 45rpx;
  232. background: #FFFFFF;
  233. border: 1px solid #DDDDDD;
  234. border-radius: 23rpx;
  235. }
  236. }
  237. .up-wrap {
  238. width: 750rpx;
  239. /* height: 229rpx; */
  240. background: #FFFFFF;
  241. padding: 20rpx 30rpx;
  242. .up-tit {
  243. font-size: 26rpx;
  244. font-family: PingFang SC;
  245. font-weight: 500;
  246. color: #666666;
  247. line-height: 56rpx;
  248. }
  249. .upimg {
  250. display: block;
  251. width: 150rpx;
  252. height: 150rpx;
  253. margin: auto;
  254. }
  255. }
  256. .apply-wrap {
  257. height: 200rpx;
  258. padding-top: 62rpx;
  259. .apply-btn {
  260. text-align: center;
  261. width: 560rpx;
  262. height: 80rpx;
  263. line-height: 80rpx;
  264. background: #E62129;
  265. border-radius: 40rpx;
  266. margin: auto;
  267. font-size: 30rpx;
  268. font-family: PingFang SC;
  269. font-weight: 500;
  270. color: #FFFFFF;
  271. }
  272. }
  273. </style>