index.vue 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <view class="login">
  3. <view class="content">
  4. <view class="dispan">
  5. <view class="border-customl">
  6. <view class="border-boke" @click="Waereroter">
  7. <view class="sawda">
  8. <view class="">
  9. <uni-icons
  10. type="shop-filled"
  11. color="#ff0505"
  12. size="40"></uni-icons>
  13. </view>
  14. <view style="margin-top: 5px">补码</view>
  15. </view>
  16. </view>
  17. <view class="border-boke" @click="Material">
  18. <view class="sawda">
  19. <view class="">
  20. <uni-icons
  21. type="gear-filled"
  22. color="#ff0505"
  23. size="40"></uni-icons>
  24. </view>
  25. <view style="margin-top: 5px">绑定料架号</view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <!-- 主体表单 -->
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. let _this;
  36. export default {
  37. components: {},
  38. data() {
  39. return {
  40. //logo图片 base64
  41. list3: ["/static/img2.jpg", "/static/imgg1.jpg"],
  42. };
  43. },
  44. onLoad() {},
  45. mounted() {
  46. _this = this;
  47. this.GetBanner();
  48. },
  49. methods: {
  50. Waereroter() {
  51. uni.navigateTo({
  52. url: "/pages/Warehousing/index",
  53. });
  54. },
  55. Material() {
  56. uni.navigateTo({
  57. url: "/pages/index/Material/Material",
  58. });
  59. },
  60. roter() {
  61. uni.navigateTo({
  62. url: "/pages/new_file",
  63. });
  64. },
  65. GetBanner() {},
  66. },
  67. };
  68. </script>
  69. <style lang="scss" scoped>
  70. .dispan {
  71. // display: flex;
  72. .border-customl {
  73. display: flex;
  74. flex-wrap: wrap;
  75. .border-boke {
  76. border: 1px solid #e5e5e5;
  77. width: 30%;
  78. height: 6rem;
  79. background: white;
  80. justify-content: center;
  81. display: flex;
  82. align-items: center;
  83. .sawda {
  84. position: absolute;
  85. display: flex;
  86. text-align: center;
  87. flex-direction: column;
  88. }
  89. }
  90. }
  91. }
  92. </style>