金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.9 KiB

  1. <template>
  2. <view>
  3. <lf-nav title="物流详情" :showIcon="true"></lf-nav>
  4. <view class="top">
  5. <image class="img" src="https://picsum.photos/200/300" mode="aspectFill"></image>
  6. <view>已签收</view>
  7. </view>
  8. <view class="head">
  9. <view class="lf-flex">
  10. <image class="avatar" src="https://picsum.photos/200/300" mode="aspectFill"></image>
  11. <view class="name">邮政快递包裹 8374938754389</view>
  12. </view>
  13. <view class="copy" @click="copy">复制</view>
  14. </view>
  15. <view>
  16. <uni-steps :options="options" active-color="#15716E" direction="column" :active="0"></uni-steps>
  17. </view>
  18. <view style="height: 90rpx;"></view>
  19. </view>
  20. </template>
  21. <script>
  22. import uniSteps from '@/components/uni-steps/uni-steps.vue';
  23. export default {
  24. components: {
  25. uniSteps
  26. },
  27. data(){
  28. return {
  29. options: [
  30. {title:'[已签收] 09-09 08:28',desc:'到达【南宁邮件处理中心】'},
  31. {title:'[已签收] 09-09 08:28',desc:'到达【南宁邮件处理中心】'},
  32. {title:'[已签收] 09-09 08:28',desc:'到达【南宁邮件处理中心】'},
  33. {title:'[已签收] 09-09 08:28',desc:'到达【南宁邮件处理中心】'}]
  34. }
  35. },
  36. onLoad(){
  37. },
  38. methods: {
  39. copy(){
  40. uni.setClipboardData({
  41. data: '你好'
  42. })
  43. }
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped="scoped">
  48. .top{
  49. width: 750rpx;
  50. height: 100rpx;
  51. background: #15716E;
  52. display: flex;
  53. align-items: center;
  54. padding: 0 32rpx;
  55. font-size: 36rpx;
  56. color: #FFFFFF;
  57. .img{
  58. border-radius: 5rpx;
  59. width: 70rpx;
  60. height: 70rpx;
  61. margin-right: 20rpx;
  62. }
  63. }
  64. .head{
  65. width: 750rpx;
  66. height: 130rpx;
  67. display: flex;
  68. align-items: center;
  69. justify-content: space-between;
  70. padding: 0 32rpx;
  71. .avatar{
  72. width: 70rpx;
  73. height: 70rpx;
  74. border-radius: 50%;
  75. margin-right: 20rpx;
  76. }
  77. .name{
  78. font-size: 28rpx;
  79. color: #222222;
  80. }
  81. .copy{
  82. font-size: 28rpx;
  83. color: #777;
  84. }
  85. }
  86. </style>