search.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <view class="login">
  3. <view class="content">
  4. <view class="border-customl">
  5. <view class="border-boke">
  6. <view class="sawda" @click="Waereroter">
  7. <uni-icons
  8. type="calendar-filled"
  9. color="#ff0505"
  10. size="45"></uni-icons>
  11. <text style="margin-top: 5px">出库</text>
  12. </view>
  13. </view>
  14. </view>
  15. <!-- 主体表单 -->
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. let _this;
  21. export default {
  22. data() {
  23. return { dynamicTitle: "出库" };
  24. },
  25. onLoad() {
  26. uni.setNavigationBarTitle({
  27. title: this.dynamicTitle,
  28. success: () => {
  29. console.log("修改标题成功");
  30. },
  31. fail: () => {
  32. console.log("修改标题失败");
  33. },
  34. complete: () => {
  35. console.log("修改标题结束");
  36. },
  37. });
  38. },
  39. mounted() {
  40. _this = this;
  41. //this.isLogin();
  42. },
  43. methods: {
  44. Waereroter() {
  45. uni.navigateTo({
  46. url: "/pages/index/search/Outbound/Outbound",
  47. });
  48. },
  49. },
  50. };
  51. </script>
  52. <style lang="scss" scoped>
  53. .border-customl {
  54. display: flex;
  55. flex-wrap: wrap;
  56. .border-boke {
  57. border: 1px solid #e5e5e5;
  58. width: 30%;
  59. height: 6rem;
  60. background: white;
  61. justify-content: center;
  62. display: flex;
  63. align-items: center;
  64. .sawda {
  65. position: absolute;
  66. display: grid;
  67. text-align: center;
  68. }
  69. }
  70. }
  71. </style>