me.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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="list" color="#ff0505" size="40"></uni-icons>
  7. <text style="margin-top: 5px">任务管理</text>
  8. </view>
  9. </view>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. import utils from "@/utils/title.js";
  15. export default {
  16. components: {},
  17. data() {
  18. return {
  19. dynamicTitle: "日常管理",
  20. };
  21. },
  22. onLoad(option) {},
  23. created() {
  24. console.log("进");
  25. uni.setNavigationBarTitle({
  26. title: this.dynamicTitle,
  27. success: () => {
  28. console.log("修改标题成功");
  29. },
  30. fail: () => {
  31. console.log("修改标题失败");
  32. },
  33. complete: () => {
  34. console.log("修改标题结束__UNI__E1B5061");
  35. },
  36. });
  37. },
  38. mounted() {},
  39. methods: {
  40. Waereroter(url) {
  41. uni.navigateTo({
  42. url: "/pages/index/me/task/task",
  43. });
  44. },
  45. },
  46. };
  47. </script>
  48. <style scoped>
  49. /deep/.u-icon--right {
  50. flex-direction: row;
  51. align-items: center;
  52. justify-content: center;
  53. }
  54. </style>
  55. <style scoped lang="scss">
  56. .content {
  57. // padding: 15px;
  58. .border-customl {
  59. display: flex;
  60. flex-wrap: wrap;
  61. .border-boke {
  62. border: 1px solid #e5e5e5;
  63. width: 30%;
  64. height: 6rem;
  65. background: white;
  66. justify-content: center;
  67. display: flex;
  68. align-items: center;
  69. .sawda {
  70. position: absolute;
  71. display: grid;
  72. text-align: center;
  73. }
  74. }
  75. }
  76. }
  77. </style>