This commit is contained in:
Teng 2025-06-17 17:38:16 +08:00
parent 614cb78ed4
commit 9af399514c
3 changed files with 21 additions and 19 deletions

View File

@ -18,7 +18,7 @@
</view>
<view class="index-title-right">
<view v-for="(item,index) in iconTop" :key="index">
<view class="top-card">
<view class="top-card" @click="clicktopright(index)">
<image class="top-card-img" :src="item.url" />
<view class="top-card-font">
{{ item.name }}
@ -96,6 +96,13 @@
}
menuIndex.value = index;
};
const clicktopright = (index:number) =>{
if(index==2){
uni.navigateTo({
url: '/pages/login/login'
});
}
}
//
onLoad(() => {
});

View File

@ -449,7 +449,6 @@ if (uni.restoreGlobal) {
class: "title-img",
src: _imports_0$i
}),
vue.createCommentVNode(' <view class="title-font">护理单元</view>\r\n <view class="title-text">开满郁金花的家</view> '),
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

View File

@ -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;