| | |
| | | <view class="repository relative"> |
| | | <view class="flex Ttop flex-column" style="width: 100%"> |
| | | <view class="flex" style="width: 100%"> |
| | | <view style="padding-left: 4rem"></view> |
| | | <view style="padding-left: 4rem"></view> |
| | | <view |
| | | class="flex flex-center flex-wrap" |
| | | style="width: 100%; flex-direction: column" |
| | | > |
| | | <view ></view> |
| | | <view ref="Rtop"> |
| | | <view></view> |
| | | <view ref="Rtop"> |
| | | <text class="login"></text> |
| | | <text |
| | | style=" |
| | |
| | | font-family: cursive; |
| | | font-weight: bold; |
| | | " |
| | | >中国医学人物知识库</text |
| | | >中国历代医学人物知识库</text |
| | | > |
| | | </view> |
| | | </view> |
| | |
| | | @confirm="toggleSearch" |
| | | type="text" |
| | | style=" |
| | | margin-left: 0.05rem; |
| | | margin-left: 0.16rem; |
| | | color: #2c2c2c; |
| | | flex: 1; |
| | | background-color: #fff; |
| | |
| | | <view |
| | | class="search-logo" |
| | | @click="toggleSearch" |
| | | style=" |
| | | background-color: #244a7b; |
| | | border-radius: 50%; |
| | | margin-top: -4rpx; |
| | | " |
| | | style="background-color: #244a7b; border-radius: 50%" |
| | | ></view> |
| | | </view> |
| | | <el-dropdown |
| | |
| | | >{{ item.name }}</span |
| | | > |
| | | <view |
| | | class="flex flex-content" |
| | | class="detailBtn flex flex-content" |
| | | style=" |
| | | width: 0.5rem; |
| | | height: 0.5rem; |
| | |
| | | import Footer1 from "@/components/footer/footer.vue"; |
| | | export default { |
| | | components: { |
| | | Footer1 |
| | | Footer1, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | 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 |
| | | name: "历代人物", |
| | | id: 1, |
| | | }, |
| | | { |
| | | name: "世医医家数据库", |
| | | id: 2 |
| | | name: "家学传承", |
| | | id: 2, |
| | | }, |
| | | { |
| | | name: "中医学术流派", |
| | | id: 3 |
| | | name: "学术图谱", |
| | | id: 6, |
| | | }, |
| | | { |
| | | name: "中医地域医谱", |
| | | id: 4 |
| | | name: "学术流派", |
| | | id: 3, |
| | | }, |
| | | { |
| | | name: "中医医事制度", |
| | | id: 5 |
| | | } |
| | | ] |
| | | name: "地域图谱", |
| | | id: 4, |
| | | }, |
| | | // { |
| | | // name: "中医医事制度", |
| | | // id: 5 |
| | | // } |
| | | ], |
| | | }; |
| | | }, |
| | | onLoad() { |
| | | |
| | | uni.getSystemInfo({ |
| | | success: function (info) { |
| | | // console.log('屏幕的宽度:' + info.windowWidth); |
| | | // console.log('屏幕的高度:' + info.windowHeight); |
| | | } |
| | | }, |
| | | }); |
| | | }, |
| | | mounted() { |
| | |
| | | // 搜索 |
| | | onSearch(val) { |
| | | uni.navigateTo({ |
| | | url: "/pages/knowledgeBase/knowledgeBase?keyword=" + val.text |
| | | url: "/pages/knowledgeBase/knowledgeBase?keyword=" + val.text, |
| | | }); |
| | | }, |
| | | // 搜索 |
| | |
| | | if (this.searchInput.trim() !== "") { |
| | | uni.navigateTo({ |
| | | url: |
| | | "/pages/knowledgeBase/knowledgeBase?keyword=" + this.searchInput |
| | | "/pages/knowledgeBase/knowledgeBase?keyword=" + this.searchInput, |
| | | }); |
| | | } |
| | | this.searchInput = ""; |
| | |
| | | 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", |
| | | }); |
| | | } |
| | | }, |
| | |
| | | // token 不存在 |
| | | this.isCommand = false; |
| | | uni.navigateTo({ |
| | | url: "/pages/Login/Login" |
| | | url: "/pages/Login/Login", |
| | | }); |
| | | } |
| | | } else if (index == 3) { |
| | |
| | | handleCommand(int) { |
| | | if (int == 1) { |
| | | uni.navigateTo({ |
| | | url: "/pages/changePassword/changePassword" |
| | | url: "/pages/changePassword/changePassword", |
| | | }); |
| | | } else if (int == 2) { |
| | | uni.showModal({ |
| | |
| | | //退出成功!并跳转到其他页面 |
| | | this.$message.success("退出成功"); |
| | | uni.reLaunch({ |
| | | url: "/pages/Login/Login" |
| | | url: "/pages/Login/Login", |
| | | }); |
| | | }); |
| | | } |
| | | } |
| | | }, |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | |
| | | height: 80% !important; |
| | | } |
| | | |
| | | .Search ::v-deep .ffff { |
| | | opacity: 0.8; |
| | | } |
| | | |
| | | .Search ::v-deep .ffff:focus-within { |
| | | opacity: 1; |
| | | } |
| | | |
| | | ::v-deep .searchBg { |
| | | width: 0.35rem; |
| | | height: 0.35rem; |
| | |
| | | } |
| | | } |
| | | |
| | | /* .Bbottom { |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | } */ |
| | | ::v-deep .cleanupBtn { |
| | | right: 52px !important; |
| | | } |
| | | |
| | | .secretary li .detailBtn { |
| | | transition: translate 0.3s; |
| | | } |
| | | .secretary li .detailBtn:hover { |
| | | translate: 0 -5px; |
| | | } |
| | | </style> |