index.vue 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <template>
  2. <view class="login">
  3. <view class="content">
  4. <!-- 头部logo -->
  5. <!-- <view class="header">
  6. <image :src="logoImage"></image>
  7. </view> -->
  8. <view class="header_title">
  9. <u-swiper
  10. :list="list3"
  11. indicator
  12. indicatorMode="line"
  13. circular></u-swiper>
  14. <!-- <text>欢迎使用WareWMS仓储管理系统</text> -->
  15. </view>
  16. <view class="dispan">
  17. <view class="border-customl">
  18. <view class="border-boke" @click="Waereroter">
  19. <view class="sawda">
  20. <uni-icons
  21. type="shop-filled"
  22. color="#ff0505"
  23. size="40"></uni-icons>
  24. <text style="margin-top: 5px">入库</text>
  25. </view>
  26. </view>
  27. </view>
  28. <!-- <view class="border-customl">
  29. <view class="border-boke" @click="roter">
  30. <view class="sawda">
  31. <u-icon name="shopping-cart" color="#ff0505" size="58"></u-icon>
  32. <text>扫描</text>
  33. </view>
  34. </view>
  35. </view> -->
  36. </view>
  37. <!-- 主体表单 -->
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. let _this;
  43. export default {
  44. data() {
  45. return {
  46. //logo图片 base64
  47. list3: ["/static/img2.jpg", "/static/imgg1.jpg"],
  48. };
  49. },
  50. onLoad() {
  51. // uni.hideBackButton();
  52. },
  53. mounted() {
  54. _this = this;
  55. this.GetBanner();
  56. },
  57. methods: {
  58. Waereroter() {
  59. uni.navigateTo({
  60. url: "/pages/Warehousing/index",
  61. });
  62. },
  63. roter() {
  64. uni.navigateTo({
  65. url: "/pages/new_file",
  66. });
  67. },
  68. GetBanner() {},
  69. },
  70. };
  71. </script>
  72. <style lang="scss" scoped>
  73. .dispan {
  74. // display: flex;
  75. .border-customl {
  76. display: flex;
  77. flex-wrap: wrap;
  78. .border-boke {
  79. border: 1px solid #e5e5e5;
  80. width: 30%;
  81. height: 6rem;
  82. background: white;
  83. justify-content: center;
  84. display: flex;
  85. align-items: center;
  86. .sawda {
  87. position: absolute;
  88. display: grid;
  89. text-align: center;
  90. }
  91. }
  92. }
  93. }
  94. </style>