ship.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <template>
  2. <view class="page">
  3. <view class="tabBanner flex">
  4. <view class="tabItemBox flex">
  5. <view class="tahItem position-relative" v-for="(item,index) in taber">
  6. {{item.title}}
  7. <view class="actionIcon" v-if="action==index"></view>
  8. </view>
  9. </view>
  10. <view class="rightMoney flex">
  11. <image class="rightTipImg" src="../../static/index/index/icon01.png" mode="scaleToFill"></image>
  12. <text>123123123123.222s</text>
  13. </view>
  14. </view>
  15. <view class="itemList">
  16. <view class="item flex">
  17. <view class="itemLeft">
  18. <view class="name">
  19. </view>
  20. <view class="tip">
  21. </view>
  22. <view class="payMoney flex">
  23. <image class="payMoneyTIp" src="../../static/index/index/icon01.png" mode="widthFix"></image>
  24. <text>22</text>
  25. </view>
  26. </view>
  27. <view class="itemRight">
  28. <view class="tiptext">
  29. </view>
  30. <view class="moneyNum flex">
  31. <image class="moneyTIp" src="../../static/index/index/icon01.png" mode="widthFix"></image>
  32. <text>22</text>
  33. </view>
  34. <view class="buttom">
  35. 派遣飞船
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. data() {
  45. return {
  46. action:0,
  47. taber: [{
  48. title: '星级飞船',
  49. page: 1,
  50. limit: 10,
  51. loding: 'more',
  52. list: [],
  53. },
  54. {
  55. title: '我的飞船',
  56. page: 1,
  57. limit: 10,
  58. loding: 'more',
  59. list: [],
  60. }
  61. ]
  62. };
  63. },
  64. onLoad(options) {
  65. },
  66. onShow() {},
  67. methods: {
  68. }
  69. };
  70. </script>
  71. <style lang="scss" scoped>
  72. .page {
  73. min-height: calc(100vh - var(--window-bottom));
  74. line-height: 1;
  75. padding: 30rpx;
  76. }
  77. .tabBanner{
  78. position: sticky;
  79. .tabItemBox{
  80. .tahItem{
  81. .actionIcon{
  82. background: linear-gradient(268deg, rgba(244,177,228,0.99), #9D47C6, #5D289A);
  83. border-radius: 3px;
  84. width: 46rpx;
  85. height: 6rpx;
  86. }
  87. }
  88. }
  89. .rightMoney{
  90. .rightTipImg{
  91. width: 36rpx;
  92. height: 29rpx;
  93. }
  94. }
  95. }
  96. </style>