1个文件已删除
21个文件已修改
11个文件已添加
| | |
| | | <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> |
| | | <luanqing-search class="search_bar" @onSearch="onSearch" :buttonText="buttonText" :isSearchTrue="isSearchTrue" :placehold="placehold"></luanqing-search> |
| | | <view class="advancedSea" 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;"> |
| | |
| | | return 'æç´¢' |
| | | } |
| | | }, |
| | | |
| | | placehold:{ |
| | | type:String |
| | | } |
| | | }, |
| | | components: { |
| | | MyForm |
| | |
| | | <template> |
| | | <view class="BottomColumn flex flex-center"> |
| | | <view class="BottomColumn flex flex-center" :style="{'position':isLocation==true?'fixed':'','marginTop':isMarginTop+'rem'}"> |
| | | <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;"> |
| | | <img style="display: block;margin-right: .22rem;width: .4rem;height: .4rem;" src="@/static/image/logo.png" |
| | | alt="" srcset="" /> |
| | | <view class="font-family" style="color: #2C2C2C; font-size: .12rem;line-height: 1.5;"> |
| | | <view class=""> |
| | | 92017ä¸å½ä¸å»ç§å¦é¢ä¸å»è¯ä¿¡æ¯ç ç©¶æçæææäº¬ICPå¤ä¸æ¹å®å¤§ä¸æ¹ä¸æ¹ |
| | | ©2017 ä¸å½ä¸å»ç§å¦é¢ä¸å»è¯ä¿¡æ¯ç ç©¶æçæææ 京ICPå¤********å· |
| | | </view> |
| | | <view class="">å°å:å京å¸ä¸ååºä¸ç´é¨å
åå°è¡16å·é®ç¼:100700 |
| | | çµè¯:8610-64089611Email:tcmbase@126.com</view> |
| | | <view class="">å°åï¼å京å¸ä¸ååºä¸ç´é¨å
åå°è¡16å· é®ç¼ï¼100700 çµè¯ï¼8610-64089611 Email: tcmbase@126.com</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <script> |
| | | export default { |
| | | name:"footer", |
| | | props: { |
| | | isLocation: { |
| | | type: Boolean, |
| | | default () { |
| | | return true |
| | | } |
| | | }, |
| | | isMarginTop: { |
| | | type: Number, |
| | | default () { |
| | | return 0 |
| | | } |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |
| | | |
| | |
| | | |
| | | <style scoped> |
| | | .BottomColumn { |
| | | position: fixed; |
| | | left: 0px; |
| | | /* position: sticky; |
| | | top: 0; */ |
| | | /* position: fixed; */ |
| | | /* left: 0px; */ |
| | | bottom: 0px; |
| | | z-index: 999999999999999999999999999999999999999999; |
| | | padding: .19rem 0; |
| | | width: 100%; |
| | | background-color: #e6eff8; |
| | | font-size: 10px; |
| | | color: #000; |
| | | |
| | | /* margin-top: 1rem; */ |
| | | .Bbar { |
| | | img { |
| | | width: 60rpx; |
| | |
| | | </el-form-item> |
| | | <!-- å
¶ä»è¡¨å项çç¥ --> |
| | | <!-- <el-form-item style="display:block; "> --> |
| | | <view class="flex flex-center"> |
| | | <view class="flex flex-center Formbtn"> |
| | | |
| | | <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> |
| | |
| | | <template> |
| | | <view> |
| | | <view class="headNav"> |
| | | <view class="NavTop flex" :style="{backgroundImage: 'url('+ bg + ')'}"> |
| | | <view class="" style="width: .34rem;height: .34rem;" @click="menuNav = !menuNav"><img |
| | | <view class="" style="width: .34rem;height: .34rem;margin-right: 3rem;" @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: .19rem;font-size: .24rem;font-family: cursive;font-weight: 900;"> |
| | | ä¸å»å»äºå¶åº¦ |
| | | {{text}} |
| | | </view> |
| | | </view> |
| | | <view class="NavTopr flex"> |
| | | <view class="search-container" style="margin-right: .30rem;"> |
| | | <!-- <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 |
| | | src=""></img> --> |
| | | <view class="search-logo" @click="toggleSearch" style="background-color: #000;border-radius: 50%;margin-top: -4rpx;"></view> |
| | | <view class="search-logo" @click="toggleSearch" |
| | | style="background-color: #000;border-radius: 50%;margin-top: -4rpx;"></view> |
| | | </view> |
| | | </view> --> |
| | | <view class="flex searchCss" :style="{'backgroundColor': isExpanded==true?'#fff':''}" |
| | | style="overflow: hidden; border-radius: .5rem; width: 2.33rem;margin-right: .30rem;justify-content: flex-end;"> |
| | | <input :style="{'display': isExpanded == true ? 'block' : 'none'}" type="text" |
| | | style="flex: 1; background-color: #fff; font-size: .13rem;" @blur="InputBlur" |
| | | class="search-input" v-model="searchInput" placeholder="请è¾å
¥æç´¢å
容" /> |
| | | <view class="search-logo" @click="toggleSearch" |
| | | :style="{'backgroundColor':searchBg==true?'#244A7B':'#DA7A2B'}" |
| | | style="background-color: #000;border-radius: 50%;margin-top: -4rpx;"></view> |
| | | </view> |
| | | <!-- <img style="border-radius: 50%;display: inline-block;" src="../../static/image/search.png" alt="" /> --> |
| | | <img src="@/static/image/profile.svg" alt="" /> |
| | | <img @click="changePassword" src="@/static/image/profile.svg" alt="" /> |
| | | <img src="@/static/image/quote.svg" style="margin-right: 0;" alt="" /> |
| | | </view> |
| | | </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: .52rem 0 .46rem 0;"> |
| | | <img src="@/static/image/logo.png" style="width: 100rpx;height: 100rpx;"></img> |
| | | <view class="flex flex-center LeftLogo"> |
| | | <!-- <img src="@/static/image/logo.png" ></img> --> |
| | | <view class="img"></view> |
| | | </view> |
| | | <el-menu default-active="1" active-text-color="#ffffff" class="el-menu-vertical-demo" |
| | | <el-menu :default-active="idIndex" active-text-color="#ffffff" class="el-menu-vertical-demo" |
| | | @select="handleSelect"> |
| | | <el-menu-item index="1" style=" border-radius: 30px;"> |
| | | <el-menu-item index="0"> |
| | | <span slot="title">é¦é¡µ</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="2"> |
| | | <el-menu-item index="1"> |
| | | <span slot="title">ä¸å»äººç©æ°æ®åº</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="3"> |
| | | <el-menu-item index="2"> |
| | | <span slot="title">ä¸å»å»å®¶æ°æ®åº</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="4"> |
| | | <el-menu-item index="3"> |
| | | <span slot="title">ä¸å»å»å¦æµæ´¾</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="5"> |
| | | <el-menu-item index="4"> |
| | | <span slot="title">ä¸å»å°åå¾è°±</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="6"> |
| | | <span slot="title">ä¸å»å°åå¾è°±</span> |
| | | <el-menu-item index="5"> |
| | | <span slot="title">ä¸å»å»äºå¶åº¦</span> |
| | | </el-menu-item> |
| | | </el-menu> |
| | | </view> |
| | |
| | | export default { |
| | | name: "headNav", |
| | | props: { |
| | | text:{ |
| | | type:String, |
| | | default () { |
| | | return 'æ é¢' |
| | | } |
| | | }, |
| | | searchBg :{ |
| | | type: Boolean, |
| | | default () { |
| | | return true |
| | | } |
| | | }, |
| | | bg: { |
| | | type: String, |
| | | default () { |
| | |
| | | type: String, |
| | | default () { |
| | | return '/static/image/line.png' |
| | | } |
| | | }, |
| | | idIndex: { |
| | | type: String, |
| | | default () { |
| | | return '1' |
| | | } |
| | | } |
| | | }, |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | // ä¿®æ¹å¯ç |
| | | changePassword() { |
| | | uni.navigateTo({ |
| | | url: '/pages/changePassword/changePassword' |
| | | }) |
| | | }, |
| | | aaa() { |
| | | console.log('ss'); |
| | | }, |
| | | handleSelect(index) { |
| | | console.log(index); |
| | | if (index === '1') { |
| | | // uni.navigateTo({ |
| | | // url: '/pages/index/index' |
| | | // }); |
| | | if (index === '0') { |
| | | uni.navigateTo({ |
| | | url: '/pages/index/index?id=' + 0 |
| | | }); |
| | | } else if (index === '1') { |
| | | uni.navigateTo({ |
| | | url: '/pages/repository/repository?id=' + 1 |
| | | }); |
| | | } else if (index === '2') { |
| | | // uni.navigateTo({ |
| | | // url: '/pages/option2Page' |
| | | // }); |
| | | uni.navigateTo({ |
| | | url: '/pages/zhongyi/zhongyi?id='+2 |
| | | }); |
| | | } else if (index === '3') { |
| | | // uni.navigateTo({ |
| | | // url: '/pages/option3Page' |
| | | // }); |
| | | uni.navigateTo({ |
| | | url: '/pages/dataDisplay/dataDisplay?id=' + 3 |
| | | }); |
| | | } else if (index === '4') { |
| | | // uni.navigateTo({ |
| | | // url: '/pages/option3Page' |
| | | // }); |
| | | uni.navigateTo({ |
| | | url: '/pages/territory/territory?id=' + 4 |
| | | }); |
| | | } else if (index === '5') { |
| | | // uni.navigateTo({ |
| | | // url: '/pages/option3Page' |
| | | // }); |
| | | } else if (index === '6') { |
| | | // uni.navigateTo({ |
| | | // url: '/pages/option3Page' |
| | | // }); |
| | | uni.navigateTo({ |
| | | url: '/pages/TcmSystem/TcmSystem?id=' + 5 |
| | | }); |
| | | } |
| | | }, |
| | | // æç´¢æ¡ççç§»åº |
| | |
| | | }, |
| | | // 忢æç´¢æ¡çå±å¼åæ¶èµ·ç¶æ |
| | | toggleSearch() { |
| | | console.log(this.searchInput); |
| | | // console.log('ææ¦èå¾·è¨åçç',this.searchInput); |
| | | this.isExpanded = !this.isExpanded; |
| | | this.$nextTick(() => { |
| | | if (this.searchInput.trim() !== '') { |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .LeftLogo { |
| | | width: 100%; |
| | | margin: .52rem 0 .5rem; |
| | | |
| | | .img { |
| | | width: .52rem; |
| | | height: .52rem; |
| | | background-image: url(@/static/image/logo3.png); |
| | | background-repeat: no-repeat; |
| | | background-size: 100% 100%; |
| | | /* image-rendering: pixelated; */ |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | |
| | | ::v-deep .el-menu .is-active { |
| | | background-color: #244A7B !important; |
| | | border-radius: .5rem; |
| | | |
| | | } |
| | | |
| | | .LeftLogo .img { |
| | | background-image: url(@/static/image/logo4.png); |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width:1366px) and (max-width:1920px) { |
| | | |
| | | ::v-deep .el-menu .is-active { |
| | | background-color: #244A7B !important; |
| | | border-radius: .5rem; |
| | | |
| | | } |
| | | |
| | | .LeftLogo .img { |
| | | background-image: url(@/static/image/logo.png); |
| | | } |
| | | } |
| | | |
| | | ::v-deep .uni-input-placeholder { |
| | | padding-left: .05rem; |
| | | } |
| | | |
| | | .headNav { |
| | | /* ç²æ§å®ä½ */ |
| | | position: sticky; |
| | | top: 0; |
| | | z-index: 9999999999999999999999999999999999999999999999 !important; |
| | | } |
| | | |
| | | .NavTop { |
| | | /* background: url(@/static/image/topBg.png); */ |
| | | |
| | | background-size: 100% 100%; |
| | | padding: .16rem .24rem; |
| | | color: #fff !important; |
| | |
| | | |
| | | ::v-deep .el-menu .is-active { |
| | | background-color: #244A7B !important; |
| | | border-radius: 30px; |
| | | border-radius: .5rem; |
| | | |
| | | /* padding: 0 .14rem !important; */ |
| | | } |
| | | |
| | | .el-menu-item { |
| | | height: .34rem; |
| | | line-height: .3rem; |
| | | font-size: .16rem; |
| | | text-align: center; |
| | | font-weight: 500; |
| | | margin: .13rem .14rem !important; |
| | | display: flex; |
| | | /* display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | align-items: center; */ |
| | | text-align: left; |
| | | padding-left: .4rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-dialog__body { |
| | |
| | | <template> |
| | | <div> |
| | | <el-table :max-height="height" :data="data" > |
| | | <el-table :min-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" class="font-family"> |
| | | <template v-if="column.type === 'image'"> |
| | |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/changePassword/changePassword", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "", |
| | | "enablePullDownRefresh" : false, |
| | | "navigationStyle": "custom" |
| | | } |
| | | }], |
| | | "globalStyle": { |
| | | "navigationStyle": "custom" |
| | |
| | | <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> |
| | | <!-- é¡¶é¨å¯¼èª --> |
| | | <headNav :idIndex="idIndex" text="å代妿¯æµæ´¾"/> |
| | | <view class="Midde flex"> |
| | | <view class="MiddeBack">è¿å</view> |
| | | <!-- <view class="MiddeBack">è¿å</view> --> |
| | | <el-button class="MiddeBack flex flex-center" @click="goBack">è¿å</el-button> |
| | | <view class="flex flex-center flex-column"> |
| | | <view class="" style="font-weight: 900;margin-bottom:20rpx ;">æ²³é´å¾è°±</view> |
| | | <view class="" style="font-weight: 900;margin-bottom:.2rem ;font-size: .26rem;line-height: 1;">æ²³é´å¾è°± |
| | | </view> |
| | | <ul class="flex Lists"> |
| | | <li class="flex"> |
| | | <view class="" |
| | | style="margin-right: 10rpx; width: 20rpx;height: 20rpx;border-radius: 50%;background-color: #5e7ea5;"> |
| | | </view> |
| | | <view class="">å¹
度è¨è¬</view> |
| | | <li @click="ListClick" style="background-color: #fff;color: #597AA5;"> |
| | | æå°æ¹ |
| | | </li> |
| | | <li class="flex"> |
| | | <view class="" |
| | | style="margin-right: 10rpx; width: 20rpx;height: 20rpx;border-radius: 50%;background-color: #5e7ea5;"> |
| | | </view> |
| | | <view class="">å¹
度è¨è¬</view> |
| | | <!-- /pages/AcademicHistory/AcademicHistory --> |
| | | <li style="background-color: #597AA5;color: #fff;"> |
| | | æå°æ¹ |
| | | </li> |
| | | <li class="flex"> |
| | | <view class="" |
| | | style="margin-right: 10rpx; width: 20rpx;height: 20rpx;border-radius: 50%;background-color: #5e7ea5;"> |
| | | </view> |
| | | <view class="">å¹
度è¨è¬</view> |
| | | </li> |
| | | <li class="flex"> |
| | | <view class="" |
| | | style="margin-right: 10rpx; width: 20rpx;height: 20rpx;border-radius: 50%;background-color: #5e7ea5;"> |
| | | </view> |
| | | <view class="">å¹
度è¨è¬</view> |
| | | </li> |
| | | |
| | | </ul> |
| | | </view> |
| | | <view class=""></view> |
| | | </view> |
| | | <view class="flex flex-center" style="width: 100%; margin: .2rem 0;"> |
| | | <ul class="flex"> |
| | | <li style="" class="school1" v-for="(item,index) in dynasty" :key="item.id"> |
| | | <view class="flex flex-center font-family school" |
| | | style="font-weight: 500; border-radius: .3rem; padding: .06rem .15rem; color: #2C2C2C; font-size: .12rem; margin-top: .03rem;margin-right: .1rem;background-color: #fff;"> |
| | | <view class="" :style="{background:item.color}" |
| | | style="margin-right: .07rem; width: .12rem;height: .12rem;border-radius: 50%;"></view> |
| | | <view class="" style="color: #2C2C2C;font-size: .12rem;">{{item.name}}</view> |
| | | </view> |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | <view class="Bottom"> |
| | | <view id="main" style="width: 100vw; height: 500px;"></view> |
| | | <view id="main" style="width: 100vw; height: 5rem;"></view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | // æ é¢é¡¶é¨æ éè¦çä¸è¥¿ |
| | | idIndex:0, |
| | | dynasty: [{ |
| | | name: '代表人ç©', |
| | | color: '#597AA5', |
| | | id: 1 |
| | | }, { |
| | | name: 'éè¦å»å®¶', |
| | | color: '#DA7A2B', |
| | | id: 2 |
| | | }, { |
| | | name: 'å
³ç³»æç®', |
| | | color: '#9E9E9E', |
| | | id: 3 |
| | | }] |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | this.idIndex = options.id |
| | | console.log('optionsoptionsoptions',options.id); |
| | | }, |
| | | methods: { |
| | | goBack() { |
| | | // uuni.redirectTo(); |
| | | uni.redirectTo({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | }, |
| | | ListClick() { |
| | | uni.navigateTo({ |
| | | url: '/pages/interchannel/interchannel?id='+this.idIndex |
| | | }) |
| | | }, |
| | | innt() { |
| | | this.$nextTick(() => { |
| | | var chartDom = document.getElementById('main'); // è·åHTMLä¸çå
ç´ ï¼æ¤å¤å设æä¸ä¸ªid为'main'çå
ç´ ä½ä¸ºå¾è¡¨å®¹å¨ |
| | | var myChart = echarts.init(chartDom); // åå§åechartså®ä¾ï¼å¹¶å°å
¶ä¸å¾è¡¨å®¹å¨ç»å® |
| | | var option; // å®ä¹åéoptionæ¥åå¨å¾è¡¨çé
置项 |
| | | // var chartDom = document.getElementById('main'); // è·åHTMLä¸çå
ç´ ï¼æ¤å¤å设æä¸ä¸ªid为'main'çå
ç´ ä½ä¸ºå¾è¡¨å®¹å¨ |
| | | // var myChart = echarts.init(chartDom); // åå§åechartså®ä¾ï¼å¹¶å°å
¶ä¸å¾è¡¨å®¹å¨ç»å® |
| | | // var option; // å®ä¹åéoptionæ¥åå¨å¾è¡¨çé
置项 |
| | | |
| | | option = { |
| | | // title: { |
| | | // text: 'Basic Graph' // å¾è¡¨æ é¢ä¸º'Basic Graph' |
| | | // option = { |
| | | // // title: { |
| | | // // text: 'Basic Graph' // å¾è¡¨æ é¢ä¸º'Basic Graph' |
| | | // // }, |
| | | // tooltip: {}, // é¼ æ æ¬åæ¶æ¾ç¤ºçæç¤ºæ¡ |
| | | // animationDurationUpdate: 1500, // æ°æ®æ´æ°æ¶çå¨ç»æ¶é¿ |
| | | // animationEasingUpdate: 'quinticInOut', // æ°æ®æ´æ°æ¶çå¨ç»ææ |
| | | // series: [{ |
| | | // type: 'graph', // å¾è¡¨ç±»å为'graph' |
| | | // layout: 'none', // å¾è¡¨å¸å±æ¹å¼ä¸º'none'ï¼å³èç¹ä½ç½®ç±xåyåæ æå® |
| | | // symbolSize: 150, // èç¹çå¤§å° |
| | | // roam: false, // æ¯å¦å¼å¯æ¼«æ¸¸ï¼å³å¯ä»¥æå¨å缩æ¾å¾è¡¨ |
| | | // label: { |
| | | // show: true, // æ¯å¦æ¾ç¤ºèç¹ä¸çæ ç¾ |
| | | // textStyle: { |
| | | // fontSize: 32, // 设置åä½å¤§å°ä¸º12 |
| | | // } |
| | | // }, |
| | | tooltip: {}, // é¼ æ æ¬åæ¶æ¾ç¤ºçæç¤ºæ¡ |
| | | animationDurationUpdate: 1500, // æ°æ®æ´æ°æ¶çå¨ç»æ¶é¿ |
| | | animationEasingUpdate: 'quinticInOut', // æ°æ®æ´æ°æ¶çå¨ç»ææ |
| | | series: [{ |
| | | type: 'graph', // å¾è¡¨ç±»å为'graph' |
| | | layout: 'none', // å¾è¡¨å¸å±æ¹å¼ä¸º'none'ï¼å³èç¹ä½ç½®ç±xåyåæ æå® |
| | | symbolSize: 50, // èç¹çå¤§å° |
| | | roam: false, // æ¯å¦å¼å¯æ¼«æ¸¸ï¼å³å¯ä»¥æå¨å缩æ¾å¾è¡¨ |
| | | label: { |
| | | show: true // æ¯å¦æ¾ç¤ºèç¹ä¸çæ ç¾ |
| | | }, |
| | | edgeSymbol: ['circle', 'arrow'], // è¾¹çèµ·å§åç»æç®å¤´æ ·å¼ |
| | | edgeSymbolSize: [4, 10], // è¾¹çèµ·å§åç»æç®å¤´å¤§å° |
| | | edgeLabel: { |
| | | fontSize: 20 // è¾¹çæ ç¾åä½å¤§å° |
| | | }, |
| | | data: [{ |
| | | name: 'éå
å大家', // èç¹1çåç§° |
| | | x: 1230, // èç¹1çxåæ |
| | | y: 250, // èç¹1çyåæ |
| | | itemStyle: { |
| | | color: 'red' // èç¹1çèæ¯é¢è² |
| | | }, |
| | | label: { |
| | | color: 'black' // èç¹1çåä½é¢è² |
| | | } |
| | | }, |
| | | { |
| | | name: 'åå®ç´ ', // èç¹2çåç§° |
| | | x: 800, // èç¹2çxåæ |
| | | y: 300 // èç¹2çyåæ |
| | | }, |
| | | { |
| | | name: 'å·å¯ç´æ ¼', // èç¹3çåç§° |
| | | x: 550, // èç¹3çxåæ |
| | | y: 360 // èç¹3çyåæ |
| | | }, |
| | | { |
| | | name: 'å¼ ä»²æ¯', // èç¹4çåç§° |
| | | x: 700, // èç¹4çxåæ |
| | | y: 200 // èç¹4çyåæ |
| | | }, |
| | | { |
| | | name: '䏿¶è«', // èç¹4çåç§° |
| | | x: 750, // èç¹4çxåæ |
| | | y: 500 // èç¹4çyåæ |
| | | }, |
| | | ], |
| | | links: [ // è¾¹çè¿æ¥å
³ç³» |
| | | { |
| | | source: 'éå
å大家', // è¾¹çèµ·å§èç¹ç´¢å¼ä¸º0ï¼å³èç¹1 |
| | | target: 'åå®ç´ ', // è¾¹çç»æèç¹ç´¢å¼ä¸º1ï¼å³èç¹2 |
| | | symbolSize: [5, 20], // è¾¹çèµ·å§åç»æç®å¤´å¤§å° |
| | | label: { |
| | | show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | formatter: 'å
å«', |
| | | }, |
| | | lineStyle: { |
| | | width: 5, // è¾¹ç宽度 |
| | | curveness: 0.2 // è¾¹çæ²åº¦ |
| | | // edgeSymbol: ['circle', 'arrow'], // è¾¹çèµ·å§åç»æç®å¤´æ ·å¼ |
| | | // edgeSymbolSize: [10, 10], // è¾¹çèµ·å§åç»æç®å¤´å¤§å° |
| | | // edgeLabel: { |
| | | // fontSize: 40, // è¾¹çæ ç¾åä½å¤§å° |
| | | |
| | | } |
| | | // }, |
| | | // data: [{ |
| | | // name: 'éå
å大家', // èç¹1çåç§° |
| | | // x: 1230, // èç¹1çxåæ |
| | | // y: 250, // èç¹1çyåæ |
| | | // itemStyle: { |
| | | // color: 'red', // èç¹1çèæ¯é¢è² |
| | | // }, |
| | | // label: { |
| | | // color: 'black' // èç¹1çåä½é¢è² |
| | | // } |
| | | // }, |
| | | // { |
| | | // name: 'åå®ç´ ', // èç¹2çåç§° |
| | | // x: 800, // èç¹2çxåæ |
| | | // y: 300 // èç¹2çyåæ |
| | | // }, |
| | | // { |
| | | // name: 'å·å¯ç´æ ¼', // èç¹3çåç§° |
| | | // x: 550, // èç¹3çxåæ |
| | | // y: 360 // èç¹3çyåæ |
| | | // }, |
| | | // { |
| | | // name: 'å¼ ä»²æ¯', // èç¹4çåç§° |
| | | // x: 700, // èç¹4çxåæ |
| | | // y: 200 // èç¹4çyåæ |
| | | // }, |
| | | // { |
| | | // name: '䏿¶è«', // èç¹4çåç§° |
| | | // x: 750, // èç¹4çxåæ |
| | | // y: 500 // èç¹4çyåæ |
| | | // }, |
| | | // ], |
| | | // links: [ // è¾¹çè¿æ¥å
³ç³» |
| | | // { |
| | | // source: 'éå
å大家', // è¾¹çèµ·å§èç¹ç´¢å¼ä¸º0ï¼å³èç¹1 |
| | | // target: 'åå®ç´ ', // è¾¹çç»æèç¹ç´¢å¼ä¸º1ï¼å³èç¹2 |
| | | // symbolSize: [5, 20], // è¾¹çèµ·å§åç»æç®å¤´å¤§å° |
| | | // label: { |
| | | // show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | // formatter: 'å
å«', |
| | | // }, |
| | | // lineStyle: { |
| | | // width: 5, // è¾¹ç宽度 |
| | | // curveness: 0.2 // è¾¹çæ²åº¦ |
| | | |
| | | // } |
| | | // }, |
| | | // { |
| | | // source: 'åå®ç´ ', // è¾¹çèµ·å§èç¹ä¸º'Node 2' |
| | | // target: 'å·å¯ç´æ ¼', // è¾¹çç»æèç¹ä¸º'Node 1' |
| | | // label: { |
| | | // show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | // formatter: 'åºçç©' |
| | | // }, |
| | | // lineStyle: { |
| | | // curveness: 0.2, // è¾¹çæ²åº¦ |
| | | |
| | | // } |
| | | // }, |
| | | // { |
| | | // source: 'åå®ç´ ', // è¾¹çèµ·å§èç¹ä¸º'Node 1' |
| | | // target: 'å¼ ä»²æ¯', // è¾¹çç»æèç¹ä¸º'Node 3' |
| | | // label: { |
| | | // show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | // formatter: 'è¯è®º' |
| | | // }, |
| | | // lineStyle: { |
| | | // curveness: 0.2 // è¾¹çæ²åº¦ |
| | | // } |
| | | // }, |
| | | // { |
| | | // source: 'åå®ç´ ', // è¾¹çèµ·å§èç¹ä¸º'Node 2' |
| | | // target: '䏿¶è«', // è¾¹çç»æèç¹ä¸º'Node 3' |
| | | // label: { |
| | | // show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | // formatter: 'åºçç©' |
| | | // }, |
| | | // lineStyle: { |
| | | // curveness: 0.2 // è¾¹çæ²åº¦ |
| | | // } |
| | | // } |
| | | // ], |
| | | // lineStyle: { |
| | | // opacity: 0.9, // è¾¹çéæåº¦ |
| | | // width: 2, // è¾¹ç宽度 |
| | | // curveness: 0 // è¾¹çæ²åº¦ |
| | | // }, |
| | | // textStyle: { |
| | | // fontSize: 14 // 设置å
¨å±æåçåä½å¤§å° |
| | | // }, |
| | | // }] |
| | | // }; |
| | | |
| | | // option && myChart.setOption(option); // å°é
置项åºç¨äºå¾è¡¨å®ä¾ |
| | | // console.log(myChart); |
| | | |
| | | var chartDom = document.getElementById('main'); |
| | | var myChart = echarts.init(chartDom); |
| | | // åè®¾æ¨æèç¹åç§°åå®ä»¬ä¹é´çå
³ç³»æ°æ® |
| | | var nodes = ['åå®ç´ ', 'å¼ ä»²æ¯', 'éå
å大家', '䏿¶è®º', '伤å¯ç´æ ¼']; |
| | | var relationships = [{ |
| | | source: 'éå
å大家', |
| | | target: 'åå®ç´ ', |
| | | relation: '姻亲' |
| | | }, { |
| | | source: 'åå®ç´ ', |
| | | target: 'å¼ ä»²æ¯', |
| | | relation: '' |
| | | }, |
| | | { |
| | | source: 'åå®ç´ ', // è¾¹çèµ·å§èç¹ä¸º'Node 2' |
| | | target: 'å·å¯ç´æ ¼', // è¾¹çç»æèç¹ä¸º'Node 1' |
| | | label: { |
| | | show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | formatter: 'åºçç©' |
| | | }, |
| | | lineStyle: { |
| | | curveness: 0.2 // è¾¹çæ²åº¦ |
| | | } |
| | | source: 'åå®ç´ ', |
| | | target: '伤å¯ç´æ ¼', |
| | | relation: '' |
| | | }, |
| | | { |
| | | source: 'åå®ç´ ', // è¾¹çèµ·å§èç¹ä¸º'Node 1' |
| | | target: 'å¼ ä»²æ¯', // è¾¹çç»æèç¹ä¸º'Node 3' |
| | | source: 'åå®ç´ ', |
| | | target: '䏿¶è®º', |
| | | relation: '' |
| | | }, |
| | | // å
¶ä»å
³ç³»... |
| | | ]; |
| | | |
| | | let FontSize = 12; // åä½å¤§å° |
| | | let BorderWidth = 2; // è¾¹æ¡å¤§å° |
| | | let SymbolSize = 80; // 尺寸è·ç¦» |
| | | let Distance = 10 |
| | | // ä¸å尺寸ä¸ä¿®æ¹echartsçåä½ |
| | | if (window.innerWidth > 2560 && window.innerWidth <= 3840) { |
| | | FontSize = 28 |
| | | BorderWidth = 5 |
| | | SymbolSize = 100 |
| | | Distance = 33 |
| | | } else if (window.innerWidth > 1920 && window.innerWidth <= 2560) { |
| | | FontSize = 28 |
| | | BorderWidth = 4 |
| | | SymbolSize = 90 |
| | | Distance = 22 |
| | | } else if (window.innerWidth >= 1366 && window.innerWidth <= 1920) { |
| | | FontSize = 18 |
| | | BorderWidth = 4 |
| | | SymbolSize = 70 |
| | | Distance = 22 |
| | | } |
| | | // æ ¹æ®å
³ç³»æ°æ®çæè¿æ¥çº¿ |
| | | var links = []; |
| | | relationships.forEach(function(relationship) { |
| | | // console.log(relationship,'relationship'); |
| | | var sourceIndex = nodes.indexOf(relationship.source); |
| | | var targetIndex = nodes.indexOf(relationship.target); |
| | | var linkObject = { |
| | | source: sourceIndex, |
| | | target: targetIndex |
| | | }; |
| | | if (relationship.relation !== '') { |
| | | linkObject.label = { |
| | | show: true, |
| | | formatter: function(params) { |
| | | return relationship.relation; |
| | | }, |
| | | color: '#2C2C2C', |
| | | fontSize: FontSize - 2, |
| | | backgroundColor: 'rgba(255, 255, 255, 1)', |
| | | padding: [11, 20], |
| | | borderRadius:300, |
| | | position: 'middle', |
| | | z: 10, |
| | | distance: -(Distance + 1), |
| | | } |
| | | } |
| | | links.push(linkObject); |
| | | // if (sourceIndex !== -1 && targetIndex !== -1) { |
| | | // links.push({ |
| | | // source: sourceIndex, |
| | | // target: targetIndex, |
| | | // label: { |
| | | // show: true, |
| | | // formatter: function(params) { // 使ç¨å½æ°å¨æçææ ç¾å
容 |
| | | // // console.log(params.data, 'aaaaaaaaaaaa'); |
| | | // return relationships.find(rel => rel.source === nodes[ |
| | | // params.data |
| | | // .source] && rel.target === nodes[params |
| | | // .data.target]) |
| | | // .relation; |
| | | // }, // 设置å
³ç³»æ ç¾å
容为"Child-Parent" |
| | | // color: '#2C2C2C', |
| | | // fontSize: FontSize - 2, |
| | | // backgroundColor: 'rgba(255, 255, 255, 1)', |
| | | // padding: [11, 20], |
| | | // position: 'middle', // 设置æ ç¾ææ¬å¨çº¿çä¸é´ä½ç½®ä¸å±
䏿¾ç¤º |
| | | // // bottom: -(FontSize+10), |
| | | // z: 10, // 设置æ ç¾çzè½´é«åº¦ï¼ä½¿å
¶æ¯è¿æ¥çº¿æ´é« |
| | | // // offset: [0, 15] ,// å¾ä¸ç§»å¨ 10 åç´ |
| | | // distance: -(Distance + 1), // å°æ ç¾æ¾ç½®å¨è¿æ¥çº¿ä¸ |
| | | // } |
| | | // }); |
| | | // } |
| | | }); |
| | | // æ ¹æ®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: BorderWidth + 3, |
| | | borderColor: getColorByIndex(index + 1), |
| | | borderRadius: 30, |
| | | }, |
| | | symbolSize: SymbolSize + 50 |
| | | }; |
| | | }); |
| | | // 设置é¢è² |
| | | 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: SymbolSize, // è°æ´èç¹å¤§å° |
| | | label: { |
| | | show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | formatter: 'è¯è®º' |
| | | show: true, |
| | | color: 'black', // 设置èç¹æåé¢è²ä¸ºé»è² |
| | | fontSize: FontSize, // 设置æåå¤§å° |
| | | }, |
| | | // edgeSymbol: ['circle'], |
| | | // edgeSymbolSize: [4, 10], |
| | | edgeSymbol: ['circle', 'arrow'], // è¾¹çèµ·å§åç»æç®å¤´æ ·å¼ |
| | | edgeSymbolSize: [20, 20], // è¾¹çèµ·å§åç»æç®å¤´å¤§å° |
| | | data: nodeData, |
| | | links: links, |
| | | lineStyle: { |
| | | curveness: 0.2 // è¾¹çæ²åº¦ |
| | | } |
| | | }, |
| | | { |
| | | source: 'åå®ç´ ', // è¾¹çèµ·å§èç¹ä¸º'Node 2' |
| | | target: '䏿¶è«', // è¾¹çç»æèç¹ä¸º'Node 3' |
| | | label: { |
| | | show: true, // æ¯å¦æ¾ç¤ºè¾¹çæ ç¾ |
| | | formatter: 'åºçç©' |
| | | }, |
| | | lineStyle: { |
| | | curveness: 0.2 // è¾¹çæ²åº¦ |
| | | } |
| | | } |
| | | ], |
| | | lineStyle: { |
| | | opacity: 0.9, // è¾¹çéæåº¦ |
| | | width: 2, // è¾¹ç宽度 |
| | | curveness: 0 // è¾¹çæ²åº¦ |
| | | opacity: 0.9, |
| | | width: 2, |
| | | curveness: 0.3 |
| | | } |
| | | }] |
| | | }; |
| | | |
| | | option && myChart.setOption(option); // å°é
置项åºç¨äºå¾è¡¨å®ä¾ |
| | | console.log(myChart); |
| | | // å°çæçè¿æ¥çº¿æ·»å å°echartså¾è¡¨çoptionä¸ |
| | | option.series[0].links = links; |
| | | option && myChart.setOption(option); |
| | | }) |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | .Midde { |
| | | background-color: #d1d6dc; |
| | | /* background-color: #d1d6dc; */ |
| | | background-image: url(@/static/image/妿´¾Bg.png); |
| | | background-size: 100% 100%; |
| | | color: #000; |
| | | padding: 40rpx; |
| | | padding: .18rem .23rem 0; |
| | | align-items: flex-start; |
| | | height: 1.43rem; |
| | | |
| | | view { |
| | | |
| | | color: #000; |
| | | } |
| | | |
| | | .MiddeBack { |
| | | width: 0.6rem; |
| | | height: 0.24rem; |
| | | font-size: .12rem; |
| | | padding: 0; |
| | | |
| | | } |
| | | |
| | | .Lists { |
| | | li { |
| | | /* min-width: 50rpx; */ |
| | | border-radius: 40rpx; |
| | | background-color: #fff; |
| | | padding: 0 10rpx; |
| | | font-size: 18rpx; |
| | | margin: 0 20rpx; |
| | | width: 0.96rem; |
| | | height: .3rem; |
| | | border: 1px solid #597AA5; |
| | | line-height: .3rem; |
| | | text-align: center; |
| | | font-size: .14rem; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .school1 { |
| | | margin: 0 .2rem; |
| | | } |
| | | </style> |
| | |
| | | <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-input type="password" 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> |
| | | 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">å¿è®°å¯ç |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @media screen and (min-width: 1441px) { |
| | | @media screen and (max-width:1366px) { |
| | | ::v-deep .el-card { |
| | | top: 60% !important; |
| | | top: 50% !important; |
| | | } |
| | | ::v-deep .el-input__inner{ |
| | | height: .44rem; |
| | | } |
| | | ::v-deep .el-card { |
| | | padding: .2rem 0 !important; |
| | | } |
| | | ::v-deep .el-form-item__error { |
| | | font-size: .13rem !important; |
| | | } |
| | | |
| | | .LoginBg{ |
| | | margin: 0 !important; |
| | | } |
| | | .hua{ |
| | | height: 5rem !important; |
| | | } |
| | | } |
| | | @media screen and (min-width:1366px) and (max-width:1920px) { |
| | | ::v-deep .el-card__body{ |
| | | padding: 0 .58rem !important; |
| | | } |
| | | ::v-deep .el-card { |
| | | top: 80% !important; |
| | | } |
| | | ::v-deep .el-input__inner{ |
| | | height: .44rem; |
| | | } |
| | | ::v-deep .el-card { |
| | | padding: .25rem 0 !important; |
| | | } |
| | | .LoginBg{ |
| | | margin: 0 !important; |
| | | } |
| | | .hua{ |
| | | height: 5rem !important; |
| | | } |
| | | } |
| | | ::v-deep .el-form-item__error { |
| | | font-size: .13rem !important; |
| | | } |
| | | @media screen and (min-width: 1920px) and (max-width:2560px){ |
| | | ::v-deep .el-card { |
| | | top: 80% !important; |
| | | } |
| | | ::v-deep .el-card { |
| | | padding: .25rem .4rem !important; |
| | | } |
| | | ::v-deep .el-card__body { |
| | | /* top: 90% !important; */ |
| | | padding: 0 !important; |
| | | } |
| | | ::v-deep .el-input__inner{ |
| | | height: .44rem; |
| | | } |
| | | ::v-deep .el-form-item__error { |
| | | font-size: .13rem; |
| | | } |
| | | .BottomColumn { |
| | | padding: .10rem 0; |
| | | } |
| | | |
| | | .LoginTop { |
| | | /* .LoginTop { |
| | | margin-bottom: .17rem !important; |
| | | } |
| | | } */ |
| | | |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.1rem !important; |
| | | font-size: 0.2rem !important; |
| | | margin-top: 0.3rem !important; |
| | | /* font-size: 0.2rem !important; */ |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | } |
| | |
| | | height: 2.5rem !important; |
| | | } |
| | | } |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | .LoginBg{ |
| | | margin: 0 !important; |
| | | } |
| | | ::v-deep .el-card { |
| | | top: 85% !important; |
| | | } |
| | | ::v-deep .el-input__inner{ |
| | | height: .4rem !important; |
| | | font-size: .14rem; |
| | | } |
| | | ::v-deep .el-input__inner{ |
| | | height: .44rem; |
| | | } |
| | | .hua { |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | } |
| | | /* å°äº */ |
| | | @media screen and (max-width:2560px) { |
| | | /* ::v-deep .el-input__inner{ |
| | | height: .44rem; |
| | | } |
| | | ::v-deep .el-card { |
| | | padding: .25rem .58rem !important; |
| | | } |
| | | ::v-deep .el-card__body { |
| | | top: 90% !important; |
| | | padding: 0 !important; |
| | | } |
| | | .hua{ |
| | | height: 5rem !important; |
| | | } |
| | | */ |
| | | } |
| | | |
| | | |
| | | .LoginBg { |
| | |
| | | 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 { |
| | |
| | | border-color: #2d476a !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__label {} |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | padding: 0; |
| | |
| | | } |
| | | |
| | | ::v-deep .el-form-item { |
| | | margin-bottom: .22rem; |
| | | margin-bottom: .25rem; |
| | | } |
| | | |
| | | .ss1 { |
| | |
| | | <el-form-item label="éªè¯ç " prop="verifyCode"> |
| | | <view class="verifyCode relative"> |
| | | <el-input v-model="registerData.verifyCode" placeholder="请è¾å
¥éªè¯ç "></el-input> |
| | | <view @click="verifyCodeClick" class="" |
| | | <view @click="verifyCodeClick" class="yzm" |
| | | style="position: absolute;right: 0%;top: 0%;color: #244A7B;font-size: .14rem;font-weight: 500;"> |
| | | è·åéªè¯ç </view> |
| | | </view> |
| | |
| | | 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="" |
| | | <view class="asdf" |
| | | style="font-size: .12rem;color: #9E9E9E;font-weight: 500; text-align: center;line-height: normal;margin-bottom: .19rem;"> |
| | | ç¨æ·æ³¨åå³ä»£è¡¨åæãæå¡æ¡æ¬¾ãåãç¨æ·éç§ä¿æ¤åä¸ªäººä¿¡æ¯æ¡æ¬¾ã</view> |
| | | </el-form> |
| | |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @media screen and (min-width: 1366px){ |
| | | @media screen and (max-width:1366px) { |
| | | ::v-deep .el-card { |
| | | top: 50% !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | height: .44rem; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | padding: .2rem 0 !important; |
| | | } |
| | | |
| | | .LoginBg { |
| | | margin: 0 !important; |
| | | } |
| | | |
| | | .hua { |
| | | height: 5rem !important; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width:1366px) and (max-width:1920px) { |
| | | ::v-deep .el-card__body { |
| | | padding: 0 .58rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | top: 80% !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | height: .44rem; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | padding: .25rem 0 !important; |
| | | } |
| | | |
| | | .LoginBg { |
| | | margin: 0 !important; |
| | | } |
| | | |
| | | .hua { |
| | | height: 5rem !important; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1920px) and (max-width:2560px) { |
| | | ::v-deep .el-card { |
| | | top: 80% !important; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | padding: .25rem .4rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | /* top: 90% !important; */ |
| | | padding: 0 !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | height: .44rem; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__error { |
| | | font-size: .13rem; |
| | | } |
| | | |
| | | .BottomColumn { |
| | | padding: .10rem 0; |
| | | } |
| | | |
| | | /* .LoginTop { |
| | | margin-bottom: .17rem !important; |
| | | } */ |
| | | |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.3rem !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; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | .LoginBg { |
| | | margin: 0 !important; |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | top: 70% !important; |
| | | padding: 0 !important; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | padding: .25rem .5rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form { |
| | | padding-left: .1rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__error { |
| | | font-size: .13rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | height: .35rem !important; |
| | | } |
| | | |
| | | .hua { |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .LoginTop { |
| | | margin-bottom: .25rem !important; |
| | | } |
| | | |
| | | .yzm { |
| | | top: 15% !important; |
| | | } |
| | | |
| | | .fff { |
| | | width: 2.4rem !important; |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .rrr { |
| | | width: 2rem !important; |
| | | } |
| | | |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.2rem !important; |
| | | /* font-size: 0.2rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; */ |
| | | } |
| | | |
| | | .asdf { |
| | | margin-bottom: .1rem !important; |
| | | } |
| | | |
| | | } |
| | | |
| | | /* @media screen and (max-width: 1366px){ |
| | | ::v-deep .el-card{ |
| | | top: 60% !important; |
| | | } |
| | | .LoginTop{ |
| | | margin-bottom: .2rem !important; |
| | | } |
| | | } |
| | | @media screen and (min-width: 1920px){ |
| | |
| | | top: 80% !important; |
| | | } |
| | | |
| | | }/* |
| | | |
| | | } */ |
| | | /* |
| | | å¨å±å¹å®½åº¦è¶
è¿ 1440px æ¶çæ ·å¼è®¾ç½® */ |
| | | @media screen and (min-width: 1441px) { |
| | | /* @media screen and (min-width: 1441px) { |
| | | ::v-deep .el-card { |
| | | top: 80% !important; |
| | | } |
| | |
| | | }.rrr{ |
| | | height: 2.5rem !important; |
| | | } |
| | | } |
| | | } */ |
| | | |
| | | |
| | | .LoginBg { |
| | |
| | | height: .37rem; |
| | | background: url(@/static/image/ç¨æ·æ³¨å.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | /* border: 10px solid red; */ |
| | | |
| | | } |
| | | |
| | |
| | | <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="flex flex-center" style="flex-direction: column;"> |
| | | <view class="search"> |
| | | <next-search-more :selectValue="selectValue"> |
| | | <headNav :idIndex="idIndex" text="ä¸å»å»äºå¶åº¦"/> |
| | | <view class="flex flex-center sousuo" style="flex-direction: column;"> |
| | | <view class="search1"> |
| | | <next-search-more @search="onSearch" placeholder="æç´¢èå®/æºæ" :selectValue="selectValue"> |
| | | </next-search-more> |
| | | </view> |
| | | <view class="flex"> |
| | | <view class="flex remen"> |
| | | çé¨æç´¢ï¼ |
| | | <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'}"> |
| | | <li v-for="item in hot" :key="item.id" @tap="HotClick(item.id)" style="margin: 0 .05rem;color: #244A7B;"> |
| | | {{item.name}} |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | </view> |
| | | <view class="centre flex"> |
| | | <view class="CLeft flex"> |
| | | <ul class="institution"> |
| | | <view class="" style="font-weight: 700;padding-bottom: 6rpx;">æºæç»è®¡10</view> |
| | | <li v-for="ietm1 in 7" :key="item1" class="flex"> |
| | | <view class="">item</view> |
| | | <view class="">112</view> |
| | | <!-- å·¦ --> |
| | | <view class="CLeft flex fbox"> |
| | | <!-- èä¸ --> |
| | | <view class="demo-uni-col MargB box boox" :class="{ 'a': activeBox === 'a'?'a':'' }" |
| | | style="background-color: #fff; border: 2rpx solid #e0e0e0;"> |
| | | <h3>{{institution.title}} ({{institution.list.length}}) </h3> |
| | | <ul style="margin-top: 10rpx;"> |
| | | <!-- background-color: #d6e3f4;border-radius: 60rpx; --> |
| | | <li class="flex" |
| | | :style="{'background':institution.index === index ? '#DDE8F6' :'','borderRadius': institution.index === index ? '60rpx' :''}" |
| | | v-for="(item,index) in institution.list" style="padding:0 20rpx;color: #2C2C2C;"> |
| | | <view class="">{{item.name}}</view> |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | | </ul> |
| | | <ul class="institution institution2"> |
| | | <view class="" style="font-weight: 700;padding-bottom: 6rpx;">æºæç»è®¡10</view> |
| | | <li v-for="ietm1 in 4" :key="item1" class="flex"> |
| | | <view class="">item</view> |
| | | <view class="">112</view> |
| | | <view class="flex flex-center toggleButton1"> |
| | | <view class="toggleButton" style="color: #244A7B;" @click="shrinkClick('a')"> |
| | | {{ activeBox !== 'a' ? 'æ´å¤ ï¹' : 'æ¶èµ· ︿' }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- èå®ç»è®¡ï¼10ï¼ --> |
| | | <view class="demo-uni-col MargB dark box boox" :class="{ 'b': activeBox === 'b'?'b':'' }" |
| | | style="background-color: #fff; border: 2rpx solid #e0e0e0;"> |
| | | <h3>{{officials.title}} ({{officials.list.length}}) </h3> |
| | | <ul style="margin-top: 10rpx;"> |
| | | <!-- background-color: #d6e3f4;border-radius: 60rpx; --> |
| | | <li class="flex" |
| | | :style="{'background':officials.index === index ? '#DDE8F6' :'','borderRadius': officials.index == index ? '10rem' :''}" |
| | | v-for="(item,index) in officials.list" :key="index" style="padding:0 20rpx;"> |
| | | <view class="">{{item.name}}</view> |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | | </ul> |
| | | <ul class="institution institution3 "> |
| | | <view class="" style="font-weight: 700;padding-bottom: 6rpx;">æºæç»è®¡10</view> |
| | | <li v-for="ietm1 in 1 " :key="item1" class="flex"> |
| | | <view class="">item</view> |
| | | <view class="">112</view> |
| | | <view class="flex flex-center toggleButton1"> |
| | | <view class="toggleButton" style="color: #244A7B;" @click="shrinkClick('b')"> |
| | | {{ activeBox !== 'b' ? 'æ´å¤ ï¹' : 'æ¶èµ· ︿' }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- æ¥æºï¼5ï¼ --> |
| | | <view class="demo-uni-col dark box boox" style="background-color: #fff; border: 2rpx solid #e0e0e0;"> |
| | | <h3>{{source.title}} ({{source.list.length}}) </h3> |
| | | <ul style="margin-top: 10rpx;"> |
| | | <!-- background-color: #d6e3f4;border-radius: 60rpx; --> |
| | | <li class="flex" v-for="(item,index) in source.list" style="padding:0 20rpx;color: #244A7B;"> |
| | | <view class="">{{index+1}}.{{item.name}}</view> |
| | | <!-- <view class="">{{item.number}}</view> --> |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | <view class="CRight flex flex-column relative"> |
| | | <el-row style="height: 50rpx;width: 100%;"> |
| | | <view class="flex"> |
| | | <view class="">å
±{{total}}æ¡</view> |
| | | <view class=""> |
| | | <uni-data-select style="width: 250rpx;" v-model="rankVal" :localdata="rank" :clear="false" |
| | | @change="selectChange"> |
| | | </uni-data-select> |
| | | </view> |
| | | <!-- å³ --> |
| | | <view class="CRight fbox1 flex flex-column relative"> |
| | | <!-- <el-row style="height: 50rpx;width: 100%;"> --> |
| | | <view class="flex" style="width: 100%;margin-bottom: .3rem;"> |
| | | <view class="" style="font-size: .14rem;color: #2C2C2C;font-weight: 400;">å
±{{total}}æ¡</view> |
| | | <view class="paixu"> |
| | | <el-select v-model="rankVal" placeholder="ææåæåº"> |
| | | <el-option v-for="(item,index) in rank" :key="item" :label="item.text" |
| | | :value="item.value"></el-option> |
| | | <!-- <el-option label="åºåäº" value="beijing"></el-option> --> |
| | | </el-select> |
| | | </view> |
| | | </view> |
| | | </el-row> |
| | | <view style="flex-grow: 1;" class="flex CommodityList"> |
| | | <view class="" v-for="item in CommodityList" :key="item" style="height:28% ;"> |
| | | <!-- </el-row> flex-grow: 1;--> |
| | | <view style="" class="flex CommodityList"> |
| | | <view class="rightList" @click="ListClick" v-for="item in CommodityList" :key="item"> |
| | | <el-card class="box-card" style="height: 100%;"> |
| | | <view class="flex flex-start"> |
| | | <view class="" |
| | | style="background-color: #5879a4;text-align: right;transform:translateX(-50rpx);color: #fff;padding:0 10rpx 0 50rpx;"> |
| | | <view class="flex flex-start RightListTop"> |
| | | <view class="Topzhiwei" |
| | | style="background-color: #5879a4;text-align: right;;color: #fff;" |
| | | :style="{background:item.color}"> |
| | | {{item.post}} |
| | | </view> |
| | | <view class="" style="margin-right: 20rpx;">{{item.name}}</view> |
| | | <view class="" |
| | | <view class="TopName">{{item.name}}</view> |
| | | <view class="TopDynasty" |
| | | style="border: 1px solid #d4d4d4;font-weight:500;padding: 0 10rpx;border-radius: 10rpx;"> |
| | | {{item.dynasty}} |
| | | </view> |
| | | </view> |
| | | <view class="" |
| | | style="background-color: #f6f6f6;padding: 5rpx 10rpx;color: #777777; margin: 15rpx 0;"> |
| | | {{item.anotherNamer}} |
| | | <view class="desBox" style="padding: .14rem .2rem .23rem;"> |
| | | <view class="biecheng"> |
| | | <view class="flex" title="sdfsdf"> å«ç§°ï¼ |
| | | <view class="BeyondHiding1" style="width: .75rem;line-height: 1;">ä¸</view> |
| | | </view> |
| | | <view class="" |
| | | style="font-weight: 600; font-size: 20rpx;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;"> |
| | | <view class="flex " style="">æ¥æº: |
| | | <view class="BeyondHiding1" style="margin-left: .1rem;line-height: 1"> |
| | | ä¸å»å»äºå¤§å
¨ |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="describe font-family BeyondHiding2"> |
| | | {{item.content}} |
| | | </view> |
| | | </view> |
| | | </el-card> |
| | | </view> |
| | | </view> |
| | | <!-- å¼¹åºå± --> |
| | | <el-dialog title="" class="dialog" :visible.sync="dialogVisible" width="40%"> |
| | | <!-- åæ¶é® --> |
| | | <view class="" @click="dialogVisible=false" |
| | | style="padding: 20rpx;position: absolute;left: 0;top: 0;font-size: 40rpx;z-index: 999;">X</view> |
| | | <view class="flex" style="height: 100%;flex-direction: column;"> |
| | | <view class="detailImage" style="position: relative;"> |
| | | <img style="opacity: .5;" src="https://img0.baidu.com/it/u=3628503530,464378779&fm=253&app=120&size=w931&n=0&f=JPEG&fmt=auto?sec=1710608400&t=42d653b0f525a8de1d45825ea8b45f66" |
| | | alt="" /> |
| | | <view class=" flex flex-column " style="height: 100%;justify-content: center; position: relative;z-index: 999;"> |
| | | <view class="" style="font-size: 40rpx;font-weight: 900;">御å»</view> |
| | | <view class="" style="font-size: 20rpx;font-weight: 800; border: 2rpx solid #000;margin: 30rpx 0;background-color: #fff;border-radius: 10rpx;padding: 0 10rpx;">御å»</view> |
| | | <ul class="flex"> |
| | | <li v-for="item in 3" style="background-color: #fff;color: #415c7a; border: 2rpx solid #415c7a;border-radius: 30rpx;padding: 0 15rpx;margin-right: 10rpx;" >ssdf</li> |
| | | </ul> |
| | | </view> |
| | | </view> |
| | | <view class="" style="width: 80%; height: 100%;position: relative;"> |
| | | <view class=" flex flex-content" |
| | | style=" box-shadow: 4px 4px 8px #888; background-color: #fff; width: 100%;left: 0; position: relative;top: -50rpx;padding: 30rpx 0; "> |
| | | <view class="">å级: <span>äºå</span> </view> |
| | | <view class="">å级: <span>äºå</span> </view> |
| | | <view class="">å级: <span>äºå</span> </view> |
| | | </view> |
| | | <view class="" style="background-color: #f4f4f4;font-weight: 700;padding: 10rpx;"> |
| | | ç¸å
³æè¿° |
| | | </view> |
| | | <view class="" style="font-size: 23rpx;font-weight: 600;margin: 30rpx 0;">ææ©å士æ¯å¤ä»£å¤ªå»ç½²èç§°ï¼è´è´£æç®¡ææ©æ£éª¨ä¸ä¸çææèæ ¸ï¼å®é¶å¨ä»ä¹åä¸[1]ãææ©å士ï¼é代设äºäººï¼åä½ä¸è¯¦ãå代设ä¸äººï¼å®é¶ä¸ºä»ä¹åä¸ï¼ææ©å士è´è´£æç®¡ææ©ãæ£éª¨ä¸ä¸çæå¦ï¼ä¸è®¾ææ©å¸ãææ©å·¥çä½ä¸ºå©æã</view> |
| | | <view class="" style="background-color: #f4f4f4;font-weight: 700;padding: 10rpx;"> |
| | | ç¸å
³æè¿° |
| | | </view> |
| | | <view class="" style="font-size: 23rpx;font-weight: 600;margin: 30rpx 0;">ææ©å士æ¯å¤ä»£å¤ªå»ç½²èç§°ï¼è´è´£æç®¡ææ©æ£éª¨ä¸ä¸çææèæ ¸ï¼å®é¶å¨ä»ä¹åä¸[1]ãææ©å士ï¼é代设äºäººï¼åä½ä¸è¯¦ãå代设ä¸äººï¼å®é¶ä¸ºä»ä¹åä¸ï¼ææ©å士è´è´£æç®¡ææ©ãæ£éª¨ä¸ä¸çæå¦ï¼ä¸è®¾ææ©å¸ãææ©å·¥çä½ä¸ºå©æã</view> |
| | | </view> |
| | | <view class="flex" style="padding: 20rpx; box-sizing: border-box; width: 100%;margin-bottom: 2rpx;"> |
| | | <el-button class="flex"> |
| | | <view class="flex"> |
| | | <view class="" style="margin-right: 40rpx;">ä¸ä¸æ¡</view> |
| | | <view class="">æºæ: 太å»é¢ </view> |
| | | </view> |
| | | </el-button> |
| | | <el-button class="flex"> |
| | | <view class="flex"> |
| | | <view class="" style="margin-right: 40rpx;">æºæ: 太å»é¢ </view> |
| | | <view class="" >ä¸ä¸æ¡</view> |
| | | </view> |
| | | </el-button> |
| | | </view> |
| | | </view> |
| | | </el-dialog> |
| | | <!-- å页 --> |
| | | <el-row style="height: 50rpx;position: absolute;bottom: 50rpx;"> |
| | | <el-row class="fenye" style="position: absolute;bottom: .1rem;"> |
| | | <el-pagination class="paging" :current-page="CurrentPage" :total="total" :page-size="6" |
| | | @current-change="CurrentChange" @prev-click="PrevClick" @next-click="NextClick" prev-text="ä¸ä¸é¡µ" |
| | | next-text="ä¸ä¸é¡µ" background layout="prev, pager, next"> |
| | |
| | | </el-row> |
| | | </view> |
| | | </view> |
| | | <!-- å¼¹åºå± --> |
| | | <el-dialog title="" class="dialog" :visible.sync="dialogVisible" width="40%"> |
| | | <!-- åæ¶é® --> |
| | | <view class="" |
| | | style="padding: .16rem;position: absolute;z-index: 9999999999999999999999999999999999999999; left: 0;top: 0;"> |
| | | <img @click="dialogVisible=false" src="@/static/image/X.png" alt="" style="width: 100%;height: 100%;" |
| | | sizes="" srcset="" /> |
| | | </view> |
| | | <view class="flex" style="position: relative; height: 100%;flex-direction: column;"> |
| | | <view class="detailImage" style="position: relative;"> |
| | | <img src="@/static/image/personageBg.png" alt="" /> |
| | | <view class=" flex flex-column " |
| | | style="height: 100%;justify-content: flex-start; position: relative;z-index: 999;"> |
| | | <view class="creatureXinxi1">御å»</view> |
| | | <view class="creatureXinxi2"> |
| | | åæ</view> |
| | | <ul class="flex creatureXinxi3"> |
| | | <li v-for="item in 4">JSF</li> |
| | | </ul> |
| | | </view> |
| | | </view> |
| | | <view class="" style="width: 80%; height: 100%;position: relative;"> |
| | | <view class="pinji flex "> |
| | | <view class="">å级: <span> äºå</span> </view> |
| | | <view class="">å«å: <span> äº</span> </view> |
| | | <view class="">æ¥æº: <span> ä¸å½å代å»å®¶è¾å
¸</span> </view> |
| | | </view> |
| | | <view class=""> |
| | | <view class="" |
| | | style="font-size: .14rem;color: #2C2C2C; background-color: #F0F0F0;font-weight: 700;padding-left: .18rem;height: .34rem;line-height: .34rem;"> |
| | | ç¸å
³æè¿° |
| | | </view> |
| | | <view class="" style="font-size: .1rem;color: #2C2C2C;margin: .1rem 0 .19rem;line-height: 2.3;"> |
| | | ææ©å士æ¯å¤ä»£å¤ªå»ç½²èç§°ï¼è´è´£æç®¡ææ©æ£éª¨ä¸ä¸çææèæ ¸ï¼å®é¶å¨ä»ä¹åä¸[1]ãææ©å士ï¼é代设äºäººï¼åä½ä¸è¯¦ãå代设ä¸äººï¼å®é¶ä¸ºä»ä¹åä¸ï¼ææ©å士è´è´£æç®¡ææ©ãæ£éª¨ä¸ä¸çæå¦ï¼ä¸è®¾ææ©å¸ãææ©å·¥çä½ä¸ºå©æã |
| | | </view> |
| | | <view class="" |
| | | style="font-size: .14rem;color: #2C2C2C; background-color: #F0F0F0;font-weight: 700;padding-left: .18rem;height: .34rem;line-height: .34rem;"> |
| | | 夿³¨ |
| | | </view> |
| | | <view class="" style="font-size: .1rem;color: #2C2C2C;margin: .1rem 0 .19rem;line-height: 2.3;"> |
| | | ææ©å士æ¯å¤ä»£å¤ªå»ç½²èç§°ï¼è´è´£æç®¡ææ©æ£éª¨ä¸ä¸çææèæ ¸ï¼å®é¶å¨ä»ä¹åä¸ã |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="flex detailsBtn"> |
| | | <el-button class="flex btn-prev"> |
| | | <view class="flex"> |
| | | <view class="" style="margin-right: 40rpx;">ä¸ä¸æ¡</view> |
| | | <view class="btn-prev-L">æºæ: 太å»é¢ </view> |
| | | </view> |
| | | </el-button> |
| | | <view class=""> |
| | | 102/329 |
| | | </view> |
| | | <el-button class="flex btn-next"> |
| | | <view class="flex"> |
| | | <view class="" style="margin-right: 40rpx;">æºæ: 太å»é¢ </view> |
| | | <view class="btn-prev-R">ä¸ä¸æ¡</view> |
| | | </view> |
| | | </el-button> |
| | | </view> |
| | | </view> |
| | | </el-dialog> |
| | | |
| | | |
| | | <Footer1 :isLocation="false" :isMarginTop="0.5"/> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Footer1 from '@/components/footer/footer.vue' |
| | | export default { |
| | | components: { |
| | | Footer1 |
| | | }, |
| | | data() { |
| | | return { |
| | | |
| | | // æºæç»è®¡ |
| | | institution: { |
| | | title: 'æºæç»è®¡', |
| | | index: 0, |
| | | list: [{ |
| | | name: 'å
¨é¨', |
| | | id: 1, |
| | | number: 829 |
| | | }, |
| | | { |
| | | name: 'å»å®¶', |
| | | id: 2, |
| | | number: 90 |
| | | }, { |
| | | name: 'ä¸å»', |
| | | id: 3, |
| | | number: 81 |
| | | }, { |
| | | name: '宫廷å»', |
| | | id: 4, |
| | | number: 83 |
| | | }, |
| | | ] |
| | | }, |
| | | // èå®ç»è®¡ |
| | | officials: { |
| | | 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: 'æ¥æº', |
| | | index: 0, |
| | | list: [{ |
| | | name: 'ä¸å½å»äºå¶åº¦è¾å
¸', |
| | | id: 1, |
| | | }, |
| | | { |
| | | name: 'ä¸å»å»äºå¤§å
¨', |
| | | id: 2, |
| | | }, { |
| | | name: 'ä¸å½å»äºå¶åº¦ç ç©¶', |
| | | id: 3, |
| | | } |
| | | ] |
| | | }, |
| | | // å±å¼åæ¶ç¼©çæé®éè¦ |
| | | activeBox: null, |
| | | // æ é¢é¡¶é¨æ éè¦çä¸è¥¿ |
| | | idIndex: 0, |
| | | // å¼¹åºå± |
| | | dialogVisible: true, |
| | | dialogVisible: false, |
| | | // æç´¢ç䏿å表 |
| | | selectValue: [{ |
| | | value: 0, |
| | | text: 'æ¯å¦' |
| | | text: 'å»äºå¶åº¦' |
| | | }, { |
| | | value: 1, |
| | | text: '11sd1' |
| | |
| | | value: 2, |
| | | text: '11sdsd1' |
| | | }], |
| | | |
| | | // çé¨æç´¢ |
| | | hot: [{ |
| | | id: 1, |
| | |
| | | // æåºä¸æèå |
| | | rank: [{ |
| | | value: 0, |
| | | text: 'æåº' |
| | | text: 'ææåæåº' |
| | | }, { |
| | | value: 1, |
| | | text: 'æåºs' |
| | |
| | | id: 1, |
| | | post: 'æºæ', |
| | | name: '太å»é¢', |
| | | color: '#597AA5', |
| | | dynasty: 'åæ', |
| | | anotherNamer: 'å«ç§°----------', |
| | | content: 'å
容++++++++++++++++++++++++++++++' |
| | | content: 'å¤ä»£å»çæºæåç§°ï¼å¤ªå»é¢åç§°å§äºéä»£ï¼æ¿è¢äºåå®ç太å»ç½²ã太å»å±ï¼ä»¥åå代åç«æå¤ªå»é¢æºæå代åç«æå¤ªå»é¢æºæ' |
| | | }, |
| | | { |
| | | id: 2, |
| | | post: 'èå®', |
| | | name: '太å»é¢', |
| | | dynasty: 'åæ', |
| | | color: '#DA7A2B', |
| | | anotherNamer: 'å«ç§°----------', |
| | | content: 'å¤ä»£å»çæºæåç§°ï¼å¤ªå»é¢åç§°å§äºé代ï¼å¤ä»£å»çæºæåç§°ï¼å¤ªå»é¢åç§°å§äºé代ï¼å¤ä»£å»çæºæåç§°ï¼å¤ªå»é¢åç§°å§äºé代ï¼å¤ä»£å»çæºæåç§°ï¼å¤ªå»é¢åç§°å§äºé代ï¼å¤ä»£å»çæºæåç§°ï¼å¤ªå»é¢åç§°å§äºé代ï¼' |
| | | }, |
| | | { |
| | | id: 3, |
| | | post: 'æºæ', |
| | | name: '太å»é¢', |
| | | color: '#597AA5', |
| | | dynasty: 'åæ', |
| | | anotherNamer: 'å«ç§°----------', |
| | | content: 'å
容++++++++++++++++++++++++++++++' |
| | |
| | | id: 3, |
| | | post: 'æºæ', |
| | | name: '太å»é¢', |
| | | color: '#597AA5', |
| | | dynasty: 'åæ', |
| | | anotherNamer: 'å«ç§°----------', |
| | | content: 'å
容++++++++++++++++++++++++++++++' |
| | | }, |
| | | { |
| | | id: 3, |
| | | post: 'æºæ', |
| | | name: '太å»é¢', |
| | | color: '#597AA5', |
| | | dynasty: 'åæ', |
| | | anotherNamer: 'å«ç§°----------', |
| | | content: 'å
容++++++++++++++++++++++++++++++' |
| | | }, |
| | | { |
| | | id: 3, |
| | | post: 'æºæ', |
| | | name: '太å»é¢', |
| | | color: '#597AA5', |
| | | dynasty: 'åæ', |
| | | anotherNamer: 'å«ç§°----------', |
| | | content: 'å
容++++++++++++++++++++++++++++++' |
| | |
| | | |
| | | } |
| | | }, |
| | | mounted() { |
| | | // ä¿®æ¹ä¸¤æ¬¡çé«åº¦ä¿æä¸è´ |
| | | var box1Height = document.querySelector('.fbox').offsetHeight; |
| | | console.log(box1Height, 'box1Height'); |
| | | document.querySelector('.fbox1').style.height = box1Height + 'px'; |
| | | }, |
| | | onLoad(options) { |
| | | this.idIndex = options.id |
| | | console.log('optionsoptionsoptions', options.id); |
| | | }, |
| | | methods: { |
| | | // å±å¼æ¶ç¼© |
| | | shrinkClick(box) { |
| | | console.log(box); |
| | | if (this.activeBox === box) { |
| | | console.log('sdfs'); |
| | | this.activeBox = null; |
| | | } else { |
| | | this.activeBox = box; |
| | | } |
| | | }, |
| | | // listæ°ç» |
| | | ListClick() { |
| | | this.dialogVisible = !this.dialogVisible |
| | | }, |
| | | // æç´¢æé® |
| | | onSearch(val) { |
| | | console.log(val); |
| | | }, |
| | | // çé¨æç´¢ |
| | | HotClick(id) { |
| | | this.hot.forEach(item => { |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | <style scoped> |
| | | |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | |
| | | ::v-deep .search { |
| | | height: .36rem; |
| | | border-radius: .5rem !important; |
| | | align-items: center; |
| | | border-color: #597AA5 !important; |
| | | } |
| | | } |
| | | @media screen and (min-width:1366px) and (max-width:1920px){ |
| | | ::v-deep .search { |
| | | height: .36rem; |
| | | border-radius: .5rem !important; |
| | | align-items: center; |
| | | border-color: #597AA5 !important; |
| | | } |
| | | } |
| | | |
| | | /* ä¸ªäººä¿¡æ¯ */ |
| | | .creatureXinxi1 { |
| | | font-size: .24rem; |
| | | font-weight: 700; |
| | | line-height: 1; |
| | | margin-top: .29rem; |
| | | } |
| | | |
| | | .creatureXinxi2 { |
| | | /* width: .24rem; */ |
| | | height: .17rem; |
| | | line-height: 1; |
| | | font-size: .12rem; |
| | | font-weight: 600; |
| | | background-color: #fff; |
| | | padding: .02rem .04rem; |
| | | margin: .15rem 0; |
| | | color: #2C2C2C; |
| | | border: 1px solid #2C2C2C; |
| | | border-radius: 2px; |
| | | } |
| | | |
| | | .creatureXinxi3 li { |
| | | height: .16rem; |
| | | line-height: .16rem; |
| | | background-color: #fff; |
| | | padding: 0 .08rem; |
| | | margin: 0 .07rem; |
| | | font-size: .12rem; |
| | | color: #2C2C2C; |
| | | border: 1px solid #2C2C2C; |
| | | border-radius: .3rem; |
| | | } |
| | | |
| | | /* --------- */ |
| | | /* å级 */ |
| | | .pinji { |
| | | box-shadow: 2px 0px 3px #888; |
| | | background-color: #fff; |
| | | width: 100%; |
| | | /* height: .6rem; |
| | | line-height: .6rem; */ |
| | | font-size: .14rem; |
| | | padding: .19rem .28rem .21rem; |
| | | left: 0; |
| | | position: relative; |
| | | top: -.25rem; |
| | | color: #2C2C2C; |
| | | } |
| | | |
| | | /* 个人信æ¯çæé® */ |
| | | .detailsBtn { |
| | | padding: .2rem; |
| | | width: 100%; |
| | | margin-bottom: 2rpx; |
| | | position: absolute; |
| | | bottom: 0; |
| | | } |
| | | |
| | | .detailsBtn .btn-prev, |
| | | .detailsBtn .btn-next { |
| | | font-size: .14rem; |
| | | /* padding: .14rem .1rem; */ |
| | | border: 1px solid #9E9E9E; |
| | | border-radius: 5px; |
| | | /* height: .32rem; */ |
| | | line-height: .32rem; |
| | | } |
| | | .detailsBtn .btn-prev-L,.detailsBtn .btn-prev-R{ |
| | | border-left: 1px solid #9E9E9E; |
| | | padding-left: .1rem; |
| | | } |
| | | .detailsBtn>:nth-child(2) { |
| | | font-size: .14rem; |
| | | color: #2C2C2C; |
| | | } |
| | | |
| | | /* ------ */ |
| | | img { |
| | | width: 100%; |
| | | height: 100%; |
| | |
| | | } |
| | | } |
| | | |
| | | .search { |
| | | width: 50%; |
| | | } |
| | | |
| | | |
| | | .centre { |
| | | padding: 0 30rpx; |
| | | padding-left: 1.23rem; |
| | | padding-right: 1.17rem; |
| | | /* border: 1px solid #000; */ |
| | | height: 70vh; |
| | | /* height: 70vh; */ |
| | | /* overflow: hidden; */ |
| | | align-items: flex-start; |
| | | position: relative; |
| | | z-index: 1; |
| | | |
| | | .CLeft { |
| | | width: 2.6rem; |
| | | height: 100%; |
| | | vertical-align: top; |
| | | flex-direction: column; |
| | | justify-content: flex-start; |
| | | margin-right: .2rem; |
| | | |
| | | .institution { |
| | | width: 300rpx; |
| | | width: 100%; |
| | | border: 1px solid #000; |
| | | padding: 20rpx; |
| | | |
| | |
| | | } |
| | | |
| | | .CRight { |
| | | margin-left: 20rpx; |
| | | /* margin-left: 20rpx; */ |
| | | width: 100%; |
| | | height: 100%; |
| | | flex-grow: 1; |
| | | border: 1px solid #000; |
| | | border: 1px solid #c1d3ea; |
| | | box-sizing: border-box; |
| | | overflow: hidden; |
| | | padding: 10rpx 30rpx; |
| | | padding: .1rem .2rem; |
| | | background-color: #fff; |
| | | } |
| | | } |
| | | |
| | |
| | | align-items: flex-start; |
| | | flex-wrap: wrap; |
| | | align-content: flex-start; |
| | | padding: 20rpx 20rpx 0 20rpx; |
| | | /* padding: 20rpx 20rpx 0 20rpx; */ |
| | | justify-content: space-between; |
| | | |
| | | >view { |
| | |
| | | /* ::v-deep .el-card__body{ |
| | | padding: 30rpx; |
| | | } */ |
| | | /* å页 */ |
| | | .paging { |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | |
| | | .paging ::v-deep .btn-prev, |
| | | .paging ::v-deep .btn-next { |
| | | border: 0; |
| | | } |
| | | |
| | | .paging ::v-deep .btn-prev span, |
| | | .paging ::v-deep .btn-next span { |
| | | font-size: .12rem; |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | background-color: #fff; |
| | | color: #9E9E9E; |
| | | text-align: center; |
| | | border: 1px solid #9E9E9E; |
| | | padding: 0 .1rem; |
| | | } |
| | | |
| | | .paging ::v-deep .el-pager li { |
| | | font-size: .12rem; |
| | | width: .28rem; |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | background-color: #fff; |
| | | color: #9E9E9E; |
| | | text-align: center; |
| | | border: 1px solid #9E9E9E; |
| | | } |
| | | |
| | | /* ------------ */ |
| | | .dialog { |
| | | position: fixed; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 9999999999999999999999999999999999999999999 !important; |
| | | |
| | | >div { |
| | | height: 100%; |
| | |
| | | |
| | | .detailImage { |
| | | width: 100%; |
| | | height: 450rpx; |
| | | height: 1.94rem; |
| | | color: #000; |
| | | |
| | | img{ |
| | | position: absolute; |
| | | width: 100%; |
| | |
| | | vertical-align: top; |
| | | } |
| | | } |
| | | |
| | | |
| | | /* æç´¢æé® */ |
| | | .sousuo { |
| | | margin: .35rem 0 .19rem; |
| | | } |
| | | |
| | | .search1 { |
| | | width: 5rem; |
| | | |
| | | } |
| | | |
| | | ::v-deep .search { |
| | | height: .36rem; |
| | | border-radius: .3rem; |
| | | align-items: center; |
| | | border-color: #597AA5 !important; |
| | | } |
| | | |
| | | ::v-deep .search .content { |
| | | height: 100% !important; |
| | | border: 0; |
| | | } |
| | | |
| | | ::v-deep .search .uni-input-placeholder { |
| | | font-size: .14rem; |
| | | } |
| | | |
| | | ::v-deep .search .uni-icons { |
| | | font-size: .14rem !important; |
| | | color: #244A7B !important; |
| | | } |
| | | |
| | | ::v-deep .search .uni-input-input, |
| | | ::v-deep .search .uni-select__input-box { |
| | | font-size: .14rem; |
| | | line-height: 1; |
| | | } |
| | | |
| | | ::v-deep .xiala { |
| | | width: 20% !important; |
| | | text-align: center; |
| | | } |
| | | |
| | | ::v-deep .uni-select__input-text { |
| | | color: #244A7B; |
| | | } |
| | | |
| | | ::v-deep .next-search-more .search { |
| | | border: 2px solid #597AA5 !important; |
| | | } |
| | | |
| | | ::v-deep .next-search-more .search .content { |
| | | border-left: 1px solid #597AA5 !important; |
| | | } |
| | | |
| | | .search1 ::v-deep .btnn { |
| | | /* border: 10px solid red; */ |
| | | width: .74rem !important; |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | text-align: center; |
| | | font-size: .14rem; |
| | | background-color: #597AA5; |
| | | border-radius: .5rem; |
| | | color: #fff; |
| | | margin-right: .03rem; |
| | | } |
| | | |
| | | .search1 ::v-deep .icon-del { |
| | | font-size: .24rem !important; |
| | | } |
| | | |
| | | .search1 ::v-deep .uni-select__selector-item { |
| | | position: relative; |
| | | z-index: 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 !important; |
| | | |
| | | display: flex; |
| | | justify-content: center; |
| | | font-size: .14rem; |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | } |
| | | |
| | | /* ------------- */ |
| | | /* çé¨æç´¢ */ |
| | | .remen { |
| | | font-size: .12rem; |
| | | margin-top: .1rem; |
| | | color: #2C2C2C; |
| | | } |
| | | |
| | | /* --------- */ |
| | | |
| | | /* .boox { |
| | | width: 100%; |
| | | padding: .1rem .09rem; |
| | | |
| | | h3 { |
| | | font-size: .14rem; |
| | | } |
| | | } */ |
| | | .MargB { |
| | | margin-bottom: .2rem; |
| | | } |
| | | |
| | | /* 左边ç */ |
| | | .boox { |
| | | width: 100%; |
| | | padding: .1rem .09rem; |
| | | min-height: 2rem !important; |
| | | position: relative; |
| | | border: 1px solid #c1d3ea !important; |
| | | |
| | | ul { |
| | | margin-top: .16rem !important; |
| | | } |
| | | |
| | | h3 { |
| | | font-size: .14rem; |
| | | margin-left: .1rem; |
| | | } |
| | | |
| | | li { |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | padding: 0 .2rem !important; |
| | | margin: .05rem 0 !important; |
| | | border-radius: .3rem !important; |
| | | font-size: .14rem; |
| | | } |
| | | |
| | | .toggleButton1 { |
| | | position: absolute; |
| | | bottom: .1rem !important; |
| | | left: 40% !important; |
| | | } |
| | | |
| | | .toggleButton { |
| | | font-size: .14rem !important; |
| | | } |
| | | } |
| | | |
| | | .a, |
| | | .b { |
| | | min-height: 3rem !important; |
| | | } |
| | | |
| | | .paixu { |
| | | /* margin-right: .3rem; |
| | | height: .24rem; */ |
| | | } |
| | | |
| | | .paixu ::v-deep .el-input__icon { |
| | | font-size: .12rem; |
| | | line-height: .24rem; |
| | | margin-right: .05rem; |
| | | } |
| | | |
| | | |
| | | .paixu ::v-deep .el-input__inner { |
| | | width: 1.09rem; |
| | | font-size: .12rem; |
| | | padding-left: .15rem; |
| | | height: .24rem; |
| | | line-height: .24rem; |
| | | color: #2C2C2C; |
| | | border-color: #9E9E9E; |
| | | } |
| | | |
| | | .el-select-dropdown__item { |
| | | font-size: .12rem; |
| | | height: .2rem; |
| | | line-height: .2rem; |
| | | } |
| | | |
| | | .rightList { |
| | | height: 1.6rem; |
| | | position: relative; |
| | | overflow: hidden; |
| | | margin-bottom: .2rem !important; |
| | | } |
| | | |
| | | .rightList ::v-deep .el-card__body { |
| | | padding: 0; |
| | | } |
| | | |
| | | .rightList .RightListTop { |
| | | margin: .14rem 0; |
| | | font-size: .14rem; |
| | | height: .24rem; |
| | | line-height: .24rem; |
| | | display: flex; |
| | | } |
| | | |
| | | .rightList .RightListTop .Topzhiwei { |
| | | width: .52rem; |
| | | margin-right: .08rem; |
| | | padding-right: .05rem; |
| | | } |
| | | |
| | | .rightList .RightListTop .TopName { |
| | | font-weight: 700; |
| | | color: #2C2C2C; |
| | | margin-right: .17rem; |
| | | } |
| | | |
| | | .rightList .RightListTop .TopDynasty { |
| | | width: .34rem; |
| | | height: .19rem; |
| | | font-size: .12rem; |
| | | line-height: .19rem; |
| | | text-align: center; |
| | | border-color: #9E9E9E; |
| | | color: #9E9E9E; |
| | | } |
| | | |
| | | .rightList .desBox { |
| | | padding: .14rem .2rem .23rem; |
| | | |
| | | /* position: relative; */ |
| | | .biecheng { |
| | | height: .24rem; |
| | | /* line-height: .24rem; */ |
| | | font-size: .12rem; |
| | | padding-left: .1rem; |
| | | background-color: #F0F0F0; |
| | | display: flex; |
| | | align-items: center; |
| | | margin-bottom: .12rem; |
| | | } |
| | | |
| | | .describe { |
| | | position: absolute; |
| | | bottom: .1rem; |
| | | left: 0; |
| | | /* width: 100%; */ |
| | | padding: 0 .23rem; |
| | | height: .49rem; |
| | | line-height: .24rem; |
| | | font-size: .12rem; |
| | | } |
| | | } |
| | | </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="right" :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="rawPass"> |
| | | <el-input v-model="amendDataPass.rawPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æ°å¯ç " prop="newPass"> |
| | | <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="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.amendDataPass.checkPass !== '') { |
| | | this.$refs.formLogin2.validateField('checkPass'); |
| | | } |
| | | callback(); |
| | | } |
| | | }; |
| | | // 确认 |
| | | var validatePass2 = (rule, value, callback) => { |
| | | if (value === '') { |
| | | callback(new Error('è¯·åæ¬¡è¾å
¥å¯ç ')); |
| | | } else if (value !== this.amendDataPass.newPass) { |
| | | callback(new Error('两次è¾å
¥å¯ç ä¸ä¸è´!')); |
| | | } else { |
| | | callback(); |
| | | } |
| | | }; |
| | | return { |
| | | // ç¨æ·æ³¨å |
| | | isRegister: false, |
| | | // ç¨æ·ç»å½ |
| | | isLogin: true, |
| | | // ä¿®æ¹å¯ç |
| | | isAmendPass: false, |
| | | // éç½®å¯ç |
| | | isResetPass: false, |
| | | // 注åç¨æ·è´¦å·çæ ¡éª |
| | | rules: { |
| | | loginID: [{ |
| | | required: true, |
| | | message: '请è¾å
¥ç»å½è´¦å·', |
| | | trigger: 'blur' |
| | | }], |
| | | rawPass: [{ |
| | | required: true, |
| | | message: '请è¾å
¥åå§å¯ç ', |
| | | trigger: 'blur' |
| | | }, |
| | | { |
| | | min: 6, |
| | | max: 12, |
| | | message: 'å¯ç é¿åº¦å¨ 6 å° 12 个å符', |
| | | trigger: 'blur' |
| | | } |
| | | ], |
| | | newPass: [{ |
| | | 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', |
| | | // ä¿®æ¹å¯ç |
| | | amendDataPass: { |
| | | loginID: '', |
| | | rawPass: "", |
| | | 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; |
| | | } |
| | | } |
| | | */ |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | .LoginBg { |
| | | margin: 0 !important; |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | top: 90% !important; |
| | | padding: 0 !important; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | padding: .25rem .5rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form { |
| | | padding-left: .1rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__error { |
| | | font-size: .13rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | height: .35rem !important; |
| | | font-size: .14rem; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | margin-right: .2rem !important; |
| | | width: .7rem; |
| | | } |
| | | |
| | | .hua { |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .LoginTop { |
| | | margin-bottom: .4rem !important; |
| | | } |
| | | |
| | | .yzm { |
| | | top: 15% !important; |
| | | } |
| | | |
| | | .fff { |
| | | width: 2.4rem !important; |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .rrr { |
| | | width: 2rem !important; |
| | | } |
| | | |
| | | .btn { |
| | | margin-bottom: .1rem !important; |
| | | } |
| | | |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.2rem !important; |
| | | font-size: 0.2rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | |
| | | span { |
| | | font-weight: bold !important; |
| | | } |
| | | } |
| | | |
| | | .asdf { |
| | | margin-bottom: .1rem !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> |
| | | <headNav /> |
| | | <el-button class="getBack" @click="getBack">è¿å</el-button> |
| | | <view class="" style="position: relative;"> |
| | | <!-- å°å¾ --> |
| | | <view id="spaceTime" style="height: 90vh;width: 100%;position: relative;"></view> |
| | |
| | | <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> |
| | | <div class="box" style="width: 80%;"> |
| | | <span class="span" :style="{'marginLeft': spanML+'rem'}">{{span}}å¹´</span> |
| | | <div class="scales"> |
| | | <view v-for="(item,index) in yearArr" @click="scaleClick(index)" class="scale" |
| | | :data-index="index"></view> |
| | | </div> |
| | | <div class="MX"></div> |
| | | <div class="cursor" :style="{'marginLeft': cursorML+'rem'}"></div> |
| | | </div> |
| | | </el-dialog> |
| | | </view> |
| | | </view> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | menuNav: true, |
| | | menuNav: false, |
| | | sliderValue: 2024, |
| | | currentYear: 2024, |
| | | sliderValue: 50 |
| | | sliderValue: 50, |
| | | MX: document.querySelector(".MX"), |
| | | box: document.querySelector(".box"), |
| | | span: '', |
| | | yearArr: [], |
| | | yearIndex: 0, |
| | | spanML: 0, |
| | | cursorML: -.05 |
| | | } |
| | | }, |
| | | |
| | | mounted() { |
| | | |
| | | // æ¶ç©ºå°å¾ |
| | | loadBMap('5USVDAhhS4ssz44HLq3gNPZai7naXf4Q').then(() => { |
| | | this.spaceTime() |
| | | }) |
| | | this.$nextTick(() => { |
| | | this.aaa() |
| | | }) |
| | | }, |
| | | methods: { |
| | | // è¿åæé® |
| | | getBack() { |
| | | uni.navigateBack(); |
| | | }, |
| | | aaa() { |
| | | // æ¸²ææ¯çº¿ |
| | | this.addArr() |
| | | }, |
| | | addArr(start = 894, end = 900) { |
| | | for (let i = start; i <= end; i++) { |
| | | this.yearArr.push(i) |
| | | } |
| | | this.span = this.yearArr[0] |
| | | this.$nextTick(() => { |
| | | // this.creatMX(this.yearArr.length - 1) |
| | | // this.creatScale(this.yearArr) |
| | | }) |
| | | }, |
| | | creatMX(len) { |
| | | console.log(len); |
| | | let width = len * 50 + 10 |
| | | // this.MX.style.width = `${width}px` |
| | | // this.scales.style.width = `${width}px` |
| | | // console.log(this.box.style.width); |
| | | }, |
| | | creatScale() { |
| | | // for (let i = 0; i < this.yearArr.length; i++) { |
| | | // let scale = document.createElement("div") |
| | | // scale.className = "scale" |
| | | // scale.setAttribute("index", i) |
| | | // scale.addEventListener("click", this.scaleClick) |
| | | // scales.appendChild(scale) |
| | | // } |
| | | // console.log(arr[0]); |
| | | |
| | | }, |
| | | |
| | | handleSliderChange(value) { |
| | | this.currentYear = value; |
| | | }, |
| | | scaleClick(i) { |
| | | // let i = Number(this.getAttribute("data-index")) |
| | | console.log(i, this.cursorML); |
| | | |
| | | if (i > this.yearIndex) { |
| | | |
| | | this.cursorML += (i - this.yearIndex + +('0.0' + this.yearIndex)) / 1.9 |
| | | // this.spanML += 50 * (i - this.yearIndex) |
| | | console.log((i - this.yearIndex + 0.2), 'aaaa'); |
| | | |
| | | } else { |
| | | this.cursorML -= (this.yearIndex - i) / 2 + 0.04 |
| | | // this.spanML -= 50 * (this.yearIndex - i) |
| | | console.log(this.yearIndex, i, 'bbbb'); |
| | | } |
| | | this.yearIndex = i |
| | | }, |
| | | // ________________________ |
| | | // æ¶ç©ºå°å¾ |
| | | spaceTime() { |
| | | var chartDom = document.getElementById('spaceTime'); |
| | |
| | | value: 273 |
| | | }, |
| | | { |
| | | name: 'sss大åº', |
| | | name: 'åä¸å¤§ç¿å说å°åºæ¯å°å»ºå£«å¤§å¤«å¤§å¸å
å°±', |
| | | value: 279 |
| | | } |
| | | ]; |
| | |
| | | èæ³½: [115.480656, 35.23375], |
| | | åè¥: [117.27, 31.86], |
| | | æ¦æ±: ['ä½ å¥½', 30.52], |
| | | sss大åº: [125.03, 46.58] |
| | | åä¸å¤§ç¿å说å°åºæ¯å°å»ºå£«å¤§å¤«å¤§å¸å
å°±: [125.03, 46.58] |
| | | }; |
| | | const convertData = function(data) { |
| | | var res = []; |
| | |
| | | ] |
| | | } |
| | | }, |
| | | series: [ |
| | | { |
| | | series: [{ |
| | | type: 'effectScatter', |
| | | coordinateSystem: 'bmap', |
| | | data: convertData( |
| | |
| | | padding: [4, 8], |
| | | formatter: function(params) { // 使ç¨å½æ°å¨æçææ ç¾å
容 |
| | | // 设置æåå¤å°ä¸ªå颿¾ç¤ºçç¥å· |
| | | if (params.data.name.length > 3) { |
| | | return params.data.name.substring(0, 3) + '...'; |
| | | if (params.data.name.length > 6) { |
| | | return params.data.name.substring(0, 6) + '...'; |
| | | } else { |
| | | return params.data.name; |
| | | } |
| | |
| | | scale: true |
| | | }, |
| | | zlevel: 1 |
| | | } |
| | | ] |
| | | }] |
| | | }; |
| | | let menuNav1 = this.menuNav |
| | | let menuNav2 = this.menuNav |
| | | // 设置ç¹å»äºä»¶çå¬ |
| | | myChart.on('click', function(params) { |
| | | myChart.on('click', (params) => { |
| | | // menuNav2 = !menuNav1 |
| | | // console.log(menuNav); |
| | | if (params.componentType === 'series') { |
| | | |
| | | var dataName = params.data.name; // è·åç¹å»çæ°æ®åç§° |
| | | var dataValue = params.data.value; // è·åç¹å»çæ°æ®å¼ |
| | | // å¨è¿éå¯ä»¥æ ¹æ®éè¦å¤çç¹å»äºä»¶ï¼æ¯å¦å¼¹åºå¯¹åºæ°æ®ç详ç»ä¿¡æ¯çæä½ |
| | | console.log('ç¹å»äº', dataName, 'æ°æ®ï¼æ°å¼ä¸º', dataValue); |
| | | // console.log('ç¹å»äº', dataName, 'æ°æ®ï¼æ°å¼ä¸º', dataValue); |
| | | // è¿éå¯ä»¥ç¼åè§¦åæ¶é´è·åå¯¹åºæ°æ®ä¿¡æ¯çé»è¾ |
| | | this.spaceTimeArr(params) |
| | | } |
| | | }) |
| | | |
| | | option && myChart.setOption(option); |
| | | |
| | | }, |
| | | |
| | | // æ¶ç©ºå°å¾ç¹å»æ¶è·åçæ°æ® |
| | | spaceTimeArr(Arr) { |
| | | // ä¿®æ¹ Vue ç»ä»¶çæ°æ®ï¼ä¾å¦æ¾ç¤ºèåå¯¼èª |
| | | this.menuNav = !this.menuNav |
| | | // æ¶ç©ºå°å¾çæ°æ® |
| | | console.log(Arr); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .getBack { |
| | | position: fixed; |
| | | width: .6rem; |
| | | height: .24rem; |
| | | top: 1rem; |
| | | left: .24rem; |
| | | z-index: 99999; |
| | | font-size: .12rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | color: #2C2C2C; |
| | | border-color: #9E9E9E; |
| | | border-radius: 0; |
| | | font-weight: 700; |
| | | } |
| | | |
| | | .box { |
| | | position: absolute; |
| | | bottom: 10%; |
| | | left: 50%; |
| | | height: .3rem; |
| | | transform: translate(-50%, -50%); |
| | | } |
| | | |
| | | .MX { |
| | | height: 20px; |
| | | background-color: #ccc; |
| | | } |
| | | |
| | | .scale { |
| | | width: 3px; |
| | | height: 50px; |
| | | background-color: #ccc; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .scales { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | } |
| | | |
| | | .span { |
| | | font-size: 25px; |
| | | color: rgb(0, 68, 255); |
| | | margin-left: -34px; |
| | | } |
| | | |
| | | .cursor { |
| | | position: relative; |
| | | width: 25px; |
| | | height: 30px; |
| | | background-color: rgb(0, 68, 255); |
| | | margin-top: 30px; |
| | | margin-left: -12.5px; |
| | | } |
| | | |
| | | .cursor:before { |
| | | content: ""; |
| | | position: absolute; |
| | | top: -20px; |
| | | width: 0; |
| | | height: 0; |
| | | border-left: 13px solid transparent; |
| | | border-right: 13px solid transparent; |
| | | border-bottom: 20px solid rgb(0, 68, 255); |
| | | } |
| | | |
| | | ::v-deep .particulars { |
| | | position: absolute !important; |
| | | top: 0; |
| | |
| | | position: relative; |
| | | height: 100%; |
| | | } |
| | | |
| | | </style> |
| | |
| | | <headNav /> |
| | | <!-- é«çº§æç´¢ --> |
| | | <view style="margin: .35rem 0 .16rem 0; "> |
| | | <advancedSearch /> |
| | | <advancedSearch placehold="è¾å
¥å§å/å«å/æä»£/ä¼ ä¸»èä¸æç´¢"/> |
| | | </view> |
| | | <!-- çé¨æç´¢ --> |
| | | <view class="flex flex-center" style="font-size: .1rem;color: #2C2C2C;"> |
| | | <view class="flex flex-center hotSearch"> |
| | | çé¨æç´¢ï¼ |
| | | <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;"> |
| | | <li v-for="item in hot" :key="item.id" style=""> |
| | | {{item.name}} |
| | | </li> |
| | | </ul> |
| | |
| | | // å
¶ä»å
³ç³»... |
| | | ]; |
| | | |
| | | let FontSize = 12; // åä½å¤§å° |
| | | let BorderWidth = 2; // è¾¹æ¡å¤§å° |
| | | let SymbolSize = 80; // 尺寸è·ç¦» |
| | | let Distance = 10 |
| | | // ä¸å尺寸ä¸ä¿®æ¹echartsçåä½ |
| | | if (window.innerWidth > 2560 && window.innerWidth <= 3840) { |
| | | FontSize = 28 |
| | | BorderWidth = 5 |
| | | SymbolSize = 100 |
| | | Distance = 33 |
| | | } else if (window.innerWidth > 1920 && window.innerWidth <= 2560) { |
| | | FontSize = 28 |
| | | BorderWidth = 4 |
| | | SymbolSize = 90 |
| | | Distance = 22 |
| | | } else if (window.innerWidth >= 1366 && window.innerWidth <= 1920) { |
| | | FontSize = 18 |
| | | BorderWidth = 4 |
| | | SymbolSize = 70 |
| | | Distance = 22 |
| | | } |
| | | // æ ¹æ®å
³ç³»æ°æ®çæè¿æ¥çº¿ |
| | | var links = []; |
| | | relationships.forEach(function(relationship) { |
| | |
| | | .relation; |
| | | }, // 设置å
³ç³»æ ç¾å
容为"Child-Parent" |
| | | color: '#2C2C2C', |
| | | fontSize: 12, |
| | | fontSize: FontSize - 2, |
| | | backgroundColor: 'rgba(255, 255, 255, 1)', |
| | | padding: [3, 8], |
| | | borderRadius: 30, |
| | | position: 'middle', // 设置æ ç¾ææ¬å¨çº¿çä¸é´ä½ç½®ä¸å±
䏿¾ç¤º |
| | | bottom: -10, |
| | | // bottom: -(FontSize+10), |
| | | z: 10, // 设置æ ç¾çzè½´é«åº¦ï¼ä½¿å
¶æ¯è¿æ¥çº¿æ´é« |
| | | // offset: [0, 15] ,// å¾ä¸ç§»å¨ 10 åç´ |
| | | distance: -12, // å°æ ç¾æ¾ç½®å¨è¿æ¥çº¿ä¸ |
| | | distance: -(Distance + 1), // å°æ ç¾æ¾ç½®å¨è¿æ¥çº¿ä¸ |
| | | } |
| | | }); |
| | | } |
| | |
| | | y: Math.random() * 600, // è®¾ç½®éæºyåæ ä½ç½® |
| | | itemStyle: { |
| | | color: getColorByIndex(index), // å¯ä»¥æ ¹æ®ç´¢å¼è®¾ç½®ä¸åçé¢è² |
| | | borderWidth: 2, |
| | | borderWidth: BorderWidth, |
| | | borderColor: getColorByIndex(index + 1) |
| | | } |
| | | }; |
| | |
| | | } |
| | | var option; |
| | | option = { |
| | | title: { |
| | | // text: '书䏿叏æå°ç100ä½äººç©', |
| | | subtext: '书䏿叏æå°ç100ä½äººç©', |
| | | left: 'center', |
| | | top: FontSize + 10, |
| | | // textStyle: { |
| | | // fontSize: FontSize // 设置æ 颿å大å°ä¸º 18px |
| | | // }, |
| | | subtextStyle: { |
| | | fontSize: FontSize ,// è®¾ç½®å¯æ 颿å大å°ä¸º 14px |
| | | color:'#2C2C2C' |
| | | } |
| | | }, |
| | | backgroundColor: { |
| | | type: 'image', |
| | | image: '/static/image/characterRelationBg.png', |
| | |
| | | series: [{ |
| | | type: 'graph', |
| | | layout: 'none', |
| | | symbolSize: 40, // è°æ´èç¹å¤§å° |
| | | symbolSize: SymbolSize, // è°æ´èç¹å¤§å° |
| | | label: { |
| | | show: true, |
| | | color: 'black', // 设置èç¹æåé¢è²ä¸ºé»è² |
| | | |
| | | fontSize: FontSize, // 设置æåå¤§å° |
| | | }, |
| | | edgeSymbol: ['circle'], |
| | | edgeSymbolSize: [4, 10], |
| | |
| | | mounted() { |
| | | // å
³ç³»å¾è°± |
| | | this.relation() |
| | | |
| | | // çå¬çªå£å¤§å°åå |
| | | window.addEventListener('resize', this.relation); |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | @media screen and (min-width:2560px)and (max-width:3840px) {} |
| | | |
| | | @media screen and (min-width:1366px) and (max-width:1920px) {} |
| | | |
| | | ::v-deep .uni-input-placeholder { |
| | | line-height: 1; |
| | | font-size: .12rem; |
| | | } |
| | | |
| | | ::v-deep .ffff { |
| | | border-radius: .5rem; |
| | | } |
| | | |
| | | ::v-deep .widget_button { |
| | | border-radius: .5rem; |
| | | margin: .02rem; |
| | | } |
| | | |
| | | .hotSearch { |
| | | font-size: .12rem; |
| | | color: #2C2C2C; |
| | | |
| | | li { |
| | | color: #244A7B; |
| | | margin: 0 .1rem; |
| | | color: #244A7B; |
| | | } |
| | | } |
| | | </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="" /> |
| | | <!-- é¡¶é¨å¯¼èª --> |
| | | <headNav :idIndex="idIndex" text="å代妿¯æµæ´¾"/> |
| | | <!-- 妿´¾ --> |
| | | <view class="flex flex-center" style="width: 100%; margin: .2rem 0;"> |
| | | <ul class="flex"> |
| | | <li style="" v-for="(item,index) in dynasty" :key="item.id"> |
| | | <view @click="SchoolClick(item.id)" class="flex flex-center font-family school" |
| | | :style="{'marginRight': index === dynasty.length - 1 ? '0' : '0.03rem'}" |
| | | style="font-weight: 500; border-radius: .3rem; padding: .06rem .15rem; color: #2C2C2C; font-size: .12rem; margin-top: .03rem;margin-right: .1rem;background-color: #fff;"> |
| | | <view class="" :style="{background:item.color}" style="margin-right: .07rem; width: .12rem;height: .12rem;border-radius: 50%;"></view> |
| | | <view class="" style="color: #2C2C2C;font-size: .12rem;">{{item.name}}</view> |
| | | </view> |
| | | </li> |
| | | </ul> |
| | | </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=""> |
| | | <view id="line-chart" style="width: 100vw;height: 500px;"></view> |
| | | <view class="" style="background-color: #fff;"> |
| | | <view id="line-chart" style="width: 100vw;"></view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | // æ é¢é¡¶é¨æ éè¦çä¸è¥¿ |
| | | idIndex:0, |
| | | // æä»£ |
| | | dynasty: [{ |
| | | name: 'å»ç»å¦æ´¾', |
| | | color: '#90BBD8', |
| | | id: 1 |
| | | }, { |
| | | name: 'ç»æ¹å¦æ´¾', |
| | | color: '#EDD28B', |
| | | id: 2 |
| | | }, { |
| | | name: '伤å¯å¦æ´¾', |
| | | color: '#CF746D', |
| | | id: 3 |
| | | },{ |
| | | name: 'æ²³é´å¦æ´¾', |
| | | color: '#9CC27A', |
| | | id: 4 |
| | | }, { |
| | | name: 'æ»éªå¦æ´¾', |
| | | color: '#5B6CB9', |
| | | id:5 |
| | | }, { |
| | | name: 'æ»é´å¦æ´¾', |
| | | color: '#8860A8', |
| | | id: 6 |
| | | }, { |
| | | name: 'ææ°´å¦æ´¾', |
| | | color: '#DE8E66', |
| | | id: 7 |
| | | }, { |
| | | name: 'æ¸©è¡¥å¦æ´¾', |
| | | color: '#7FAC8C', |
| | | id: 8 |
| | | }], |
| | | chartData: [{ |
| | | name: 'ä½ å¥½', |
| | | values: [30, 10, 100, 400, 30, 70] |
| | |
| | | }] |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | this.idIndex = options.id |
| | | console.log('optionsoptionsoptions',options.id); |
| | | }, |
| | | methods: { |
| | | // |
| | | SchoolClick(id){ |
| | | console.log(id); |
| | | uni.navigateTo({ |
| | | url:'/pages/interchannel/interchannel?id='+this.idIndex |
| | | }) |
| | | }, |
| | | renderChart() { |
| | | const chart = echarts.init(document.getElementById('line-chart')); |
| | | const xAxisData = ['1950', '1955', '1960', '1965', '1970', '1975', '123']; |
| | |
| | | }); |
| | | |
| | | const option = { |
| | | legend: { |
| | | data: this.chartData.map(item => item.name), |
| | | }, |
| | | // legend: { |
| | | // data: this.chartData.map(item => item.name), |
| | | // }, |
| | | zoom: 8,// è¿éå¯ä»¥æ ¹æ®éè¦è°æ´ç¼©æ¾çº§å« |
| | | |
| | | xAxis: { |
| | | type: 'category', |
| | | data: xAxisData, |
| | | axisLabel: { |
| | | fontSize: 32 // 设置 x è½´ä¸æåçåä½å¤§å°ä¸º 12 åç´ |
| | | }, |
| | | axisLine: { |
| | | lineStyle: { |
| | | width: 4 // 设置x轴线æ¡å®½åº¦ä¸º2åç´ |
| | | } |
| | | } |
| | | }, |
| | | yAxis: { |
| | | type: 'value', |
| | | axisLabel: { |
| | | fontSize: 32 // 设置 x è½´ä¸æåçåä½å¤§å°ä¸º 12 åç´ |
| | | }, |
| | | axisLine: { |
| | | lineStyle: { |
| | | width: 10 // 设置x轴线æ¡å®½åº¦ä¸º2åç´ |
| | | } |
| | | } |
| | | }, |
| | | series: series, |
| | | // å
¶ä»é
置项... |
| | | textStyle: { |
| | | fontSize: 30 // 设置å
¨å±æåçåä½å¤§å° |
| | | }, |
| | | }; |
| | | |
| | | chart.setOption(option); |
| | |
| | | view { |
| | | color: #fff; |
| | | } |
| | | .school{ |
| | | |
| | | } |
| | | .bag { |
| | | height: 100vh; |
| | | background-color: #fff; |
| | |
| | | vertical-align: top; |
| | | } |
| | | } |
| | | #line-chart{ |
| | | height: 6rem; |
| | | } |
| | | </style> |
| | |
| | | è¿åç»å½ |
| | | </view> |
| | | </view> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin2" label-position="left" |
| | | :rules="rules" :model="resetDataPass"> |
| | | <el-form :hide-required-asterisk="true" ref="formLogin2" label-position="right" :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="" |
| | | <view @click="verifyCodeClick" class="yzm" |
| | | style="position: absolute;right: 0%;top: 0%;color: #244A7B;font-size: .14rem;font-weight: 500;"> |
| | | è·åéªè¯ç </view> |
| | | </view> |
| | |
| | | <el-form-item label="æ°å¯ç " prop="pass"> |
| | | <el-input v-model="resetDataPass.newPass"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="确认å¯ç " prop="checkPass"> |
| | | <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> |
| | | size="medium" @click="Login2('formLogin2')">éç½®å¯ç </el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-card> |
| | |
| | | <style scoped> |
| | | /* |
| | | å¨å±å¹å®½åº¦è¶
è¿ 1440px æ¶çæ ·å¼è®¾ç½® */ |
| | | @media screen and (min-width: 1441px) { |
| | | /* @media screen and (min-width: 1441px) { |
| | | ::v-deep .el-card { |
| | | top: 60% !important; |
| | | } |
| | |
| | | height: 2.5rem !important; |
| | | } |
| | | } |
| | | */ |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | .LoginBg { |
| | | margin: 0 !important; |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | top: 90% !important; |
| | | padding: 0 !important; |
| | | } |
| | | |
| | | ::v-deep .el-card__body { |
| | | padding: .25rem .5rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form { |
| | | padding-left: .1rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__error { |
| | | font-size: .13rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | height: .35rem !important; |
| | | font-size: .14rem; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | margin-right: .2rem !important; |
| | | width: .7rem; |
| | | } |
| | | |
| | | .hua { |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .LoginTop { |
| | | margin-bottom: .4rem !important; |
| | | } |
| | | |
| | | .yzm { |
| | | top: 15% !important; |
| | | } |
| | | |
| | | .fff { |
| | | width: 2.4rem !important; |
| | | height: 4rem !important; |
| | | } |
| | | |
| | | .rrr { |
| | | width: 2rem !important; |
| | | } |
| | | |
| | | .btn { |
| | | margin-bottom: .1rem !important; |
| | | } |
| | | |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.2rem !important; |
| | | font-size: 0.2rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | |
| | | span { |
| | | font-weight: bold !important; |
| | | } |
| | | } |
| | | |
| | | .asdf { |
| | | margin-bottom: .1rem !important; |
| | | } |
| | | |
| | | } |
| | | |
| | | .LoginBg { |
| | | width: 1.2rem; |
| | |
| | | </view> |
| | | |
| | | <!-- é«çº§æç´¢ --> |
| | | <view v-if="isSearchTrue" style="margin: .35rem 0 .16rem 0; height: .52rem;"> |
| | | <view v-if="isSearchTrue" class="Search" style="margin: .35rem 0 .16rem 0; height: .52rem;"> |
| | | <advancedSearch @onSearch="onSearch" :isAvancedTrue="false" :isSearchTrue="false" /> |
| | | </view> |
| | | </view> |
| | |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | |
| | | </view> |
| | | <view class="hua"></view> |
| | | <!-- åºé¨äººç©èæ¯å¾å·¦ä¾§ --> |
| | |
| | | }) |
| | | } else if (item.id == 2) { |
| | | console.log(item.name); |
| | | // uni.navigateTo({ |
| | | // url:'/pages/repository/repository?id='+item.id |
| | | // }) |
| | | uni.navigateTo({ |
| | | url:'/pages/zhongyi/zhongyi?id='+item.id |
| | | }) |
| | | } else if (item.id == 3) { |
| | | uni.navigateTo({ |
| | | url: '/pages/dataDisplay/dataDisplay?id=' + item.id |
| | |
| | | <style scoped> |
| | | /* |
| | | å¨å±å¹å®½åº¦è¶
è¿ 1440px æ¶çæ ·å¼è®¾ç½® */ |
| | | @media screen and (min-width: 1441px) { |
| | | /* @media screen and (min-width: 1441px) { |
| | | ::v-deep .el-card { |
| | | top: 60% !important; |
| | | } |
| | |
| | | .rrr { |
| | | height: 2.5rem !important; |
| | | } |
| | | } */ |
| | | @media screen and (min-width:2560px)and (max-width:3840px){ |
| | | .Ttop{ |
| | | margin-bottom: .7rem !important; |
| | | margin-top: .3rem !important; |
| | | } |
| | | .login{ |
| | | width: .52rem !important; |
| | | height: .52rem !important; |
| | | } |
| | | .LoginBg{ |
| | | margin: 0 !important; |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | ::v-deep .Bbar img{ |
| | | width: .52rem !important; |
| | | height: .52rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-card { |
| | | top: 90% !important; |
| | | padding: 0 !important; |
| | | } |
| | | ::v-deep .el-card__body{ |
| | | padding: .25rem .5rem !important; |
| | | } |
| | | .Search ::v-deep .flex-center{ |
| | | height: 80% !important; |
| | | } |
| | | ::v-deep .searchBg{ |
| | | width: .35rem; |
| | | height: .35rem; |
| | | margin-right: .03rem; |
| | | } |
| | | ::v-deep .ffff{ |
| | | border-radius: .3rem !important; |
| | | } |
| | | ::v-deep .searchBg{ |
| | | border-radius: inherit !important; |
| | | } |
| | | ::v-deep .uni-input-placeholder{ |
| | | font-size: .14rem; |
| | | height: 100%; |
| | | display: flex; |
| | | align-content: center; |
| | | align-items: center; |
| | | } |
| | | ::v-deep .el-form{ |
| | | padding-left: .1rem !important; |
| | | } |
| | | ::v-deep .el-form-item__error{ |
| | | font-size: .13rem !important; |
| | | } |
| | | ::v-deep .el-input__inner{ |
| | | height: .35rem !important; |
| | | font-size: .14rem; |
| | | } |
| | | ::v-deep .el-form-item__label { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | margin-right: .2rem !important; |
| | | width: .7rem; |
| | | } |
| | | |
| | | |
| | | .secretary li{ |
| | | width: 1.3rem !important; |
| | | height: 4rem !important; |
| | | span{ |
| | | width: .5rem !important; |
| | | height: 70% !important; |
| | | font-size: 0.25rem !important; |
| | | } |
| | | } |
| | | .hua { |
| | | height: 5rem !important; |
| | | } |
| | | .LoginTop{ |
| | | margin-bottom: .4rem !important; |
| | | } |
| | | .yzm{ |
| | | top: 15% !important; |
| | | } |
| | | .fff{ |
| | | width: 2.4rem !important; |
| | | height: 4rem !important; |
| | | } |
| | | .rrr{ |
| | | width: 2rem !important; |
| | | } |
| | | .btn{ |
| | | margin-bottom: .1rem !important; |
| | | } |
| | | .btn ::v-deep .el-button { |
| | | margin-top: 0.2rem !important; |
| | | font-size: 0.2rem !important; |
| | | width: 100%; |
| | | padding: 0.12rem !important; |
| | | span{ |
| | | font-weight: bold !important; |
| | | } |
| | | } |
| | | .asdf{ |
| | | margin-bottom: .1rem !important; |
| | | } |
| | | } |
| | | @media screen and (min-width:1366px) and (max-width:1920px){ |
| | | .Ttop{ |
| | | margin-bottom: .6rem !important; |
| | | } |
| | | ::v-deep .uni-input-placeholder{ |
| | | font-size: .14rem; |
| | | height: 100%; |
| | | display: flex; |
| | | align-content: center; |
| | | align-items: center; |
| | | } |
| | | .secretary li{ |
| | | width: 1.3rem !important; |
| | | height: 4rem !important; |
| | | span{ |
| | | width: .5rem !important; |
| | | height: 70% !important; |
| | | font-size: 0.25rem !important; |
| | | } |
| | | } |
| | | /* é«çº§æç´¢ */ |
| | | .Search ::v-deep .flex-center{ |
| | | height: 80% !important; |
| | | } |
| | | ::v-deep .searchBg{ |
| | | width: .35rem; |
| | | height: .35rem; |
| | | margin-right: .03rem; |
| | | } |
| | | |
| | | .fff{ |
| | | width: 2.4rem !important; |
| | | height: 4rem !important; |
| | | } |
| | | .rrr{ |
| | | width: 2rem !important; |
| | | } |
| | | .hua { |
| | | height: 4rem !important; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | .btn>>>.el-form-item__content { |
| | | margin-left: 0 !important; |
| | |
| | | } |
| | | |
| | | .login { |
| | | width: 102rpx; |
| | | height: 102rpx; |
| | | width: .52rem; |
| | | height: .52rem; |
| | | display: inline-block; |
| | | vertical-align: middle; |
| | | margin-right: 20rpx; |
| | | margin-right: .2rem; |
| | | background: url(@/static/image/logo.png) no-repeat 0 0; |
| | | background-size: 100% 100%; |
| | | } |
| | |
| | | <template> |
| | | <view class="bag "> |
| | | <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> |
| | | <!-- é¡¶é¨å¯¼èª --> |
| | | <headNav :idIndex="idIndex" text="å代妿¯æµæ´¾"/> |
| | | <view class="Midde flex"> |
| | | <view class="MiddeBack">è¿å</view> |
| | | <!-- <view class="MiddeBack">è¿å</view> --> |
| | | <el-button class="MiddeBack flex flex-center" @click="goBack">è¿å</el-button> |
| | | <view class="flex flex-center flex-column"> |
| | | <view class="" style="font-weight: 900;margin-bottom:20rpx ;">æ²³é´å¾è°±</view> |
| | | <view class="" style="font-weight: 900;margin-bottom:.2rem ;font-size: .26rem;line-height: 1;">æ²³é´å¾è°± |
| | | </view> |
| | | <ul class="flex Lists"> |
| | | <li v-for="item in secretary " |
| | | :style="{background:item.istrue?'#5879a4':'#e5ecf4',color:item.istrue?'#fff':'#889fbd'}" |
| | | class="flex" @click="ListClick(item.id)"> |
| | | {{item.name}} |
| | | </li> |
| | | <li style="background-color: #597AA5;color: #fff;">妿´¾ä»ç»</li> |
| | | <!-- /pages/AcademicHistory/AcademicHistory --> |
| | | <li @click="ListClick" style="background-color: #fff;color: #597AA5;" >妿´¾å¾è°±</li> |
| | | </ul> |
| | | </view> |
| | | <view class=""></view> |
| | |
| | | <view class="Bottom_Bot" style="color: #d1d1d1 ;"> |
| | | <view class=""> |
| | | <!-- <csr-tab :tabList="tabList" :value="0"></csr-tab> --> |
| | | <csr-tab :value.sync="swiperIndex" :tabList="tabSwiperList"></csr-tab> |
| | | <view class="flex flex-center csrTab1"> |
| | | <csr-tab class="csrTab" :value.sync="swiperIndex" :tabList="tabSwiperList"></csr-tab> |
| | | </view> |
| | | <swiper :current="swiperIndex" duration="300" :circular="true" indicator-color="rgba(255,255,255,0)" |
| | | indicator-active-color="rgba(255,255,255,0)" class="Swiper"> |
| | | <!-- @change="swiperChange" --> |
| | | <swiper-item v-for="(swiper,index) in tabSwiperList" :key="index"> |
| | | <view class="swiperList" |
| | | style="background-color: #FFFFFF;text-align: left;color: #000;"> |
| | | <view class="swiperList" style="background-color: #FFFFFF;text-align: left;color: #000;"> |
| | | {{swiper.content}} |
| | | </view> |
| | | </swiper-item> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | // æ é¢é¡¶é¨æ éè¦çä¸è¥¿ |
| | | idIndex:0, |
| | | swiperIndex: 0, |
| | | tabSwiperList: [{ |
| | | TabControl: `æ é¢1`, |
| | |
| | | id: 2, |
| | | name: 'å¹
度sè¨è¬', |
| | | istrue: false |
| | | }, { |
| | | id: 3, |
| | | name: 'å¹
度sè¨è¬', |
| | | istrue: false |
| | | }, { |
| | | id: 4, |
| | | name: 'å¹
度sè¨è¬', |
| | | istrue: false |
| | | }], |
| | | tabList: [{ |
| | | name: '士大夫', |
| | |
| | | }, ] |
| | | } |
| | | }, |
| | | methods: { |
| | | onLoad(options) { |
| | | this.idIndex = options.id |
| | | console.log('optionsoptionsoptions',options.id); |
| | | }, |
| | | methods: { // è¿åä¸ä¸é¡µ |
| | | goBack() { |
| | | // uuni.redirectTo(); |
| | | uni.redirectTo({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | }, |
| | | ListClick(event) { |
| | | console.log(event); |
| | | uni.navigateTo({ |
| | | url: '/pages/AcademicHistory/AcademicHistory?id='+this.idIndex |
| | | }) |
| | | this.secretary.forEach(item => { |
| | | if (item.id === event) { |
| | | item.istrue = true; |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | * { |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | view { |
| | | color: #fff; |
| | |
| | | } |
| | | |
| | | .Midde { |
| | | background-color: #d1d6dc; |
| | | /* background-color: #d1d6dc; */ |
| | | background-image: url(@/static/image/妿´¾Bg.png); |
| | | background-size: 100% 100%; |
| | | color: #000; |
| | | padding: 40rpx; |
| | | padding: .18rem .23rem 0; |
| | | align-items: flex-start; |
| | | height: 1.43rem; |
| | | |
| | | view { |
| | | |
| | | color: #000; |
| | | } |
| | | |
| | | .MiddeBack { |
| | | width: 0.6rem; |
| | | height: 0.24rem; |
| | | font-size: .12rem; |
| | | padding: 0; |
| | | |
| | | } |
| | | |
| | | .Lists { |
| | | li { |
| | | background-color: #e4ebf3; |
| | | /* background-color: #e4ebf3; |
| | | border: 1rpx solid #5778a2; |
| | | padding: 5rpx 10rpx; |
| | | font-size: 18rpx; |
| | | font-size: 18rpx; */ |
| | | width: 0.96rem; |
| | | height: .3rem; |
| | | border: 1px solid #597AA5; |
| | | line-height: .3rem; |
| | | text-align: center; |
| | | font-size: .14rem; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .Bottom { |
| | | padding: 40rpx; |
| | | padding: .39rem 1.21rem !important; |
| | | |
| | | .Bottom_top { |
| | | justify-content: flex-start; |
| | | align-items: flex-end; |
| | | /* align-items: flex-end; */ |
| | | align-items: flex-start; |
| | | padding: 0 1.59rem; |
| | | |
| | | .BBimage { |
| | | width: 4.05rem; |
| | | height: 1.93rem; |
| | | margin-right: .49rem; |
| | | } |
| | | |
| | | .author { |
| | | color: #000; |
| | | padding-left: 100rpx; |
| | | /* padding-left: 100rpx; */ |
| | | |
| | | li { |
| | | padding: 5rpx 0; |
| | | /* padding: 5rpx 0; |
| | | */ |
| | | line-height: .22rem; |
| | | font-size: .14rem; |
| | | margin-top: .05rem; |
| | | color: #2C2C2C; |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | .Swiper {} |
| | | .Bottom_Bot { |
| | | margin-top: .39rem; |
| | | } |
| | | |
| | | .csrTab1 { |
| | | border-bottom: 2px solid #9E9E9E; |
| | | margin-bottom: .3rem; |
| | | } |
| | | |
| | | .csrTab { |
| | | width: 40%; |
| | | height: .4rem; |
| | | /* line-height: .3rem; */ |
| | | font-size: .14rem; |
| | | display: flex; |
| | | |
| | | } |
| | | |
| | | .Swiper { |
| | | padding: 0 1.25rem; |
| | | height: 2rem; |
| | | |
| | | } |
| | | |
| | | .csrTab ::v-deep .uni-tab-bar { |
| | | border: 0 !important; |
| | | height: .02rem; |
| | | background-color:#597AA5; |
| | | } |
| | | |
| | | .csrTab ::v-deep .uni-tab-item { |
| | | color: #9E9E9E !important; |
| | | font-weight: 700; |
| | | height: .4rem; |
| | | } |
| | | |
| | | .csrTab ::v-deep .uni-tab-active { |
| | | color: #597AA5 !important; |
| | | } |
| | | |
| | | .swiperList { |
| | | /* flex: 1; */ |
| | | /* min-height: 500rpx; */ |
| | | line-height: .28rem; |
| | | font-size: .14rem; |
| | | color: #2C2C2C; |
| | | } |
| | | @media screen and (min-width:2560px)and (max-width:3840px){ |
| | | /* .csrTab ::v-deep .uni-tab-bar { |
| | | border: 0.015rem solid #597AA5 !important; |
| | | } */ |
| | | } |
| | | |
| | | @media screen and (min-width:1366px) and (max-width:1920px){ |
| | | /* .csrTab ::v-deep .uni-tab-bar { |
| | | border: 0 !important; |
| | | height: .02rem; |
| | | background-color:#597AA5; |
| | | |
| | | } */ |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <view> |
| | | <!-- é¡¶é¨ --> |
| | | <headNav /> |
| | | <headNav text="ä¸å½å»å¦äººç©ç¥è¯åº"/> |
| | | <!-- æç´¢ --> |
| | | <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 class="flex flex-center Search"> |
| | | <!-- <luanqing-search class="search_bar" @onSearch="onSearch"></luanqing-search> --> |
| | | <advancedSearch @onSearch="onSearch" placehold="è¾å
¥å§å/å«å/æ¶æ/ä¼ ä¸»èä¸æç´¢" :isAvancedTrue="false" /> |
| | | <view class="advancedSea" @click="isAvancedClick" style="color:#244A7B ;cursor: pointer;">é«çº§æç´¢ ï¹</view> |
| | | </view> |
| | | <!-- çé¨æç´¢ --> |
| | | <view class="flex flex-center" style="font-size: 20rpx;margin: 10rpx 0;"> |
| | | <view class="flex flex-center hotSearch" style="font-size: 20rpx;margin: 10rpx 0;"> |
| | | çé¨æç´¢ï¼ |
| | | <ul class="flex" style="margin-right: 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;"> |
| | | <li v-for="item in hot" :key="item.id" style="color: #5879a4;"> |
| | | {{item.name}} |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | <!-- é«çº§æç´¢ --> |
| | | <view class="" v-if="isAdvancedSearch" style="padding: 0 230rpx; margin-bottom: 10rpx;"> |
| | | <view style="background-color: #fff;padding: 20rpx;" class=""> |
| | | <view class="advancedSeaTrue" v-if="isAdvancedSearch" style="padding: 0 230rpx; margin-bottom: 10rpx;"> |
| | | <view style="background-color: #fff;padding: 20rpx;" class="advancedSeaTrue1"> |
| | | <h3>é«çº§æç´¢</h3> |
| | | <MyForm @submit="onSubmit" :from="from" /> |
| | | </view> |
| | | </view> |
| | | <uni-row class="demo-uni-row flex flex-items-start" style="padding: 0 230rpx; "> |
| | | <uni-row class="demo-uni-row zhushuju 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;"> |
| | | <view class="demo-uni-col zhiye dark box boox" |
| | | style="margin-bottom: 40rpx;background-color: #fff; border: 2rpx solid #e0e0e0;"> |
| | | <h3>{{profession.title}}</h3> |
| | | <ul style="margin-top: 10rpx;" :class="{ 'a': activeBox === 'a'?'a':'' }"> |
| | | <!-- background-color: #d6e3f4;border-radius: 60rpx; --> |
| | |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | | </ul> |
| | | <view class="flex flex-center"> |
| | | <view class="toggleButton" style="font-size: 25rpx;color: #C1D3EA;" @click="shrinkClick('a')"> |
| | | <view class="flex flex-center toggleButton1"> |
| | | <view class="toggleButton" style="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'}"> |
| | | <view class="demo-uni-col dark box boox zhongjianleft" |
| | | style="background-color: #fff;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; --> |
| | |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | | </ul> |
| | | <view class="flex flex-center"> |
| | | <view class="toggleButton" style="font-size: 25rpx;color: #C1D3EA;" @click="shrinkClick('b')"> |
| | | <view class="flex flex-center toggleButton1"> |
| | | <view class="toggleButton" style="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;"> |
| | | <view v-if="!isAdvancedSearch" class="demo-uni-col dark box boox" |
| | | style="height: 250rpx;background-color: #fff;border: 2rpx solid #e0e0e0;"> |
| | | <h3>{{source.title}}</h3> |
| | | <ul style="margin-top: 10rpx;" :class="{ 'b': activeBox === 'b'?'b':'' }"> |
| | | <ul class="laiyuan" 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;"> |
| | | <li class="flex liClick" v-for="(item,index) in source.list" :key="index" |
| | | style="padding:0 20rpx;color: #244A7B;"> |
| | | <view class="">{{ index+1 + '. ' +item.name}}</view> |
| | | <view class="">{{item.number}}</view> |
| | | </li> |
| | |
| | | </view> --> |
| | | </view> |
| | | </uni-col> |
| | | <uni-col :span="19" style="padding-left: 20rpx; "> |
| | | <uni-col :span="19" class="rightList"> |
| | | <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="flex lightTop" style="margin:10rpx 0"> |
| | | <view class="" style="color: #2C2C2C;">å
±1374æ¡</view> |
| | | <el-button size="mini">ä¸è½½</el-button> |
| | | <el-button>ä¸è½½</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 :data="tableData" class="lightBo" style="width: 100%"> |
| | | <el-table-column prop="serialNumber" label="åºå·" width="110"></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="gender" label="æ§å«" width="70"></el-table-column> |
| | | <el-table-column prop="epoch" label="æ¶æ"></el-table-column> |
| | | <el-table-column prop="year" label="çå¹´" width="130"></el-table-column> |
| | | <el-table-column prop="death" label="åå¹´" width="130"></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> |
| | |
| | | </view> |
| | | </uni-col> |
| | | </uni-row> |
| | | <div class="abox"></div> |
| | | <Footer1 /> |
| | | </view> |
| | | </template> |
| | |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'å«å', |
| | | name: 'alias', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'ç±è´¯', |
| | | name: 'nativePlace', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | label: 'èä¸', |
| | | value: '', |
| | | name: 'occupation', |
| | | options: [{ |
| | | label: 'å»å®¶', |
| | | value: '1' |
| | | }, |
| | | { |
| | | label: 'ä¸å®¶', |
| | | value: '2' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'èå®', |
| | | name: 'officials', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | label: 'æ§å«', |
| | | value: '', |
| | |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'èç³»', |
| | | name: 'phone', |
| | | label: 'æ¶æ', |
| | | name: 'time', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'input', |
| | | label: 'è¯ä»¶', |
| | | name: 'idNumber', |
| | | label: 'æºæ', |
| | | name: 'institution', |
| | | value: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | label: 'ç¶æ', |
| | | name: 'state', |
| | | value: '', |
| | | options: [{ |
| | | label: 'æªç³è¯·', |
| | | value: 'æªç³è¯·' |
| | | }, |
| | | { |
| | | label: 'å·²ç³è¯·', |
| | | value: 'å·²ç³è¯·' |
| | | }, |
| | | { |
| | | label: 'å·²å é¤', |
| | | value: 'å·²å é¤' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | }, |
| | |
| | | activeBox: null, |
| | | // ä¸ä»£ |
| | | dynasty: { |
| | | title: 'ä¸ä»£', |
| | | title: 'æ¶æ', |
| | | index: 0, |
| | | list: [{ |
| | | name: 'å
¨é¨', |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | .abox{ |
| | | height: 1rem; |
| | | } |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | |
| | | /* æç´¢ */ |
| | | .Search { |
| | | margin: .35rem 0 .16rem !important; |
| | | font-size: .12rem !important; |
| | | } |
| | | |
| | | .Search ::v-deep .advancedSea { |
| | | font-size: .12rem !important; |
| | | margin-left: .35rem; |
| | | } |
| | | |
| | | .Search ::v-deep .flex-center { |
| | | height: 80% !important; |
| | | } |
| | | |
| | | .hotSearch { |
| | | font-size: .12rem !important; |
| | | margin-bottom: .19rem !important; |
| | | |
| | | li { |
| | | font-size: .12rem !important; |
| | | margin: 0 .1rem; |
| | | } |
| | | } |
| | | |
| | | .advancedSeaTrue, |
| | | .zhushuju { |
| | | padding: 0 1.24rem !important; |
| | | } |
| | | |
| | | .advancedSeaTrue1 { |
| | | padding: .08rem .19rem !important; |
| | | font-size: .14rem !important; |
| | | } |
| | | |
| | | /* Formç»ä»¶éé¢çæ ·å¼ */ |
| | | ::v-deep .el-row { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | margin-top: .1rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item { |
| | | display: flex !important; |
| | | flex-wrap: wrap !important; |
| | | margin-bottom: .18rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | font-size: .14rem !important; |
| | | height: .3rem !important; |
| | | display: flex !important; |
| | | align-items: center !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | font-size: .14rem !important; |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | ::v-deep .Formbtn { |
| | | width: 100% !important; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | .el-button { |
| | | width: .7rem !important; |
| | | height: .3rem !important; |
| | | font-size: .12rem; |
| | | |
| | | } |
| | | } |
| | | |
| | | /* ââââââââââââââââââââââ */ |
| | | /* 左边ç */ |
| | | .boox { |
| | | padding: .1rem .09rem; |
| | | min-height: 2rem !important; |
| | | position: relative; |
| | | |
| | | ul { |
| | | margin-top: .16rem !important; |
| | | } |
| | | |
| | | h3 { |
| | | font-size: .14rem; |
| | | margin-left: .1rem; |
| | | } |
| | | |
| | | li { |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | padding: 0 .2rem !important; |
| | | margin: .05rem 0 !important; |
| | | border-radius: .3rem !important; |
| | | |
| | | } |
| | | |
| | | .toggleButton1 { |
| | | position: absolute; |
| | | bottom: .1rem !important; |
| | | left: 40% !important; |
| | | } |
| | | |
| | | .toggleButton { |
| | | font-size: .14rem !important; |
| | | } |
| | | } |
| | | |
| | | .zhongjianleft { |
| | | margin: .27rem 0 !important; |
| | | } |
| | | |
| | | .laiyuan { |
| | | min-height: 2rem !important; |
| | | } |
| | | |
| | | /* ââââââââââââââââââââ */ |
| | | ::v-deep .uni-input-placeholder { |
| | | font-size: .14rem; |
| | | height: 100%; |
| | | display: flex; |
| | | align-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | ::v-deep .ffff { |
| | | border-radius: .3rem !important; |
| | | height: .36rem !important; |
| | | } |
| | | |
| | | ::v-deep .widget_button { |
| | | border-radius: inherit !important; |
| | | margin-right: .02rem !important; |
| | | background-color: #597AA5; |
| | | } |
| | | |
| | | |
| | | |
| | | /* å³ä¾§ */ |
| | | .rightList { |
| | | padding-left: .2rem !important; |
| | | |
| | | .light { |
| | | padding: .1rem .2rem !important; |
| | | } |
| | | |
| | | .lightTop { |
| | | font-size: .14rem !important; |
| | | } |
| | | |
| | | .el-button { |
| | | font-size: .12rem !important; |
| | | padding: .05rem .18rem !important; |
| | | } |
| | | |
| | | .lightBo { |
| | | font-size: .14rem !important; |
| | | |
| | | .is-leaf { |
| | | background-color: #C1D3EA !important; |
| | | color: #2C2C2C !important; |
| | | font-weight: 400; |
| | | .cell{ |
| | | |
| | | height: .3rem !important; |
| | | line-height: .3rem !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .el-table__body-wrapper { |
| | | .el-table__row { |
| | | height: .46rem !important; |
| | | line-height: .46rem !important; |
| | | .cell{ |
| | | |
| | | height: .3rem !important; |
| | | line-height: .3rem !important; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width:1366px) and (max-width:1920px) { |
| | | |
| | | /* æç´¢ */ |
| | | .Search { |
| | | margin: .35rem 0 .16rem !important; |
| | | font-size: .12rem !important; |
| | | } |
| | | |
| | | .Search ::v-deep .advancedSea { |
| | | font-size: .12rem !important; |
| | | margin-left: .35rem; |
| | | } |
| | | |
| | | .Search ::v-deep .flex-center { |
| | | height: 80% !important; |
| | | } |
| | | |
| | | .hotSearch { |
| | | font-size: .12rem !important; |
| | | margin-bottom: .19rem !important; |
| | | |
| | | li { |
| | | font-size: .12rem !important; |
| | | margin: 0 .1rem; |
| | | } |
| | | } |
| | | |
| | | .advancedSeaTrue, |
| | | .zhushuju { |
| | | padding: 0 1.24rem !important; |
| | | } |
| | | |
| | | .advancedSeaTrue1 { |
| | | padding: .08rem .19rem !important; |
| | | font-size: .14rem !important; |
| | | } |
| | | |
| | | /* Formç»ä»¶éé¢çæ ·å¼ */ |
| | | ::v-deep .el-row { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | margin-top: .1rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item { |
| | | display: flex !important; |
| | | flex-wrap: wrap !important; |
| | | margin-bottom: .18rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | font-size: .14rem !important; |
| | | height: .3rem !important; |
| | | display: flex !important; |
| | | align-items: center !important; |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | font-size: .14rem !important; |
| | | height: .3rem !important; |
| | | } |
| | | |
| | | ::v-deep .Formbtn { |
| | | width: 100% !important; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | .el-button { |
| | | width: .7rem !important; |
| | | height: .3rem !important; |
| | | font-size: .12rem; |
| | | |
| | | } |
| | | } |
| | | |
| | | /* ââââââââââââââââââââââ */ |
| | | /* 左边ç */ |
| | | .boox { |
| | | padding: .1rem .09rem; |
| | | min-height: 2rem !important; |
| | | position: relative; |
| | | |
| | | ul { |
| | | margin-top: .16rem !important; |
| | | margin-bottom: .2rem !important; |
| | | } |
| | | |
| | | h3 { |
| | | font-size: .14rem; |
| | | margin-left: .1rem; |
| | | } |
| | | |
| | | li { |
| | | height: .3rem; |
| | | line-height: .3rem; |
| | | padding: 0 .2rem !important; |
| | | margin: .05rem 0 !important; |
| | | border-radius: .3rem !important; |
| | | |
| | | } |
| | | |
| | | .toggleButton1 { |
| | | position: absolute; |
| | | bottom: .1rem !important; |
| | | left: 40% !important; |
| | | } |
| | | |
| | | .toggleButton { |
| | | font-size: .14rem !important; |
| | | } |
| | | } |
| | | |
| | | .zhongjianleft { |
| | | margin: .27rem 0 !important; |
| | | } |
| | | |
| | | .laiyuan { |
| | | min-height: 2rem !important; |
| | | } |
| | | |
| | | /* ââââââââââââââââââââ */ |
| | | ::v-deep .uni-input-placeholder { |
| | | font-size: .14rem; |
| | | height: 100%; |
| | | display: flex; |
| | | align-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | ::v-deep .ffff { |
| | | border-radius: .3rem !important; |
| | | height: .36rem !important; |
| | | } |
| | | |
| | | ::v-deep .widget_button { |
| | | border-radius: inherit !important; |
| | | margin-right: .02rem !important; |
| | | background-color: #597AA5; |
| | | } |
| | | |
| | | /* -------------------- */ |
| | | /* å³ä¾§ */ |
| | | .rightList { |
| | | padding-left: .2rem !important; |
| | | |
| | | .light { |
| | | padding: .1rem .2rem !important; |
| | | } |
| | | |
| | | .lightTop { |
| | | font-size: .14rem !important; |
| | | } |
| | | |
| | | .el-button { |
| | | font-size: .12rem !important; |
| | | padding: .05rem .18rem !important; |
| | | } |
| | | |
| | | .lightBo { |
| | | font-size: .14rem !important; |
| | | |
| | | .is-leaf { |
| | | background-color: #C1D3EA !important; |
| | | color: #2C2C2C !important; |
| | | font-weight: 400; |
| | | .cell{ |
| | | |
| | | height: .3rem !important; |
| | | line-height: .3rem !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .el-table__body-wrapper { |
| | | .el-table__row { |
| | | height: .46rem !important; |
| | | line-height: .46rem !important; |
| | | .cell{ |
| | | |
| | | height: .3rem !important; |
| | | line-height: .3rem !important; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | * { |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .hotSearch { |
| | | font-size: .12rem; |
| | | margin-bottom: .19rem; |
| | | |
| | | li { |
| | | font-size: .12rem; |
| | | margin: 0 .1rem; |
| | | } |
| | | } |
| | | |
| | | .a { |
| | | height: 200px; |
| | | height: 2rem; |
| | | } |
| | | |
| | | .b { |
| | |
| | | |
| | | } |
| | | |
| | | .boox { |
| | | padding: .1rem .09rem; |
| | | |
| | | h3 { |
| | | font-size: .14rem; |
| | | } |
| | | } |
| | | |
| | | ::v-deep .el-table th, |
| | | ::v-deep .el-table td { |
| | | text-align: center; |
| | |
| | | <template> |
| | | <view class="relative"> |
| | | <headNav /> |
| | | <headNav :idIndex="idIndex" text="ä¸å»äººç©æ°æ®åº" /> |
| | | <view class="Midde flex"> |
| | | <el-button class="MiddeBack" size="mini" @click="goBack">è¿å</el-button> |
| | | <el-button class="MiddeBack flex flex-center" @click="goBack">è¿å</el-button> |
| | | <view style="width: 70%;" class="flex flex-center flex-column"> |
| | | <view class="" style="font-weight: bold;font-size: .20rem;">ææ¶ç</view> |
| | | <ul class="flex" style="line-height: 1.2;margin: .15rem 0 ;"> |
| | |
| | | <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: .05rem .085rem;" size="mini" icon="el-icon-set-up">å¼ç¨</el-button> |
| | | <el-button style="padding: .05rem .085rem;" class="yinyong flex"> |
| | | <img src="@/static/image/yinyong.png" alt="" />å¼ç¨</el-button> |
| | | </view> |
| | | <view class="" style="font-size: .12rem;color: #244A7B;">é
读æ´å¤></view> |
| | | <view class="" style="font-size: .12rem;color: #244A7B;" @click="ProfileClick">é
读æ´å¤></view> |
| | | </view> |
| | | </view> |
| | | <view class="" style="width: 5%;"></view> |
| | | </view> |
| | | <el-row style="padding: 0 1.2rem 0;padding-top: .24rem;"> |
| | | <!-- 左侧 --> |
| | | <el-col :span="5" style="padding-right: .2rem;width: 2.8rem;"> |
| | | <el-col :span="5" class="BoxLeft" 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%;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 class="clearfix flex" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | | <span style="margin-left: .12rem;font-size: .14rem;font-weight: 900;">å
³ç³»å¾è°±</span> |
| | | <!-- <el-button icon="el-icon-rank" style="float: right; padding: 3px 0;" type="text"></el-button> --> |
| | | <img src="@/static/image/fangda.png" @click="fangdaClick(1)" |
| | | style="width: .18rem;height: .18rem;" alt="" /> |
| | | </div> |
| | | <view id="relation" style="height: 1.51rem;width: 100%;"></view> |
| | | </el-card> |
| | | <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;"> |
| | | <div class="clearfix flex" 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> |
| | | <!-- <el-button icon="el-icon-rank" style="float: right; padding: 3px 0" type="text"></el-button> --> |
| | | <img src="@/static/image/fangda.png" @click="fangdaClick(2)" |
| | | style="width: .18rem;height: .18rem;" alt="" /> |
| | | </div> |
| | | <view id="spaceTime" style="height: 300rpx;width: 100%;position: relative;"></view> |
| | | <view id="spaceTime" style="height: 1.51rem;width: 100%;position: relative;"></view> |
| | | </el-card> |
| | | <el-card style="width: 100%;height: 2.06rem;"> |
| | | <div class="clearfix" style="font-weight: 900;font-size: .14rem;padding-bottom: .1rem;"> |
| | |
| | | <!-- åºç¡ä¿¡æ¯ --> |
| | | <cc-defineTable :tableData="tableArr"></cc-defineTable> |
| | | </el-card> |
| | | <el-card class="box-card" style=" min-height: 1.91rem; margin: 20rpx 0;"> |
| | | <el-card class="box-card" style=" min-height: 1.91rem; margin: .2rem 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" /> |
| | |
| | | <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;"> |
| | | <ul class="font-family" style="font-size: .13rem;line-height: 2;"> |
| | | <li> |
| | | [1|åç,è°¢è,å¼ ç£,ç.å人æç ç©¶çå½å®¶æ°æ®åºç¡è®¾æ½å»ºè®¾[J|.ä¸å½å¾ä¹¦é¦å¦æ¥,2016,42(5):29-39. |
| | | </li> |
| | |
| | | 个人å°ä¼ |
| | | </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="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> |
| | |
| | | |
| | | |
| | | <!-- è¿åé¡¶é¨ --> |
| | | <el-col style="position: absolute;bottom: 1.44rem;left:1.20rem ;"> |
| | | <el-button icon="el-icon-download" circle @click="scrollToTop"></el-button> |
| | | <el-col style="position: absolute;bottom: 1rem;left:1.2rem ;"> |
| | | <el-button style="width: .4935rem;height: .4935rem;font-size: .3rem;" icon="el-icon-download" circle |
| | | @click="scrollToTop"></el-button> |
| | | </el-col> |
| | | </view> |
| | | </template> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | isProfile: true, |
| | | // æ é¢é¡¶é¨æ éè¦çä¸è¥¿ |
| | | idIndex: 0, |
| | | // ------- |
| | | // å°ä¼ |
| | | isProfile: false, |
| | | // å
³ç³»å¾è°± |
| | | activeName: 'representative', |
| | | // åºç¡ä¿¡æ¯ |
| | |
| | | }] |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | this.idIndex = options.id |
| | | console.log('optionsoptionsoptions', options.id); |
| | | }, |
| | | mounted() { |
| | | |
| | | // å
³ç³»å¾è°± |
| | |
| | | this.$nextTick(() => { |
| | | // è·å第ä¸ä¸ªé项å¡ç DOM å
ç´ |
| | | const firstTab = this.$refs.tabs.$el.querySelector('.el-tabs__active-bar'); |
| | | firstTab.style.transform = 'translateX(' + '-20px' + ')' |
| | | firstTab.style.transform = 'translateX(' + '-.2rem' + ')' |
| | | console.log(firstTab); |
| | | }); |
| | | |
| | | |
| | | // çå¬çªå£å¤§å°åå |
| | | window.addEventListener('resize', this.relation); |
| | | }, |
| | | methods: { |
| | | // æ¾å¤§å°å¾è·³è½¬ |
| | | fangdaClick(index) { |
| | | console.log(index); |
| | | if (index == 1) { |
| | | console.log('跳转å
³ç³»å°å¾'); |
| | | uni.navigateTo({ |
| | | url: '/pages/characterRelation/characterRelation' |
| | | }) |
| | | } else if (index == 2) { |
| | | uni.navigateTo({ |
| | | url: '/pages/characterMap/characterMap' |
| | | }) |
| | | console.log('跳转æ¶ç©ºå°å¾'); |
| | | } |
| | | }, |
| | | // å°ä¼ |
| | | ProfileClick() { |
| | | this.isProfile = !this.isProfile |
| | | }, |
| | | // è¿åä¸ä¸é¡µ |
| | | goBack() { |
| | | uni.navigateBack(); |
| | |
| | | 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)' |
| | | if (index == 0) { |
| | | console.log('sss'); |
| | | firstTab.style.transform = 'translateX(-' + .2 + 'rem)' |
| | | } else if (index == 1) { |
| | | firstTab.style.transform = 'translateX(' + .85 * index + 'rem)' |
| | | } else if (index == 2) { |
| | | firstTab.style.transform = 'translateX(' + .93 * index + 'rem)' |
| | | } else if (index == 3) { |
| | | firstTab.style.transform = 'translateX(' + .95 * index + 'rem)' |
| | | } else if (index == 4) { |
| | | firstTab.style.transform = 'translateX(' + .97 * index + 'rem)' |
| | | } else { |
| | | let firstTab = this.$refs.tabs.$el.querySelector('.el-tabs__active-bar'); |
| | | firstTab.style.transform = 'translateX(' + '-20' + 'px)' |
| | | firstTab.style.transform = 'translateX(' + '-.2' + 'rem)' |
| | | } |
| | | // console.log(firstTab); |
| | | }) |
| | |
| | | relation() { |
| | | var chartDom = document.getElementById('relation'); |
| | | var myChart = echarts.init(chartDom); |
| | | |
| | | // åè®¾æ¨æèç¹åç§°åå®ä»¬ä¹é´çå
³ç³»æ°æ® |
| | | var nodes = ['ææ¶ç', 'æå°±', 'ä¼ æ¿', '亲å', 'èä½']; |
| | | var relationships = [{ |
| | |
| | | |
| | | }); |
| | | console.log(links); |
| | | let FontSize = 12; // åä½å¤§å° |
| | | let BorderWidth = 2; // è¾¹æ¡å¤§å° |
| | | let SymbolSize = 80; // 尺寸è·ç¦» |
| | | // ä¸å尺寸ä¸ä¿®æ¹echartsçåä½ |
| | | if (window.innerWidth > 2560 && window.innerWidth <= 3840) { |
| | | FontSize = 28 |
| | | BorderWidth = 5 |
| | | SymbolSize = 100 |
| | | } else if (window.innerWidth > 1920 && window.innerWidth <= 2560) { |
| | | FontSize = 28 |
| | | BorderWidth = 4 |
| | | SymbolSize = 90 |
| | | } else if (window.innerWidth >= 1366 && window.innerWidth <= 1920) { |
| | | FontSize = 18 |
| | | BorderWidth = 4 |
| | | SymbolSize = 70 |
| | | } |
| | | // æ ¹æ®nodes卿çæèç¹æ°æ® |
| | | var nodeData = nodes.map(function(node, index) { |
| | | return { |
| | |
| | | x: Math.random() * 1000, // è®¾ç½®éæºxåæ ä½ç½® |
| | | y: Math.random() * 600, // è®¾ç½®éæºyåæ ä½ç½® |
| | | itemStyle: { |
| | | color: getColorByIndex(index) // å¯ä»¥æ ¹æ®ç´¢å¼è®¾ç½®ä¸åçé¢è² |
| | | color: getColorByIndex(index), // å¯ä»¥æ ¹æ®ç´¢å¼è®¾ç½®ä¸åçé¢è² |
| | | borderWidth: BorderWidth, |
| | | borderColor: getColorByIndex(index + 1), |
| | | } |
| | | }; |
| | | }); |
| | |
| | | var colors = ['#ecf4ff', '#dd9795', '#f1edbe', '#ecf4ff', '#c5dbd8']; // å¯ä»¥æ ¹æ®å®é
æ
åµè®¾ç½®é¢è²æ°ç» |
| | | return colors[index % colors.length]; |
| | | } |
| | | |
| | | var option; |
| | | option = { |
| | | tooltip: {}, |
| | |
| | | series: [{ |
| | | type: 'graph', |
| | | layout: 'none', |
| | | symbolSize: 40, // è°æ´èç¹å¤§å° |
| | | symbolSize: SymbolSize, // è°æ´èç¹å¤§å° |
| | | label: { |
| | | show: true, |
| | | color: 'black' // 设置èç¹æåé¢è²ä¸ºé»è² |
| | | color: 'black', // 设置èç¹æåé¢è²ä¸ºé»è² |
| | | fontSize: FontSize, // 设置æåå¤§å° |
| | | }, |
| | | edgeSymbol: ['circle'], |
| | | edgeSymbolSize: [4, 10], |
| | | edgeLabel: { |
| | | fontSize: 20 |
| | | fontSize: 40 |
| | | }, |
| | | data: nodeData, |
| | | links: [{ |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | /* Table1è¡¨æ ¼éé¢çæ°æ® */ |
| | | ::v-deep .is-leaf { |
| | | .cell { |
| | | font-size: .14rem !important; |
| | | height: .4rem !important; |
| | | line-height: .4rem !important; |
| | | } |
| | | } |
| | | |
| | | ::v-deep .el-table__body { |
| | | .cell { |
| | | font-size: .14rem !important; |
| | | height: .4rem !important; |
| | | line-height: .4rem !important; |
| | | } |
| | | } |
| | | |
| | | /* --------------- */ |
| | | @media screen and (min-width:2560px)and (max-width:3840px) {} |
| | | |
| | | .BoxLeft ::v-deep.el-card__body { |
| | | padding: .1rem .11rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-tabs__content { |
| | | line-height: 1; |
| | | } |
| | | |
| | | |
| | | /* 个人å°ä¼ ------------------*/ |
| | | ::v-deep .el-dialog__header { |
| | | display: none; |
| | |
| | | ::v-deep .el-dialog__body { |
| | | padding: 0; |
| | | } |
| | | |
| | | ::v-deep .el-dialog__wrapper{ |
| | | z-index: 999999999999999 !important; |
| | | } |
| | |
| | | .Midde { |
| | | background-color: #dbeafd; |
| | | color: #000; |
| | | /* padding: 5rpx 40rpx 0; */ |
| | | padding: .24rem .18rem; |
| | | align-items: flex-start; |
| | | padding: .18rem .24rem ; |
| | | |
| | | view { |
| | | color: #000; |
| | |
| | | .MiddeBack { |
| | | width: 0.6rem; |
| | | height: 0.24rem; |
| | | font-size: .12rem; |
| | | padding: 0; |
| | | border: 1px solid #9E9E9E; |
| | | } |
| | | } |
| | | |
| | | .yinyong { |
| | | font-size: .12rem; |
| | | |
| | | img { |
| | | width: .12rem; |
| | | height: .1rem; |
| | | vertical-align: top; |
| | | margin-right: .03rem; |
| | | } |
| | | } |
| | | |
| | | .el-dialog__wrapper { |
| | | background: rgba(0, 0, 0, .3); |
| | | } |
| | | |
| | | .fz { |
| | | /* line-height: 1.3; |
| | |
| | | } |
| | | |
| | | ::v-deep .el-tabs__nav { |
| | | margin-bottom: .2rem !important; |
| | | margin-bottom: .1rem !important; |
| | | |
| | | } |
| | | |
| | |
| | | ::v-deep .el-tabs__item { |
| | | width: 1rem; |
| | | font-size: .14rem; |
| | | line-height: 40rpx; |
| | | height: 40rpx; |
| | | line-height: .4rem; |
| | | height: .4rem; |
| | | } |
| | | |
| | | ::v-deep .el-tabs__header { |
| | |
| | | } |
| | | |
| | | ::v-deep .el-tabs__active-bar { |
| | | top: .3rem !important; |
| | | top: .37rem !important; |
| | | } |
| | | |
| | | ::v-deep .el-table::before { |
| | |
| | | |
| | | .BoxRight ::v-deep.el-card__body { |
| | | padding: .2rem .14rem !important; |
| | | |
| | | } |
| | | |
| | | .BoxRight .box-card { |
| | |
| | | <template> |
| | | <view> |
| | | <!-- é¡¶é¨å¯¼èª --> |
| | | <headNav /> |
| | | <view id="main" style="width: 100vw;height: 1000rpx;position: relative;"></view> |
| | | <headNav :idIndex="idIndex" text="ä¸å»å°åå»è°±"/> |
| | | <view class="flex flex-center" style="width: 100%; margin: .2rem 0 .34rem;justify-content: flex-start;"> |
| | | <advancedSearch class="Search" placehold="è¾å
¥å§å/å«å/æä»£/ä¼ ä¸»èä¸æç´¢" @onSearch="onSearch" :isAvancedTrue="false" /> |
| | | <ul class="flex"> |
| | | <li style="" v-for="(item,index) in dynasty" :key="item.id"> |
| | | <view @click="SchoolClick(item.id)" class="flex flex-center font-family school" |
| | | :style="{'marginRight': index === dynasty.length - 1 ? '0' : '0.03rem'}" |
| | | style="font-weight: 500; border-radius: .3rem; padding: .06rem .15rem; color: #2C2C2C; font-size: .12rem; margin-top: .03rem;margin-right: .1rem;background-color: #fff;"> |
| | | <view class="" :style="{background:item.color}" |
| | | style="margin-right: .07rem; width: .12rem;height: .12rem;border-radius: 50%;"></view> |
| | | <view class="" style="color: #2C2C2C;font-size: .12rem;">{{item.name}}</view> |
| | | </view> |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | <view id="main" style="width: 100vw;position: relative;"></view> |
| | | <!-- æä»£ --> |
| | | <view class="flex flex-center" style="width: 100%; position: fixed;bottom: .33rem;left: 0;"> |
| | | <ul class="flex"> |
| | | <li @click="dynastyBottomClick(item.id)" v-for="(item,index) in dynasty1" :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="padding: .05rem .19rem; height: .3rem;line-height: .3rem; color: #fff; font-size: .14rem; margin-top: .03rem;margin-right: .03rem;background-color: #597AA5;" |
| | | :style="{'marginRight': index === dynasty1.length - 1 ? '0' : '0.03rem','background':dynasty1Color==item.id?'#244A7B':'#597AA5'}"> |
| | | {{item.name}} |
| | | </view> |
| | | </li> |
| | | </ul> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | <!-- <script src="https://api.map.baidu.com/api?v=3.0&ak=5USVDAhhS4ssz44HLq3gNPZai7naXf4Q&callback=initializeMap"></script> --> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | // ä¸é¢çæä»£1 |
| | | dynasty1Color:1, |
| | | dynasty1: [{ |
| | | name: '夿', |
| | | coord: '2070BC', |
| | | id: 1 |
| | | }, { |
| | | name: 'åæ', |
| | | id: 2, |
| | | coord: '1600BC', |
| | | }, { |
| | | name: '西å¨', |
| | | id: 3, |
| | | coord: '1600BC' |
| | | }, { |
| | | name: 'æ¥ç§æå½', |
| | | id: 4, |
| | | coord: '770BC' |
| | | }, { |
| | | name: '秦æ', |
| | | id: 5, |
| | | coord: '221BC' |
| | | }, { |
| | | name: 'æ±æ', |
| | | id: 6, |
| | | coord: '202BC' |
| | | }, { |
| | | name: 'ä¸å½ä¸¤æååæ', |
| | | id: 7, |
| | | coord: '184' |
| | | }, { |
| | | name: 'éæ', |
| | | id: 8, |
| | | coord: '581' |
| | | }, { |
| | | name: 'åæ', |
| | | id: 9, |
| | | coord: '618' |
| | | }, { |
| | | name: 'äºä»£åå½', |
| | | id: 10, |
| | | coord: '907' |
| | | }, { |
| | | name: 'è¾½å¤é', |
| | | id: 11, |
| | | coord: '907' |
| | | }, { |
| | | name: '宿', |
| | | id: 12, |
| | | coord: '960' |
| | | }, { |
| | | name: 'å
æ', |
| | | id: 13, |
| | | coord: '1271' |
| | | }, { |
| | | name: 'ææ', |
| | | id: 14, |
| | | coord: '1368' |
| | | }, { |
| | | name: 'æ¸
æ', |
| | | id: 15, |
| | | coord: '1636' |
| | | }], |
| | | // æ é¢é¡¶é¨æ éè¦çä¸è¥¿ |
| | | idIndex: 0, |
| | | // æä»£ |
| | | dynasty: [{ |
| | | name: '夿', |
| | | color: '#90BBD8', |
| | | id: 1 |
| | | }, { |
| | | name: 'åæ', |
| | | color: '#EDD28B', |
| | | id: 2 |
| | | }, { |
| | | name: '西å¨', |
| | | color: '#CF746D', |
| | | id: 3 |
| | | }, { |
| | | name: '秦æ', |
| | | color: '#9CC27A', |
| | | id: 4 |
| | | }, { |
| | | name: 'æ±æ', |
| | | color: '#5B6CB9', |
| | | id: 5 |
| | | }, { |
| | | name: 'éæ', |
| | | color: '#8860A8', |
| | | id: 6 |
| | | }, { |
| | | name: 'åæ', |
| | | color: '#DE8E66', |
| | | id: 7 |
| | | }], |
| | | |
| | | } |
| | | }, |
| | | |
| | | onLoad(options) { |
| | | this.idIndex = options.id |
| | | console.log('optionsoptionsoptions', options.id); |
| | | }, |
| | | mounted() { |
| | | console.log('ss'); |
| | | // this.$nextTick(() => { |
| | |
| | | // }) |
| | | }, |
| | | methods: { |
| | | // ç¹å»ä¸é¢çæä»£æé® |
| | | dynastyBottomClick(id) { |
| | | console.log(id); |
| | | this.dynasty1Color= id |
| | | }, |
| | | onSearch(val) { |
| | | console.log(val); |
| | | }, |
| | | innt() { |
| | | this.$nextTick(() => { |
| | | |
| | |
| | | // sublink: 'http://www.pm25.in', |
| | | left: 'center' |
| | | }, |
| | | legend: { |
| | | icon: 'image://https://img2.baidu.com/it/u=2771395776,2060749722&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1710694800&t=c85f997454c2a2b3f2e7919ba9c194a3' |
| | | }, |
| | | // legend: { |
| | | // icon: 'image://https://img2.baidu.com/it/u=2771395776,2060749722&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1710694800&t=c85f997454c2a2b3f2e7919ba9c194a3' |
| | | // }, |
| | | // color:['#000'], |
| | | tooltip: { |
| | | trigger: 'item' |
| | | }, |
| | | bmap: { |
| | | center: [104.114129, 37.550339], |
| | | zoom: 5, |
| | | // center: [104.114129, 37.550339], |
| | | zoom: 4, // è¿éå¯ä»¥æ ¹æ®éè¦è°æ´ç¼©æ¾çº§å« |
| | | roam: true, |
| | | mapStyle: { |
| | | styleJson: [{ |
| | |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | /* å°å¾ä¸çå·¦ä¸è§ */ |
| | | ::v-deep .anchorBL { |
| | | display: none; |
| | | } |
| | | |
| | | @media screen and (min-width:2560px)and (max-width:3840px) { |
| | | .Search { |
| | | /* width: 30%; */ |
| | | justify-content: flex-end; |
| | | margin-right: .26rem; |
| | | width: 4rem; |
| | | } |
| | | |
| | | .Search ::v-deep .ffff { |
| | | width: 3rem; |
| | | height: .36rem; |
| | | padding: .01rem; |
| | | border-radius: .3rem !important; |
| | | } |
| | | |
| | | .Search ::v-deep .widget_button { |
| | | width: 1rem; |
| | | /* height: .3rem; */ |
| | | font-size: .14rem; |
| | | padding: 0; |
| | | border-radius: .3rem !important; |
| | | } |
| | | |
| | | .Search ::v-deep .widget_style { |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | } |
| | | |
| | | .Search ::v-deep .uni-input-placeholder { |
| | | font-size: .13rem; |
| | | /* height: 100%; */ |
| | | line-height: 1; |
| | | } |
| | | |
| | | .Search ::v-deep .uni-input-input { |
| | | margin-left: .19rem; |
| | | } |
| | | } |
| | | |
| | | #main { |
| | | height: 6.2rem; |
| | | } |
| | | |
| | | .Search { |
| | | /* width: 30%; */ |
| | | justify-content: flex-end; |
| | | margin-right: .26rem; |
| | | width: 4rem; |
| | | } |
| | | |
| | | .Search ::v-deep .ffff { |
| | | width: 3rem; |
| | | height: .36rem; |
| | | padding: .01rem; |
| | | } |
| | | |
| | | .Search ::v-deep .widget_button { |
| | | width: 1rem; |
| | | /* height: .3rem; */ |
| | | font-size: .14rem; |
| | | padding: 0; |
| | | background-color: #597AA5; |
| | | } |
| | | |
| | | .Search ::v-deep .widget_style { |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | } |
| | | |
| | | .Search ::v-deep .uni-input-placeholder { |
| | | font-size: .13rem; |
| | | /* height: 100%; */ |
| | | line-height: 1; |
| | | margin-left: .19rem; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <el-container> |
| | | <!-- å¤´é¨ --> |
| | | <el-header> |
| | | <view style=" |
| | | display: flex; |
| | | height: 50px; |
| | | width: 100%; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | background-color: #C98A49; |
| | | "> |
| | | <view class="header-one" style="padding-left: 1.5%; "> |
| | | <i class="el-icon-s-unfold" style="font-size: 24px;"></i> |
| | | <view class=""> |
| | | <headNav :idIndex="idIndex" :searchBg="false" text="ä¸å»ä¸å»ä¼ æ¿æ°æ®åº" bg="/static/image/topBg1.png" |
| | | bg1="/static/image/line1.png" /> |
| | | |
| | | <view class="flex" style="padding: 0 1.21rem ;"> |
| | | <view class="flex"> |
| | | <el-button class="MiddeBack flex flex-center" @click="goBack">è¿å</el-button> |
| | | <h3>éµç»ç</h3> |
| | | </view> |
| | | <view class="header-two" style="font-size: 20px; color: aliceblue"> |
| | | ä¸å»ä¸å»ä¼ æ¿æ°æ®åº |
| | | <ul class="flex Lists"> |
| | | <li style="background-color: #597AA5;color: #fff;">ä¸å»ä¼ æ¿</li> |
| | | <!-- /pages/AcademicHistory/AcademicHistory --> |
| | | <li @click="ListClick" style="background-color: #fff;color: #597AA5;" >ä¸å»ä¼ æ¿</li> |
| | | </ul> |
| | | <view class="" style="width: 1rem;"></view> |
| | | </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> |
| | | <!-- echartså¾ --> |
| | | <div class="barChart" ref="barChart"></div> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="huawenimg"> |
| | | </view> |
| | | </el-header> |
| | | <!-- 主ä½é¨å --> |
| | | <el-main> |
| | | <view style=" |
| | | display: flex; |
| | | justify-content: center; |
| | | border-bottom: 1px solid gray;"> |
| | | <view style="display: flex; justify-content: flex-start; margin-right: auto"> |
| | | <el-button class="button" @click="hideNodesAndLinks()">è¿å</el-button> |
| | | </view> |
| | | <!-- æ·»å ä¸ä¸ªflex容卿¥å
裹el-menuï¼å¹¶è®¾ç½®å
¶flex屿§ä»¥å æ®å©ä½ç©ºé´ --> |
| | | <view style="display: flex; justify-content: center; flex: 1;"> |
| | | <!-- è¿éæ¯èåç忢 --> |
| | | <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" |
| | | @select="handleSelect"> |
| | | <el-menu-item index="1" class="small-menu-item"> |
| | | <router-link to="zhongyione" class="router-link-active"> |
| | | ä¸å»ä¼ æ¿</router-link> |
| | | </el-menu-item> |
| | | <el-menu-item index="2" class="small-menu-item"> |
| | | <router-link to="zhongyitwo" class="router-link-active"> |
| | | ä¸å»æå</router-link></el-menu-item> |
| | | </el-menu> |
| | | </view> |
| | | </view> |
| | | <router-view> |
| | | </router-view> |
| | | </el-main> |
| | | </el-container> |
| | | </template> |
| | | <script> |
| | | import * as echarts from "echarts"; |
| | | export default { |
| | | data() { |
| | | return { |
| | | // æ é¢é¡¶é¨æ éè¦çä¸è¥¿ |
| | | idIndex: 0, |
| | | activeIndex:1 |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | this.idIndex = options.id |
| | | console.log('optionsoptionsoptions', options.id); |
| | | }, |
| | | mounted() { |
| | | // åå§å echarts |
| | | this.initBarChart(); |
| | | }, |
| | | methods: { |
| | | initBarChart() { |
| | | // WMBg |
| | | //éè¿ $ref è¿è¡æè½½ |
| | | let myChart = echarts.init(this.$refs.barChart); |
| | | |
| | | let FontSize = 12; // åä½å¤§å° |
| | | let BorderWidth = 2; // è¾¹æ¡å¤§å° |
| | | let SymbolSize = 80; // 尺寸è·ç¦» |
| | | let Distance = 10; |
| | | // ä¸å尺寸ä¸ä¿®æ¹echartsçåä½ |
| | | if (window.innerWidth > 2560 && window.innerWidth <= 3840) { |
| | | FontSize = 28 |
| | | BorderWidth = 5 |
| | | SymbolSize = 100 |
| | | Distance = 33 |
| | | } else if (window.innerWidth > 1920 && window.innerWidth <= 2560) { |
| | | FontSize = 28 |
| | | BorderWidth = 4 |
| | | SymbolSize = 90 |
| | | Distance = 22 |
| | | } else if (window.innerWidth >= 1366 && window.innerWidth <= 1920) { |
| | | FontSize = 18 |
| | | BorderWidth = 4 |
| | | SymbolSize = 70 |
| | | Distance = 22 |
| | | } |
| | | |
| | | let option = { |
| | | title: { |
| | | text: [""], |
| | | }, |
| | | backgroundColor: { |
| | | type: 'image', |
| | | image: '/static/image/WMBg.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: SymbolSize + 20, |
| | | //æ¯å¦å
è®¸ç¨æ·æå¨å¾ç |
| | | roam: false, |
| | | label: { |
| | | show: true, |
| | | color: 'black', // 设置èç¹æåé¢è²ä¸ºé»è² |
| | | fontSize: FontSize, // 设置æåå¤§å° |
| | | }, |
| | | edgeSymbol: ["circle", "arrow"], |
| | | edgeSymbolSize: [4, 10], |
| | | |
| | | edgeLabel: { |
| | | show: true, |
| | | fontSize: FontSize, //æ´æ¹ä¸¤è
å
³ç³»çåä½ |
| | | position: "middle", |
| | | //è¿é设置å
³ç³»æåæ¯å¦å线段éå |
| | | // padding: [0, 0], // è°æ´å
è¾¹è·ä»¥ç¡®ä¿æ ç¾ä¸çº¿æ®µç´§å¯è´´å |
| | | // verticalAlign: 'middle', // è®¾ç½®ææ¬çåç´å¯¹é½æ¹å¼ä¸ºå±
ä¸ |
| | | formatter: function(params) { |
| | | // params.data æ¯è¾¹çæ°æ®å¯¹è±¡ï¼ä½ å¯ä»¥å¨è¿éå®ä¹å
³ç³»å |
| | | // ä¾å¦ï¼ä½ å¯ä»¥æ ¹æ® source å target çåç§°æ¥å®ä¹å
³ç³»å |
| | | return params.data.relationName || |
| | | "ç¶å"; // 妿å®ä¹äº relationName åæ¾ç¤ºå®ï¼å¦åæ¾ç¤ºâç¶åâ |
| | | }, |
| | | }, |
| | | //å个èç¹ |
| | | data: [{ |
| | | name: "èéª", |
| | | x: 300, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: "#F8E2D7", |
| | | borderColor: "#F3AA78", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "éµç»ç", |
| | | x: 400, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: "#F8E2D7", |
| | | borderColor: "#F3AA78", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "éµé²ç»", |
| | | x: 500, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: "#F8E2D7", |
| | | borderColor: "#F3AA78", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "鵿¥æ³", |
| | | x: 600, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: "#F8E2D7", |
| | | borderColor: "#F3AA78", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "å¾é¦", |
| | | x: 650, |
| | | y: 400, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "éµä¸æ¬", |
| | | x: 700, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: "#F8E2D7", |
| | | borderColor: "#F3AA78", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "坿¡è¬", |
| | | x: 720, |
| | | y: 400, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "æé¸¿ç« ", |
| | | x: 740, |
| | | y: 500, |
| | | itemStyle: { |
| | | color: "#E1E1E1", |
| | | borderColor: "#888888", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "鵿¯å°§", |
| | | x: 800, |
| | | y: 200, |
| | | itemStyle: { |
| | | color: "#F8E2D7", |
| | | borderColor: "#F3AA78", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "鵿¯åº·", |
| | | x: 800, |
| | | y: 400, |
| | | itemStyle: { |
| | | color: "#F8E2D7", |
| | | borderColor: "#F3AA78", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "鲿", |
| | | x: 750, |
| | | y: 100, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "æé¾", |
| | | x: 850, |
| | | y: 100, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "å
åºè´»", |
| | | x: 950, |
| | | y: 50, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "æå
", |
| | | x: 950, |
| | | y: 100, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "è¡çå¦", |
| | | x: 950, |
| | | y: 150, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "è£ç¦", |
| | | x: 950, |
| | | y: 200, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "é乿", |
| | | x: 950, |
| | | y: 250, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "åä¼ ç¥º", |
| | | x: 950, |
| | | y: 300, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "éµè¯", |
| | | x: 950, |
| | | y: 350, |
| | | itemStyle: { |
| | | color: "#DCE7EB", |
| | | borderColor: "#5F81A4", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "æ¾å½è©", |
| | | x: 1050, |
| | | y: 200, |
| | | itemStyle: { |
| | | color: "#E1E1E1", |
| | | borderColor: "#888888", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "æ¾å½è©01", |
| | | x: 1050, |
| | | y: 50, |
| | | itemStyle: { |
| | | color: "#E1E1E1", |
| | | borderColor: "#888888", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | { |
| | | name: "æ¾å½è©02", |
| | | x: 1050, |
| | | y: 350, |
| | | itemStyle: { |
| | | color: "#E1E1E1", |
| | | borderColor: "#888888", |
| | | borderWidth: "3", |
| | | }, |
| | | }, |
| | | ], |
| | | //å
³ç³»è¿æ¥ |
| | | links: [{ |
| | | source: "èéª", |
| | | target: "éµç»ç", |
| | | relationName: "å¸å¾", |
| | | hasArrow: "true", |
| | | }, |
| | | { |
| | | source: "éµç»ç", |
| | | target: "éµé²ç»", |
| | | relationName: "ç¶å", |
| | | }, |
| | | { |
| | | source: "éµé²ç»", |
| | | target: "鵿¥æ³", |
| | | relationName: "ç¶å", |
| | | }, |
| | | { |
| | | source: "鵿¥æ³", |
| | | target: "éµä¸æ¬", |
| | | relationName: "åä¾", |
| | | }, |
| | | //æ²çº¿ |
| | | { |
| | | source: "鵿¥æ³", |
| | | target: "å¾é¦", |
| | | relationName: "æå", |
| | | //è¿é设置为ä¸å¸¦ç®å¤´ |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "éµä¸æ¬", |
| | | target: "鵿¯å°§", |
| | | relationName: "ç¶å", |
| | | }, |
| | | { |
| | | source: "éµä¸æ¬", |
| | | target: "鵿¯åº·", |
| | | relationName: "ç¶å", |
| | | }, |
| | | //æ²çº¿ |
| | | { |
| | | source: "éµä¸æ¬", |
| | | target: "坿¡è¬", |
| | | relationName: "æå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | //æ²çº¿ |
| | | { |
| | | source: "éµä¸æ¬", |
| | | target: "鲿", |
| | | relationName: "å¸å¾", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: 0.2, |
| | | }, |
| | | }, |
| | | //æ²çº¿ |
| | | { |
| | | source: "坿¡è¬", |
| | | target: "æé¸¿ç« ", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "鵿¯åº·", |
| | | relationName: "å
å¼", |
| | | }, |
| | | { |
| | | source: "鵿¯åº·", |
| | | target: "鵿¯å°§", |
| | | relationName: "å
å¼", |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "鲿", |
| | | relationName: "姻亲", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "æé¾", |
| | | relationName: "æå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: 0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "å
åºè´»", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.1, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "æå
", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "è¡çå¦", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "è£ç¦", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "é乿", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "åä¼ ç¥º", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "鵿¯å°§", |
| | | target: "éµè¯", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | curveness: -0.2, |
| | | }, |
| | | }, |
| | | { |
| | | source: "æå
", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "è¡çå¦", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "è£ç¦", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "é乿", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "åä¼ ç¥º", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "æå
", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "æå
", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "æå
", |
| | | target: "æ¾å½è©", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "å
åºè´»", |
| | | target: "æ¾å½è©01", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | { |
| | | source: "éµè¯", |
| | | target: "æ¾å½è©02", |
| | | relationName: "åå", |
| | | symbol: ["none", "none"], |
| | | lineStyle: { |
| | | color: "#6584B1", |
| | | }, |
| | | }, |
| | | ], |
| | | lineStyle: { |
| | | color: "#000000", |
| | | opacity: 0.9, |
| | | width: 2, |
| | | curveness: 0, |
| | | }, |
| | | }, ], |
| | | }; |
| | | //è¿è¡æ¸²æ |
| | | myChart.setOption(option); |
| | | }, |
| | | // è¿åæé® |
| | | goBack() { |
| | | // uuni.redirectTo(); |
| | | uni.redirectTo({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | .huawenimg { |
| | | display: flex; |
| | | width: 100%; |
| | | height: 20px; |
| | | background-image: url('https://img2.baidu.com/it/u=4259428193,1811830338&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1710954000&t=bf5d6b76e71d6e508efef90cf933ea05'); |
| | | background-repeat: repeat-x; |
| | | /* æ°´å¹³å¹³éº */ |
| | | background-size: auto 100%; |
| | | /* è®¾ç½®èæ¯å¾çé«åº¦ä¸å®¹å¨ä¸è´ï¼å®½åº¦èªéåº */ |
| | | border-bottom: 2px solid #C98A49; |
| | | /* 设置æ©è²çä¸è¾¹æ¡ï¼å®½åº¦ä¸º2px */ |
| | | .Lists { |
| | | li { |
| | | /* background-color: #e4ebf3; |
| | | border: 1rpx solid #5778a2; |
| | | padding: 5rpx 10rpx; |
| | | font-size: 18rpx; */ |
| | | width: 0.96rem; |
| | | height: .3rem; |
| | | border: 1px solid #597AA5; |
| | | line-height: .3rem; |
| | | text-align: center; |
| | | font-size: .14rem; |
| | | } |
| | | |
| | | /* ç»è¿åæé®è®¾ç½®æ ·å¼ */ |
| | | .button { |
| | | border: none !important; |
| | | /* åæ¶è¾¹æ¡ */ |
| | | color: #C98A49 !important; |
| | | /* åä½é¢è² */ |
| | | background-color: transparent !important; |
| | | ; |
| | | /* è®¾ç½®èæ¯ä¸ºéæ */ |
| | | } |
| | | .MiddeBack { |
| | | width: 0.6rem; |
| | | height: 0.24rem; |
| | | font-size: .12rem; |
| | | padding: 0; |
| | | |
| | | .small-menu-item { |
| | | border-bottom: 1px solid #EA7A28 !important; |
| | | /* æ©è²çè¾¹æ¡ */ |
| | | font-size: 15px !important; |
| | | /* è°æ´åä½å¤§å° */ |
| | | padding: 0px 5px 0px 0px !important; |
| | | /* è°æ´å
è¾¹è· */ |
| | | margin: 0px 0px 0px 0px !important; |
| | | /* å
¶ä»ä½ æ³è¦çæ ·å¼ */ |
| | | } |
| | | |
| | | /* 设置el-menuçèæ¯é¢è²ä¸ºéæ */ |
| | | .el-menu-demo { |
| | | border-bottom: 1px solid #EA7A28 !important; |
| | | /* æ©è²çè¾¹æ¡ */ |
| | | background-color: transparent !important; |
| | | /* 使ç¨!importantæ¥ç¡®ä¿è¦çé»è®¤æ ·å¼ */ |
| | | } |
| | | |
| | | /* 伪类ï¼é¼ æ é䏿¶çæ ·å¼ï¼ */ |
| | | .el-menu-item:hover { |
| | | /* å½é¼ æ æ¬åå¨èå项䏿¶ */ |
| | | background-color: #EA7A28 !important; |
| | | /* è®¾ç½®èæ¯è²ä¸ºæ©è²ï¼å¹¶ä½¿ç¨ !important æ¥ç¡®ä¿è¦çå
¶ä»æ ·å¼ */ |
| | | color: white !important; |
| | | ; |
| | | /* å¯è½è¿éè¦è®¾ç½®ææ¬é¢è²ä»¥ç¡®ä¿å¯è¯»æ§ */ |
| | | } |
| | | |
| | | /* 设置el-menu-itemå¨é䏿¶çèæ¯é¢è²ä¸ºæ©è² */ |
| | | .el-menu-item.is-active { |
| | | color: #FDFCFD !important; |
| | | ; |
| | | background-color: #EA7A28 !important; |
| | | /* 使ç¨!importantæ¥ç¡®ä¿è¦çé»è®¤æ ·å¼ */ |
| | | border-bottom: 1px solid #EA7A28 !important; |
| | | /* å¨åºé¨æ·»å æ©è²çè¾¹æ¡ */ |
| | | } |
| | | |
| | | /* å¦æä½ å¸æé¾æ¥å¨è¢«é䏿¶ä¹ææ©è²èæ¯ï¼ä½ å¯è½è¿éè¦è¦çrouter-linkçæ ·å¼ */ |
| | | .router-link-active.is-active { |
| | | color: #FDFCFD !important; |
| | | /* 使ç¨!importantæ¥ç¡®ä¿è¦çé»è®¤æ ·å¼ */ |
| | | /* background-color: #EA7A28 !important; */ |
| | | .barChart { |
| | | width: 100vw; |
| | | height: 80vh; |
| | | } |
| | | </style> |
| | |
| | | padding: 0; |
| | | 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-start { |
| | | justify-content: flex-start |
| | | } |
| | | |
| | | .flex-content{ |
| | | justify-content: space-around; |
| | | } |
| | | |
| | | .flex-items-start{ |
| | | align-items: flex-start; |
| | | } |
| | |
| | | position: relative; |
| | | z-index: 99999 !important; |
| | | } |
| | | |
| | | /* åä½å®ä½ */ |
| | | .font-family{ |
| | | font-family: å®ä½; |
| | | } |
| | | |
| | | /* è¶
åºéè1 */ |
| | | .BeyondHiding1 { |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | } |
| | | /* è¶
åºéè2 */ |
| | | .BeyondHiding2 { |
| | | display: -webkit-box; |
| | | -webkit-line-clamp: 2; |
| | | /* è®¾ç½®è¦æ¾ç¤ºçè¡æ° */ |
| | | -webkit-box-orient: vertical; |
| | | /* 设置æ¾ç¤ºæ¹å¼ä¸ºåç´æ¹å */ |
| | | overflow: hidden; |
| | | /* éèè¶
åºçå
容 */ |
| | | } |
| | | /* è¶
åºéè3 */ |
| | | .BeyondHiding3 { |
| | | display: -webkit-box; |
| | | -webkit-line-clamp: 3; |
| | | /* è®¾ç½®è¦æ¾ç¤ºçè¡æ° */ |
| | | -webkit-box-orient: vertical; |
| | | /* 设置æ¾ç¤ºæ¹å¼ä¸ºåç´æ¹å */ |
| | | overflow: hidden; |
| | | /* éèè¶
åºçå
容 */ |
| | | } |
| | | |
| | | ul { |
| | | list-style: none; |
| | | } |