diff --git a/pages/Initialization/index.vue b/pages/Initialization/index.vue index 8ba31b4..22de7b0 100644 --- a/pages/Initialization/index.vue +++ b/pages/Initialization/index.vue @@ -18,7 +18,7 @@ - + {{ item.name }} @@ -96,6 +96,13 @@ } menuIndex.value = index; }; + const clicktopright = (index:number) =>{ + if(index==2){ + uni.navigateTo({ + url: '/pages/login/login' + }); + } + } // 生命周期钩子 onLoad(() => { }); diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js index d0b9c10..aec2479 100644 --- a/unpackage/dist/dev/app-plus/app-service.js +++ b/unpackage/dist/dev/app-plus/app-service.js @@ -449,7 +449,6 @@ if (uni.restoreGlobal) { class: "title-img", src: _imports_0$i }), - vue.createCommentVNode(' 护理单元\r\n 开满郁金花的家 '), vue.createElementVNode("view", { class: "input-father" }, [ vue.createElementVNode("view", { class: "add" }, "+86"), vue.createElementVNode("view", { class: "shu" }), @@ -22062,9 +22061,16 @@ if (uni.restoreGlobal) { } menuIndex.value = index2; }; + const clicktopright = (index2) => { + if (index2 == 2) { + uni.navigateTo({ + url: "/pages/login/login" + }); + } + }; onLoad(() => { }); - const __returned__ = { darkFans, menuIndex, detailisopen, detailisopacity, iconList, iconTop, opendetail, changeMenu, storeroomindex }; + const __returned__ = { darkFans, menuIndex, detailisopen, detailisopacity, iconList, iconTop, opendetail, changeMenu, clicktopright, storeroomindex }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } @@ -22093,7 +22099,10 @@ if (uni.restoreGlobal) { null, vue.renderList($setup.iconTop, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ - vue.createElementVNode("view", { class: "top-card" }, [ + vue.createElementVNode("view", { + class: "top-card", + onClick: ($event) => $setup.clicktopright(index2) + }, [ vue.createElementVNode("image", { class: "top-card-img", src: item.url @@ -22105,7 +22114,7 @@ if (uni.restoreGlobal) { 1 /* TEXT */ ) - ]) + ], 8, ["onClick"]) ]); }), 128 diff --git a/unpackage/dist/dev/app-plus/pages/login/login.css b/unpackage/dist/dev/app-plus/pages/login/login.css index f2a9e9c..b01b196 100644 --- a/unpackage/dist/dev/app-plus/pages/login/login.css +++ b/unpackage/dist/dev/app-plus/pages/login/login.css @@ -1473,20 +1473,6 @@ uni-button.cuIcon.lg[data-v-bf1d6c35] { height: 6.25rem; margin-bottom: 4.0625rem; } -.backgroundContainer .title-font[data-v-e4e4508d] { - margin-top: 1.25rem; - font-size: 1.0625rem; - color: #333333; - font-weight: 600; -} -.backgroundContainer .title-text[data-v-e4e4508d] { - margin-left: 0.09375rem; - margin-top: 0.15625rem; - font-size: 0.71875rem; - color: #777777; - letter-spacing: 0.15625rem; - margin-bottom: 2.5rem; -} .backgroundContainer .input-father[data-v-e4e4508d] { height: 2.8125rem; width: 17.1875rem;