index.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <template>
  2. <view :style="{ minHeight: sys.windowHeight + 'px' }" :class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
  3. <tm-menubars title="" :shadow="0" :showback="false"></tm-menubars>
  4. <view class="C1b1b1b">
  5. <tm-search v-model="keyword" color="white" confirm-text="" @click="sosoFun"></tm-search>
  6. <tm-tabs align="left" class="qiehuan1 pb-20" v-model="activeIndex" :list="list" range-key="title"></tm-tabs>
  7. </view>
  8. <div class="zhuti">
  9. <tm-sheet class="kuang" style="padding-bottom: 50px !important;">
  10. <view style="width: 98%;margin:0 auto;">
  11. <view class="pb-20" style="display: flex;align-items: center;">
  12. <image class="out_pic" src="../../static/img/59.png" mode="widthFix" lazy-load></image>
  13. <text class="out_title">出库列表</text>
  14. </view>
  15. <view class="out_content" v-for="item in outList" :key="item.id">
  16. <image src="../../static/img/45.png" mode="widthFix" style="width:280rpx;height: 120rpx;">
  17. </image>
  18. <view>
  19. <tm-listitem :font-size="32" :title="item.title" :label="item.time"></tm-listitem>
  20. </view>
  21. </view>
  22. </view>
  23. </tm-sheet>
  24. <tm-button :round="24" class="sao mb-40 mt-40" block @click="goback">全部取消</tm-button>
  25. </div>
  26. <!-- 弹出层消息 -->
  27. <tm-message ref="toast"></tm-message>
  28. </view>
  29. </template>
  30. <script>
  31. import {
  32. myRequest
  33. } from '@/api/request.js'
  34. export default {
  35. data() {
  36. return {
  37. outList: [{
  38. title: '女士合身长裤1111',
  39. time: '出库时间倒计时 00:59:59',
  40. },{
  41. title: '女士合身长裤1111',
  42. time: '出库时间倒计时 00:59:59',
  43. },{
  44. title: '女士合身长裤1111',
  45. time: '出库时间倒计时 00:59:59',
  46. },{
  47. title: '女士合身长裤1111',
  48. time: '出库时间倒计时 00:59:59',
  49. }],
  50. checked1: false,
  51. checked2: false,
  52. checked3: false,
  53. beizu: '',
  54. list: ['待取出', '已取出', '已失效'],
  55. activeIndex: 0,
  56. keyword: ''
  57. };
  58. },
  59. onLoad() {
  60. },
  61. created() {
  62. this.sys = uni.getSystemInfoSync();
  63. },
  64. methods: {
  65. goback(){
  66. uni.navigateBack();
  67. }
  68. },
  69. }
  70. </script>
  71. <style lang="scss">
  72. /deep/ .tm-menubars .body {
  73. background-color: #1b1b1b !important;
  74. }
  75. .xiangji image {
  76. width: 30px;
  77. height: 22px;
  78. }
  79. .suosou image {
  80. width: 40px;
  81. }
  82. /deep/ .icon-search {
  83. font-size: 23px !important;
  84. color: #8E8E93 !important;
  85. }
  86. /deep/ .tm-search {
  87. width: 94%;
  88. margin: 0 auto;
  89. background-color: #414141 !important;
  90. border-radius: 10px;
  91. }
  92. /deep/ .tm-search .grey-darken-5 {
  93. background-color: #414141 !important;
  94. }
  95. /deep/ .zhuti {
  96. padding: 10px 10px;
  97. }
  98. /deep/ .kuang {
  99. margin: 0 !important;
  100. padding: 20rpx 0rpx 0rpx !important;
  101. }
  102. /deep/ .qiehuan1 .text-primary {
  103. color: white !important;
  104. }
  105. .touxiang {
  106. width: 100%;
  107. margin: 0 auto;
  108. display: block;
  109. margin-top: 20px;
  110. }
  111. .out_pic {
  112. width: 50rpx;
  113. height: 50rpx;
  114. margin-right: 15rpx;
  115. }
  116. .out_title {
  117. font-weight: bold;
  118. color: #ffffff;
  119. font-size: 28rpx;
  120. }
  121. .out_content {
  122. margin: 20rpx 0rpx 0rpx;
  123. display: flex;
  124. box-sizing: border-box;
  125. justify-content: flex-start;
  126. }
  127. /deep/.tm-listitem .mx-32 {
  128. margin: 0 !important;
  129. }
  130. /deep/ .tm-listitem .py-20 {
  131. padding: 0rpx 20rpx !important;
  132. }
  133. /deep/ .tm-listitem .pt-4 {
  134. padding-top: 18px !important;
  135. }
  136. /deep/ .tm-listitem .pb-4 {
  137. padding-bottom: 0px !important;
  138. }
  139. /deep/ .tm-listitem .flex-between {
  140. align-items: flex-end !important;
  141. }
  142. /deep/ .tm-listitem .text-grey-lighten-1 {
  143. color: #8d8d8d !important
  144. }
  145. </style>