Forecast.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. <template>
  2. <view class="content">
  3. <!-- <third-comp :key="menuKey"></third-comp> -->
  4. <view v-if="toggleSwitch==false">
  5. <view>
  6. <cu-custom bgColor="bg-blacks" :isBack="false">
  7. <block slot="right"><image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-left: 2%;" @tap="openDrawer"></image></block>
  8. <block slot="right">
  9. <view class="icon cuIcon-notice text-white" v-if="badge != 0" style="margin-left: -70%;">
  10. <view class="cu-tag looknumber" style="margin-top: -2%;">
  11. <block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
  12. </view>
  13. </view>
  14. </block>
  15. <block slot="right"></block>
  16. <block slot="content">{{ address }}</block>
  17. <block slot="right"><view class="plus" @tap="showModal" data-target="viewModal">+</view></block>
  18. </cu-custom>
  19. </view>
  20. <!-- 地图组件 -->
  21. <view>
  22. <div><drawer ref="drawer" ></drawer></div>
  23. <div class="plusDrawer" @tap="hideModal"><plusDrawer ref="plusDrawer"></plusDrawer></div>
  24. <view class="page-body">
  25. <view class="page-section page-section-gap">
  26. <map style="width: 100%; height: 300px;"
  27. :controls="controls"
  28. :circles="circles"
  29. :polyline="polyline"
  30. :scale="scale"
  31. :latitude="latitude"
  32. :longitude="longitude"
  33. :markers="covers"
  34. ></map>
  35. </view>
  36. </view>
  37. </view>
  38. <!--经纬度组件-->
  39. <view class="InformationCard">
  40. <view class="informationCardAll">
  41. <view class="informationCardTextOne">
  42. <view class="informationCardText">
  43. <view class="textSilver">经度:</view>
  44. <view class="textWhite">{{ mapEnd_1 }}</view>
  45. </view>
  46. </view>
  47. <view class="informationCardTextOne">
  48. <view class="informationCardText">
  49. <view class="textSilver">纬度:</view>
  50. <view class="textWhite">{{ mapEnd_2 }}</view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <!-- 个人信息组件 -->
  56. <view class="Personal_information_W">
  57. <view class="name">姓名:李占国</view>
  58. <view class="history" @click="mapDate"> <span class="navigation"></span> </view>
  59. <view class="skills">技能:电力类,机械类</view>
  60. </view>
  61. <!-- 历史曲线组件 -->
  62. <view class="curve">
  63. <view class="curve_l">健康情况</view>
  64. <view class="curve_r" @tap="common.navTo('/components/bracelet/braceletHistoryCurve?braceletCurve=' + braceletCurve)">历史曲线</view>
  65. <div class="greater"></div>
  66. </view>
  67. <!-- 健康详情组件 -->
  68. <view class="healthy">
  69. <view class="healthy_H">
  70. <view class="details_z">心跳频率:<!-- ({{ bracelet[deviceName][targetName_xtpl][targetName_xtpl_size].value }}) --></view>
  71. <view class="details_m">步数:<!-- ({{ bracelet[deviceName][targetName_bs][targetName_bs_size].value }}) --></view>
  72. <view class="details_y">收缩频率:<!-- ({{ bracelet[deviceName][targetName_ssxy][targetName_ssxy_size].value }}) --></view>
  73. </view>
  74. <view class="healthy_N">
  75. <view class="details_z">舒张压:<!-- ({{ bracelet[deviceName][targetName_szxy][targetName_szxy_size].value }}) --></view>
  76. <view class="details_m">疲劳度:<!-- ({{ bracelet[deviceName][targetName_pld][targetName_pld_size].value }}) --></view>
  77. <view class="details_y">血氧浓度:<!-- ({{ bracelet[deviceName][targetName_xynd][targetName_xynd_size].value }}) --></view>
  78. </view>
  79. </view>
  80. </view>
  81. <view v-if="toggleSwitch==true">
  82. <WeatherProphethomepage></WeatherProphethomepage>
  83. </view>
  84. </view>
  85. </template>
  86. <script>
  87. import res from '../../common/data.json';
  88. import drawer from '../../components/drawer/forecastThreeLineDrawer.vue';
  89. import plusDrawer from '../../components/drawer/plusDrawer.vue';
  90. import WeatherProphethomepage from '../../components/weatherProphethomepage/WeatherProphethomepage.vue';
  91. var _self;
  92. export default {
  93. components: {
  94. drawer: drawer,
  95. plusDrawer: plusDrawer,
  96. WeatherProphethomepage:WeatherProphethomepage
  97. },
  98. data: function() {
  99. return {
  100. toggleSwitch:false,
  101. menuKey:1,
  102. pointKey: 'MHSFCJSFW.NX_GD_MHSF_XX_XX_XXX_XXX_CI0087',
  103. socketTask_bracelet: '',
  104. socketTask_close_bracelet: '',
  105. deviceName: 'Y1-A0BC',
  106. deviceNamePld: 'Y1-A0BC_PLD',
  107. deviceNameBs: 'Y1-A0BC_BS',
  108. deviceNameSsxy: 'Y1-A0BC_SSXY',
  109. deviceNameXtpl: 'Y1-A0BC_XTPL',
  110. deviceNameXynd: 'Y1-A0BC_XYND',
  111. deviceNameSzxy: 'Y1-A0BC_SZXY',
  112. deviceNameLng: 'Y1-A0BC_LNG',
  113. deviceNameLat: 'Y1-A0BC_LAT',
  114. bracelet: {
  115. deviceName: '',
  116. deviceNamePld: '',
  117. deviceNameBs: '',
  118. deviceNameSsxy: '',
  119. deviceNameXtpl: '',
  120. deviceNameXynd: '',
  121. deviceNameSzxy: '',
  122. },
  123. braceletCurve: {},
  124. mapBegin_1:'',
  125. mapEnd_1:'',
  126. mapBegin_2:'',
  127. mapEnd_2:'',
  128. points:[
  129. {
  130. latitude:'',
  131. longitude:''
  132. },
  133. {
  134. latitude:'',
  135. longitude:''
  136. }
  137. ],
  138. list:{},
  139. braceletCurve_SSXY: [],
  140. braceletCurve_PLD: [],
  141. braceletCurve_SZXY: [],
  142. braceletCurve_XTPL: [],
  143. braceletCurve_BS: [],
  144. braceletCurve_XYND: [],
  145. braceletCurve_LNG: [],
  146. braceletCurve_LAT: [],
  147. /* targetdetail_visable: { targetdetail_target: true, targetdetail_curve: true, targetdetail_histogram: true},
  148. targetdetail: { targetdetail_target: '', targetdetail_curve: '', targetdetail_histogram: ''}, */
  149. targetName: '日发电量',
  150. targetUnit: '万kwh',
  151. bool:true,
  152. pld: '',
  153. ssxy: '',
  154. lng: '',
  155. szxy: '',
  156. lat: '',
  157. xtpl: '',
  158. bs: '',
  159. xynd: '',
  160. device_nam: '',
  161. title: 'map',
  162. latitude: 39.907,//定位中心
  163. longitude: 116.39742,//
  164. covers: [
  165. {
  166. latitude:39.909 , //纬度坐标点
  167. longitude:116.39742 , //经度
  168. iconPath: '../../static/picture/forcast/DingWei.png', //显示的图标
  169. title: '阿打算', //标注点名
  170. label: {
  171. //为标记点旁边增加标签
  172. content: '', //文本1
  173. color: '#F76350', //文本颜色
  174. anchorX: 0, //label的坐标,原点是 marker 对应的经纬度
  175. anchorY: -80, //label的坐标,原点是 marker 对应的经纬度
  176. // x:39.909,//这个组件微信在1.2.0以后就废弃了
  177. // y:116.39742,
  178. bgColor: '#fff', //背景色
  179. padding: 5, //文本边缘留白
  180. borderWidth: 1, //边框宽度
  181. borderColor: '#D84C29', //边框颜色
  182. textAlign: 'right' //文本对齐方式。
  183. },
  184. callout: {
  185. //自定义标记点上方的气泡窗口 点击有效
  186. content: '地点1',
  187. color: '#F76350',
  188. fontSize: 12,
  189. borderRadius: 5
  190. }
  191. // anchor:{//经纬度在标注图标的锚点,默认底边中点
  192. // x:5,
  193. // y:1,
  194. // }
  195. } , {
  196. latitude:39.90 ,//最后点
  197. longitude: 116.399,//
  198. iconPath: '../../static/picture/forcast/DingWei.png',
  199. title:'阿迪达斯',
  200. x:'',//
  201. y: '',//116.399
  202. label:{
  203. content:'',
  204. color:'#F76350',
  205. bgColor:'#fff',
  206. padding:5,
  207. borderRadius:4,
  208. },
  209. callout:{
  210. content:'地点2',
  211. color:'#F76350',
  212. fontSize:12
  213. }
  214. }
  215. ],
  216. scale: 15, //地图层级
  217. controls: [
  218. {
  219. //在地图上显示控件,控件不随着地图移动
  220. id: 1, //控件id
  221. /* iconPath: '../../static/picture/forcast/DingWei.png', *///显示的图标
  222. position: {
  223. //控件在地图的位置
  224. left: 15,
  225. top: 15,
  226. width: 40,
  227. height: 40
  228. }
  229. }
  230. ],
  231. circles: [
  232. {
  233. //在地图上显示圆
  234. latitude: 39.9,
  235. longitude: 116.39,
  236. fillColor: '#FFC41F', //填充颜色
  237. color: '#12A1DD', //描边的颜色
  238. radius: 0, //半径
  239. strokeWidth: 2 //描边的宽度
  240. }
  241. ],
  242. polyline: [
  243. { /* .polyline[0].points */
  244. points:[{}],
  245. //指定一系列坐标点,从数组第一项连线至最后一项
  246. /* points: [{ latitude:this.mapBegin_1, longitude:this.mapBegin_2 }, { latitude: this.mapEnd_1, longitude:this.mapEnd_2 }], */
  247. /* points: [{ latitude: 0, longitude: 0 }, { latitude: 0, longitude: 0 }], */
  248. color: '#0000AA', //线的颜色
  249. width: 2, //线的宽度
  250. dottedLine: true, //是否虚线
  251. arrowLine: true //带箭头的线 开发者工具暂不支持该属性
  252. }
  253. ],
  254. badge: 22,
  255. inconList: ['form', 'favor', 'question', 'edit'],
  256. modalName: null,
  257. address: '宁夏新能源公司',
  258. drawerList: [
  259. {
  260. name: '气象预测'
  261. }
  262. /* {
  263. "name": ""
  264. },
  265. {
  266. "name": ""
  267. },
  268. {
  269. "name": ""
  270. },
  271. {
  272. "name": ""
  273. }, */
  274. ],
  275. plusDrawerList: [
  276. {
  277. name: '宁夏新能源公司',
  278. windPowerStationId: 'NINGXIAXINNENGYUANGONGSI'
  279. },
  280. {
  281. name: '牛首山风电场',
  282. windPowerStationId: 'NSS_FDC'
  283. },
  284. {
  285. name: '香山风电场',
  286. windPowerStationId: 'XS_FDC'
  287. },
  288. {
  289. name: '石板泉风电场',
  290. windPowerStationId: 'SBQ_FDC'
  291. },
  292. {
  293. name: '青山风电场',
  294. windPowerStationId: 'QS_FDC'
  295. },
  296. {
  297. name: '麻黄山风电场',
  298. windPowerStationId: 'MHS_FDC'
  299. }
  300. ]
  301. };
  302. },
  303. mounted() {
  304. document.querySelector('body').setAttribute('style', 'background-color:#000000');
  305. },
  306. onHide() {
  307. this.$refs.drawer.closeDrawer();
  308. this.hideModal();
  309. },
  310. onShow() {
  311. this.windPowerStationId = uni.getStorageSync('windPowerStationId');
  312. this.address = this.getWindPowerStationNameToSessionStorage();
  313. },
  314. onLoad(pointKey) {
  315. let _this = this;
  316. this.pointKey = pointKey.pointKey;
  317. this.targetName = pointKey.callTargetName;
  318. this.targetUnit = pointKey.callTargetUnit;
  319. this.braceletData();
  320. /* console.log(_this.bracelet[_this.deviceName]);
  321. console.log(_this.bracelet[_this.deviceName][_this.targetName_pld][0]); */
  322. /* uni.getLocation({//获取当前的位置坐标
  323. type: 'wgs84',
  324. success: function (res) {
  325. console.log('当前位置的经度:' + res.longitude);
  326. console.log('当前位置的纬度:' + res.latitude);
  327. }
  328. }); */
  329. },
  330. onReady() {},
  331. computed: {
  332. targetName_xtpl: function() {
  333. return this.deviceName + '_XTPL';
  334. },
  335. targetName_xtpl_size: function() {
  336. return this.bracelet[this.deviceName][this.targetName_xtpl].length - 1;
  337. },
  338. targetName_pld: function() {
  339. return this.deviceName + '_PLD';
  340. },
  341. targetName_pld_size: function() {
  342. return this.bracelet[this.deviceName][this.targetName_pld].length - 1;
  343. },
  344. targetName_bs: function() {
  345. return this.deviceName + '_BS';
  346. },
  347. targetName_bs_size: function() {
  348. return this.bracelet[this.deviceName][this.targetName_bs].length - 1;
  349. },
  350. targetName_ssxy: function() {
  351. return this.deviceName + '_SSXY';
  352. },
  353. targetName_ssxy_size: function() {
  354. return this.bracelet[this.deviceName][this.targetName_ssxy].length - 1;
  355. },
  356. targetName_szxy: function() {
  357. return this.deviceName + '_SZXY';
  358. },
  359. targetName_szxy_size: function() {
  360. return this.bracelet[this.deviceName][this.targetName_szxy].length - 1;
  361. },
  362. targetName_xynd: function() {
  363. return this.deviceName + '_XYND';
  364. },
  365. targetName_xynd_size: function() {
  366. return this.bracelet[this.deviceName][this.targetName_xynd].length - 1;
  367. },
  368. backStageIp: function() {
  369. return this.$store.state.wholeSituationBackStageIp;
  370. },
  371. backStagePort: function() {
  372. return this.$store.state.wholeSituationBackStagePort;
  373. },
  374. windpowerstationNameToId: function() {
  375. return this.$store.state.windpowerstationNameToId;
  376. }
  377. },
  378. methods: {
  379. mapDate(){
  380. if(this.bool){
  381. this.$delete(this.polyline[0],'points');
  382. this.braceletCurve_LNG = this.bracelet[this.deviceName][this.deviceNameLng];
  383. this.braceletCurve_LAT = this.bracelet[this.deviceName][this.deviceNameLat];
  384. this.points[0].longitude=this.bracelet[this.deviceName][this.deviceNameLng][0].value;
  385. this.points[0].latitude=this.bracelet[this.deviceName][this.deviceNameLat][0].value;
  386. this.points[1].longitude=this.bracelet[this.deviceName][this.deviceNameLng][this.braceletCurve_LNG.length-1].value;
  387. this.points[1].latitude=this.bracelet[this.deviceName][this.deviceNameLat][this.braceletCurve_LAT.length-1].value;
  388. for(let val of this.polyline){
  389. this.$set(val,'points',this.points);
  390. this.bool = false;
  391. console.log("true");
  392. }
  393. /* 定义地图经纬度中心 */
  394. var lat= parseFloat(this.mapBegin_2)+parseFloat(this.mapEnd_2);
  395. var lng= parseFloat(this.mapBegin_1)+parseFloat(this.mapEnd_1);
  396. this.latitude = lat/2;
  397. this.longitude = lng/2;
  398. }else{
  399. /* this.braceletCurve_LNG = this.bracelet[this.deviceName][this.deviceNameLng];
  400. this.braceletCurve_LAT = this.bracelet[this.deviceName][this.deviceNameLat];
  401. this.points[0].longitude=this.bracelet[this.deviceName][this.deviceNameLng][0].value;
  402. this.points[0].latitude=this.bracelet[this.deviceName][this.deviceNameLat][0].value;
  403. this.points[1].longitude=this.bracelet[this.deviceName][this.deviceNameLng][this.braceletCurve_LNG.length-1].value;
  404. this.points[1].latitude=this.bracelet[this.deviceName][this.deviceNameLat][this.braceletCurve_LAT.length-1].value;
  405. */
  406. this.$delete(this.polyline[0],'points');
  407. /* this.latitude = this.mapBegin_2+this.mapEnd_2/2;
  408. this.longitude = this.mapBegin_1+this.mapEnd_1/2; */
  409. console.log("false");
  410. /* 还原定位中心位置 */
  411. this.latitude = this.mapBegin_2;
  412. this.longitude = this.mapBegin_1;
  413. this.bool = true;
  414. }
  415. this.$forceUpdate();
  416. },
  417. openDrawer: function() {
  418. this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
  419. },
  420. closeDrawer: function() {
  421. this.drawerIsShow = false;
  422. },
  423. pushWindPowerStationNameToSessionStorage(windpowerstationName) {
  424. uni.setStorageSync('windpowerstationName', windpowerstationName);
  425. //sessionStorage.setItem('windpowerstationName', windpowerstationName);
  426. //alert("v"+ sessionStorage.getItem("windpowerstationName"));
  427. //this.common.goback('/pages/index/Index');
  428. },
  429. getWindPowerStationNameToSessionStorage() {
  430. uni.getStorageSync('windpowerstationName');
  431. return uni.getStorageSync('windpowerstationName');
  432. },
  433. showModal(e) {
  434. this.modalName = e.currentTarget.dataset.target;
  435. this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
  436. },
  437. hideModal() {
  438. this.modalName = null;
  439. this.$refs.plusDrawer.hideModal(this.modalName);
  440. },
  441. braceletData() {
  442. let _this = this;
  443. let ip;
  444. uni.request({
  445. url: 'http://' + _this.backStageIp + ':' + _this.backStagePort + '/bracelet/bracelet?beginDate=2020-04-20 09:26:27&&endDate=2020-04-25 09:26:29',
  446. success: res => {
  447. ip = res.data;
  448. }
  449. });
  450. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  451. this.socketTask_bracelet = uni.connectSocket({
  452. /* 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】 */
  453. url: 'ws://' + _this.backStageIp + ':' + _this.backStagePort + '/websocket/pageNumber_9/functionNumber_1',
  454. success(data) {
  455. console.log('websocket连接成功');
  456. }
  457. });
  458. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  459. this.socketTask_bracelet.onOpen(res => {
  460. console.log('WebSocket连接正常打开中...!');
  461. _this.is_open_socket = true;
  462. // 注:只有连接正常打开中 ,才能正常收到消息
  463. _this.socketTask_bracelet.onMessage(res => {
  464. //console.log("收到服务器内容:" + res.data);
  465. _this.bracelet = JSON.parse(res.data)[ip];
  466. _this.braceletCurve = JSON.stringify(_this.bracelet[_this.deviceName]);
  467. /* 获取起始经纬度 */
  468. _this.braceletCurve_LNG = _this.bracelet[_this.deviceName][_this.deviceNameLng];
  469. _this.braceletCurve_LAT = _this.bracelet[_this.deviceName][_this.deviceNameLat];
  470. _this.mapBegin_1 = (_this.bracelet[_this.deviceName][_this.deviceNameLng][0].value);
  471. _this.mapBegin_2 = (_this.bracelet[_this.deviceName][_this.deviceNameLat][0].value);
  472. _this.mapEnd_1 = (_this.bracelet[_this.deviceName][_this.deviceNameLng][_this.braceletCurve_LNG.length-1].value);
  473. _this.mapEnd_2 = (_this.bracelet[_this.deviceName][_this.deviceNameLat][_this.braceletCurve_LAT.length-1].value);
  474. _this.latitude = _this.mapBegin_2;
  475. _this.longitude = _this.mapBegin_1;
  476. _this.covers[0].latitude = _this.mapBegin_2;
  477. _this.covers[0].longitude = _this.mapBegin_1;
  478. _this.covers[1].latitude = _this.mapEnd_2;
  479. _this.covers[1].longitude = _this.mapEnd_1;
  480. /* this.braceletCurve_LNG = this.bracelet[this.deviceName][this.deviceNameLng];
  481. this.braceletCurve_LAT = this.bracelet[this.deviceName][this.deviceNameLat];
  482. this.points[0].longitude=this.bracelet[this.deviceName][this.deviceNameLng][0].value;
  483. this.points[0].latitude=this.bracelet[this.deviceName][this.deviceNameLat][0].value;
  484. this.points[1].longitude=this.bracelet[this.deviceName][this.deviceNameLng][this.braceletCurve_LNG.length-1].value;
  485. this.points[1].latitude=this.bracelet[this.deviceName][this.deviceNameLat][this.braceletCurve_LAT.length-1].value; */
  486. /* _this.mapDate(); */
  487. /* _this.polyline[0].points[0].latitude=_this.mapBegin_2;
  488. _this.polyline[0].points[0].longitude=_this.mapBegin_1;
  489. _this.polyline[0].points[1].latitude=_this.mapEnd_2;
  490. _this.polyline[0].points[1].longitude=_this.mapEnd_1; */
  491. /* _this.braceletCurve_SSXY = _this.bracelet[_this.deviceName][_this.deviceNameSsxy];
  492. _this.braceletCurve_SZXY = _this.bracelet[_this.deviceName][_this.deviceNameSzxy];
  493. _this.braceletCurve_XYND = _this.bracelet[_this.deviceName][_this.deviceNameXynd];
  494. _this.braceletCurve_XTPL = _this.bracelet[_this.deviceName][_this.deviceNameXtpl];
  495. _this.braceletCurve_BS = _this.bracelet[_this.deviceName][_this.deviceNameBs];
  496. console.log(_this.braceletCurve_BS[0].value); */
  497. });
  498. });
  499. // 这里仅是事件监听【如果socket关闭了会执行】
  500. this.socketTask_bracelet.onClose(() => {
  501. uni.request({
  502. url: 'http://' + _this.backStageIp + ':' + _this.backStagePort + '/bracelet/close_bracelet?pointKey=' + _this.pointKey,
  503. success: res => {}
  504. });
  505. });
  506. }
  507. }
  508. };
  509. </script>
  510. <style>
  511. body {
  512. font-family: '方正兰亭细黑_GBK';
  513. font-size: 15px;
  514. color: silver;
  515. background: #000;
  516. }
  517. @font-face {
  518. font-family: '方正兰亭细黑_GBK';
  519. src: url(../../static/fzltxh.TTF);
  520. }
  521. .content{
  522. background-color: #000000;
  523. }
  524. page {
  525. background-color: #1f1f1f;
  526. font-family: '方正兰亭细黑_GBK';
  527. overflow-x: hidden;
  528. }
  529. .top {
  530. width: 100%;
  531. height: 130upx;
  532. padding-top: 5upx;
  533. background-color: #1f1f1f;
  534. position: fixed;
  535. top: 0px;
  536. left: 0px;
  537. z-index: 100;
  538. }
  539. .threeLine {
  540. width: 50px;
  541. height: 45px;
  542. float: left;
  543. }
  544. .text {
  545. width: calc(100% - 100px);
  546. height: 45px;
  547. float: left;
  548. user-select: text;
  549. -webkit-user-select: text;
  550. -moz-user-select: text;
  551. -ms-user-select: text;
  552. color: silver;
  553. line-height: 45px;
  554. margin-top: 11px;
  555. font-size: 18px;
  556. }
  557. .notice {
  558. width: 50px;
  559. height: 45px;
  560. float: left;
  561. }
  562. .plus {
  563. width: 30px;
  564. height: 45px;
  565. float: right;
  566. color: white;
  567. font-size: 35px;
  568. line-height: 45px;
  569. text-align: right;
  570. margin-right: 2.5%;
  571. }
  572. .textWindpowerstation {
  573. width: 180px;
  574. height: 45px;
  575. float: left;
  576. text-align: center;
  577. margin-left: 18px;
  578. }
  579. .InformationCard {
  580. position: absolute;
  581. top: 50px;
  582. left: 0px;
  583. margin-top: 0px;
  584. width: 50%;
  585. height: 8%;
  586. background: rgba(0, 0, 0, 0);
  587. float: left;
  588. }
  589. .informationCardAll {
  590. width: 95%;
  591. margin-left: 2.5%;
  592. margin-top: 10px;
  593. height: 60px;
  594. float: left;
  595. }
  596. .informationCardTextOne {
  597. width: 100%;
  598. height: 35px;
  599. float: left;
  600. margin-top: -10px;
  601. }
  602. .informationCardText {
  603. /* margin-left: 2%; */
  604. width: 65px;
  605. height: 35px;
  606. line-height: 35px;
  607. user-select: text;
  608. -webkit-user-select: text;
  609. -moz-user-select: text;
  610. -ms-user-select: text;
  611. color: silver;
  612. font-size: 10px;
  613. transform: scale(0.975);
  614. float: left;
  615. font-weight: 1000;
  616. }
  617. .textSilver {
  618. user-select: text;
  619. -webkit-user-select: text;
  620. -moz-user-select: text;
  621. -ms-user-select: text;
  622. color: black;
  623. float: left;
  624. }
  625. .textWhite {
  626. color: black;
  627. float: right;
  628. width: 24px;
  629. font-size: 10px;
  630. margin-right: 13%;
  631. transform: scale(0.975);
  632. /* text-align: right; */
  633. }
  634. .Personal_information_W {
  635. position: relative;
  636. margin-top: 3%;
  637. width: 90%;
  638. height: 80px;/*
  639. background-color: #242424; */
  640. border-bottom: #BDBDBD solid 0.5px;
  641. transform: translateX(-50%);
  642. left: 50%;
  643. color: #B8B7B7;
  644. }
  645. .name{
  646. position: absolute;
  647. height: 30px;
  648. width: 130px;
  649. left: 3%;
  650. /* background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%); */
  651. text-align: left;
  652. line-height: 30px;
  653. margin-top: 1%;
  654. font-weight: 1000;
  655. }
  656. .history {
  657. position: absolute;
  658. margin-top: 6%;
  659. right: 3%;
  660. height: 30px;
  661. height: 20px;
  662. text-align: center;
  663. line-height: 30px;
  664. }
  665. .skills {
  666. position: absolute;
  667. top: 56%;
  668. left: 3%;
  669. height: 25px;
  670. width: 180px;/*
  671. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%); */
  672. text-align: left;
  673. line-height: 30px;
  674. }
  675. .curve{
  676. position: relative;
  677. width: 90%;
  678. transform: translateX(-50%);
  679. left: 50%;
  680. height: 30px;
  681. margin-top: 3%;
  682. color: #B8B7B7;
  683. font-weight: 1000;
  684. }
  685. .curve_l{
  686. position: absolute;
  687. left: 3%;
  688. }
  689. .curve_r{
  690. position: absolute;
  691. right: 3%;
  692. }
  693. .healthy {
  694. /* margin-top: 6%; */
  695. margin-left: 3%;
  696. height: 180px;
  697. width: 95%;
  698. margin-bottom: 100px;
  699. text-align: center;
  700. color: #B8B7B7;
  701. font-size: 12px;
  702. line-height:65px ;
  703. font-weight: 1000;
  704. }
  705. .healthy_H,
  706. .healthy_N,
  707. .healthy_W {
  708. background-color:#242424;
  709. position: relative;
  710. width: 100%;
  711. height: 42%;
  712. text-align: center;
  713. /* padding-bottom: 1%; */
  714. }
  715. .details_z {
  716. position: absolute;
  717. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  718. width: 30%;
  719. /* height: 93%; */
  720. left:3%;
  721. height: 60px;
  722. top: 3%;
  723. margin-top: 2%;
  724. padding-bottom: 3%;
  725. }
  726. .details_m {
  727. position: absolute;
  728. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  729. width: 30%;
  730. left: 35.5%;
  731. height: 60px;
  732. top: 3%;
  733. margin-top: 2%;
  734. padding-bottom: 3%;
  735. }
  736. .details_y {
  737. position: absolute;
  738. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  739. width: 30%;
  740. left: 68%;
  741. height: 60px;
  742. top: 3%;
  743. margin-top: 2%;
  744. padding-bottom: 3%;
  745. /* margin-bottom: 0.6%;
  746. margin-top: 0.6%;
  747. float: right;
  748. margin-left: 0.2%;
  749. margin-right: 1.2%;
  750. width: 31%;
  751. height: 100%;
  752. background: -webkit-linear-gradient(top, rgba(159, 131, 111, 0.1) 0%, rgba(193, 94, 21, 0.2) 100%);
  753. color: silver;
  754. text-align: center;
  755. padding-top: 10px;
  756. background-color: #ffffff;
  757. font-size: 12px;
  758. padding-bottom: 4px;
  759. line-height: 13px;
  760. border-radius: 5px;
  761. padding-top: 8px; */
  762. }
  763. .navigation::after {
  764. content: url(../../static/picture/forcast/position.png);
  765. }
  766. /* .greater {
  767. position: relative;
  768. width: 249px;
  769. height: 35px;
  770. border: 1px solid #000;
  771. } */
  772. .greater{
  773. float: right;
  774. content: "";
  775. margin-top: 0.8%;
  776. margin-right: 0.8%;
  777. /* position: absolute; */
  778. /* top: 8px;
  779. right: 15px; */
  780. width: 8px;
  781. height: 8px;
  782. border-right: 2px solid #fff;
  783. border-bottom: 2px solid #fff;
  784. transform: rotate(-45deg);
  785. }
  786. </style>