From e00361c6bcbb1a56f6dcda22b91bdfcb2736e263 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 26 七月 2024 15:56:27 +0800 Subject: [PATCH] 1 --- src/pages/index/index.vue | 143 +++++++++++++++++++++++------------------------ 1 files changed, 69 insertions(+), 74 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 10c5c47..cd477d6 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -150,7 +150,7 @@ import Footer1 from "@/components/footer/footer.vue"; export default { components: { - Footer1, + Footer1 }, data() { return { @@ -169,55 +169,55 @@ pass: "", checkPass: "", cellphoneORmailbox: "", - verifyCode: "", + verifyCode: "" }, // 鐧诲綍鐢ㄦ埛璐﹀彿 loginData: { // 璐﹀彿 loginID: "", - pass: "", + pass: "" }, // 閲嶇疆瀵嗙爜 resetDataPass: { cellphoneORmailbox: "", verifyCode: "", newPass: "", - checkPass: "", + checkPass: "" }, // 淇敼瀵嗙爜 amendDataPass: { loginID: "", originalPass: "", newPass: "", - checkPass: "", + checkPass: "" }, // 涔︾睄鏁版嵁 listData: [ { name: "鍘嗕唬浜虹墿", - id: 1, + id: 1 }, { name: "瀹跺浼犳壙", - id: 2, + id: 2 }, { name: "瀛︽湳鍥捐氨", - id: 6, + id: 6 }, { name: "瀛︽湳娴佹淳", - id: 3, + id: 3 }, { name: "鍦板煙鍥捐氨", - id: 4, - }, + id: 4 + } // { // name: "涓尰鍖讳簨鍒跺害", // id: 5 // } - ], + ] }; }, onLoad() { @@ -225,7 +225,7 @@ success: function (info) { // console.log('灞忓箷鐨勫搴︼細' + info.windowWidth); // console.log('灞忓箷鐨勯珮搴︼細' + info.windowHeight); - }, + } }); }, mounted() { @@ -236,7 +236,7 @@ // 鎼滅储 onSearch(val) { uni.navigateTo({ - url: "/pages/knowledgeBase/knowledgeBase?keyword=" + val.text, + url: "/pages/knowledgeBase/knowledgeBase?keyword=" + val.text }); }, // 鎼滅储 @@ -247,7 +247,7 @@ if (this.searchInput.trim() !== "") { uni.navigateTo({ url: - "/pages/knowledgeBase/knowledgeBase?keyword=" + this.searchInput, + "/pages/knowledgeBase/knowledgeBase?keyword=" + this.searchInput }); } this.searchInput = ""; @@ -260,30 +260,30 @@ if (item.id == 1) { uni.navigateTo({ // url: '/pages/character/detail?id=' + item.id - url: "/pages/character/index?id=" + item.id, + url: "/pages/character/index?id=" + item.id }); } else if (item.id == 2) { uni.navigateTo({ - url: "/pages/inherit/index?id=" + item.id, + url: "/pages/inherit/index?id=" + item.id }); // uni.navigateTo({ // url: '/pages/shiyiHome/shiyiHome' // }) } else if (item.id == 3) { uni.navigateTo({ - url: "/pages/academicGenres/index?id=" + item.id, + url: "/pages/academicGenres/index?id=" + item.id }); } else if (item.id == 4) { uni.navigateTo({ - url: "/pages/territory/territory?id=" + item.id, + url: "/pages/territory/territory?id=" + item.id }); } else if (item.id == 5) { uni.navigateTo({ - url: "/pages/TcmSystem/TcmSystem?id=" + item.id, + url: "/pages/TcmSystem/TcmSystem?id=" + item.id }); } else if (item.id == 6) { uni.navigateTo({ - url: "/pages/academicSchools/index", + url: "/pages/academicSchools/index" }); } }, @@ -315,7 +315,7 @@ // token 涓嶅瓨鍦� this.isCommand = false; uni.navigateTo({ - url: "/pages/Login/Login", + url: "/pages/Login/Login" }); } } else if (index == 3) { @@ -326,7 +326,7 @@ handleCommand(int) { if (int == 1) { uni.navigateTo({ - url: "/pages/changePassword/changePassword", + url: "/pages/changePassword/changePassword" }); } else if (int == 2) { uni.showModal({ @@ -343,15 +343,15 @@ //閫�鍑烘垚鍔燂紒骞惰烦杞埌鍏朵粬椤甸潰 this.$message.success("閫�鍑烘垚鍔�"); uni.reLaunch({ - url: "/pages/Login/Login", + url: "/pages/Login/Login" }); }); } - }, + } }); } - }, - }, + } + } }; </script> @@ -493,12 +493,11 @@ .secretary li { width: 1.3rem !important; height: 4rem !important; - - span { - width: 0.5rem !important; - height: 70% !important; - font-size: 0.25rem !important; - } + } + .secretary li span { + width: 0.5rem !important; + height: 70% !important; + font-size: 0.25rem !important; } .hua { @@ -558,12 +557,11 @@ .secretary li { width: 1.3rem !important; height: 4rem !important; - - span { - width: 0.5rem !important; - height: 70% !important; - font-size: 0.25rem !important; - } + } + .secretary li span { + width: 0.5rem !important; + height: 70% !important; + font-size: 0.25rem !important; } /* 楂樼骇鎼滅储 */ @@ -660,26 +658,24 @@ height: 100vh; color: #fff; +} +.container .repository { + width: 100% !important; + /* margin-top: 19px; */ + /* height: 68%; */ + display: flex; + flex-direction: column; + justify-content: space-around; + align-items: center; +} +.container .repository .Ttop { + margin-top: 0.38rem; + margin-bottom: 1.22rem; +} - .repository { - width: 100% !important; - /* margin-top: 19px; */ - /* height: 68%; */ - display: flex; - flex-direction: column; - justify-content: space-around; - align-items: center; - - .Ttop { - margin-top: 0.38rem; - margin-bottom: 1.22rem; - } - - .r-top { - font-size: 40rpx !important; - margin: 10rpx 0; - } - } +.container .repository .r-top { + font-size: 40rpx !important; + margin: 10rpx 0; } .login { @@ -735,22 +731,21 @@ /* flex-wrap: wrap; */ padding: 0 20px; text-align: center; - - li { - background-color: #fff; - color: black; - width: 1.6rem; - height: 4.8rem; - display: flex; - justify-content: center; - flex-direction: column; - align-items: center; - text-align: center; - background: #ebf4ff; - font-weight: 600; - margin: 0 0.21rem; - cursor: pointer; - } +} +.secretary li { + background-color: #fff; + color: black; + width: 1.6rem; + height: 4.8rem; + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; + text-align: center; + background: #ebf4ff; + font-weight: 600; + margin: 0 0.21rem; + cursor: pointer; } ::v-deep .cleanupBtn { -- Gitblit v1.9.1