選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

excel.vue 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <template>
  2. <view class="wrapper">
  3. <view class="tabel">
  4. <view class="tr">
  5. <view class="th">仓库名称</view>
  6. <view class="th">设备类型</view>
  7. <view class="th">库存数量</view>
  8. <view class="th">剩余可用数量</view>
  9. </view>
  10. <view class="tr">
  11. <view class="td">黔通智联仓库1</view>
  12. <view class="td">2X储值卡</view>
  13. <view class="td">10000</view>
  14. <view class="td">100001</view>
  15. </view>
  16. <view class="tr">
  17. <view class="td">黔通智联仓库2</view>
  18. <view class="td">2X储值卡</view>
  19. <view class="td">10000</view>
  20. <view class="td">100001</view>
  21. </view>
  22. <view class="tr">
  23. <view class="td">黔通智联仓库3</view>
  24. <view class="td">2X储值卡</view>
  25. <view class="td">100022</view>
  26. <view class="td">10000</view>
  27. </view>
  28. <view class="tr">
  29. <view class="td">黔通智联仓库4</view>
  30. <view class="td">2X储值卡</view>
  31. <view class="td">188000</view>
  32. <view class="td">100001</view>
  33. </view>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. </script>
  39. <style>
  40. page {
  41. background: #eef7f7;
  42. }
  43. </style>
  44. <style scoped>
  45. .wrapper {
  46. padding: 30rpx;
  47. }
  48. .tabel {
  49. display: table;
  50. border-collapse: collapse;
  51. overflow-x: auto;
  52. word-break: keep-all;
  53. white-space: nowrap;
  54. background-color: #FFFFFF;
  55. font-size: 28rpx;
  56. width: 100%;
  57. }
  58. .tabel .tr {
  59. display: table-row;
  60. }
  61. .tabel .tr .th {
  62. display: table-cell;
  63. height: 72rpx;
  64. line-height: 72rpx;
  65. text-align: center;
  66. border: 1rpx solid #DDDDDD;
  67. border-right: none;
  68. border-bottom: none;
  69. background-color: #00B38B;
  70. color: #FFFFFF;
  71. font-weight: bold;
  72. box-sizing: border-box;
  73. }
  74. .tabel .tr .td {
  75. padding: 0rpx 10rpx;
  76. display: table-cell;
  77. height: 60rpx;
  78. line-height: 60rpx;
  79. text-align: center;
  80. border: 1rpx solid #DDDDDD;
  81. border-right: none;
  82. box-sizing: border-box;
  83. }
  84. </style>