1个文件已删除
11个文件已修改
18个文件已添加
| | |
| | | @import '@/static/customicons.css'; |
| | | // 设置æ´ä¸ªé¡¹ç®çèæ¯è² |
| | | @import '@/static/initialize.css'; |
| | | |
| | | page { |
| | | background-color: #f5f5f5; |
| | | } |
| | |
| | | color: #333; |
| | | padding: 10px; |
| | | } |
| | | |
| | | </style> |
New file |
| | |
| | | Subproject commit bd37b0a842b37ab5e0eb016b82cd757c0cc7da2d |
New file |
| | |
| | | <template> |
| | | <view style="height: 100% ;"> |
| | | <view class="flex flex-center" style="margin: 20rpx 0;"> |
| | | <luanqing-search class="search_bar" @onSearch="onSearch" :buttonText="buttonText" :isSearchTrue="isSearchTrue"></luanqing-search> |
| | | <view class="" v-if="isAvancedTrue" @click="isAvancedClick" |
| | | style="color:#244A7B ;font-size: .12rem;margin-left: .31rem;cursor: pointer;">é«çº§æç´¢ ï¹</view> |
| | | </view> |
| | | <!-- é«çº§æç´¢ --> |
| | | <view class="" v-if="isAdvancedSearch" style="padding: 0 1.24rem; margin-bottom: .18rem;"> |
| | | <view style="background-color: #fff;padding: .29rem;" class=""> |
| | | <h3>é«çº§æç´¢</h3> |
| | | <MyForm @submit="onSubmit" :from="from" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import MyForm from '@/components/form/form.vue' |
| | | export default { |
| | | props:{ |
| | | isAvancedTrue:{ |
| | | type:Boolean, |
| | | default(){ |
| | | return true |
| | | } |
| | | },isSearchTrue:{ |
| | | type:Boolean, |
| | | default(){ |
| | | return true |
| | | } |
| | | },buttonText:{ |
| | | type:String, |
| | | default(){ |
| | | return 'æç´¢' |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | components: { |
| | | MyForm |
| | | }, |
| | | name: "advancedSearch", |
| | | data() { |
| | | return { |
| | | // é«çº§æç´¢æ¾ç¤º |
| | | isAdvancedSearch: false, |
| | | // é«çº§æç´¢ |
| | | from: { |
| | | from: [{ |
| | | type: 'input', |
| | | label: 'å§å', |
| | | name: 'name', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | label: 'æ§å«', |
| | | value: '', |
| | | name: 'sex', |
| | | options: [{ |
| | | label: 'ç·', |
| | | value: 'ç·' |
| | | }, |
| | | { |
| | | label: '女', |
| | | value: '女' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'èç³»', |
| | | name: 'phone', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'è¯ä»¶', |
| | | name: 'idNumber', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | label: 'ç¶æ', |
| | | name: 'state', |
| | | value: '', |
| | | options: [{ |
| | | label: 'æªç³è¯·', |
| | | value: 'æªç³è¯·' |
| | | }, |
| | | { |
| | | label: 'å·²ç³è¯·', |
| | | value: 'å·²ç³è¯·' |
| | | }, |
| | | { |
| | | label: 'å·²å é¤', |
| | | value: 'å·²å é¤' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | }; |
| | | }, |
| | | methods: { |
| | | isAvancedClick() { |
| | | this.isAdvancedSearch = !this.isAdvancedSearch |
| | | // this.$nextTick(() => { |
| | | |
| | | // var box1Height = document.querySelector('.fbox').offsetHeight; |
| | | // // let box2Height= document.querySelector('.fbox1').style.height = box1Height + 'px'; |
| | | // let box2Height = document.querySelector('.fbox1').offsetHeight |
| | | // console.log(box1Height, box2Height); |
| | | // if (box1Height <= box2Height) { |
| | | // document.querySelector('.fbox1').style.height = box1Height + 'px'; |
| | | // } |
| | | // }) |
| | | }, |
| | | onSearch(val) { |
| | | this.$emit('onSearch',val) |
| | | console.log(val); |
| | | }, |
| | | onSubmit(val) { |
| | | console.log(val); |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | .search_bar{ |
| | | width: 5rem; |
| | | height: .36rem; |
| | | } |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view class="BottomColumn flex flex-center"> |
| | | <view class="Bbar flex"> |
| | | <img style="display: block;margin-right: .22rem;width: .52rem;height: .52rem;" src="@/static/image/logo.png" alt="" srcset="" /> |
| | | <view class="font-family" style="color: #2C2C2C; font-size: .14rem;line-height: normal;font-weight: 600;"> |
| | | <view class=""> |
| | | 92017ä¸å½ä¸å»ç§å¦é¢ä¸å»è¯ä¿¡æ¯ç ç©¶æçæææäº¬ICPå¤ä¸æ¹å®å¤§ä¸æ¹ä¸æ¹ |
| | | </view> |
| | | <view class="">å°å:å京å¸ä¸ååºä¸ç´é¨å
åå°è¡16å·é®ç¼:100700 |
| | | çµè¯:8610-64089611Email:tcmbase@126.com</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name:"footer", |
| | | data() { |
| | | return { |
| | | |
| | | }; |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .BottomColumn { |
| | | position: fixed; |
| | | left: 0px; |
| | | bottom: 0px; |
| | | padding: .19rem 0; |
| | | width: 100%; |
| | | background-color: #e6eff8; |
| | | font-size: 10px; |
| | | color: #000; |
| | | |
| | | .Bbar { |
| | | img { |
| | | width: 60rpx; |
| | | height: 60rpx; |
| | | border-radius: 50%; |
| | | } |
| | | } |
| | | } |
| | | </style> |
New file |
| | |
| | | <template class=""> |
| | | <div> |
| | | <el-form size="mini" :inline="true" style="padding: 30rpx 30rpx 10rpx 30rpx" :model="from" |
| | | class="row demo-form-inline col-xs-12"> |
| | | <el-row :gutter="10"> |
| | | <el-form-item style="width: 30%;" v-for="(item, i) in from.from" :key="i" :label="item.label"> |
| | | <el-input v-if="item.type === 'input'" v-model="item.value" |
| | | :placeholder="item.label"></el-input> |
| | | <el-select v-else-if="item.type === 'select'" v-model="item.value" :placeholder="item.label"> |
| | | <el-option v-for="(option, optionIndex) in item.options" :key="optionIndex" |
| | | :label="option.label" :value="option.value"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <!-- å
¶ä»è¡¨å项çç¥ --> |
| | | <!-- <el-form-item style="display:block; "> --> |
| | | <view class="flex flex-center"> |
| | | |
| | | <el-button style="background-color: #244A7B;color: #fff;" size="mini" @click="handleSubmit">æäº¤</el-button> |
| | | <el-button type="info" plain size="mini" @click="handleReset">éç½®</el-button> |
| | | </view> |
| | | <!-- </el-form-item> --> |
| | | </el-row> |
| | | </el-form> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | props: ['from'], |
| | | methods: { |
| | | handleSubmit() { |
| | | this.$message({ |
| | | message: 'æ¥è¯¢æå', |
| | | type: 'success' |
| | | }) |
| | | const result = this.from.from.reduce((obj, item) => { |
| | | obj[item.name] = item.value |
| | | return obj |
| | | }, {}) |
| | | // æäº¤é»è¾ |
| | | this.$emit('submit', result) // åé submit äºä»¶ï¼å¹¶å°è¡¨åæ°æ®ä½ä¸ºåæ°ä¼ éç»ç¶ç»ä»¶ |
| | | }, |
| | | handleReset() { |
| | | this.from.from.forEach(item => { |
| | | item.value = '' |
| | | }) |
| | | // éç½®é»è¾ |
| | | // this.$emit('reset') // åé reset äºä»¶ç»ç¶ç»ä»¶ |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .el-form--inline .el-form-item { |
| | | margin-right: 0; |
| | | } |
| | | ::v-deep .el-form-item__content{ |
| | | width: 80%; |
| | | } |
| | | ::v-deep .el-form-item__content div{ |
| | | width: 100%; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <view> |
| | | <view class="NavTop flex" :style="{backgroundImage: 'url('+ bg + ')'}"> |
| | | <view class="" @click="menuNav = !menuNav"><img src="../../static/ä¸å»äººç©ç¥è¯åº0201/䏿¡æ .png" alt="" /></view> |
| | | <view class="flex" style="font-size: 24rpx;letter-spacing: 5rpx;"> |
| | | <view class="" style="width: .34rem;height: .34rem;" @click="menuNav = !menuNav"><img |
| | | style="width: 100%;height: 100%;" src="../../static/ä¸å»äººç©ç¥è¯åº0201/䏿¡æ .png" alt="" /></view> |
| | | <view class="flex" style="letter-spacing: 5rpx;"> |
| | | <view class="logo"></view> |
| | | <view class="" style="margin-left: 26rpx;font-size: 30rpx;font-family: cursive;font-weight: 900;">ä¸å»å»äºå¶åº¦ |
| | | <view class="" style="margin-left: .19rem;font-size: .24rem;font-family: cursive;font-weight: 900;"> |
| | | ä¸å»å»äºå¶åº¦ |
| | | </view> |
| | | </view> |
| | | <view class="NavTopr flex"> |
| | | <view class="search-container" style=""> |
| | | <view class="search-container" style="margin-right: .30rem;"> |
| | | <view :class="{ 'expanded': isExpanded ,'search-bar':isExpanded}"> |
| | | <input v-if="isExpanded" type="text" @blur="InputBlur" class="search-input" |
| | | v-model="searchInput" placeholder="请è¾å
¥æç´¢å
容" /> |
| | | <img style="background-color: #000;border-radius: 50%;margin-top: -4rpx;" class="search-logo" |
| | | @click="toggleSearch" src="@/static/image/search.png"></img> |
| | | <!-- <img |
| | | src=""></img> --> |
| | | <view class="search-logo" @click="toggleSearch" style="background-color: #000;border-radius: 50%;margin-top: -4rpx;"></view> |
| | | </view> |
| | | </view> |
| | | <!-- <img style="border-radius: 50%;display: inline-block;" src="../../static/image/search.png" alt="" /> --> |
| | | <img src="@/static/image/people.png" style="display: inline-block;" alt="" /> |
| | | <img src="@/static/image/question.png" alt="" /> |
| | | <img src="@/static/image/profile.svg" alt="" /> |
| | | <img src="@/static/image/quote.svg" style="margin-right: 0;" alt="" /> |
| | | </view> |
| | | </view> |
| | | <view class="mImage" :style="{backgroundImage: 'url('+ bg1 + ')'}"></view> |
| | |
| | | <!-- èæ¯ --> |
| | | <img class="leftListBgImage" src="@/static/image/leftListBg.png" alt="" /> |
| | | <view class="" style="position: relative;z-index: 999;"> |
| | | <view class="flex" style="justify-content: center;margin: 90rpx 0;"> |
| | | <view class="flex" style="justify-content: center;margin: .52rem 0 .46rem 0;"> |
| | | <img src="@/static/image/logo.png" style="width: 100rpx;height: 100rpx;"></img> |
| | | </view> |
| | | <el-menu default-active="1" active-text-color="#ffffff" class="el-menu-vertical-demo" |
| | |
| | | .NavTop { |
| | | /* background: url(@/static/image/topBg.png); */ |
| | | background-size: 100% 100%; |
| | | padding: 25rpx; |
| | | padding: .16rem .24rem; |
| | | color: #fff !important; |
| | | |
| | | img { |
| | | width: 30rpx; |
| | | height: 30rpx; |
| | | width: .1rem; |
| | | height: .1rem; |
| | | vertical-align: middle; |
| | | } |
| | | |
| | | .logo { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | width: .32rem; |
| | | height: .32rem; |
| | | background: url(@/static/image/logo.png) 0 0 no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | |
| | | vertical-align: top; |
| | | |
| | | img { |
| | | margin-right: 20rpx; |
| | | width: .34rem; |
| | | height: .34rem; |
| | | margin-right: .30rem; |
| | | vertical-align: middle; |
| | | } |
| | | } |
| | |
| | | |
| | | .mImage { |
| | | width: 100%; |
| | | height: 30rpx; |
| | | height: .2rem; |
| | | /* background-image: url(@/static/image/line.png); */ |
| | | background-size: cover; |
| | | /* èæ¯å¾çè¦çæ´ä¸ªå
ç´ */ |
| | |
| | | } |
| | | |
| | | .search-logo { |
| | | width: 30rpx; |
| | | width: .34rem; |
| | | /* logo徿 ç宽度 */ |
| | | height: 30rpx; |
| | | height: .34rem; |
| | | /* logo徿 çé«åº¦ */ |
| | | margin-left: 10rpx; |
| | | /* ä¸è¾å
¥æ¡ä¹é´çé´è· */ |
| | | cursor: pointer; |
| | | background-image: url(@/static/image/search.svg); |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .leftListBg { |
| | |
| | | ::v-deep .el-menu .is-active { |
| | | background-color: #244A7B !important; |
| | | border-radius: 30px; |
| | | |
| | | /* padding: 0 .14rem !important; */ |
| | | } |
| | | |
| | | .el-menu-item { |
| | | line-height: 40px; |
| | | height: 40px; |
| | | margin: 20rpx 0; |
| | | height: .34rem; |
| | | font-size: .16rem; |
| | | text-align: center; |
| | | font-weight: 500; |
| | | margin: .13rem .14rem !important; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | span { |
| | | vertical-align: top; |
| | | } |
| | | } |
| | | ::v-deep .el-dialog__body{ |
| | | padding-top: 0 !important; |
| | | } |
| | | |
| | | ::v-deep .el-dialog { |
| | | margin-top: 0 !important; |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | height: 100vh; |
| | | width: 500rpx; |
| | | width: 2.51rem; |
| | | } |
| | | |
| | | ::v-deep .el-dialog__header{ |
| | | display: none; |
| | | } |
| | | |
| | | /* ::v-deep .el-menu-vertical-demo */ |
| | | </style> |
| | |
| | | <template> |
| | | <div> |
| | | <el-table :max-height="height" :data="data" border> |
| | | <el-table :max-height="height" :data="data" > |
| | | <el-table-column min-width="110" :sort-method="sortAge" v-for="column in columns" :key="column.prop" :label="column.label" header-align="center"> |
| | | <template slot-scope="scope"> |
| | | <template slot-scope="scope" class="font-family"> |
| | | <template v-if="column.type === 'image'"> |
| | | <el-image :src="scope.row[column.prop]" alt="å 载失败"></el-image> |
| | | </template> |
| | |
| | | height: 70px; |
| | | } |
| | | /* 表头 */ |
| | | ::v-deep .el-table__header{ |
| | | margin-bottom: .02rem; |
| | | } |
| | | ::v-deep .el-table__header th { |
| | | background-color: #5879a4; |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | font-size: .14rem; |
| | | background-color: #597AA5; |
| | | color: white; /* 表头æåé¢è²ä¸ºç½è²ï¼å¢å 对æ¯åº¦ */ |
| | | margin-bottom: .02rem !important; |
| | | } |
| | | /* è¡¨æ ¼ */ |
| | | ::v-deep .el-table__body td { |
| | | background-color: #ebf3fe; |
| | | color: #000; |
| | | background-color:#DDE8F6; |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | font-size: .14rem; |
| | | color: #2C2C2C !important; |
| | | border-bottom: .02rem solid #fff; |
| | | } |
| | | /* ::v-deep .el-table__body { |
| | | border-bottom: .02rem solid #fff !important; |
| | | } */ |
| | | ::v-deep .el-table .el-table__cell{ |
| | | font-size: 9px; |
| | | padding: 0; |
| | |
| | | { |
| | | "name": "antd-demo", |
| | | "name": "TCM_CharacterLibrary", |
| | | "lockfileVersion": 2, |
| | | "requires": true, |
| | | "packages": { |
| | |
| | | { |
| | | "pages": [ { |
| | | "pages": [ |
| | | { |
| | | "path" : "pages/Login/Login", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "", |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | },{ |
| | | "path": "pages/index/index", |
| | | "style": { |
| | | // "navigationBarTitleText": "uni-app", |
| | |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/characterRelation/characterRelation", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "", |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/characterMap/characterMap", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "", |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | |
| | | { |
| | | "path" : "pages/Register/Register", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "", |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/forgetPass/forgetPass", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "", |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }], |
| | | "globalStyle": { |
| | | "navigationStyle": "custom" |
New file |
| | |
| | | <template> |
| | | <view class="container flex flex-center" style="align-items: flex-start;"> |
| | | <view class="repository relative"> |
| | | <view class="Ttop flex flex-center flex-wrap" style="flex-direction: column;"> |
| | | <view class=""></view> |
| | | <view class="" ref="Rtop"> |
| | | <text class="login"></text> |
| | | <text |
| | | style="font-size: .36rem;letter-spacing: 4rpx;vertical-align: middle;font-family: cursive;font-weight: bold;">ä¸å½å»å¦äººç©ç¥è¯åº</text> |
| | | </view> |
| | | <view></view> |
| | | </view> |
| | | <el-card> |
| | | <!-- ç¨æ·ç»å½ v-if="isLogin"--> |
| | | <view class="LoginTop" |
| | | style="display: flex; justify-content: space-between;margin-bottom: .47rem;align-items: center;"> |
| | | <!-- <view style="color: #244A7B;padding-bottom: .47rem;font-size: .3rem;font-weight: bold;">ç¨æ·ç»å½</view> --> |
| | | <view class="LoginBg"></view> |
| | | <view class=""> </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin1" label-position="top" :rules="rules1" |
| | | :model="loginData"> |
| | | <el-form-item label="ç»å½è´¦å·" prop="loginID"> |
| | | <el-input v-model="loginData.loginID"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç»å½å¯ç " prop="pass"> |
| | | <el-input v-model="loginData.pass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="btn"> |
| | | <el-button class="font-family" |
| | | style="margin-top: .47rem; font-weight:900;font-size: .3rem; width: 100%;background-color:#244A7B;color: #fff;padding: .16rem;" |
| | | size="medium" @click="Login('formLogin1')">ç»å½</el-button> |
| | | </el-form-item> |
| | | <view class="" style="display: flex;font-size: .14rem;color: #244A7B;"> |
| | | <view class="" style="display: inline-block;cursor: pointer;" @click="forgetPass">å¿è®°å¯ç |
| | | </view> |
| | | <view class="" style="display: inline-block;margin: 0 20rpx;"> | </view> |
| | | <view class="" style="display: inline-block;cursor: pointer;" @click="quickRegister">å¿«éæ³¨å |
| | | </view> |
| | | </view> |
| | | </el-form> |
| | | </el-card> |
| | | </view> |
| | | <view class="hua"></view> |
| | | <!-- åºé¨äººç©èæ¯å¾å·¦ä¾§ --> |
| | | <view class="fff"></view> |
| | | <!-- åºé¨è±çèæ¯å¾å³ä¾§ --> |
| | | <view class="rrr"></view> |
| | | |
| | | <Footer1 /> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | nextTick |
| | | } from "vue"; |
| | | import Footer1 from '@/components/footer/footer.vue' |
| | | export default { |
| | | components: { |
| | | Footer1 |
| | | }, |
| | | data() { |
| | | // å¯ç |
| | | var validatePass = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('请è¾å
¥å¯ç ')); |
| | | } else { |
| | | if (this.registerData.checkPass !== '') { |
| | | this.$nextTick(() => { |
| | | this.$refs.formLogin.validateField('checkPass'); |
| | | }); |
| | | } |
| | | callback(); |
| | | } |
| | | }; |
| | | // 确认å¯ç |
| | | var validatePass2 = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('è¯·åæ¬¡è¾å
¥å¯ç ')); |
| | | } else if (value !== this.registerData.pass) { |
| | | callback(new Error('两次è¾å
¥å¯ç ä¸ä¸è´!')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }; |
| | | return { |
| | | // ç¨æ·æ³¨å |
| | | isRegister: false, |
| | | // ç¨æ·ç»å½ |
| | | isLogin: true, |
| | | // ä¿®æ¹å¯ç |
| | | isAmendPass: false, |
| | | // éç½®å¯ç |
| | | isResetPass: false, |
| | | // 注åç¨æ·è´¦å·çæ ¡éª |
| | | rules: { |
| | | loginID: [{ |
| | | required: true, |
| | | message: '请è¾å
¥ç»å½è´¦å·', |
| | | trigger: 'blur' |
| | | }], |
| | | pass: [{ |
| | | required: true, |
| | | message: '请è¾å
¥å¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | min: 6, |
| | | max: 12, |
| | | message: 'å¯ç é¿åº¦å¨ 6 å° 12 个å符', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: validatePass, |
| | | trigger: 'blur' |
| | | } |
| | | ], |
| | | checkPass: [{ |
| | | validator: validatePass2, |
| | | trigger: 'blur' |
| | | }], |
| | | cellphoneORmailbox: [{ |
| | | required: true, |
| | | message: '请è¾å
¥é®ç®±å°å', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | type: 'email', |
| | | message: '请è¾å
¥æ£ç¡®çé®ç®±å°å', |
| | | trigger: ['blur', 'change'] |
| | | } |
| | | ], |
| | | verifyCode: [{ |
| | | required: true, |
| | | message: '请è¾å
¥éªè¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: (rule, value, callback) => this.validateVerificationCode(rule, value, callback), |
| | | trigger: 'blur' |
| | | } |
| | | ] |
| | | }, |
| | | rules1: { |
| | | loginID: [{ |
| | | required: true, |
| | | message: '请è¾å
¥ç»å½è´¦å·', |
| | | trigger: 'blur' |
| | | }], |
| | | pass: [{ |
| | | required: true, |
| | | message: '请è¾å
¥å¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | min: 6, |
| | | max: 12, |
| | | message: 'å¯ç é¿åº¦å¨ 6 å° 12 个å符', |
| | | trigger: 'blur' |
| | | } |
| | | ], |
| | | }, |
| | | |
| | | // ç»å½æ³¨åæ¡ |
| | | loginTrue: true, |
| | | Rtop1: 0, |
| | | value: 'sdfdsf', |
| | | // 注åç¨æ·å¯¹åºçæ°æ® |
| | | registerData: { |
| | | loginID: '', |
| | | pass: '', |
| | | checkPass: '', |
| | | cellphoneORmailbox: '', |
| | | verifyCode: '' |
| | | }, |
| | | // ç»å½ç¨æ·è´¦å· |
| | | loginData: { |
| | | // è´¦å· |
| | | loginID: '', |
| | | pass: '' |
| | | }, |
| | | // éç½®å¯ç |
| | | resetDataPass: { |
| | | cellphoneORmailbox: '', |
| | | verifyCode: "", |
| | | newPass: "", |
| | | checkPass: "" |
| | | }, |
| | | // ä¿®æ¹å¯ç |
| | | amendDataPass: { |
| | | loginID: '', |
| | | originalPass: "", |
| | | newPass: "", |
| | | checkPass: "" |
| | | }, |
| | | // ä¹¦ç±æ°æ® |
| | | listData: [{ |
| | | name: 'å代å»å®¶ä¼ è®°åº', |
| | | id: 1, |
| | | }, { |
| | | name: 'ä¸å»å»å®¶åº', |
| | | id: 2, |
| | | }, { |
| | | name: 'å»å¦å¦æ¯æµæ´¾', |
| | | id: 3, |
| | | }, { |
| | | name: 'ä¸å½å°åå»è°±', |
| | | id: 4, |
| | | }, { |
| | | name: 'ä¸å½å»äºå¶åº¦', |
| | | id: 5, |
| | | }, |
| | | |
| | | ] |
| | | } |
| | | }, |
| | | onLoad() { |
| | | uni.getSystemInfo({ |
| | | success: function(info) { |
| | | // console.log('å±å¹ç宽度ï¼' + info.windowWidth); |
| | | // console.log('å±å¹çé«åº¦ï¼' + info.windowHeight); |
| | | } |
| | | }); |
| | | }, |
| | | mounted() { |
| | | this.getElementWidth(); |
| | | }, |
| | | methods: { |
| | | // å表项跳转 |
| | | listDataClick(item) { |
| | | console.log(item); |
| | | // å¨å½å页é¢è®¾ç½®å
¨å±åé |
| | | // uni.setStorageSync('globalData', { id: 123, name: 'example' }); |
| | | if (item.id == 1) { |
| | | uni.navigateTo({ |
| | | url: '/pages/repository/repository?id=' + item.id |
| | | }) |
| | | } else if (item.id == 2) { |
| | | console.log(item.name); |
| | | // uni.navigateTo({ |
| | | // url:'/pages/repository/repository?id='+item.id |
| | | // }) |
| | | } else if (item.id == 3) { |
| | | uni.navigateTo({ |
| | | url: '/pages/dataDisplay/dataDisplay?id=' + item.id |
| | | }) |
| | | } else if (item.id == 4) { |
| | | uni.navigateTo({ |
| | | url: '/pages/territory/territory?id=' + item.id |
| | | }) |
| | | } else if (item.id == 5) { |
| | | uni.navigateTo({ |
| | | url: '/pages/TcmSystem/TcmSystem?id=' + item.id |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | // å¿è®°å¯ç |
| | | forgetPass() { |
| | | uni.redirectTo({ |
| | | url: '/pages/forgetPass/forgetPass' |
| | | }) |
| | | }, |
| | | // å¿«éæ³¨å |
| | | quickRegister() { |
| | | uni.redirectTo({ |
| | | url: '/pages/Register/Register' |
| | | }) |
| | | }, |
| | | // éªè¯ç æ ¡éª |
| | | validateVerificationCode(rule, value, callback) { |
| | | if (value !== '123456') { |
| | | callback(new Error('éªè¯ç é误')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }, |
| | | getElementWidth() { |
| | | |
| | | this.$nextTick(() => { |
| | | var width = this.$refs.Rtop.$el.clientWidth; |
| | | this.Rtop1 = width + 50; |
| | | console.log('Element width:', width); |
| | | }) |
| | | }, |
| | | // ç¨æ·ç»å½ |
| | | Login(formName) { |
| | | console.log('ç¨æ·ç»å½çç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | uni.redirectTo({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | }, |
| | | // ç¨æ·æ³¨å |
| | | Login1(formName) { |
| | | console.log('ç¨æ·æ³¨åçç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | }, |
| | | // å¿è®°å¯ç |
| | | Login2(formName) { |
| | | console.log('å¿è®°å¯ç çç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @media screen and (min-width: 1441px) { |
| | | ::v-deep .el-card { |
| | | top: 60% !important; |
| | | } |
| | | |
| | | .BottomColumn { |
| | | padding: .10rem 0; |
| | | } |
| | | |
| | | .LoginTop { |
| | | margin-bottom: .17rem !important; |
| | | } |
| | | |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.1rem !important; |
| | | font-size: 0.2rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | } |
| | | |
| | | .LoginBg { |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | .hua { |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .fff { |
| | | height: 3.5rem !important; |
| | | } |
| | | |
| | | .rrr { |
| | | height: 2.5rem !important; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | .LoginBg { |
| | | width: 1.2rem; |
| | | height: .37rem; |
| | | background: url(@/static/image/ç¨æ·ç»å½.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | margin-bottom: .47rem; |
| | | } |
| | | |
| | | |
| | | ::v-deep .el-card { |
| | | border-radius: 0; |
| | | width: 5.42rem; |
| | | /* height: 4.75rem; */ |
| | | position: absolute; |
| | | top: 80%; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | padding: .17rem .58rem; |
| | | } |
| | | |
| | | .btn>>>.el-form-item__content { |
| | | margin-left: 0 !important; |
| | | } |
| | | |
| | | /* ::v-deep .el-form-item__label { |
| | | |
| | | |
| | | } */ |
| | | |
| | | ::v-deep .el-input__inner { |
| | | border: none; |
| | | border-bottom: 1px solid #2d476a; |
| | | border-radius: 0; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__error { |
| | | /* display: none; */ |
| | | } |
| | | |
| | | ::v-deep .input.invalid:focus { |
| | | border-color: #2d476a !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner:invalid { |
| | | border-color: #2d476a !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__label {} |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | padding: 0; |
| | | color: #244A7B; |
| | | font-size: .14rem; |
| | | font-weight: 500; |
| | | } |
| | | |
| | | ::v-deep .el-form-item { |
| | | margin-bottom: .22rem; |
| | | } |
| | | |
| | | .ss1 { |
| | | background-repeat: no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .s1 { |
| | | background-image: url(@/static/image/search.png); |
| | | |
| | | } |
| | | |
| | | .s2 { |
| | | background-image: url(@/static/image/question.png); |
| | | } |
| | | |
| | | .s3 { |
| | | background-image: url(@/static/image/question.png); |
| | | } |
| | | |
| | | .container { |
| | | background: url(@/static/image/bg1.png); |
| | | width: 100vw; |
| | | height: 100vh; |
| | | |
| | | color: #fff; |
| | | |
| | | .repository { |
| | | width: 100% !important; |
| | | /* margin-top: 19px; */ |
| | | /* height: 68%; */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-around; |
| | | align-items: center; |
| | | |
| | | .Ttop { |
| | | margin-top: .38rem; |
| | | margin-bottom: 1.22rem; |
| | | } |
| | | |
| | | .r-top { |
| | | font-size: 40rpx !important; |
| | | margin: 10rpx 0; |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | .login { |
| | | width: .52rem; |
| | | height: .52rem; |
| | | display: inline-block; |
| | | vertical-align: middle; |
| | | margin-right: .19rem; |
| | | background: url(@/static/image/logo.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .rrr { |
| | | position: absolute; |
| | | right: .53rem; |
| | | bottom: .36rem; |
| | | width: 2.5rem; |
| | | height: 3.07rem; |
| | | opacity: 1; |
| | | background: url(@/static/image/bg4.png); |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .hua { |
| | | width: 13.81rem; |
| | | height: 5.965rem; |
| | | position: absolute; |
| | | background: url(@/static/image/bg3.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | /* åºé¨äººç©èæ¯å¾ */ |
| | | .fff { |
| | | background: url(@/static/image/bg2.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | width: 2.74rem; |
| | | height: 4.52rem; |
| | | position: fixed; |
| | | bottom: 0; |
| | | z-index: 9999999999999; |
| | | left: 0; |
| | | } |
| | | |
| | | ::v-deep .uni-easyinput__content { |
| | | border-radius: 30rpx !important; |
| | | /* height: 52rpx; */ |
| | | } |
| | | |
| | | |
| | | .secretary { |
| | | width: 1300rpx !important; |
| | | height: 50rpx; |
| | | /* height: 80%; */ |
| | | /* flex-wrap: wrap; */ |
| | | padding: 0 20px; |
| | | text-align: center; |
| | | |
| | | |
| | | |
| | | |
| | | li { |
| | | background-color: #fff; |
| | | color: black; |
| | | height: 600rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | border: 1rpx solid #fff; |
| | | padding: 50rpx 65rpx; |
| | | /* padding: 58rpx 128rpx 88rpx; */ |
| | | text-align: center; |
| | | background: #EBF4FF; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | .Bbottom { |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | } |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view class="container flex flex-center" style="align-items: flex-start;"> |
| | | <view class="repository relative"> |
| | | <view class="Ttop flex flex-center flex-wrap" style="flex-direction: column;"> |
| | | <view class=""></view> |
| | | <view class="" ref="Rtop"> |
| | | <text class="login"></text> |
| | | <text |
| | | style="font-size: .36rem;letter-spacing: 4rpx;vertical-align: middle;font-family: cursive;font-weight: bold;">ä¸å½å»å¦äººç©ç¥è¯åº</text> |
| | | </view> |
| | | <view></view> |
| | | </view> |
| | | <!-- 注åç¨æ· v-if="isRegister"--> |
| | | <el-card> |
| | | <view class="LoginTop" |
| | | style="display: flex; justify-content: space-between;margin-bottom: .47rem;align-items: center;"> |
| | | <!-- <view class="" style="color: #244A7B;padding-bottom: .47rem;font-size: .3rem;font-weight: bold;">ç¨æ·æ³¨å</view> --> |
| | | <view class="LoginBg"></view> |
| | | <view class="" @click="BacktoLogin" |
| | | style="cursor: pointer;font-size: .14rem;color: #244A7B;font-weight: normal;"> |
| | | å·²æè´¦å·ï¼è¿åç»å½ |
| | | </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin" label-position="right" :rules="rules" |
| | | :model="registerData"> |
| | | <el-form-item label="ç»å½è´¦å·" prop="loginID"> |
| | | <el-input v-model="registerData.loginID" placeholder="ç±åæ¯ææ°åç»å3-15个åç¬¦ç»æ"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç»å½å¯ç " prop="pass"> |
| | | <el-input type="password" v-model="registerData.pass" |
| | | placeholder="åæ¯ãæ°åæç¹æ®ç¬¦å·ç»æ(6-10)个å符"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="确认å¯ç " prop="checkPass"> |
| | | <el-input type="password" v-model="registerData.checkPass" placeholder="å¿
é¡»ä¸å¯ç ä¸è´"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ææº/é®ç®±" prop="cellphoneORmailbox"> |
| | | <el-input v-model="registerData.cellphoneORmailbox" placeholder="è¯·å¡«åæ£ç¡®çææºæçµåé®ç®±å°å"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="éªè¯ç " prop="verifyCode"> |
| | | <view class="verifyCode relative"> |
| | | <el-input v-model="registerData.verifyCode" placeholder="请è¾å
¥éªè¯ç "></el-input> |
| | | <view @click="verifyCodeClick" class="" |
| | | style="position: absolute;right: 0%;top: 0%;color: #244A7B;font-size: .14rem;font-weight: 500;"> |
| | | è·åéªè¯ç </view> |
| | | </view> |
| | | </el-form-item> |
| | | <el-form-item class="btn" style="margin-bottom: .09rem;"> |
| | | <el-button class="font-family" |
| | | style="margin-top: .22rem; font-weight:900;font-size: .3rem; width: 100%;background-color:#244A7B;color: #fff;padding: .16rem;" |
| | | size="medium" @click="Login('formLogin')">注å</el-button> |
| | | </el-form-item> |
| | | <view class="" |
| | | style="font-size: .12rem;color: #9E9E9E;font-weight: 500; text-align: center;line-height: normal;margin-bottom: .19rem;"> |
| | | ç¨æ·æ³¨åå³ä»£è¡¨åæãæå¡æ¡æ¬¾ãåãç¨æ·éç§ä¿æ¤åä¸ªäººä¿¡æ¯æ¡æ¬¾ã</view> |
| | | </el-form> |
| | | </el-card> |
| | | </view> |
| | | <view class="hua"></view> |
| | | <!-- åºé¨äººç©èæ¯å¾å·¦ä¾§ --> |
| | | <view class="fff"></view> |
| | | <!-- åºé¨è±çèæ¯å¾å³ä¾§ --> |
| | | <view class="rrr"></view> |
| | | |
| | | <Footer1 /> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | nextTick |
| | | } from "vue"; |
| | | import Footer1 from '@/components/footer/footer.vue' |
| | | export default { |
| | | components: { |
| | | Footer1 |
| | | }, |
| | | data() { |
| | | // å¯ç |
| | | var validatePass = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('请è¾å
¥å¯ç ')); |
| | | } else { |
| | | if (this.registerData.checkPass !== '') { |
| | | this.$nextTick(() => { |
| | | this.$refs.formLogin.validateField('checkPass'); |
| | | }); |
| | | } |
| | | callback(); |
| | | } |
| | | }; |
| | | // 确认å¯ç |
| | | var validatePass2 = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('è¯·åæ¬¡è¾å
¥å¯ç ')); |
| | | } else if (value !== this.registerData.pass) { |
| | | callback(new Error('两次è¾å
¥å¯ç ä¸ä¸è´!')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }; |
| | | return { |
| | | // ç¨æ·æ³¨å |
| | | isRegister: false, |
| | | // ç¨æ·ç»å½ |
| | | isLogin: true, |
| | | // ä¿®æ¹å¯ç |
| | | isAmendPass: false, |
| | | // éç½®å¯ç |
| | | isResetPass: false, |
| | | // 注åç¨æ·è´¦å·çæ ¡éª |
| | | rules: { |
| | | loginID: [{ |
| | | required: true, |
| | | message: '请è¾å
¥ç»å½è´¦å·', |
| | | trigger: 'blur' |
| | | }], |
| | | pass: [{ |
| | | required: true, |
| | | message: '请è¾å
¥å¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | min: 6, |
| | | max: 12, |
| | | message: 'å¯ç é¿åº¦å¨ 6 å° 12 个å符', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: validatePass, |
| | | trigger: 'blur' |
| | | } |
| | | ], |
| | | checkPass: [{ |
| | | validator: validatePass2, |
| | | trigger: 'blur' |
| | | }], |
| | | cellphoneORmailbox: [{ |
| | | required: true, |
| | | message: '请è¾å
¥é®ç®±å°å', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | type: 'email', |
| | | message: '请è¾å
¥æ£ç¡®çé®ç®±å°å', |
| | | trigger: ['blur', 'change'] |
| | | } |
| | | ], |
| | | verifyCode: [{ |
| | | required: true, |
| | | message: '请è¾å
¥éªè¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: (rule, value, callback) => this.validateVerificationCode(rule, value, callback), |
| | | trigger: 'blur' |
| | | } |
| | | ] |
| | | }, |
| | | // ç»å½æ³¨åæ¡ |
| | | loginTrue: true, |
| | | Rtop1: 0, |
| | | value: 'sdfdsf', |
| | | // 注åç¨æ·å¯¹åºçæ°æ® |
| | | registerData: { |
| | | loginID: '', |
| | | pass: '', |
| | | checkPass: '', |
| | | cellphoneORmailbox: '', |
| | | verifyCode: '' |
| | | }, |
| | | // ç»å½ç¨æ·è´¦å· |
| | | loginData: { |
| | | // è´¦å· |
| | | loginID: '', |
| | | pass: '' |
| | | }, |
| | | // éç½®å¯ç |
| | | resetDataPass: { |
| | | cellphoneORmailbox: '', |
| | | verifyCode: "", |
| | | newPass: "", |
| | | checkPass: "" |
| | | }, |
| | | // ä¿®æ¹å¯ç |
| | | amendDataPass: { |
| | | loginID: '', |
| | | originalPass: "", |
| | | newPass: "", |
| | | checkPass: "" |
| | | }, |
| | | // ä¹¦ç±æ°æ® |
| | | listData: [{ |
| | | name: 'å代å»å®¶ä¼ è®°åº', |
| | | id: 1, |
| | | }, { |
| | | name: 'ä¸å»å»å®¶åº', |
| | | id: 2, |
| | | }, { |
| | | name: 'å»å¦å¦æ¯æµæ´¾', |
| | | id: 3, |
| | | }, { |
| | | name: 'ä¸å½å°åå»è°±', |
| | | id: 4, |
| | | }, { |
| | | name: 'ä¸å½å»äºå¶åº¦', |
| | | id: 5, |
| | | }, |
| | | |
| | | ] |
| | | } |
| | | }, |
| | | onLoad() { |
| | | uni.getSystemInfo({ |
| | | success: function(info) { |
| | | // console.log('å±å¹ç宽度ï¼' + info.windowWidth); |
| | | // console.log('å±å¹çé«åº¦ï¼' + info.windowHeight); |
| | | } |
| | | }); |
| | | }, |
| | | mounted() { |
| | | this.getElementWidth(); |
| | | }, |
| | | methods: { |
| | | // å·²æè´¦å·ï¼è¿åç»å½ |
| | | BacktoLogin() { |
| | | uni.redirectTo({ |
| | | url: '/pages/Login/Login' |
| | | }) |
| | | }, |
| | | // è·åéªè¯ç |
| | | verifyCodeClick() { |
| | | console.log('è·åéªè¯ç '); |
| | | }, |
| | | // å表项跳转 |
| | | listDataClick(item) { |
| | | console.log(item); |
| | | // å¨å½å页é¢è®¾ç½®å
¨å±åé |
| | | // uni.setStorageSync('globalData', { id: 123, name: 'example' }); |
| | | if (item.id == 1) { |
| | | uni.navigateTo({ |
| | | url: '/pages/repository/repository?id=' + item.id |
| | | }) |
| | | } else if (item.id == 2) { |
| | | console.log(item.name); |
| | | // uni.navigateTo({ |
| | | // url:'/pages/repository/repository?id='+item.id |
| | | // }) |
| | | } else if (item.id == 3) { |
| | | uni.navigateTo({ |
| | | url: '/pages/dataDisplay/dataDisplay?id=' + item.id |
| | | }) |
| | | } else if (item.id == 4) { |
| | | uni.navigateTo({ |
| | | url: '/pages/territory/territory?id=' + item.id |
| | | }) |
| | | } else if (item.id == 5) { |
| | | uni.navigateTo({ |
| | | url: '/pages/TcmSystem/TcmSystem?id=' + item.id |
| | | }) |
| | | } |
| | | }, |
| | | // éªè¯ç æ ¡éª |
| | | validateVerificationCode(rule, value, callback) { |
| | | if (value !== '123456') { |
| | | callback(new Error('éªè¯ç é误')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }, |
| | | getElementWidth() { |
| | | this.$nextTick(() => { |
| | | var width = this.$refs.Rtop.$el.clientWidth; |
| | | this.Rtop1 = width + 50; |
| | | console.log('Element width:', width); |
| | | }) |
| | | }, |
| | | // ç¨æ·ç»å½ |
| | | Login(formName) { |
| | | console.log('ç¨æ·ç»å½çç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | uni.navigateTo({ |
| | | url: '/pages/Login/Login' |
| | | }) |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | }, |
| | | // ç¨æ·æ³¨å |
| | | Login1(formName) { |
| | | console.log('ç¨æ·æ³¨åçç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | uni.redirectTo({ |
| | | url: '/pages/Login/Login' |
| | | }) |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @media screen and (min-width: 1366px){ |
| | | ::v-deep .el-card{ |
| | | top: 60% !important; |
| | | } |
| | | } |
| | | @media screen and (min-width: 1920px){ |
| | | ::v-deep .el-card{ |
| | | top: 80% !important; |
| | | } |
| | | |
| | | }/* |
| | | å¨å±å¹å®½åº¦è¶
è¿ 1440px æ¶çæ ·å¼è®¾ç½® */ |
| | | @media screen and (min-width: 1441px) { |
| | | ::v-deep .el-card { |
| | | top: 80% !important; |
| | | } |
| | | .BottomColumn{ |
| | | padding: .10rem 0; |
| | | } |
| | | .LoginTop{ |
| | | margin-bottom: .17rem !important; |
| | | } |
| | | .btn ::v-deep .el-button{ |
| | | margin-top: 0.1rem !important; |
| | | font-size: 0.3rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | } |
| | | .LoginBg{ |
| | | height: .3rem !important; |
| | | } |
| | | .hua{ |
| | | height: 4rem !important; |
| | | }.fff{ |
| | | height: 3.5rem !important; |
| | | }.rrr{ |
| | | height: 2.5rem !important; |
| | | } |
| | | } |
| | | |
| | | |
| | | .LoginBg { |
| | | width: 1.2rem; |
| | | height: .37rem; |
| | | background: url(@/static/image/ç¨æ·æ³¨å.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | |
| | | } |
| | | |
| | | |
| | | ::v-deep .el-card { |
| | | border-radius: 0; |
| | | width: 5.42rem; |
| | | /* height: 5.65rem; */ |
| | | position: absolute; |
| | | top: 80%; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | padding: .175rem .58rem; |
| | | } |
| | | |
| | | .btn>>>.el-form-item__content { |
| | | margin-left: 0 !important; |
| | | |
| | | } |
| | | |
| | | ::v-deep .el-form-item__content { |
| | | margin-left: 0 !important; |
| | | flex: 1; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | border: none; |
| | | border-bottom: 1px solid #2d476a; |
| | | border-radius: 0; |
| | | padding: 0; |
| | | height: .4rem; |
| | | line-height: .4rem; |
| | | font-size: .14rem; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__error { |
| | | /* display: none; */ |
| | | font-size: .12rem; |
| | | } |
| | | |
| | | ::v-deep .input.invalid:focus { |
| | | border-color: #2d476a !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner:invalid { |
| | | border-color: #2d476a !important; |
| | | } |
| | | |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | min-width: .6rem; |
| | | padding: 0; |
| | | color: #244A7B; |
| | | font-size: .14rem; |
| | | font-weight: 500; |
| | | margin-right: .29rem; |
| | | display: flex; |
| | | align-items: center; |
| | | text-align: right; |
| | | } |
| | | |
| | | ::v-deep .el-form-item { |
| | | margin-bottom: .22rem; |
| | | display: flex; |
| | | } |
| | | |
| | | .ss1 { |
| | | background-repeat: no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .s1 { |
| | | background-image: url(@/static/image/search.png); |
| | | |
| | | } |
| | | |
| | | .s2 { |
| | | background-image: url(@/static/image/question.png); |
| | | } |
| | | |
| | | .s3 { |
| | | background-image: url(@/static/image/question.png); |
| | | } |
| | | |
| | | .container { |
| | | background: url(@/static/image/bg1.png); |
| | | width: 100vw; |
| | | height: 100vh; |
| | | |
| | | color: #fff; |
| | | |
| | | .repository { |
| | | width: 100% !important; |
| | | /* margin-top: 19px; */ |
| | | /* height: 68%; */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-around; |
| | | align-items: center; |
| | | |
| | | .Ttop { |
| | | margin-top: .38rem; |
| | | margin-bottom: 1.22rem; |
| | | } |
| | | |
| | | .r-top { |
| | | font-size: 40rpx !important; |
| | | margin: 10rpx 0; |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | .login { |
| | | width: .52rem; |
| | | height: .52rem; |
| | | display: inline-block; |
| | | vertical-align: middle; |
| | | margin-right: .19rem; |
| | | background: url(@/static/image/logo.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .rrr { |
| | | position: absolute; |
| | | right: .53rem; |
| | | bottom: .36rem; |
| | | width: 2.5rem; |
| | | height: 3.07rem; |
| | | opacity: 1; |
| | | background: url(@/static/image/bg4.png); |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .hua { |
| | | width: 13.81rem; |
| | | height: 5.965rem; |
| | | position: absolute; |
| | | background: url(@/static/image/bg3.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | /* åºé¨äººç©èæ¯å¾ */ |
| | | .fff { |
| | | background: url(@/static/image/bg2.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | width: 2.74rem; |
| | | height: 4.52rem; |
| | | position: fixed; |
| | | bottom: 0; |
| | | z-index: 9999999999999; |
| | | left: 0; |
| | | } |
| | | |
| | | ::v-deep .uni-easyinput__content { |
| | | border-radius: 30rpx !important; |
| | | /* height: 52rpx; */ |
| | | } |
| | | |
| | | |
| | | .secretary { |
| | | width: 1300rpx !important; |
| | | height: 50rpx; |
| | | /* height: 80%; */ |
| | | /* flex-wrap: wrap; */ |
| | | padding: 0 20px; |
| | | text-align: center; |
| | | |
| | | |
| | | |
| | | |
| | | li { |
| | | background-color: #fff; |
| | | color: black; |
| | | height: 600rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | border: 1rpx solid #fff; |
| | | padding: 50rpx 65rpx; |
| | | /* padding: 58rpx 128rpx 88rpx; */ |
| | | text-align: center; |
| | | background: #EBF4FF; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | .Bbottom { |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | } |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view> |
| | | <headNav /> |
| | | <view class="" style="position: relative;"> |
| | | <!-- å°å¾ --> |
| | | <view id="spaceTime" style="height: 90vh;width: 100%;position: relative;"></view> |
| | | <!-- 详æ
--> |
| | | <el-dialog class="particulars" :visible.sync="menuNav" :modal="false"> |
| | | <view class="font-family" style="font-size: .26rem;padding-top: .16rem;font-weight: bold;">ææ¶ç</view> |
| | | <ul |
| | | style="border-bottom: .01rem solid #D8D8D8; padding: .16rem 0; font-size: .14rem;font-weight: 400;line-height: .28rem;"> |
| | | <li>åºçäºè²å·</li> |
| | | <li>1518å¹´07æ03æ¥ è²å·ï¼ä»æ¹åè²å·éï¼</li> |
| | | </ul> |
| | | <ul style="margin: .31rem 0 .11rem 0; font-size: .14rem;font-weight: 400;line-height: .28rem;"> |
| | | <li>æ´»å¨åç§°ï¼æ°åãæ¬è纲ç®ã</li> |
| | | <li>æ´»å¨å°ç¹ï¼æµæ±ç </li> |
| | | <li>æ´»å¨åºé´ï¼æµæ±çæå·å¸ </li> |
| | | <li>æ´»å¨æè¿°ï¼æ°åãæ¬è纲ç®ã </li> |
| | | <li>åä¸äººåï¼ææ¶ç </li> |
| | | <li>æ¥æºç»æï¼æ°åãæ¬è纲ç®ã</li> |
| | | </ul> |
| | | <img style="width: 100%;height: 2rem;" |
| | | src="https://img0.baidu.com/it/u=1845740325,2917001370&fm=253&app=120&size=w931&n=0&f=JPEG&fmt=auto?sec=1711731600&t=0b208ab46e1d33aa81ac31dd6bf627be" |
| | | alt="" /> |
| | | <view class="" style="border: 1px solid ; position: absolute;bottom: 0; width: 80%;left: 10%;"> |
| | | <!-- <div style="text-align: center; margin-bottom: 20px;">{{currentYear}}</div> |
| | | <el-slider v-model="sliderValue" :min="1900" :step="10" :max="2000" :show-stops="true" |
| | | @change="handleSliderChange"></el-slider> --> |
| | | <input type="range" min="0" max="100" v-model="sliderValue"> |
| | | </view> |
| | | </el-dialog> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import * as echarts from 'echarts'; |
| | | import 'echarts/extension/bmap/bmap'; |
| | | import { |
| | | loadBMap |
| | | } from "../../static/map.js" |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | menuNav: true, |
| | | sliderValue: 2024, |
| | | currentYear: 2024, |
| | | sliderValue: 50 |
| | | } |
| | | }, |
| | | mounted() { |
| | | |
| | | // æ¶ç©ºå°å¾ |
| | | loadBMap('5USVDAhhS4ssz44HLq3gNPZai7naXf4Q').then(() => { |
| | | this.spaceTime() |
| | | }) |
| | | }, |
| | | methods: { |
| | | handleSliderChange(value) { |
| | | this.currentYear = value; |
| | | }, |
| | | // æ¶ç©ºå°å¾ |
| | | spaceTime() { |
| | | var chartDom = document.getElementById('spaceTime'); |
| | | var myChart = echarts.init(chartDom); |
| | | var option; |
| | | |
| | | const data = [{ |
| | | name: 'æµ·é¨', |
| | | value: 9 |
| | | }, |
| | | { |
| | | name: 'éæ', |
| | | value: 19 |
| | | }, |
| | | { |
| | | name: 'æ³å·', |
| | | value: 21 |
| | | }, |
| | | { |
| | | name: 'è¡¢å·', |
| | | value: 177 |
| | | }, |
| | | { |
| | | name: 'å»å', |
| | | value: 193 |
| | | }, |
| | | { |
| | | name: 'èæ³½', |
| | | value: 194 |
| | | }, |
| | | { |
| | | name: 'åè¥', |
| | | value: 229 |
| | | }, |
| | | { |
| | | name: 'æ¦æ±', |
| | | value: 273 |
| | | }, |
| | | { |
| | | name: 'sss大åº', |
| | | value: 279 |
| | | } |
| | | ]; |
| | | const geoCoordMap = { |
| | | æµ·é¨: [121.15, 31.89], |
| | | éå°å¤æ¯: [109.781327, 39.608266], |
| | | æè¿: [120.38, 37.35], |
| | | 平顶山: [113.29, 33.75], |
| | | é¢å°: [114.48, 37.05], |
| | | å¾·å·: [116.29, 37.45], |
| | | æµå®: [116.59, 35.38], |
| | | èå·: [112.239741, 30.335165], |
| | | 宿: [111.3, 30.7], |
| | | ä¹ä¹: [120.06, 29.32], |
| | | 丽水: [119.92, 28.45], |
| | | æ´é³: [112.44, 34.7], |
| | | 秦çå²: [119.57, 39.95], |
| | | æ ªæ´²: [113.16, 27.83], |
| | | ç³å®¶åº: [114.48, 38.03], |
| | | è±è: [117.67, 36.19], |
| | | 常德: [111.69, 29.05], |
| | | ä¿å®: [115.48, 38.85], |
| | | æ¹æ½: [112.91, 27.87], |
| | | éå: [119.64, 29.12], |
| | | å²³é³: [113.09, 29.37], |
| | | é¿æ²: [113, 28.21], |
| | | è¡¢å·: [118.88, 28.97], |
| | | å»å: [116.7, 39.53], |
| | | èæ³½: [115.480656, 35.23375], |
| | | åè¥: [117.27, 31.86], |
| | | æ¦æ±: ['ä½ å¥½', 30.52], |
| | | sss大åº: [125.03, 46.58] |
| | | }; |
| | | const convertData = function(data) { |
| | | var res = []; |
| | | for (var i = 0; i < data.length; i++) { |
| | | var geoCoord = geoCoordMap[data[i].name]; |
| | | if (geoCoord) { |
| | | res.push({ |
| | | name: data[i].name, |
| | | value: geoCoord.concat(data[i].value) |
| | | }); |
| | | } |
| | | } |
| | | return res; |
| | | }; |
| | | option = { |
| | | tooltip: { |
| | | trigger: 'item' |
| | | }, |
| | | bmap: { |
| | | center: [104.114129, 37.550339], // è°æ´å°å¾ä¸å¿ç¹ä½ç½® |
| | | zoom: 6, // 设置å°å¾ç¼©æ¾çº§å« |
| | | roam: true, |
| | | mapStyle: { |
| | | styleJson: [{ |
| | | featureType: 'water', |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#d1d1d1' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'land', |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#f3f3f3' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'manmade', |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#d1d1d1' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'local', |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#d1d1d1' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'arterial', |
| | | elementType: 'labels', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'boundary', |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#fefefe' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'building', |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#d1d1d1' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'label', |
| | | elementType: 'labels.text.fill', |
| | | stylers: { |
| | | color: '#999999' |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | series: [ |
| | | { |
| | | type: 'effectScatter', |
| | | coordinateSystem: 'bmap', |
| | | data: convertData( |
| | | data |
| | | .sort(function(a, b) { |
| | | return b.value - a.value; |
| | | }) |
| | | .slice(0, 6) |
| | | ), |
| | | symbolSize: function(val) { |
| | | return val[2] / 10; |
| | | }, |
| | | encode: { |
| | | value: 2 |
| | | }, |
| | | showEffectOn: 'render', |
| | | rippleEffect: { |
| | | brushType: 'stroke' |
| | | }, |
| | | label: { |
| | | formatter: '{b}', |
| | | position: 'bottom', |
| | | backgroundColor: 'rgba(255, 255, 255, 1)', |
| | | padding: [4, 8], |
| | | formatter: function(params) { // 使ç¨å½æ°å¨æçææ ç¾å
容 |
| | | // 设置æåå¤å°ä¸ªå颿¾ç¤ºçç¥å· |
| | | if (params.data.name.length > 3) { |
| | | return params.data.name.substring(0, 3) + '...'; |
| | | } else { |
| | | return params.data.name; |
| | | } |
| | | }, |
| | | show: true, |
| | | fontSize: 12, |
| | | borderRadius: 30, |
| | | }, |
| | | itemStyle: { |
| | | shadowBlur: 10, |
| | | shadowColor: '#333' |
| | | }, |
| | | emphasis: { |
| | | scale: true |
| | | }, |
| | | zlevel: 1 |
| | | } |
| | | ] |
| | | }; |
| | | // 设置ç¹å»äºä»¶çå¬ |
| | | myChart.on('click', function(params) { |
| | | if (params.componentType === 'series') { |
| | | var dataName = params.data.name; // è·åç¹å»çæ°æ®åç§° |
| | | var dataValue = params.data.value; // è·åç¹å»çæ°æ®å¼ |
| | | // å¨è¿éå¯ä»¥æ ¹æ®éè¦å¤çç¹å»äºä»¶ï¼æ¯å¦å¼¹åºå¯¹åºæ°æ®ç详ç»ä¿¡æ¯çæä½ |
| | | console.log('ç¹å»äº', dataName, 'æ°æ®ï¼æ°å¼ä¸º', dataValue); |
| | | // è¿éå¯ä»¥ç¼åè§¦åæ¶é´è·åå¯¹åºæ°æ®ä¿¡æ¯çé»è¾ |
| | | } |
| | | }) |
| | | |
| | | option && myChart.setOption(option); |
| | | |
| | | }, |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | ::v-deep .particulars { |
| | | position: absolute !important; |
| | | top: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | left: 0; |
| | | overflow: auto; |
| | | margin: 0; |
| | | } |
| | | |
| | | .particulars ::v-deep .el-dialog { |
| | | margin: 0 !important; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | width: 4rem; |
| | | height: 100%; |
| | | |
| | | } |
| | | |
| | | .particulars ::v-deep .el-dialog__header { |
| | | display: none; |
| | | } |
| | | |
| | | .particulars ::v-deep .el-dialog__body { |
| | | padding: .26rem .23rem .26rem .27rem; |
| | | color: #2C2C2C !important; |
| | | position: relative; |
| | | height: 100%; |
| | | } |
| | | |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view> |
| | | <headNav /> |
| | | <!-- é«çº§æç´¢ --> |
| | | <view style="margin: .35rem 0 .16rem 0; "> |
| | | <advancedSearch /> |
| | | </view> |
| | | <!-- çé¨æç´¢ --> |
| | | <view class="flex flex-center" style="font-size: .1rem;color: #2C2C2C;"> |
| | | çé¨æç´¢ï¼ |
| | | <ul class="flex" style="margin-right: 10rpx;"> |
| | | <li v-for="item in hot" :key="item.id" |
| | | style="color: #244A7B; margin: 0 .1rem;color: #5879a4;font-size: .12rem;"> |
| | | {{item.name}} |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | <!-- å
³ç³»è¡¨å°å¾ --> |
| | | <view id="relation" style="margin-top: .2rem; height: 70vh;width: 100%;"></view> |
| | | <!-- æä»£ --> |
| | | <view class="flex flex-center" style="width: 100%; position: fixed;bottom: .33rem;left: 0;"> |
| | | <ul class="flex"> |
| | | <li style="" v-for="(item,index) in dynasty" :key="item.id"> |
| | | <view class="flex flex-center" style="height: .35rem; background-color: #fff; color:#244A7B ;"> |
| | | {{item.coord}} |
| | | </view> |
| | | <view class="flex flex-center font-family" |
| | | :style="{'marginRight': index === dynasty.length - 1 ? '0' : '0.03rem'}" |
| | | style="padding: .05rem .19rem; color: #fff; font-size: .14rem; margin-top: .03rem;margin-right: .03rem;background-color: #597AA5;"> |
| | | {{item.name}} |
| | | </view> |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import * as echarts from 'echarts'; |
| | | export default { |
| | | data() { |
| | | return { |
| | | // æä»£ |
| | | dynasty: [{ |
| | | name: '夿', |
| | | coord: '2070BC', |
| | | id: 1 |
| | | }, { |
| | | name: 'åæ', |
| | | id: 2, |
| | | coord: '1600BC', |
| | | }, { |
| | | name: '西å¨', |
| | | id: 3, |
| | | coord: '1600BC' |
| | | }, { |
| | | name: 'æ¥ç§æå½', |
| | | id: 4, |
| | | coord: '770BC' |
| | | }, { |
| | | name: '秦æ', |
| | | id: 4, |
| | | coord: '221BC' |
| | | }, { |
| | | name: 'æ±æ', |
| | | id: 5, |
| | | coord: '202BC' |
| | | }, { |
| | | name: 'ä¸å½ä¸¤æååæ', |
| | | id: 6, |
| | | coord: '184' |
| | | }, { |
| | | name: 'éæ', |
| | | id: 7, |
| | | coord: '581' |
| | | }, { |
| | | name: 'åæ', |
| | | id: 8, |
| | | coord: '618' |
| | | }, { |
| | | name: 'äºä»£åå½', |
| | | id: 9, |
| | | coord: '907' |
| | | }, { |
| | | name: 'è¾½å¤é', |
| | | id: 10, |
| | | coord: '907' |
| | | }, { |
| | | name: '宿', |
| | | id: 11, |
| | | coord: '960' |
| | | }, { |
| | | name: 'å
æ', |
| | | id: 12, |
| | | coord: '1271' |
| | | }, { |
| | | name: 'ææ', |
| | | id: 13, |
| | | coord: '1368' |
| | | }, { |
| | | name: 'æ¸
æ', |
| | | id: 14, |
| | | coord: '1636' |
| | | }], |
| | | // çé¨æç´¢ |
| | | hot: [{ |
| | | id: 1, |
| | | name: 'ææ¶ç', |
| | | bgColor: false |
| | | }, { |
| | | id: 2, |
| | | name: 'ææ¶ç2', |
| | | bgColor: false |
| | | }, { |
| | | id: 3, |
| | | name: 'ææ¶ç3', |
| | | bgColor: false |
| | | }, ], |
| | | } |
| | | }, |
| | | methods: { |
| | | // å
³ç³»å¾è°± |
| | | relation() { |
| | | var chartDom = document.getElementById('relation'); |
| | | var myChart = echarts.init(chartDom); |
| | | // åè®¾æ¨æèç¹åç§°åå®ä»¬ä¹é´çå
³ç³»æ°æ® |
| | | var nodes = ['ææ¶ç', 'æå°±', 'ä¼ æ¿', '亲å', 'èä½']; |
| | | var relationships = [{ |
| | | source: 'ææ¶ç', |
| | | target: 'æå°±', |
| | | relation: '好å' |
| | | }, |
| | | { |
| | | source: 'ææ¶ç', |
| | | target: 'ä¼ æ¿', |
| | | relation: '好1å' |
| | | }, |
| | | { |
| | | source: 'ææ¶ç', |
| | | target: '亲å', |
| | | relation: '好2å' |
| | | }, |
| | | { |
| | | source: 'ææ¶ç', |
| | | target: 'èä½', |
| | | relation: '好2å' |
| | | }, |
| | | // å
¶ä»å
³ç³»... |
| | | ]; |
| | | |
| | | // æ ¹æ®å
³ç³»æ°æ®çæè¿æ¥çº¿ |
| | | var links = []; |
| | | relationships.forEach(function(relationship) { |
| | | var sourceIndex = nodes.indexOf(relationship.source); |
| | | var targetIndex = nodes.indexOf(relationship.target); |
| | | console.log(sourceIndex, targetIndex); |
| | | if (sourceIndex !== -1 && targetIndex !== -1) { |
| | | links.push({ |
| | | source: sourceIndex, |
| | | target: targetIndex, |
| | | label: { |
| | | show: true, |
| | | formatter: function(params) { // 使ç¨å½æ°å¨æçææ ç¾å
容 |
| | | return relationships.find(rel => rel.source === nodes[params.data |
| | | .source] && rel.target === nodes[params.data.target]) |
| | | .relation; |
| | | }, // 设置å
³ç³»æ ç¾å
容为"Child-Parent" |
| | | color: '#2C2C2C', |
| | | fontSize: 12, |
| | | backgroundColor: 'rgba(255, 255, 255, 1)', |
| | | padding: [3, 8], |
| | | borderRadius: 30, |
| | | position: 'middle', // 设置æ ç¾ææ¬å¨çº¿çä¸é´ä½ç½®ä¸å±
䏿¾ç¤º |
| | | bottom: -10, |
| | | z: 10, // 设置æ ç¾çzè½´é«åº¦ï¼ä½¿å
¶æ¯è¿æ¥çº¿æ´é« |
| | | // offset: [0, 15] ,// å¾ä¸ç§»å¨ 10 åç´ |
| | | distance: -12, // å°æ ç¾æ¾ç½®å¨è¿æ¥çº¿ä¸ |
| | | } |
| | | }); |
| | | } |
| | | |
| | | }); |
| | | console.log(links); |
| | | // æ ¹æ®nodes卿çæèç¹æ°æ® |
| | | var nodeData = nodes.map(function(node, index) { |
| | | return { |
| | | name: node, |
| | | x: Math.random() * 1000, // è®¾ç½®éæºxåæ ä½ç½® |
| | | y: Math.random() * 600, // è®¾ç½®éæºyåæ ä½ç½® |
| | | itemStyle: { |
| | | color: getColorByIndex(index), // å¯ä»¥æ ¹æ®ç´¢å¼è®¾ç½®ä¸åçé¢è² |
| | | borderWidth: 2, |
| | | borderColor: getColorByIndex(index + 1) |
| | | } |
| | | }; |
| | | }); |
| | | // 设置é¢è² |
| | | function getColorByIndex(index) { |
| | | var colors = ['#ecf4ff', '#dd9795', '#f1edbe', '#ecf4ff', '#c5dbd8']; // å¯ä»¥æ ¹æ®å®é
æ
åµè®¾ç½®é¢è²æ°ç» |
| | | return colors[index % colors.length]; |
| | | } |
| | | var option; |
| | | option = { |
| | | backgroundColor: { |
| | | type: 'image', |
| | | image: '/static/image/characterRelationBg.png', |
| | | repeat: 'repeat-x', // æ¯å¦å¹³éºï¼å¯ä»¥æ¯ 'repeat-x', 'repeat-y', 'no-repeat' |
| | | size: '100% 100%', // èæ¯å¾çç尺寸ï¼å¯ä»¥æ¯ç¾åæ¯æè
åç´ |
| | | position: 'center center' // èæ¯å¾ççä½ç½®ï¼å¯ä»¥æ¯ top, bottom, middle æè
ç¾åæ¯ |
| | | }, |
| | | tooltip: {}, |
| | | animationDurationUpdate: 1500, |
| | | animationEasingUpdate: 'quinticInOut', |
| | | series: [{ |
| | | type: 'graph', |
| | | layout: 'none', |
| | | symbolSize: 40, // è°æ´èç¹å¤§å° |
| | | label: { |
| | | show: true, |
| | | color: 'black', // 设置èç¹æåé¢è²ä¸ºé»è² |
| | | |
| | | }, |
| | | edgeSymbol: ['circle'], |
| | | edgeSymbolSize: [4, 10], |
| | | data: nodeData, |
| | | links: links, |
| | | lineStyle: { |
| | | opacity: 0.9, |
| | | width: 2, |
| | | curveness: 0.3 |
| | | } |
| | | }] |
| | | }; |
| | | |
| | | // å°çæçè¿æ¥çº¿æ·»å å°echartså¾è¡¨çoptionä¸ |
| | | option.series[0].links = links; |
| | | option && myChart.setOption(option); |
| | | }, |
| | | }, |
| | | mounted() { |
| | | // å
³ç³»å¾è°± |
| | | this.relation() |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view class="container flex flex-center" style="align-items: flex-start;"> |
| | | <view class="repository relative"> |
| | | <view class="Ttop flex flex-center flex-wrap" style="flex-direction: column;"> |
| | | <view class=""></view> |
| | | <view class="" ref="Rtop"> |
| | | <text class="login"></text> |
| | | <text |
| | | style="font-size: .36rem;letter-spacing: 4rpx;vertical-align: middle;font-family: cursive;font-weight: bold;">ä¸å½å»å¦äººç©ç¥è¯åº</text> |
| | | </view> |
| | | <view></view> |
| | | </view> |
| | | <!-- éç½®å¯ç --> |
| | | <el-card > |
| | | <view class="LoginTop" |
| | | style="display: flex; justify-content: space-between;margin-bottom: .47rem;align-items: center;"> |
| | | <!-- <view class="" style="color: #244A7B;padding-bottom: .47rem;font-size: .3rem;font-weight: bold;">ç¨æ·æ³¨å</view> --> |
| | | <view class="LoginBg"></view> |
| | | <view class="" @click="BacktoLogin" |
| | | style="cursor: pointer;font-size: .14rem;color: #244A7B;font-weight: normal;"> |
| | | è¿åç»å½ |
| | | </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin2" label-position="left" |
| | | :rules="rules" :model="resetDataPass"> |
| | | <el-form-item label="ææº/é®ç®±" prop="cellphoneORmailbox"> |
| | | <el-input v-model="resetDataPass.cellphoneORmailbox"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="éªè¯ç " prop="verifyCode"> |
| | | <view class="verifyCode relative"> |
| | | <el-input v-model="resetDataPass.verifyCode" ></el-input> |
| | | <view @click="verifyCodeClick" class="" |
| | | style="position: absolute;right: 0%;top: 0%;color: #244A7B;font-size: .14rem;font-weight: 500;"> |
| | | è·åéªè¯ç </view> |
| | | </view> |
| | | </el-form-item> |
| | | <el-form-item label="æ°å¯ç " prop="pass"> |
| | | <el-input v-model="resetDataPass.newPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="确认å¯ç " prop="checkPass"> |
| | | <el-input v-model="resetDataPass.checkPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="btn"> |
| | | <el-button class="font-family" |
| | | style="margin-top: 30rpx; font-weight:900;font-size: 30rpx; width: 100%;background-color: #244a7b;color: #fff;padding: 30rpx;" |
| | | size="medium" @click="Login2('formLogin2')">ç¡®å®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-card> |
| | | |
| | | </view> |
| | | <view class="hua"></view> |
| | | <!-- åºé¨äººç©èæ¯å¾å·¦ä¾§ --> |
| | | <view class="fff"></view> |
| | | <!-- åºé¨è±çèæ¯å¾å³ä¾§ --> |
| | | <view class="rrr"></view> |
| | | |
| | | <Footer1 /> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | nextTick |
| | | } from "vue"; |
| | | import Footer1 from '@/components/footer/footer.vue' |
| | | export default { |
| | | components: { |
| | | Footer1 |
| | | }, |
| | | data() { |
| | | // å¯ç |
| | | var validatePass = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('请è¾å
¥å¯ç ')); |
| | | } else { |
| | | if (this.registerData.checkPass !== '') { |
| | | this.$nextTick(() => { |
| | | this.$refs.formLogin.validateField('checkPass'); |
| | | }); |
| | | } |
| | | callback(); |
| | | } |
| | | }; |
| | | // 确认å¯ç |
| | | var validatePass2 = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('è¯·åæ¬¡è¾å
¥å¯ç ')); |
| | | } else if (value !== this.registerData.pass) { |
| | | callback(new Error('两次è¾å
¥å¯ç ä¸ä¸è´!')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }; |
| | | return { |
| | | // ç¨æ·æ³¨å |
| | | isRegister: false, |
| | | // ç¨æ·ç»å½ |
| | | isLogin: true, |
| | | // ä¿®æ¹å¯ç |
| | | isAmendPass: false, |
| | | // éç½®å¯ç |
| | | isResetPass: false, |
| | | // 注åç¨æ·è´¦å·çæ ¡éª |
| | | rules: { |
| | | loginID: [{ |
| | | required: true, |
| | | message: '请è¾å
¥ç»å½è´¦å·', |
| | | trigger: 'blur' |
| | | }], |
| | | pass: [{ |
| | | required: true, |
| | | message: '请è¾å
¥å¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | min: 6, |
| | | max: 12, |
| | | message: 'å¯ç é¿åº¦å¨ 6 å° 12 个å符', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: validatePass, |
| | | trigger: 'blur' |
| | | } |
| | | ], |
| | | checkPass: [{ |
| | | validator: validatePass2, |
| | | trigger: 'blur' |
| | | }], |
| | | cellphoneORmailbox: [{ |
| | | required: true, |
| | | message: '请è¾å
¥é®ç®±å°å', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | type: 'email', |
| | | message: '请è¾å
¥æ£ç¡®çé®ç®±å°å', |
| | | trigger: ['blur', 'change'] |
| | | } |
| | | ], |
| | | verifyCode: [{ |
| | | required: true, |
| | | message: '请è¾å
¥éªè¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: (rule, value, callback) => this.validateVerificationCode(rule, value, callback), |
| | | trigger: 'blur' |
| | | } |
| | | ] |
| | | }, |
| | | // ç»å½æ³¨åæ¡ |
| | | loginTrue: true, |
| | | Rtop1: 0, |
| | | value: 'sdfdsf', |
| | | // 注åç¨æ·å¯¹åºçæ°æ® |
| | | registerData: { |
| | | loginID: '', |
| | | pass: '', |
| | | checkPass: '', |
| | | cellphoneORmailbox: '', |
| | | verifyCode: '' |
| | | }, |
| | | // ç»å½ç¨æ·è´¦å· |
| | | loginData: { |
| | | // è´¦å· |
| | | loginID: '', |
| | | pass: '' |
| | | }, |
| | | // éç½®å¯ç |
| | | resetDataPass: { |
| | | cellphoneORmailbox: '', |
| | | verifyCode: "", |
| | | newPass: "", |
| | | checkPass: "" |
| | | }, |
| | | // ä¿®æ¹å¯ç |
| | | amendDataPass: { |
| | | loginID: '', |
| | | originalPass: "", |
| | | newPass: "", |
| | | checkPass: "" |
| | | }, |
| | | // ä¹¦ç±æ°æ® |
| | | listData: [{ |
| | | name: 'å代å»å®¶ä¼ è®°åº', |
| | | id: 1, |
| | | }, { |
| | | name: 'ä¸å»å»å®¶åº', |
| | | id: 2, |
| | | }, { |
| | | name: 'å»å¦å¦æ¯æµæ´¾', |
| | | id: 3, |
| | | }, { |
| | | name: 'ä¸å½å°åå»è°±', |
| | | id: 4, |
| | | }, { |
| | | name: 'ä¸å½å»äºå¶åº¦', |
| | | id: 5, |
| | | }, |
| | | |
| | | ] |
| | | } |
| | | }, |
| | | onLoad() { |
| | | uni.getSystemInfo({ |
| | | success: function(info) { |
| | | // console.log('å±å¹ç宽度ï¼' + info.windowWidth); |
| | | // console.log('å±å¹çé«åº¦ï¼' + info.windowHeight); |
| | | } |
| | | }); |
| | | }, |
| | | mounted() { |
| | | this.getElementWidth(); |
| | | }, |
| | | methods: { |
| | | // å·²æè´¦å·ï¼è¿åç»å½ |
| | | BacktoLogin() { |
| | | uni.redirectTo({ |
| | | url: '/pages/Login/Login' |
| | | }) |
| | | }, |
| | | // è·åéªè¯ç |
| | | verifyCodeClick() { |
| | | console.log('è·åéªè¯ç '); |
| | | }, |
| | | // å表项跳转 |
| | | listDataClick(item) { |
| | | console.log(item); |
| | | // å¨å½å页é¢è®¾ç½®å
¨å±åé |
| | | // uni.setStorageSync('globalData', { id: 123, name: 'example' }); |
| | | if (item.id == 1) { |
| | | uni.navigateTo({ |
| | | url: '/pages/repository/repository?id=' + item.id |
| | | }) |
| | | } else if (item.id == 2) { |
| | | console.log(item.name); |
| | | // uni.navigateTo({ |
| | | // url:'/pages/repository/repository?id='+item.id |
| | | // }) |
| | | } else if (item.id == 3) { |
| | | uni.navigateTo({ |
| | | url: '/pages/dataDisplay/dataDisplay?id=' + item.id |
| | | }) |
| | | } else if (item.id == 4) { |
| | | uni.navigateTo({ |
| | | url: '/pages/territory/territory?id=' + item.id |
| | | }) |
| | | } else if (item.id == 5) { |
| | | uni.navigateTo({ |
| | | url: '/pages/TcmSystem/TcmSystem?id=' + item.id |
| | | }) |
| | | } |
| | | }, |
| | | // éªè¯ç æ ¡éª |
| | | validateVerificationCode(rule, value, callback) { |
| | | console.log(value) |
| | | if (value !== '123456') { |
| | | callback(new Error('éªè¯ç é误')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }, |
| | | getElementWidth() { |
| | | this.$nextTick(() => { |
| | | var width = this.$refs.Rtop.$el.clientWidth; |
| | | this.Rtop1 = width + 50; |
| | | console.log('Element width:', width); |
| | | }) |
| | | }, |
| | | // ç¨æ·ç»å½ |
| | | Login(formName) { |
| | | console.log('ç¨æ·ç»å½çç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | uni.navigateTo({ |
| | | url: '/pages/Login/Login' |
| | | }) |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | }, |
| | | // å¿è®°å¯ç |
| | | Login2(formName) { |
| | | console.log('å¿è®°å¯ç çç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | uni.redirectTo({ |
| | | url: '/pages/Login/Login' |
| | | }) |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | /* |
| | | å¨å±å¹å®½åº¦è¶
è¿ 1440px æ¶çæ ·å¼è®¾ç½® */ |
| | | @media screen and (min-width: 1441px) { |
| | | ::v-deep .el-card { |
| | | top: 60% !important; |
| | | } |
| | | .BottomColumn{ |
| | | padding: .10rem 0; |
| | | } |
| | | .LoginTop{ |
| | | margin-bottom: .17rem !important; |
| | | } |
| | | .btn ::v-deep .el-button{ |
| | | margin-top: 0.1rem !important; |
| | | font-size: 0.2rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | } |
| | | .LoginBg{ |
| | | height: .3rem !important; |
| | | } |
| | | .hua{ |
| | | height: 4rem !important; |
| | | }.fff{ |
| | | height: 3.5rem !important; |
| | | }.rrr{ |
| | | height: 2.5rem !important; |
| | | } |
| | | } |
| | | |
| | | .LoginBg { |
| | | width: 1.2rem; |
| | | height: .37rem; |
| | | background: url(@/static/image/éç½®å¯ç .png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | |
| | | } |
| | | |
| | | |
| | | ::v-deep .el-card { |
| | | border-radius: 0; |
| | | width: 5.42rem; |
| | | /* height: 5.65rem; */ |
| | | position: absolute; |
| | | top: 80%; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | padding: .26rem .58rem; |
| | | } |
| | | |
| | | .btn>>>.el-form-item__content { |
| | | margin-left: 0 !important; |
| | | |
| | | } |
| | | |
| | | ::v-deep .el-form-item__content { |
| | | margin-left: 0 !important; |
| | | flex: 1; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | border: none; |
| | | border-bottom: 1px solid #2d476a; |
| | | border-radius: 0; |
| | | padding: 0; |
| | | height: .4rem; |
| | | line-height: .4rem; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__error { |
| | | /* display: none; */ |
| | | } |
| | | |
| | | ::v-deep .input.invalid:focus { |
| | | border-color: #2d476a !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner:invalid { |
| | | border-color: #2d476a !important; |
| | | } |
| | | |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | min-width: .6rem; |
| | | padding: 0; |
| | | color: #244A7B; |
| | | font-size: .14rem; |
| | | font-weight: 500; |
| | | margin-right: .29rem; |
| | | } |
| | | |
| | | ::v-deep .el-form-item { |
| | | margin-bottom: .22rem; |
| | | display: flex; |
| | | } |
| | | |
| | | .ss1 { |
| | | background-repeat: no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .s1 { |
| | | background-image: url(@/static/image/search.png); |
| | | |
| | | } |
| | | |
| | | .s2 { |
| | | background-image: url(@/static/image/question.png); |
| | | } |
| | | |
| | | .s3 { |
| | | background-image: url(@/static/image/question.png); |
| | | } |
| | | |
| | | .container { |
| | | background: url(@/static/image/bg1.png); |
| | | width: 100vw; |
| | | height: 100vh; |
| | | |
| | | color: #fff; |
| | | |
| | | .repository { |
| | | width: 100% !important; |
| | | /* margin-top: 19px; */ |
| | | /* height: 68%; */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-around; |
| | | align-items: center; |
| | | |
| | | .Ttop { |
| | | margin-top: .38rem; |
| | | margin-bottom: 1.22rem; |
| | | } |
| | | |
| | | .r-top { |
| | | font-size: 40rpx !important; |
| | | margin: 10rpx 0; |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | .login { |
| | | width: .52rem; |
| | | height: .52rem; |
| | | display: inline-block; |
| | | vertical-align: middle; |
| | | margin-right: .19rem; |
| | | background: url(@/static/image/logo.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .rrr { |
| | | position: absolute; |
| | | right: .53rem; |
| | | bottom: .36rem; |
| | | width: 2.5rem; |
| | | height: 3.07rem; |
| | | opacity: 1; |
| | | background: url(@/static/image/bg4.png); |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .hua { |
| | | width: 13.81rem; |
| | | height: 5.965rem; |
| | | position: absolute; |
| | | background: url(@/static/image/bg3.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | /* åºé¨äººç©èæ¯å¾ */ |
| | | .fff { |
| | | background: url(@/static/image/bg2.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | width: 2.74rem; |
| | | height: 4.52rem; |
| | | position: fixed; |
| | | bottom: 0; |
| | | z-index: 9999999999999; |
| | | left: 0; |
| | | } |
| | | |
| | | ::v-deep .uni-easyinput__content { |
| | | border-radius: 30rpx !important; |
| | | /* height: 52rpx; */ |
| | | } |
| | | |
| | | |
| | | .secretary { |
| | | width: 1300rpx !important; |
| | | height: 50rpx; |
| | | /* height: 80%; */ |
| | | /* flex-wrap: wrap; */ |
| | | padding: 0 20px; |
| | | text-align: center; |
| | | |
| | | |
| | | |
| | | |
| | | li { |
| | | background-color: #fff; |
| | | color: black; |
| | | height: 600rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | border: 1rpx solid #fff; |
| | | padding: 50rpx 65rpx; |
| | | /* padding: 58rpx 128rpx 88rpx; */ |
| | | text-align: center; |
| | | background: #EBF4FF; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | .Bbottom { |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <view class="container flex flex-center" style="align-items: flex-start;"> |
| | | <view class="repository relative" style="margin-top: 38rpx;"> |
| | | <view class="Ttop flex flex-center flex-wrap" style="flex-direction: column;"> |
| | | <view class="r-top flex flex-center" style="width: 100%;justify-content: space-around;"> |
| | | <view class="" style="width: 5%;"></view> |
| | | <view class="repository relative"> |
| | | <view class="flex Ttop flex-column" style="width: 100%;"> |
| | | <view class="flex" style="width: 100%;"> |
| | | <view class="" style="width: 2.5rem;"></view> |
| | | <view class=" flex flex-center flex-wrap" style="width: 100%; flex-direction: column;"> |
| | | <view class=""></view> |
| | | <view class="" ref="Rtop"> |
| | | <!-- <uni-icons type="heart-filled" size="26" style="margin-right: 18rpx;"></uni-icons> --> |
| | | <text class="login"></text> |
| | | <text |
| | | style="font-size: 72rpx;font-weight: normal;letter-spacing: 4rpx;vertical-align: middle;font-family: cursive;font-weight: bold;">ä¸å½å»å¦äººç©ç¥è¯åº</text> |
| | | style="font-size: .36rem;letter-spacing: 4rpx;vertical-align: middle;font-family: cursive;font-weight: bold;">ä¸å½å»å¦äººç©ç¥è¯åº</text> |
| | | </view> |
| | | <view class="flex" > |
| | | <view v-if="!loginTrue" v-for="item in 3" :key="item" :class="'s'+item" class="ss1" style="margin: 0 10rpx;"> |
| | | </view> |
| | | <view class="flex" style="height: .5rem;"> |
| | | <view @click="iconClick(item)" v-for="item in 3" :key="item" :class="'s'+item" class="ss1" style="margin-right: .3rem;"> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view v-if="!loginTrue" class="rbottom " :style="{width:Rtop1+'px'}"> |
| | | <uni-easyinput class="search1 uni-mt-12" suffixIcon="search" v-model="value" placeholder="æç
§å§åæç´¢" |
| | | @iconClick="iconClick"></uni-easyinput> |
| | | |
| | | <!-- é«çº§æç´¢ --> |
| | | <view v-if="isSearchTrue" style="margin: .35rem 0 .16rem 0; height: .52rem;"> |
| | | <advancedSearch @onSearch="onSearch" :isAvancedTrue="false" :isSearchTrue="false" /> |
| | | </view> |
| | | </view> |
| | | <view class="Bbottom relative"> |
| | | <view class="Bbottom "> |
| | | <!-- éé¡¹å¡ --> |
| | | <ul v-if="!loginTrue" class="secretary flex relative"> |
| | | <li v-for="(item,index) in listData" :key="item"> |
| | | <ul class="secretary flex "> |
| | | <li @click="listDataClick(item)" v-for="(item,index) in listData" :key="index"> |
| | | <span class="font-family" |
| | | style="font-weight: 700;color: #2C2C2C; width: 36px;display: inline-block; font-size: 45rpx;overflow: hidden;height: 80%;line-height: 1.5;">{{item.name}}</span> |
| | | style="font-weight: 700;color: #2C2C2C; width: 36px;display: inline-block; font-size: .32rem;overflow: hidden;height: 80%;line-height: 1.5;">{{item.name}}</span> |
| | | <view class="flex flex-content" |
| | | style="width: 80rpx;height: 80rpx;border-radius: 50%;background-color: #244A7B;"> |
| | | style="width: .5rem;height: .5rem;border-radius: 50%;background-color: #244A7B;"> |
| | | <image style="width: 40%;height: 20%;" src="@/static/image/eResize.png" mode=""></image> |
| | | </view> |
| | | </li> |
| | | </ul> |
| | | <!-- 注åç¨æ· v-if="isRegister"--> |
| | | <el-card v-if="isRegister" style="position: absolute;top: -500rpx;padding: 30rpx;width: 900rpx;" > |
| | | <view class="" style="display: flex; justify-content: space-between;"> |
| | | <h2 style="color: #244a7b;padding-bottom: 20rpx;">ç¨æ·æ³¨å</h2> |
| | | <view class="" @click="isRegister= !isRegister,isLogin=!isLogin" style="cursor: pointer;font-size: 20rpx;color: #244a7b;"> |
| | | å·²æè´¦å·ï¼è¿åç»å½ |
| | | </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin" label-position="left" :rules="rules" |
| | | label-width="80px" :model="registerData"> |
| | | <el-form-item label="ç»å½è´¦å·" prop="loginID"> |
| | | <el-input v-model="registerData.loginID"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç»å½å¯ç " prop="pass"> |
| | | <el-input type="password" v-model="registerData.pass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="确认å¯ç " prop="checkPass"> |
| | | <el-input type="password" v-model="registerData.checkPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ææº/é®ç®±" prop="cellphoneORmailbox"> |
| | | <el-input v-model="registerData.cellphoneORmailbox"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="éªè¯ç " prop="verifyCode"> |
| | | <el-input v-model="registerData.verifyCode"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="btn"> |
| | | <el-button class="font-family" |
| | | style="margin-top: 30rpx; font-weight:900;font-size: 30rpx; width: 100%;background-color: #244a7b;color: #fff;padding: 30rpx;" |
| | | size="medium" @click="Login1('formLogin')">ç»å½</el-button> |
| | | </el-form-item> |
| | | <view class="" |
| | | style="font-size: 17rpx;color: #9E9E9E;text-align: center;line-height: 1;margin-bottom: 20rpx;"> |
| | | ç¨æ·æ³¨åå³ä»£è¡¨åæãæå¡æ¡æ¬¾ãåãç¨æ·éç§ä¿æ¤åä¸ªäººä¿¡æ¯æ¡æ¬¾ã</view> |
| | | </el-form> |
| | | </el-card> |
| | | <!-- ç¨æ·ç»å½ v-if="isLogin"--> |
| | | <el-card v-if="isLogin" style="position: absolute;top: -500rpx;padding: 30rpx;width: 900rpx;"> |
| | | <view class="" style="display: flex; justify-content: space-between;"> |
| | | <h2 style="color: #244a7b;padding-bottom: 20rpx;">ç¨æ·ç»å½</h2> |
| | | <view class=""> </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin1" label-position="top" label-width="80px" :rules="rules1" |
| | | :model="loginData"> |
| | | <el-form-item label="ç»å½è´¦å·" prop="loginID"> |
| | | <el-input v-model="loginData.loginID"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç»å½å¯ç " prop="pass"> |
| | | <el-input v-model="loginData.pass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="btn"> |
| | | <el-button class="font-family" |
| | | style="margin-top: 30rpx; font-weight:900;font-size: 30rpx; width: 100%;background-color: #244a7b;color: #fff;padding: 30rpx;" |
| | | size="medium" @click="Login('formLogin1')">ç»å½</el-button> |
| | | </el-form-item> |
| | | <view class="" style="display: flex;font-size: 20rpx;"> |
| | | <view class="" style="display: inline-block;cursor: pointer;" @click="forgetPass">å¿è®°å¯ç |
| | | </view> |
| | | <view class="" style="display: inline-block;margin: 0 20rpx;"> | </view> |
| | | <view class="" style="display: inline-block;cursor: pointer;" @click="quickRegister">å¿«éæ³¨å |
| | | </view> |
| | | </view> |
| | | </el-form> |
| | | </el-card> |
| | | <!-- éç½®å¯ç --> |
| | | <el-card v-if="isResetPass" style="position: absolute;top: -500rpx;padding: 30rpx;width: 900rpx;"> |
| | | <view class="" style="display: flex; justify-content: space-between;"> |
| | | <h2 style="color: #244a7b;padding-bottom: 20rpx;">éç½®å¯ç </h2> |
| | | <view class=""> </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin2" label-position="left" label-width="80px" :rules="rules" |
| | | :model="resetDataPass"> |
| | | <el-form-item label="ææº/é®ç®±" prop="cellphoneORmailbox"> |
| | | <el-input v-model="resetDataPass.cellphoneORmailbox"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="éªè¯ç " prop="verifyCode"> |
| | | <el-input v-model="resetDataPass.verifyCode"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æ°å¯ç " prop="pass"> |
| | | <el-input v-model="resetDataPass.newPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="确认å¯ç " prop="checkPass"> |
| | | <el-input v-model="resetDataPass.checkPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="btn"> |
| | | <el-button class="font-family" |
| | | style="margin-top: 30rpx; font-weight:900;font-size: 30rpx; width: 100%;background-color: #244a7b;color: #fff;padding: 30rpx;" |
| | | size="medium" @click="Login2('formLogin2')">ç¡®å®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-card> |
| | | <!-- ä¿®æ¹å¯ç --> |
| | | <!-- <el-card style="position: absolute;top: -500rpx;padding: 30rpx;width: 900rpx;"> |
| | | <view class="" style="display: flex; justify-content: space-between;"> |
| | | <h2 style="color: #244a7b;padding-bottom: 20rpx;">ä¿®æ¹å¯ç </h2> |
| | | <view class="" > </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin" label-position="left" label-width="80px" :rules="rules" :model="amendDataPass"> |
| | | <el-form-item label="ç»å½è´¦å·" prop="loginID"> |
| | | <el-input v-model="amendDataPass.loginID"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="åå¯ç " prop="pass"> |
| | | <el-input v-model="amendDataPass.originalPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æ°å¯ç " prop="pass"> |
| | | <el-input v-model="amendDataPass.newPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="确认æ°å¯ç " prop="checkPass"> |
| | | <el-input v-model="amendDataPass.checkPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="btn"> |
| | | <el-button class="font-family" |
| | | style="margin-top: 30rpx; font-weight:900;font-size: 30rpx; width: 100%;background-color: #244a7b;color: #fff;padding: 30rpx;" |
| | | size="medium" @click="Login('formLogin')">ç¡®å®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-card> --> |
| | | </view> |
| | | </view> |
| | | <view class="hua"></view> |
| | |
| | | <view class="fff"></view> |
| | | <!-- åºé¨è±çèæ¯å¾å³ä¾§ --> |
| | | <view class="rrr"></view> |
| | | <view class="BottomColumn flex flex-center"> |
| | | <view class="Bbar flex"> |
| | | <img style="display: block;margin-right: 20rpx;" src="@/static/image/logo.png" alt="" srcset="" /> |
| | | <view class="font-family"> |
| | | <view class=""> |
| | | 92017ä¸å½ä¸å»ç§å¦é¢ä¸å»è¯ä¿¡æ¯ç ç©¶æçæææäº¬ICPå¤ä¸æ¹å®å¤§ä¸æ¹ä¸æ¹ |
| | | </view> |
| | | <view class="">å°å:å京å¸ä¸ååºä¸ç´é¨å
åå°è¡16å·é®ç¼:100700 |
| | | çµè¯:8610-64089611Email:tcmbase@126.com</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <Footer1 /> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import { |
| | | nextTick |
| | | } from "vue"; |
| | | import Footer1 from '@/components/footer/footer.vue' |
| | | export default { |
| | | data() { |
| | | // å¯ç |
| | | var validatePass = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('请è¾å
¥å¯ç ')); |
| | | } else { |
| | | if (this.registerData.checkPass !== '') { |
| | | this.$nextTick(() => { |
| | | this.$refs.formLogin.validateField('checkPass'); |
| | | }); |
| | | } |
| | | callback(); |
| | | } |
| | | }; |
| | | // 确认å¯ç |
| | | var validatePass2 = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('è¯·åæ¬¡è¾å
¥å¯ç ')); |
| | | } else if (value !== this.registerData.pass) { |
| | | callback(new Error('两次è¾å
¥å¯ç ä¸ä¸è´!')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }; |
| | | return { |
| | | // ç¨æ·æ³¨å |
| | | isRegister: false, |
| | | // ç¨æ·ç»å½ |
| | | isLogin: true, |
| | | // ä¿®æ¹å¯ç |
| | | isAmendPass: false, |
| | | // éç½®å¯ç |
| | | isResetPass: false, |
| | | // 注åç¨æ·è´¦å·çæ ¡éª |
| | | rules: { |
| | | loginID: [{ |
| | | required: true, |
| | | message: '请è¾å
¥ç»å½è´¦å·', |
| | | trigger: 'blur' |
| | | }], |
| | | pass: [{ |
| | | required: true, |
| | | message: '请è¾å
¥å¯ç ', |
| | | trigger: 'blur' |
| | | components: { |
| | | Footer1 |
| | | }, |
| | | { |
| | | min: 6, |
| | | max: 12, |
| | | message: 'å¯ç é¿åº¦å¨ 6 å° 12 个å符', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: validatePass, |
| | | trigger: 'blur' |
| | | } |
| | | ], |
| | | checkPass: [{ |
| | | validator: validatePass2, |
| | | trigger: 'blur' |
| | | }], |
| | | cellphoneORmailbox: [{ |
| | | required: true, |
| | | message: '请è¾å
¥é®ç®±å°å', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | type: 'email', |
| | | message: '请è¾å
¥æ£ç¡®çé®ç®±å°å', |
| | | trigger: ['blur', 'change'] |
| | | } |
| | | ], |
| | | verifyCode: [{ |
| | | required: true, |
| | | message: '请è¾å
¥éªè¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | validator: (rule, value, callback) => this.validateVerificationCode(rule, value, callback), |
| | | trigger: 'blur' |
| | | } |
| | | ] |
| | | }, |
| | | rules1: { |
| | | loginID: [{ |
| | | required: true, |
| | | message: '请è¾å
¥ç»å½è´¦å·', |
| | | trigger: 'blur' |
| | | }], |
| | | pass: [{ |
| | | required: true, |
| | | message: '请è¾å
¥å¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | min: 6, |
| | | max: 12, |
| | | message: 'å¯ç é¿åº¦å¨ 6 å° 12 个å符', |
| | | trigger: 'blur' |
| | | } |
| | | ], |
| | | }, |
| | | |
| | | data() {return { |
| | | // æç´¢çæ¾ç¤º |
| | | isSearchTrue:true, |
| | | // ç»å½æ³¨åæ¡ |
| | | loginTrue: true, |
| | | Rtop1: 0, |
| | |
| | | this.getElementWidth(); |
| | | }, |
| | | methods: { |
| | | // å¿è®°å¯ç |
| | | forgetPass() { |
| | | this.isLogin = !this.isLogin |
| | | this.isResetPass = !this.isResetPass |
| | | console.log('å¿è®°å¯ç '); |
| | | onSearch(val){ |
| | | uni.navigateTo({ |
| | | url:'/pages/knowledgeBase/knowledgeBase?name='+val |
| | | }) |
| | | console.log('vv',val); |
| | | }, |
| | | // å¿«éæ³¨å |
| | | quickRegister() { |
| | | this.isLogin = !this.isLogin |
| | | this.isRegister = !this.isRegister |
| | | console.log('å¿«éæ³¨å'); |
| | | // å表项跳转 |
| | | listDataClick(item) { |
| | | console.log(item); |
| | | // å¨å½å页é¢è®¾ç½®å
¨å±åé |
| | | // uni.setStorageSync('globalData', { id: 123, name: 'example' }); |
| | | if (item.id == 1) { |
| | | uni.navigateTo({ |
| | | url: '/pages/repository/repository?id=' + item.id |
| | | }) |
| | | } else if (item.id == 2) { |
| | | console.log(item.name); |
| | | // uni.navigateTo({ |
| | | // url:'/pages/repository/repository?id='+item.id |
| | | // }) |
| | | } else if (item.id == 3) { |
| | | uni.navigateTo({ |
| | | url: '/pages/dataDisplay/dataDisplay?id=' + item.id |
| | | }) |
| | | } else if (item.id == 4) { |
| | | uni.navigateTo({ |
| | | url: '/pages/territory/territory?id=' + item.id |
| | | }) |
| | | } else if (item.id == 5) { |
| | | uni.navigateTo({ |
| | | url: '/pages/TcmSystem/TcmSystem?id=' + item.id |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | |
| | | // éªè¯ç æ ¡éª |
| | | validateVerificationCode(rule, value, callback) { |
| | | if (value !== '123456') { |
| | |
| | | console.log('Element width:', width); |
| | | }) |
| | | }, |
| | | // ç¨æ·ç»å½ |
| | | Login(formName) { |
| | | console.log('ç¨æ·ç»å½çç»å½æé®'); |
| | | this.isLogin=!this.isLogin |
| | | this.loginTrue=!this.loginTrue |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | iconClick(index){ |
| | | console.log(index); |
| | | // æç´¢çæ¾ç¤º |
| | | if(index==1){ |
| | | this.isSearchTrue = !this.isSearchTrue |
| | | } |
| | | }); |
| | | }, |
| | | // ç¨æ·æ³¨å |
| | | Login1(formName) { |
| | | console.log('ç¨æ·æ³¨åçç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | }, |
| | | // å¿è®°å¯ç |
| | | Login2(formName) { |
| | | console.log('å¿è®°å¯ç çç»å½æé®'); |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!æå'); |
| | | } else { |
| | | console.log('error submit!!失败'); |
| | | return false; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | /* |
| | | å¨å±å¹å®½åº¦è¶
è¿ 1440px æ¶çæ ·å¼è®¾ç½® */ |
| | | @media screen and (min-width: 1441px) { |
| | | ::v-deep .el-card { |
| | | top: 60% !important; |
| | | } |
| | | |
| | | .BottomColumn { |
| | | padding: .10rem 0; |
| | | } |
| | | .Ttop{ |
| | | margin-bottom: .6rem !important; |
| | | } |
| | | .secretary{ |
| | | li{ |
| | | height: 4.5rem !important; |
| | | } |
| | | } |
| | | .LoginTop { |
| | | margin-bottom: .17rem !important; |
| | | } |
| | | |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.1rem !important; |
| | | font-size: 0.2rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | } |
| | | |
| | | .LoginBg { |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | .hua { |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .fff { |
| | | height: 3.5rem !important; |
| | | } |
| | | |
| | | .rrr { |
| | | height: 2.5rem !important; |
| | | } |
| | | } |
| | | |
| | | .btn>>>.el-form-item__content { |
| | | margin-left: 0 !important; |
| | | } |
| | |
| | | .ss1 { |
| | | background-repeat: no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | width: .34rem; |
| | | height: .34rem; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .s1 { |
| | | background-image: url(@/static/image/search.png); |
| | | background-image: url(@/static/image/search.svg); |
| | | |
| | | } |
| | | |
| | | .s2 { |
| | | background-image: url(@/static/image/question.png); |
| | | background-image: url(@/static/image/profile.svg); |
| | | } |
| | | |
| | | .s3 { |
| | | background-image: url(@/static/image/question.png); |
| | | background-image: url(@/static/image/quote.svg); |
| | | margin-right: .59rem !important; |
| | | } |
| | | |
| | | .container { |
| | |
| | | |
| | | .repository { |
| | | width: 100% !important; |
| | | margin-top: 19px; |
| | | height: 68%; |
| | | /* margin-top: 19px; */ |
| | | /* height: 68%; */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-around; |
| | | align-items: center; |
| | | |
| | | .Ttop { |
| | | /* width: 500rpx; */ |
| | | margin: -100px 0 40px 0; |
| | | margin-top: .38rem; |
| | | margin-bottom: 1.22rem; |
| | | } |
| | | |
| | | .r-top { |
| | |
| | | |
| | | .rrr { |
| | | position: absolute; |
| | | right: 180rpx; |
| | | bottom: 120.5rpx; |
| | | width: 255rpx; |
| | | height: 350.5rpx; |
| | | right: .53rem; |
| | | bottom: .36rem; |
| | | width: 2.5rem; |
| | | height: 3.07rem; |
| | | opacity: 1; |
| | | background: url(@/static/image/bg4.png); |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .hua { |
| | | width: 95%; |
| | | height: 60%; |
| | | width: 13.81rem; |
| | | height: 5.965rem; |
| | | position: absolute; |
| | | background: url(@/static/image/bg3.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | |
| | | .fff { |
| | | background: url(@/static/image/bg2.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | width: 400rpx; |
| | | height: 600rpx; |
| | | width: 2.74rem; |
| | | height: 4.52rem; |
| | | position: fixed; |
| | | bottom: 130rpx; |
| | | bottom: 0; |
| | | z-index: 9999999999999; |
| | | left: 0; |
| | | } |
| | |
| | | |
| | | |
| | | .secretary { |
| | | width: 1300rpx !important; |
| | | height: 50rpx; |
| | | /* width: 1300rpx !important; */ |
| | | /* height: 50rpx; */ |
| | | /* height: 80%; */ |
| | | /* flex-wrap: wrap; */ |
| | | padding: 0 20px; |
| | | text-align: center; |
| | | |
| | | |
| | | |
| | | |
| | | li { |
| | | background-color: #fff; |
| | | color: black; |
| | | height: 600rpx; |
| | | width: 1.6rem; |
| | | height: 4.8rem; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | border: 1rpx solid #fff; |
| | | padding: 50rpx 65rpx; |
| | | /* padding: 58rpx 128rpx 88rpx; */ |
| | | text-align: center; |
| | | background: #EBF4FF; |
| | | font-weight: 600; |
| | | margin: 0 .21rem; |
| | | } |
| | | } |
| | | |
| | | .BottomColumn { |
| | | position: fixed; |
| | | left: 0px; |
| | | bottom: 0px; |
| | | padding: 20rpx 0; |
| | | width: 100%; |
| | | background-color: #e6eff8; |
| | | font-size: 10px; |
| | | color: #000; |
| | | |
| | | .Bbar { |
| | | img { |
| | | width: 60rpx; |
| | | height: 60rpx; |
| | | border-radius: 50%; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .Bbottom { |
| | | /* .Bbottom { |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | } |
| | | } */ |
| | | </style> |
| | |
| | | <!-- é¡¶é¨ --> |
| | | <headNav /> |
| | | <!-- æç´¢ --> |
| | | <view class="" style="margin: 20rpx 0;"> |
| | | <view class="flex flex-center" style="margin: 20rpx 0;"> |
| | | <luanqing-search class="search_bar" @onSearch="onSearch"></luanqing-search> |
| | | <view class="" @click="isAvancedClick" |
| | | style="color:#244A7B ;font-size: 20rpx;margin-left: 60rpx;cursor: pointer;">é«çº§æç´¢ ï¹</view> |
| | | </view> |
| | | <view class="flex flex-center"> |
| | | <!-- çé¨æç´¢ --> |
| | | <view class="flex flex-center" style="font-size: 20rpx;margin: 10rpx 0;"> |
| | | çé¨æç´¢ï¼ |
| | | <ul class="flex" style="margin-right: 10rpx;"> |
| | | <!-- |
| | | <li v-for="item in hot" :key="item.id" @tap="HotClick(item.id)" style="margin: 0 10rpx;" |
| | | :style="{color:item.bgColor==true?'#5879a4':'#000'}"> |
| | | {{item.name}} |
| | | </li>--> |
| | | <li v-for="item in hot" :key="item.id" style="margin: 0 10rpx;color: #5879a4;font-size: 20rpx;"> |
| | | {{item.name}} |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | <uni-row class="demo-uni-row" style="padding: 0 30rpx; "> |
| | | <uni-col :span="5" > |
| | | <view class="demo-uni-col dark" style="padding: 20rpx;border: 2px solid #e0e0e0;"> |
| | | <h3 style="padding-left: 20rpx;">{{profession.title}}</h3> |
| | | <ul style="margin-top: 10rpx;"> |
| | | <!-- é«çº§æç´¢ --> |
| | | <view class="" v-if="isAdvancedSearch" style="padding: 0 230rpx; margin-bottom: 10rpx;"> |
| | | <view style="background-color: #fff;padding: 20rpx;" class=""> |
| | | <h3>é«çº§æç´¢</h3> |
| | | <MyForm @submit="onSubmit" :from="from" /> |
| | | </view> |
| | | </view> |
| | | <uni-row class="demo-uni-row flex flex-items-start" style="padding: 0 230rpx; "> |
| | | <uni-col :span="5" class="fbox"> |
| | | <!-- èä¸ --> |
| | | <view class="demo-uni-col dark box" |
| | | style="margin-bottom: 40rpx;background-color: #fff; padding: 20rpx;border: 2rpx solid #e0e0e0;"> |
| | | <h3>{{profession.title}}</h3> |
| | | <ul style="margin-top: 10rpx;" :class="{ 'a': activeBox === 'a'?'a':'' }"> |
| | | <!-- background-color: #d6e3f4;border-radius: 60rpx; --> |
| | | <li class="flex" :style="{'background':profession.index === index ? '#d6e3f4' :'','borderRadius': profession.index === index ? '60rpx' :''}" v-for="(item,index) in profession.list" :key="index" style="padding:0 20rpx;"> |
| | | <li class="flex" |
| | | :style="{'background':profession.index === index ? '#d6e3f4' :'','borderRadius': profession.index === index ? '60rpx' :''}" |
| | | v-for="(item,index) in profession.list" :key="index" style="padding:0 20rpx;"> |
| | | <view class="">{{item.name}}</view> |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | | </ul> |
| | | <view class="flex flex-center"> |
| | | <view class="" style="font-size: 25rpx;color: #C1D3EA;">æ¶èµ· ^</view> |
| | | <!-- <view class="">æ´å¤</view> --> |
| | | <view class="toggleButton" style="font-size: 25rpx;color: #C1D3EA;" @click="shrinkClick('a')"> |
| | | {{ activeBox !== 'a' ? 'æ´å¤ ï¹' : 'æ¶èµ· ︿' }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- ä¸ä»£ --> |
| | | <view class="demo-uni-col dark box" |
| | | style="background-color: #fff;padding: 20rpx;border: 2rpx solid #e0e0e0;" :style="{'marginBottom': isAdvancedSearch ===true ? '0': '40rpx'}"> |
| | | <h3>{{dynasty.title}}</h3> |
| | | <ul style="margin-top: 10rpx;" :class="{ 'b': activeBox === 'b'?'b':'' }"> |
| | | <!-- background-color: #d6e3f4;border-radius: 60rpx; --> |
| | | <li class="flex" |
| | | :style="{'background':dynasty.index === index ? '#d6e3f4' :'','borderRadius': dynasty.index === index ? '60rpx' :''}" |
| | | v-for="(item,index) in dynasty.list" :key="index" style="padding:0 20rpx;"> |
| | | <view class="">{{item.name}}</view> |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | | </ul> |
| | | <view class="flex flex-center"> |
| | | <view class="toggleButton" style="font-size: 25rpx;color: #C1D3EA;" @click="shrinkClick('b')"> |
| | | {{ activeBox !== 'b' ? 'æ´å¤ ï¹' : 'æ¶èµ· ︿' }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- æ¥æº --> |
| | | <view v-if="!isAdvancedSearch" class="demo-uni-col dark box" |
| | | style="height: 250rpx;background-color: #fff;padding: 20rpx;border: 2rpx solid #e0e0e0;"> |
| | | <h3>{{source.title}}</h3> |
| | | <ul style="margin-top: 10rpx;" :class="{ 'b': activeBox === 'b'?'b':'' }"> |
| | | <!-- background-color: #d6e3f4;border-radius: 60rpx; --> |
| | | <li class="flex" v-for="(item,index) in source.list" :key="index" |
| | | style="padding:0 20rpx;color: #244A7B;font-size: 24rpx;"> |
| | | <view class="">{{ index+1 + '. ' +item.name}}</view> |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | | </ul> |
| | | <!-- <view class="flex flex-center"> |
| | | <view class="toggleButton" style="font-size: 25rpx;color: #C1D3EA;" @click="shrinkClick('b')"> |
| | | {{ activeBox !== 'b' ? 'æ´å¤ ï¹' : 'æ¶èµ· ︿' }}</view> |
| | | </view> --> |
| | | </view> |
| | | </uni-col> |
| | | <uni-col :span="19" style="padding-left: 20rpx;"> |
| | | <view class="demo-uni-col light" style="border: 1px solid #000;"> |
| | | bbb |
| | | <view class="demo-uni-col light fbox1" |
| | | style=" background-color: #fff;border: 1px solid #e0e0e0;padding: 10rpx 20rpx;"> |
| | | <view class="flex" style="margin:10rpx 0"> |
| | | <view class="" style="color: #2C2C2C;">å
±1374æ¡</view> |
| | | <el-button size="mini">ä¸è½½</el-button> |
| | | </view> |
| | | <el-table :data="tableData" size="mini" style="width: 100%"> |
| | | <el-table-column prop="serialNumber" label="åºå·" width="70"></el-table-column> |
| | | <el-table-column prop="name" label="å§å"></el-table-column> |
| | | <el-table-column prop="another" label="å«å"></el-table-column> |
| | | <el-table-column prop="gender" label="æ§å«"></el-table-column> |
| | | <el-table-column prop="epoch" label="æ¶ä»£"></el-table-column> |
| | | <el-table-column prop="year" label="çå¹´" width="70"></el-table-column> |
| | | <el-table-column prop="death" label="åå¹´" width="70"></el-table-column> |
| | | <el-table-column prop="nativePlace" label="ç±è´¯"></el-table-column> |
| | | <el-table-column prop="socialIdentity" label="社ä¼èº«ä»½"></el-table-column> |
| | | <el-table-column prop="officialPosition" label="å®è"></el-table-column> |
| | | </el-table> |
| | | </view> |
| | | </uni-col> |
| | | </uni-row> |
| | | <Footer1 /> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Footer1 from '@/components/footer/footer' |
| | | import MyForm from '@/components/form/form.vue' |
| | | export default { |
| | | components: { |
| | | Footer1, |
| | | MyForm |
| | | }, |
| | | data() { |
| | | return { |
| | | // é«çº§æç´¢æ¾ç¤º |
| | | isAdvancedSearch: false, |
| | | // é«çº§æç´¢ |
| | | from: { |
| | | from: [{ |
| | | type: 'input', |
| | | label: 'å§å', |
| | | name: 'name', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | label: 'æ§å«', |
| | | value: '', |
| | | name: 'sex', |
| | | options: [{ |
| | | label: 'ç·', |
| | | value: 'ç·' |
| | | }, |
| | | { |
| | | label: '女', |
| | | value: '女' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'èç³»', |
| | | name: 'phone', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'è¯ä»¶', |
| | | name: 'idNumber', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | label: 'ç¶æ', |
| | | name: 'state', |
| | | value: '', |
| | | options: [{ |
| | | label: 'æªç³è¯·', |
| | | value: 'æªç³è¯·' |
| | | }, |
| | | { |
| | | label: 'å·²ç³è¯·', |
| | | value: 'å·²ç³è¯·' |
| | | }, |
| | | { |
| | | label: 'å·²å é¤', |
| | | value: 'å·²å é¤' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | }, |
| | | // çé¨æç´¢ |
| | | hot: [{ |
| | | id: 1, |
| | |
| | | bgColor: false |
| | | }, ], |
| | | // èä¸ |
| | | |
| | | profession: { |
| | | title: 'èä¸', |
| | | index:0, |
| | |
| | | number:83 |
| | | }, |
| | | ] |
| | | } |
| | | }, |
| | | // å±å¼åæ¶ç¼©çæé®éè¦ |
| | | activeBox: null, |
| | | // ä¸ä»£ |
| | | dynasty: { |
| | | title: 'ä¸ä»£', |
| | | index: 0, |
| | | list: [{ |
| | | name: 'å
¨é¨', |
| | | id: 1, |
| | | number: 829 |
| | | }, |
| | | { |
| | | name: 'å', |
| | | id: 2, |
| | | number: 90 |
| | | }, { |
| | | name: 'å®', |
| | | id: 3, |
| | | number: 81 |
| | | }, { |
| | | name: 'å
', |
| | | id: 4, |
| | | number: 83 |
| | | }, |
| | | ] |
| | | }, |
| | | // æ¥æº |
| | | source: { |
| | | title: 'æ¥æº', |
| | | list: [{ |
| | | name: 'ä¸å½Kå°å¶åºèå
¸', |
| | | id: 1 |
| | | }, { |
| | | name: 'ä¸å»å»äºå¤§ä¼', |
| | | id: 2 |
| | | }, { |
| | | name: 'ä¸å½å»ä¸å¶åº¦ç ç©¶', |
| | | id: 3 |
| | | }, ] |
| | | }, |
| | | tableData: [{ |
| | | serialNumber: 1, |
| | | name: 'çå°è', |
| | | another: 'å°è', |
| | | gender: 'ç·', |
| | | epoch: 'å代', |
| | | year: 1234, |
| | | death: 1332, |
| | | nativePlace: 'æ²³å', |
| | | socialIdentity: 'ä¸å»', |
| | | officialPosition: 'é¢å¤' |
| | | }, { |
| | | serialNumber: 2, |
| | | name: 'çwå°è', |
| | | another: 'wå°è', |
| | | gender: 'wç·', |
| | | epoch: 'åw代', |
| | | year: 1234, |
| | | death: 1332, |
| | | nativePlace: 'æ²³å', |
| | | socialIdentity: 'ä¸å»', |
| | | officialPosition: 'é¢å¤' |
| | | }, { |
| | | serialNumber: 1, |
| | | name: 'çå°è', |
| | | another: 'å°è', |
| | | gender: 'ç·', |
| | | epoch: 'å代', |
| | | year: 1234, |
| | | death: 1332, |
| | | nativePlace: 'æ²³å', |
| | | socialIdentity: 'ä¸å»', |
| | | officialPosition: 'é¢å¤' |
| | | }] |
| | | } |
| | | }, |
| | | mounted() { |
| | | // ä¿®æ¹ä¸¤æ¬¡çé«åº¦ä¿æä¸è´ |
| | | var box1Height = document.querySelector('.fbox').offsetHeight; |
| | | document.querySelector('.fbox1').style.height = box1Height + 'px'; |
| | | }, |
| | | methods: { |
| | | isAvancedClick() { |
| | | this.isAdvancedSearch = !this.isAdvancedSearch |
| | | this.$nextTick(() => { |
| | | |
| | | var box1Height = document.querySelector('.fbox').offsetHeight; |
| | | // let box2Height= document.querySelector('.fbox1').style.height = box1Height + 'px'; |
| | | let box2Height = document.querySelector('.fbox1').offsetHeight |
| | | console.log(box1Height, box2Height); |
| | | if (box1Height <= box2Height) { |
| | | document.querySelector('.fbox1').style.height = box1Height + 'px'; |
| | | } |
| | | }) |
| | | }, |
| | | onSubmit(val) { |
| | | console.log(val); |
| | | }, |
| | | onSearch(val) { |
| | | |
| | | console.log(val); |
| | | }, |
| | | // çé¨æç´¢ |
| | |
| | | }) |
| | | |
| | | }, |
| | | // å±å¼æ¶ç¼© |
| | | shrinkClick(box) { |
| | | console.log(box); |
| | | if (this.activeBox === box) { |
| | | this.activeBox = null; |
| | | } else { |
| | | this.activeBox = box; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | * { |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .a { |
| | | height: 200px; |
| | | } |
| | | |
| | | .b { |
| | | height: 100px; |
| | | } |
| | | |
| | | .box { |
| | | transition: height 0.3s; |
| | | /* æ·»å è¿æ¸¡ææ */ |
| | | overflow: hidden; |
| | | /* é¿å
å
å®¹æº¢åº */ |
| | | |
| | | } |
| | | |
| | | ::v-deep .el-table th, |
| | | ::v-deep .el-table td { |
| | | text-align: center; |
| | | } |
| | | |
| | | ::v-deep .has-gutter tr>th { |
| | | background-color: #DDE8F6 !important; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <view> |
| | | <view class="NavTop flex"> |
| | | <view class=""><img src="../../static/ä¸å»äººç©ç¥è¯åº0201/䏿¡æ .png" alt="" /></view> |
| | | <view class="">ä¸å»å»å¦äººç©ç¥è¯åº</view> |
| | | <view class="NavTopr"> |
| | | <img src="../../static/ä¸å»äººç©ç¥è¯åº0201/䏿¡æ .png" alt="" /> |
| | | <img src="../../static/ä¸å»äººç©ç¥è¯åº0201/䏿¡æ .png" alt="" /> |
| | | <img src="../../static/ä¸å»äººç©ç¥è¯åº0201/䏿¡æ .png" alt="" /> |
| | | </view> |
| | | </view> |
| | | <view class="mImage"> |
| | | <img src="https://img0.baidu.com/it/u=3838093562,4126749835&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1710522000&t=a986064700deada5ec74d05e02abd8b5" |
| | | alt="" /> |
| | | </view> |
| | | <view class="relative"> |
| | | <headNav /> |
| | | <view class="Midde flex"> |
| | | <view class="MiddeBack">è¿å</view> |
| | | <el-button class="MiddeBack" size="mini" @click="goBack">è¿å</el-button> |
| | | <view style="width: 70%;" class="flex flex-center flex-column"> |
| | | <view class="" style="font-weight: 900;margin-bottom:15rpx ;font-size: 30rpx;">ææ¶ç</view> |
| | | <ul class="flex" style="line-height: 1.2;"> |
| | | <li v-for="item in 3" |
| | | style="font-size: 20rpx; background-color: #fff;color: #415c7a; border: 2rpx solid #415c7a;border-radius: 30rpx;padding: 0 15rpx;margin-right: 10rpx;"> |
| | | ssdf</li> |
| | | <view class="" style="font-weight: bold;font-size: .20rem;">ææ¶ç</view> |
| | | <ul class="flex" style="line-height: 1.2;margin: .15rem 0 ;"> |
| | | <li v-for="item in 4" |
| | | style="background-color: #fff; padding: 0 .08rem ; border: .01rem solid #000;border-radius:.1rem ;font-size: .12rem;text-align: center;margin-right: .15rem;"> |
| | | VSDS</li> |
| | | </ul> |
| | | <view class="fz" style="font-size: 20rpx;margin: 20rpx 0;"> |
| | | äºæ¶ç(1518å¹´-1593å¹´)ï¼å:ä¸é
ï¼æ¶äººè°ä¹:äºä¸èãå·æ¸æ¹ï¼æå¹´èªå·æ¹æ¹å±±äººï¼æ¹åæ°å·(仿¹åçé»å叿°æ¥å¿é
±å·é)äººï¼æ±æï¼çå¹²ææ¦å®æ£å¾·åä¸å¹´(å
Œ
1518å¹´)ï¼åäºç¥å´ä¸åäºåäºå¹´(å
Œ
1593å¹´)ãæ¯ä¸å½æä»£ä¸ä¸å¯åé½åçå»å¦å®¶ãè¯ç©å¦å®¶ãåç©å¦å®¶ãèè¿°å®¶ãææ¶ç对éå®¶å»å¦ç髿¿æ¯å¤æ¹é¢çï¼æ¾åèå代æå
³å»è¯åå
¶å¦æ¯ä¹¦ç±å
«ç¾ä½ç§ï¼ç»åèªèº«ç»éªåè°æ¥ç ç©¶ï¼åæ¶27å¹´ç¼æãæ¬èç½ç®ãä¸ä¹¦ï¼æ¯æå½å¤ä»£è¯ç©å¦çæ»ç»æ§å·¨è¦ï¼å¨å½å
å¤åæå¾é«çè¯ä»·ï¼å·²æå¿ç§æåçè¯æ¬æèè¯æ¬ï¼å
¶è¥æãæ¿èå¦ã |
| | | <view class="fz font-family" |
| | | style="font-size: .13rem;font-weight: normal;line-height: .2rem;letter-spacing: .03rem;"> |
| | | ææ¶ç(1518å¹´-1593å¹´)ï¼å: |
| | | ä¸ç§ï¼æ¶äººè°ä¹:æä¸ç§ãå·æ¿æ¹ï¼æå¹´èªå·æ¿æ¹å±±äººï¼æ¹åèªå·(仿¹åçé»åå¸èªæ¥å¿èªå·é)äººï¼æ±æï¼çäºææ¦å®æ£å¾·åä¸å¹´(å
Œ
1518å¹´)ï¼åäºç¥å®ä¸åäºåäºå¹´(å
Œ
1593å¹´)ãæ¯ä¸å½æä»£ä¸ä¸å¯æé½åçå»å¦å®¶ãè¯ç©å¦å®¶ãåç©å¦å®¶ãèè¿°å®¶ãææ¶ç对éå®¶å»å¦çç»§æ¿æ¯å¤æ¹é¢çï¼æ¾åèå代æå
³å»è¯åå
¶å¦æ¯ä¹¦ç±å
«ç¾ä½ç§ï¼ç»åèªèº«ç»éªåè°æ¥ç ç©¶ï¼åæ¶27å¹´ç¼æãæ¬è纲ç®ãä¸ä¹¦ï¼æ¯æå½å¤ä»£è¯ç©å¦çæ»ç»æ§å·¨èï¼å¨å½å
å¤åæå¾é«çè¯ä»·ï¼å·²æå ç§æåçè¯æ¬æèè¯æ¬ï¼å
¶èæãæ¿æ¹èå¦ã |
| | | </view> |
| | | <view class="flex" style="width: 100%;"> |
| | | <view class="flex" style="width: 100%;margin: .25rem 0 .15rem 0;"> |
| | | <view class=""> |
| | | <el-button style="padding: 10rpx;" size="mini" icon="el-icon-folder-add">æ¶è</el-button> |
| | | <el-button style="padding: 10rpx;" size="mini" icon="el-icon-set-up">å¼ç¨</el-button> |
| | | <!-- <el-button style="padding: 10rpx;" size="mini" icon="el-icon-folder-add">æ¶è</el-button> --> |
| | | <el-button style="padding: .05rem .085rem;" size="mini" icon="el-icon-set-up">å¼ç¨</el-button> |
| | | </view> |
| | | <view class="" style="font-size: 20rpx;">é
读æ´å¤></view> |
| | | <view class="" style="font-size: .12rem;color: #244A7B;">é
读æ´å¤></view> |
| | | </view> |
| | | </view> |
| | | <view class="" style="width: 5%;"></view> |
| | | </view> |
| | | <el-row style="padding: 30rpx 30rpx 0; "> |
| | | <el-row style="padding: 0 1.2rem 0;padding-top: .24rem;"> |
| | | <!-- 左侧 --> |
| | | <el-col :span="6"> |
| | | <el-col :span="5" style="padding-right: .2rem;width: 2.8rem;"> |
| | | <div class="grid-content bg-purple-dark flex flex-column"> |
| | | <el-card class="box-card" style="width: 100%;"> |
| | | <div class="clearfix" style="font-weight: 700;"> |
| | | <span>å
³ç³»å¾è°±</span> |
| | | <el-card class="box-card" style="width: 100%;height: 2.06rem;"> |
| | | <div class="clearfix" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | | <span style="margin-left: .12rem;">å
³ç³»å¾è°±</span> |
| | | <el-button icon="el-icon-rank" style="float: right; padding: 3px 0" type="text"></el-button> |
| | | </div> |
| | | <view id="relation" style="height: 200rpx;width: 100%;"></view> |
| | | <view id="relation" style="height: 1.51rem;width: 100%;"></view> |
| | | </el-card> |
| | | <el-card class="box-card" style="width: 100%; margin: 20rpx 0;"> |
| | | <div class="clearfix" style="font-weight: 700;"> |
| | | <el-card class="box-card" style="width: 100%;height: 2.06rem; margin: .26rem 0;"> |
| | | <div class="clearfix" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | | <span>æ¶ç©ºå°é</span> |
| | | <el-button icon="el-icon-rank" style="float: right; padding: 3px 0" type="text"></el-button> |
| | | </div> |
| | | <view id="spaceTime" style="height: 300rpx;width: 100%;position: relative;"></view> |
| | | <view class="" |
| | | style="line-height: 1.65; margin-top: 10rpx; background-color: #e9e9e9;padding-left: 10rpx;font-size: 20rpx;"> |
| | | <view class="" style="padding-top: 10rpx ;font-weight: 800;">æ¥æº</view> |
| | | <view class="">1.ãæå²Â·å·äºç¾ä¹åä¹Â·åä½å. p52</view> |
| | | <view class="">2.ãè¿(æ¬è纲ç®)çã p52</view> |
| | | </el-card> |
| | | <el-card style="width: 100%;height: 2.06rem;"> |
| | | <div class="clearfix" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | | <span>æ¥æº</span> |
| | | </div> |
| | | <ul class="font-family" style="height: 300rpx;font-size: .12rem;line-height: .3rem;"> |
| | | <li>1.ãæå²Â·å·äºç¾ä¹åä¹Â·åä½å. p52</li> |
| | | <li>2.ãè¿(æ¬è纲ç®)çã p52</li> |
| | | </ul> |
| | | </el-card> |
| | | </div> |
| | | </el-col> |
| | | <!-- å³ä¾§ --> |
| | | <el-col :span="18" class="BoxRight"> |
| | | <div class="grid-content bg-purple-dark" style="width: 100%;"> |
| | | <el-card class="box-card" style="padding: 0;"> |
| | | <div class="clearfix" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | | <span>åºç¡ä¿¡æ¯</span> |
| | | </div> |
| | | <!-- åºç¡ä¿¡æ¯ --> |
| | | <cc-defineTable :tableData="tableArr"></cc-defineTable> |
| | | </el-card> |
| | | <el-card class="box-card" style=" min-height: 1.91rem; margin: 20rpx 0;"> |
| | | <el-tabs ref="tabs" v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane label="代表èä½" data-id="1" name="representative"> |
| | | <Table1 :data="tableData" :columns="tableColumns" /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="亲å±å
³ç³»" data-id="2" name="family "> |
| | | 亲å±å
³ç³» |
| | | </el-tab-pane> |
| | | <el-tab-pane label="叿¿å
³ç³»" data-id="3" name="mentoring ">叿¿å
³ç³»</el-tab-pane> |
| | | <el-tab-pane label="社ä¼å
³ç³»" data-id="4" name="society">社ä¼å
³ç³»</el-tab-pane> |
| | | <el-tab-pane label="æ´»å¨å¹´è°±" data-id="5" name="activity">æ´»å¨å¹´è°±</el-tab-pane> |
| | | </el-tabs> |
| | | |
| | | </el-card> |
| | | <el-card style=" margin-bottom: .2rem ;"> |
| | | <div class="clearfix" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | | <span>ç¸å
³é表/å¾å</span> |
| | | </div> |
| | | <view class="flex"> |
| | | <el-image v-for="item in 4" :key="item" style="width: 2.05rem; height: 1.4rem" |
| | | src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg" |
| | | fit="fill"></el-image> |
| | | </view> |
| | | </el-card> |
| | | <el-card class="box-card" style="width: 100%; line-height: 1.18;font-size: 21.5rpx;"> |
| | | <ul> |
| | | <el-card class="box-card"> |
| | | <div class="clearfix" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | | <span>ç¸å
³é表/å¾å</span> |
| | | </div> |
| | | <ul class="font-family" style="font-size: .12rem;line-height: 2;"> |
| | | <li> |
| | | [1|åç,è°¢è,å¼ ç£,ç.å人æç ç©¶çå½å®¶æ°æ®åºç¡è®¾æ½å»ºè®¾[J|.ä¸å½å¾ä¹¦é¦å¦æ¥,2016,42(5):29-39. |
| | | </li> |
| | |
| | | </el-card> |
| | | </div> |
| | | </el-col> |
| | | <!-- å³ä¾§ --> |
| | | <el-col :span="18" style="padding-left: 20rpx;"> |
| | | <div class="grid-content bg-purple-dark"> |
| | | <el-card class="box-card"> |
| | | <div class="clearfix" style="font-weight: 700;"> |
| | | <span>å
³ç³»å¾è°±</span> |
| | | </div> |
| | | <!-- åºç¡ä¿¡æ¯ --> |
| | | <cc-defineTable :tableData="tableArr"></cc-defineTable> |
| | | </el-card> |
| | | <el-card class="box-card" style=" height: 270rpx; margin: 20rpx 0;"> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane label="代表èä½" name="representative"> |
| | | <Table1 :data="tableData" :columns="tableColumns" /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="亲å±å
³ç³»" name="family "> |
| | | 亲å±å
³ç³» |
| | | </el-tab-pane> |
| | | <el-tab-pane label="叿¿å
³ç³»" name="mentoring ">叿¿å
³ç³»</el-tab-pane> |
| | | <el-tab-pane label="社ä¼å
³ç³»" name="society">社ä¼å
³ç³»</el-tab-pane> |
| | | <el-tab-pane label="æ´»å¨å¹´è°±" name="activity">æ´»å¨å¹´è°±</el-tab-pane> |
| | | </el-tabs> |
| | | </el-card> |
| | | <el-card style=" margin-bottom: 20rpx ;"> |
| | | <div class="clearfix" style="font-weight: 700;"> |
| | | <span>å
³ç³»å¾è°±</span> |
| | | </div> |
| | | <view class="flex"> |
| | | <el-image v-for="item in 4" :key="item" style="width: 20%; height: 130rpx" |
| | | src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg" |
| | | fit="fill"></el-image> |
| | | </view> |
| | | </el-card> |
| | | <el-card> |
| | | <div class="clearfix" style="font-weight: 700;"> |
| | | <span>ç¸å
³é表/å¾å</span> |
| | | </div> |
| | | <Table1 :data="tableData" :columns="tableColumns" /> |
| | | </el-card> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <!-- 个人å°ä¼ --> |
| | | <el-dialog :visible.sync="isProfile"> |
| | | <view class="ProfileNav flex flex-center"> |
| | | 个人å°ä¼ |
| | | </view> |
| | | <view class="" style="padding: .44rem .3rem;min-height: 7.32rem;" > |
| | | <view class="" style="margin-bottom: .2rem; background-color: #F0F0F0;padding: .18rem .1rem .1rem .27rem;font-size: .12rem;line-height: .24rem;font-weight: 400;"> |
| | | <view class="" style="color: #2C2C2C;"> |
| | | èå±ä¸ä¸å鿥岩é¢åºå
èææ± ç¿èãåå½é
¸æãå
«å·ï¼çç²¾æå¥¥å®¤ï¼èçæªè½ç¯é ï¼çå æ®ç²¹æ³èï¼åµæ°æ¤åï¼ä»¥ä¾¿æºçï¼ææåãä¸ä¹é·ç
é¨å®¶ï¼å¸ä»¥æçé¦å¡ï¼ä¸ç¥æ´¾ä¹åè½ä¹æ«ï¼è°ä¹å·§è
é¨ãä¸å£«æ¬²èå
¶å
¨ï¼éåä¸å¯ã |
| | | </view> |
| | | <view class="flex"> |
| | | <view class=""></view> |
| | | <view class="" style="font-weight: 700;color: #2C2C2C;">ââãå¥å
«æèãP 3</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </el-dialog> |
| | | |
| | | |
| | | |
| | | <!-- è¿åé¡¶é¨ --> |
| | | <el-col style="position: absolute;bottom: 1.44rem;left:1.20rem ;"> |
| | | <el-button icon="el-icon-download" circle @click="scrollToTop"></el-button> |
| | | </el-col> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | isProfile: true, |
| | | // å
³ç³»å¾è°± |
| | | activeName: 'representative', |
| | | // åºç¡ä¿¡æ¯ |
| | |
| | | category: 'ä¸å»å¦', |
| | | id: 1 |
| | | |
| | | }, { |
| | | worksName: 'æ¬è纲ç®', |
| | | works: 'æäºç', |
| | | literature: 'ä½è
', |
| | | epoch: 'ç°ä»£', |
| | | category: 'ä¸å»å¦', |
| | | id: 1 |
| | | |
| | | }] |
| | | } |
| | | }, |
| | | mounted() { |
| | | |
| | | // å
³ç³»å¾è°± |
| | | this.relation() |
| | | // æ¶ç©ºå°å¾ |
| | | loadBMap('5USVDAhhS4ssz44HLq3gNPZai7naXf4Q').then(() => { |
| | | this.spaceTime() |
| | | }) |
| | | this.$nextTick(() => { |
| | | // è·å第ä¸ä¸ªé项å¡ç DOM å
ç´ |
| | | const firstTab = this.$refs.tabs.$el.querySelector('.el-tabs__active-bar'); |
| | | firstTab.style.transform = 'translateX(' + '-20px' + ')' |
| | | console.log(firstTab); |
| | | }); |
| | | }, |
| | | methods: { |
| | | handleClick(tab, event) { |
| | | console.log(tab, event); |
| | | // è¿åä¸ä¸é¡µ |
| | | goBack() { |
| | | uni.navigateBack(); |
| | | }, |
| | | // è¿åé¡¶é¨ |
| | | scrollToTop() { |
| | | console.log('ss'); |
| | | window.scrollTo({ |
| | | top: 0, |
| | | behavior: "smooth" // 使ç¨å¹³æ»æ»å¨ |
| | | }); |
| | | }, |
| | | handleClick(tab) { |
| | | let index = tab.$attrs['data-id'] - 1 |
| | | this.$nextTick(() => { |
| | | if (index != 0) { |
| | | let firstTab = this.$refs.tabs.$el.querySelector('.el-tabs__active-bar'); |
| | | firstTab.style.transform = 'translateX(' + 100 * index + 'px)' |
| | | } else { |
| | | let firstTab = this.$refs.tabs.$el.querySelector('.el-tabs__active-bar'); |
| | | firstTab.style.transform = 'translateX(' + '-20' + 'px)' |
| | | } |
| | | // console.log(firstTab); |
| | | }) |
| | | }, |
| | | // å
³ç³»å¾è°± |
| | | relation() { |
| | | var chartDom = document.getElementById('relation'); |
| | | var myChart = echarts.init(chartDom); |
| | | // åè®¾æ¨æèç¹åç§°åå®ä»¬ä¹é´çå
³ç³»æ°æ® |
| | | var nodes = ['ææ¶ç', 'æå°±', 'ä¼ æ¿', '亲å', 'èä½']; |
| | | var relationships = [{ |
| | | source: 'ææ¶ç', |
| | | target: 'æå°±' |
| | | }, |
| | | { |
| | | source: 'ææ¶ç', |
| | | target: 'ä¼ æ¿' |
| | | }, |
| | | { |
| | | source: 'ææ¶ç', |
| | | target: '亲å' |
| | | }, |
| | | { |
| | | source: 'ææ¶ç', |
| | | target: 'èä½' |
| | | }, |
| | | // å
¶ä»å
³ç³»... |
| | | ]; |
| | | |
| | | // æ ¹æ®å
³ç³»æ°æ®çæè¿æ¥çº¿ |
| | | var links = []; |
| | | relationships.forEach(function(relationship) { |
| | | var sourceIndex = nodes.indexOf(relationship.source); |
| | | var targetIndex = nodes.indexOf(relationship.target); |
| | | if (sourceIndex !== -1 && targetIndex !== -1) { |
| | | links.push({ |
| | | source: sourceIndex, |
| | | target: targetIndex |
| | | }); |
| | | } |
| | | |
| | | }); |
| | | console.log(links); |
| | | // æ ¹æ®nodes卿çæèç¹æ°æ® |
| | | var nodeData = nodes.map(function(node, index) { |
| | | return { |
| | | name: node, |
| | | x: Math.random() * 1000, // è®¾ç½®éæºxåæ ä½ç½® |
| | | y: Math.random() * 600, // è®¾ç½®éæºyåæ ä½ç½® |
| | | itemStyle: { |
| | | color: getColorByIndex(index) // å¯ä»¥æ ¹æ®ç´¢å¼è®¾ç½®ä¸åçé¢è² |
| | | } |
| | | }; |
| | | }); |
| | | // 设置é¢è² |
| | | function getColorByIndex(index) { |
| | | var colors = ['#ecf4ff', '#dd9795', '#f1edbe', '#ecf4ff', '#c5dbd8']; // å¯ä»¥æ ¹æ®å®é
æ
åµè®¾ç½®é¢è²æ°ç» |
| | | return colors[index % colors.length]; |
| | | } |
| | | var option; |
| | | option = { |
| | | tooltip: {}, |
| | |
| | | series: [{ |
| | | type: 'graph', |
| | | layout: 'none', |
| | | symbolSize: 50, |
| | | // roam: true, |
| | | symbolSize: 40, // è°æ´èç¹å¤§å° |
| | | label: { |
| | | show: true |
| | | show: true, |
| | | color: 'black' // 设置èç¹æåé¢è²ä¸ºé»è² |
| | | }, |
| | | edgeSymbol: ['circle'], |
| | | edgeSymbolSize: [4, 10], |
| | | edgeLabel: { |
| | | fontSize: 20 |
| | | }, |
| | | data: [{ |
| | | name: 'Node 1', |
| | | x: 300, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: 'yellow' // èç¹èæ¯è²ä¸ºé»è² |
| | | } |
| | | }, |
| | | { |
| | | name: 'Node 2', |
| | | x: 800, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: 'red' // èç¹èæ¯è²ä¸ºé»è² |
| | | } |
| | | }, |
| | | { |
| | | name: 'Node 3', |
| | | x: 550, |
| | | y: 100, |
| | | itemStyle: { |
| | | color: 'blue' // èç¹èæ¯è²ä¸ºé»è² |
| | | } |
| | | }, |
| | | { |
| | | name: 'Node 4', |
| | | x: 550, |
| | | y: 500, |
| | | itemStyle: { |
| | | color: 'green' // èç¹èæ¯è²ä¸ºç»¿è² |
| | | } |
| | | } |
| | | ], |
| | | // links: [], |
| | | data: nodeData, |
| | | links: [{ |
| | | source: 0, |
| | | target: 1, |
| | |
| | | }] |
| | | }; |
| | | |
| | | // å°çæçè¿æ¥çº¿æ·»å å°echartså¾è¡¨çoptionä¸ |
| | | option.series[0].links = links; |
| | | option && myChart.setOption(option); |
| | | }, |
| | | // æ¶ç©ºå°å¾ |
| | | spaceTime() { |
| | | |
| | | var chartDom = document.getElementById('spaceTime'); |
| | | var myChart = echarts.init(chartDom); |
| | | var option; |
| | |
| | | const data = [{ |
| | | name: 'æµ·é¨', |
| | | value: 9 |
| | | }, |
| | | { |
| | | name: 'éå°å¤æ¯', |
| | | value: 12 |
| | | }, |
| | | { |
| | | name: 'æè¿', |
| | | value: 12 |
| | | }, |
| | | { |
| | | name: 'èå±±', |
| | | value: 12 |
| | | }, |
| | | { |
| | | name: 'é½é½åå°', |
| | | value: 14 |
| | | }, |
| | | { |
| | | name: 'çå', |
| | | value: 15 |
| | | }, |
| | | { |
| | | name: '赤峰', |
| | | value: 16 |
| | | }, |
| | | { |
| | | name: 'éå²', |
| | | value: 18 |
| | | }, |
| | | { |
| | | name: '乳山', |
| | | value: 18 |
| | | }, |
| | | { |
| | | name: 'éæ', |
| | |
| | | æµ·é¨: [121.15, 31.89], |
| | | éå°å¤æ¯: [109.781327, 39.608266], |
| | | æè¿: [120.38, 37.35], |
| | | èå±±: [122.207216, 29.985295], |
| | | ä¹é²æ¨é½: [87.68, 43.77], |
| | | æ£åº: [117.57, 34.86], |
| | | æå·: [120.19, 30.26], |
| | | æ·å: [118.05, 36.78], |
| | | éå±±: [122.85, 41.12], |
| | | 溧é³: [119.48, 31.43], |
| | | åºå°å: [86.06, 41.68], |
| | | å®é³: [114.35, 36.1], |
| | | å¼å°: [114.35, 34.79], |
| | | æµå: [117, 36.65], |
| | | å¾·é³: [104.37, 31.13], |
| | | 温å·: [120.65, 28.01], |
| | | 乿±: [115.97, 29.71], |
| | | é¯é¸: [114.47, 36.6], |
| | | 临å®: [119.72, 30.23], |
| | | å
°å·: [103.73, 36.03], |
| | | æ²§å·: [116.83, 38.33], |
| | | 临æ²: [118.35, 35.05], |
| | | åå
: [106.110698, 30.837793], |
| | | 天津: [117.2, 39.13], |
| | | å¯é³: [119.95, 30.07], |
| | | æ³°å®: [117.13, 36.18], |
| | | 诸æ¨: [120.23, 29.71], |
| | | éå·: [113.65, 34.76], |
| | | åå°æ»¨: [126.63, 45.75], |
| | | èå: [115.97, 36.45], |
| | | èæ¹: [118.38, 31.33], |
| | | åå±±: [118.02, 39.63], |
| | | 平顶山: [113.29, 33.75], |
| | | é¢å°: [114.48, 37.05], |
| | | å¾·å·: [116.29, 37.45], |
| | |
| | | }, |
| | | bmap: { |
| | | center: [104.114129, 37.550339], |
| | | zoom: 5, |
| | | zoom: 1, |
| | | roam: true, |
| | | mapStyle: { |
| | | styleJson: [{ |
| | |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#f3f3f3' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'railway', |
| | | elementType: 'all', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'highway', |
| | | elementType: 'all', |
| | | stylers: { |
| | | color: '#fdfdfd' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'highway', |
| | | elementType: 'labels', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'arterial', |
| | | elementType: 'geometry', |
| | | stylers: { |
| | | color: '#fefefe' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'arterial', |
| | | elementType: 'geometry.fill', |
| | | stylers: { |
| | | color: '#fefefe' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'poi', |
| | | elementType: 'all', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'green', |
| | | elementType: 'all', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | }, |
| | | { |
| | | featureType: 'subway', |
| | | elementType: 'all', |
| | | stylers: { |
| | | visibility: 'off' |
| | | } |
| | | }, |
| | | { |
| | |
| | | ] |
| | | }; |
| | | |
| | | |
| | | option && myChart.setOption(option); |
| | | |
| | | }, |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | /* 个人å°ä¼ ------------------*/ |
| | | ::v-deep .el-dialog__header { |
| | | display: none; |
| | | } |
| | | |
| | | ::v-deep .el-dialog__body { |
| | | padding: 0; |
| | | } |
| | | ::v-deep .el-dialog__wrapper{ |
| | | z-index: 999999999999999 !important; |
| | | } |
| | | |
| | | .ProfileNav { |
| | | width: 100%; |
| | | height: 0.7rem; |
| | | background: url(@/static/image/ProfileBg.png); |
| | | background-size: 100% 100%; |
| | | font-size: .24rem; |
| | | color: #2C2C2C; |
| | | font-weight: bold; |
| | | } |
| | | |
| | | /* ------------------- */ |
| | | |
| | | |
| | | img { |
| | | width: 100%; |
| | | height: 100%; |
| | |
| | | .Midde { |
| | | background-color: #dbeafd; |
| | | color: #000; |
| | | padding: 5rpx 40rpx 0; |
| | | /* padding: 5rpx 40rpx 0; */ |
| | | padding: .24rem .18rem; |
| | | align-items: flex-start; |
| | | |
| | | view { |
| | | color: #000; |
| | | } |
| | | |
| | | |
| | | .MiddeBack { |
| | | width: 0.6rem; |
| | | height: 0.24rem; |
| | | } |
| | | } |
| | | |
| | | |
| | | .fz { |
| | | line-height: 1.3; |
| | | /* line-height: 1.3; |
| | | height: 100rpx; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | display: -webkit-box; |
| | | -webkit-line-clamp: 4; |
| | | -webkit-box-orient: vertical; |
| | | -webkit-box-orient: vertical; */ |
| | | color: #2C2C2C; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | padding: 10rpx !important; |
| | | padding: .1rem !important; |
| | | } |
| | | |
| | | /* echartå°å¾æ°´å° */ |
| | |
| | | background-color: transparent; |
| | | } |
| | | |
| | | ::v-deep .el-tabs__nav { |
| | | margin-bottom: .2rem !important; |
| | | |
| | | } |
| | | |
| | | ::v-deep .el-tabs__nav-scroll { |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | |
| | | ::v-deep .el-tabs__item { |
| | | font-size: 20rpx; |
| | | width: 1rem; |
| | | font-size: .14rem; |
| | | line-height: 40rpx; |
| | | height: 40rpx; |
| | | } |
| | | |
| | | ::v-deep .el-tabs__header{ |
| | | margin: 0 0 10rpx; |
| | | } |
| | | |
| | | ::v-deep .el-tabs__active-bar { |
| | | /* 设置æ»å¨æ¡å®½åº¦ */ |
| | | width: 1rem !important; |
| | | height: .03rem !important; |
| | | background-color: #597AA5; |
| | | transform: translateX(-20px); |
| | | /* margin-top: .09rem; */ |
| | | } |
| | | |
| | | ::v-deep .el-tabs__active-bar { |
| | | top: .3rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-table::before { |
| | | background-color: #fff !important; |
| | | } |
| | | |
| | | .BoxRight ::v-deep.el-card__body { |
| | | padding: .2rem .14rem !important; |
| | | } |
| | | |
| | | .BoxRight .box-card { |
| | | margin-bottom: .2rem !important; |
| | | } |
| | | </style> |
| | |
| | | <el-container> |
| | | <!-- å¤´é¨ --> |
| | | <el-header> |
| | | <div style=" |
| | | <view style=" |
| | | display: flex; |
| | | height: 50px; |
| | | width: 100%; |
| | |
| | | align-items: center; |
| | | background-color: #C98A49; |
| | | "> |
| | | <div class="header-one" style="padding-left: 1.5%; "> |
| | | <view class="header-one" style="padding-left: 1.5%; "> |
| | | <i class="el-icon-s-unfold" style="font-size: 24px;"></i> |
| | | </div> |
| | | <div class="header-two" style="font-size: 20px; color: aliceblue"> |
| | | </view> |
| | | <view class="header-two" style="font-size: 20px; color: aliceblue"> |
| | | ä¸å»ä¸å»ä¼ æ¿æ°æ®åº |
| | | </div> |
| | | <div class="header-three"> |
| | | <div> |
| | | </view> |
| | | <view class="header-three"> |
| | | <view> |
| | | <i class="el-icon-search" style="font-size: 24px; "></i> |
| | | <i class="el-icon-question" style="font-size: 24px;"></i> |
| | | <i class="el-icon-user-solid" style="font-size: 24px;"></i> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="huawenimg"> |
| | | </div> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="huawenimg"> |
| | | </view> |
| | | </el-header> |
| | | <!-- 主ä½é¨å --> |
| | | <el-main> |
| | | <div style=" |
| | | <view style=" |
| | | display: flex; |
| | | justify-content: center; |
| | | border-bottom: 1px solid gray;"> |
| | | <div style="display: flex; justify-content: flex-start; margin-right: auto"> |
| | | <view style="display: flex; justify-content: flex-start; margin-right: auto"> |
| | | <el-button class="button" @click="hideNodesAndLinks()">è¿å</el-button> |
| | | </div> |
| | | </view> |
| | | <!-- æ·»å ä¸ä¸ªflex容卿¥å
裹el-menuï¼å¹¶è®¾ç½®å
¶flex屿§ä»¥å æ®å©ä½ç©ºé´ --> |
| | | <div style="display: flex; justify-content: center; flex: 1;"> |
| | | <view style="display: flex; justify-content: center; flex: 1;"> |
| | | <!-- è¿éæ¯èåç忢 --> |
| | | <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" |
| | | @select="handleSelect"> |
| | |
| | | <router-link to="zhongyitwo" class="router-link-active"> |
| | | ä¸å»æå</router-link></el-menu-item> |
| | | </el-menu> |
| | | </div> |
| | | </div> |
| | | </view> |
| | | </view> |
| | | <router-view> |
| | | </router-view> |
| | | </el-main> |
| | |
| | | </template> |
| | | <script> |
| | | import * as echarts from "echarts"; |
| | | export default {} |
| | | export default { |
| | | data() { |
| | | return { |
| | | activeIndex:1 |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | .huawenimg { |
New file |
| | |
| | | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="å¾å±_2" data-name="å¾å± 2"><g id="å¾å±_1-2" data-name="å¾å± 1"><circle class="cls-1" cx="17" cy="14.73" r="6.23"/><path class="cls-1" d="M17,0A17,17,0,1,0,34,17,17,17,0,0,0,17,0Zm7.05,27.77A5.35,5.35,0,0,0,20,22.67a8.33,8.33,0,0,1-5.86,0,5.32,5.32,0,0,0-3.93,5.06H7.93a7.24,7.24,0,0,1,3.74-6.42,8.5,8.5,0,1,1,10.76-.09,7.26,7.26,0,0,1,3.89,6.51Z"/></g></g></svg> |
New file |
| | |
| | | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="å¾å±_2" data-name="å¾å± 2"><g id="å¾å±_1-2" data-name="å¾å± 1"><path class="cls-1" d="M17,0A17,17,0,1,0,34,17,17,17,0,0,0,17,0Zm1.4,27.65H15.49v-2.9H18.4Zm4.61-13a11.91,11.91,0,0,1-2.5,2.8,12,12,0,0,0-1.63,1.63,3.74,3.74,0,0,0-.57,1.21,10.22,10.22,0,0,0-.21,2.21H15.65v-.76a7.25,7.25,0,0,1,.42-2.61,5.91,5.91,0,0,1,1-1.66,18.08,18.08,0,0,1,1.84-1.77,8.45,8.45,0,0,0,1.7-1.88,3,3,0,0,0,.4-1.51,3.57,3.57,0,0,0-1.16-2.62A4,4,0,0,0,17,8.59a3.87,3.87,0,0,0-2.74,1,5.4,5.4,0,0,0-1.43,3.2l-2.65-.34A6.71,6.71,0,0,1,12.31,8a6.74,6.74,0,0,1,4.63-1.55,6.92,6.92,0,0,1,4.87,1.66,5.25,5.25,0,0,1,1.82,4A5.13,5.13,0,0,1,23,14.68Z"/></g></g></svg> |
New file |
| | |
| | | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="å¾å±_2" data-name="å¾å± 2"><g id="å¾å±_1-2" data-name="å¾å± 1"><circle class="cls-1" cx="15.95" cy="15.44" r="6.7"/><path class="cls-1" d="M17,0A17,17,0,1,0,34,17,17,17,0,0,0,17,0ZM16,24.82a9.39,9.39,0,1,1,9.39-9.38A9.38,9.38,0,0,1,16,24.82Zm9.79,2.95L22,24l1.87-1.89,3.75,3.76Z"/></g></g></svg> |
| | |
| | | * { |
| | | margin: 0%; |
| | | padding: 0; |
| | | /* box-sizing: border-box; */ |
| | | box-sizing: border-box; |
| | | } |
| | | html { |
| | | font-size: calc(100 * 100vw / 1440) !important; |
| | | /* font-size: 10px; */ |
| | | } |
| | | |
| | | body { |
| | | font-size: .16rem !important; |
| | | } |
| | | .flex { |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | .flex-content{ |
| | | justify-content: space-around; |
| | | } |
| | | .flex-items-start{ |
| | | align-items: flex-start; |
| | | } |
| | | |
| | | .relative { |
| | | position: relative; |