take-order.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="page">
  3. <view class="card u-border-bottom">
  4. <text>{{vuex_orderInfo.store.shopName}}</text>
  5. <view class="">
  6. <view class="cuIcon cu-btn sm btn-icon">
  7. <u-icon name="phone-fill" color="#FF9447"></u-icon>
  8. </view>
  9. <view class="cuIcon cu-btn sm btn-icon margin-left-30">
  10. <u-icon name="map-fill" color="#FF9447"></u-icon>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="card" style="flex-direction: column;">
  15. <view class="center text-bold margin-50" style="font-size: 56rpx;">
  16. <text>2874</text>
  17. </view>
  18. <view class="cu-steps steps-arrow">
  19. <view class="cu-item" :class="index>1?'text-default':'text-base'" v-for="(item,index) in stepList" :key="index">
  20. <text style="font-size: 80rpx;margin-bottom: 20rpx;margin-right: 10rpx;" :class="'cuIcon-' + item.icon"></text>
  21. <text >{{item.name}}</text>
  22. </view>
  23. </view>
  24. <!-- <view class="step">
  25. <view class="">
  26. <image src="../../static/icon/step1.png" mode=""></image>
  27. <view>待付款</view>
  28. </view>
  29. <view class="">
  30. <image src="../../static/icon/step1.png" mode=""></image>
  31. <view>制作中</view>
  32. </view>
  33. <view class="">
  34. <image src="../../static/icon/step1.png" mode=""></image>
  35. <view>已完成</view>
  36. </view>
  37. </view> -->
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. export default {
  43. name: '',
  44. data() {
  45. return {
  46. stepList:[{
  47. name:'待付款',
  48. icon:'pay'
  49. },
  50. {
  51. name:'制作中',
  52. icon:'time'
  53. },
  54. {
  55. name:'已完成',
  56. icon:'goods'
  57. }]
  58. };
  59. }
  60. };
  61. </script>
  62. <style lang="scss" scoped>
  63. .cu-steps.steps-bottom .cu-item::before,
  64. .cu-steps.steps-bottom .cu-item::after {
  65. bottom: 20upx;
  66. top: initial;
  67. }
  68. .page{
  69. margin: 20rpx;
  70. }
  71. .text-default{
  72. color: #FF9447;
  73. }
  74. .btn-icon{
  75. background-color: rgba(255, 148, 71,.3);
  76. color: #FF9447;
  77. }
  78. .step{
  79. display: flex;
  80. justify-content: space-around;
  81. image{
  82. width: 88rpx;
  83. height: 88rpx;
  84. }
  85. }
  86. .card {
  87. padding: 30rpx;
  88. background-color: #FFFFFF;
  89. border-bottom: 1rpx solid #f1f1f1;
  90. display: flex;
  91. justify-content: space-between;
  92. }
  93. </style>