Forecast.vue 22 KB

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