news.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view class="content">
  3. <view class="border-customl">
  4. <view class="border-boke" @click="Waereroter">
  5. <view class="sawda">
  6. <uni-icons type="cart-filled" color="#ff0505" size="40"></uni-icons>
  7. <text style="margin-top: 5px">库位移动</text>
  8. </view>
  9. </view>
  10. <!-- <view class="border-boke" @click="Water">
  11. <view class="sawda">
  12. <uni-icons type="tune" color="#ff0505" size="40"></uni-icons>
  13. <text style="margin-top: 5px">库位越库</text>
  14. </view>
  15. </view> -->
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. import utils from "@/utils/title.js";
  21. export default {
  22. components: {},
  23. data() {
  24. return {
  25. dynamicTitle: "仓内管理",
  26. };
  27. },
  28. onLoad(option) {},
  29. created() {
  30. console.log("进");
  31. uni.setNavigationBarTitle({
  32. title: this.dynamicTitle,
  33. success: () => {
  34. console.log("修改标题成功");
  35. },
  36. fail: () => {
  37. console.log("修改标题失败");
  38. },
  39. complete: () => {
  40. console.log("修改标题结束");
  41. },
  42. });
  43. },
  44. mounted() {},
  45. methods: {
  46. Waereroter(url) {
  47. uni.navigateTo({
  48. // url: "/pages/index/news/movement/movement",
  49. url: "/pages/index/news/move/move",
  50. });
  51. },
  52. Water() {
  53. uni.navigateTo({
  54. url: "/pages/index/news/docking/docking",
  55. });
  56. },
  57. },
  58. };
  59. </script>
  60. <style scoped>
  61. /deep/.u-icon--right {
  62. flex-direction: row;
  63. align-items: center;
  64. justify-content: center;
  65. }
  66. </style>
  67. <style scoped lang="scss">
  68. .content {
  69. // padding: 15px;
  70. .border-customl {
  71. display: flex;
  72. flex-wrap: wrap;
  73. .border-boke {
  74. border: 1px solid #e5e5e5;
  75. width: 30%;
  76. height: 6rem;
  77. background: white;
  78. justify-content: center;
  79. display: flex;
  80. align-items: center;
  81. .sawda {
  82. position: absolute;
  83. display: grid;
  84. text-align: center;
  85. }
  86. }
  87. }
  88. }
  89. </style>