WeatherProphet7.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
  1. <template>
  2. <view>
  3. <!-- @tap="common.navTo('/components/addressSelect/AddressSelect?option='+address)" -->
  4. <view @tap="common.navTo('/components/addressSelect/AddressSelect?option='+address)">
  5. <cu-custom bgColor="bg-gradual-earkblue" :isBack="false">
  6. <block slot="backText">
  7. <view style="height: 80rpx;line-height: 80rpx;">返回</view>
  8. </block>
  9. <block slot="content">
  10. <text :class="'cuIcon-locationfill'"></text>
  11. </block>
  12. <block slot="content">{{address}}</block>
  13. <block slot="content">
  14. <image style="width: 15px;height: 15px;margin-left: 4px;" src="../../static/picture/SanJiao.png">
  15. </block>
  16. </cu-custom>
  17. </view>
  18. <div>
  19. <WeatherTemperatureWindSpeedCard_7 ref='WeatherTemperatureWindSpeedCard_7' @listenEven="changeTap"></WeatherTemperatureWindSpeedCard_7>
  20. </div>
  21. <div class="weatherDayAndNightButton">
  22. <div :class="[weatherSwitch==true?'dayButtonWhite':'dayButtonBlack']" @click="weatherDaySwitch()">白天</div>
  23. <div :class="[weatherSwitch==false?'nightButtonWhite':'nightButtonBlack']" :style="{'margin-left':nightmarginleft}" @click="weatherNightSwitch()">夜间</div>
  24. </div>
  25. ㅤㅤ
  26. <!-- ㅤ</br></br> -->
  27. <div v-if="weatherSwitch">
  28. <scroll-view scroll-y scroll-with-animation class="scrollList" :style="{'height':height}">
  29. <view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']" style="background-color: rgba(0, 0, 0, 0);">
  30. <view class="cu-item">
  31. <div class="cu-listAll" :style="{'width':width}">
  32. <div class="cuIcon" :style="{'height':xianHeight}">
  33. <view class="icon iconfont" :class="['icon-' + cuIconList[6].cuIcon,'text-'+ cuIconList[0].color]"></view><a class="wenZhi"
  34. :style="{'font-size':fontSize}">白气象</br>{{weatherInformation.weather1}}</a>
  35. </div>
  36. <div class="cuIcon" :style="{'height':xianHeight}">
  37. <view class="icon iconfont" :class="['icon-' + cuIconList[7].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  38. class="wenZhi" :style="{'font-size':fontSize}">白气温</br>{{weatherInformation.temperature1}}℃</a>
  39. </div>
  40. <div class="cuIcon" :style="{'height':xianHeight}">
  41. <view class="icon iconfont" :class="['icon-' + cuIconList[8].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  42. class="wenZhi" :style="{'font-size':fontSize}">白体感</br>{{weatherInformation.realfeel1}}℃</a>
  43. </div>
  44. <div class="cuIcon4">
  45. <view class="icon iconfont" :class="['icon-' + cuIconList[9].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  46. class="wenZhi" :style="{'font-size':fontSize}">白降水</br>{{weatherInformation.precipitation1}}m/s</a>
  47. </div>
  48. </div>
  49. <div class="cu-listAllTwo" :style="{'width':width,'margin-top':margintop}">
  50. <div class="cuIcon" :style="{'margin-top':margintop,'height':xianHeight}">
  51. <view class="icon iconfont" :class="['icon-' + cuIconList[10].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  52. class="wenZhi" :style="{'font-size':fontSize}">白风向</br>{{weatherInformation.winddirection1}}</a>
  53. </div>
  54. <div class="cuIcon" :style="{'margin-top':margintop,'height':xianHeight}">
  55. <view class="icon iconfont" :class="['icon-' + cuIconList[11].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  56. class="wenZhi" :style="{'font-size':fontSize}">白风速</br>{{weatherInformation.speed1}}km/h</a>
  57. </div>
  58. <div class="cuIcon" :style="{'margin-top':margintop,'height':xianHeight}">
  59. <view class="icon iconfont" :class="['icon-' + cuIconList[12].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  60. class="wenZhi" :style="{'font-size':fontSize}">白阵风速</br>{{weatherInformation.gust1}}km/h</a>
  61. </div>
  62. <div class="cuIcon4" :style="{'margin-top':margintop}">
  63. <view class="icon iconfont" :class="['icon-' + cuIconList[0].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  64. class="wenZhi" :style="{'font-size':fontSize}">天气</br>{{weatherInformation.weather}}</a>
  65. </div>
  66. </div>
  67. <div class="cu-listAllTThree" :style="{'width':width,'margin-top':margintopThree}">
  68. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  69. <view class="icon iconfont" :class="['icon-' + cuIconList[1].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  70. class="wenZhi" :style="{'font-size':fontSize}">最高温度</br>{{weatherInformation.maximumtem}}℃</a>
  71. </div>
  72. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  73. <view class="icon iconfont" :class="['icon-' + cuIconList[2].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  74. class="wenZhi" :style="{'font-size':fontSize}">最低温度</br>{{weatherInformation.minimumtem}}℃</a>
  75. </div>
  76. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  77. <view class="icon iconfont" :class="['icon-' + cuIconList[3].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  78. class="wenZhi" :style="{'font-size':fontSize}">日出</br>{{weatherInformation.sunrise}}</a>
  79. </div>
  80. <div class="cuIcon4" :style="{'margin-top':margintopThree}">
  81. <view class="icon iconfont" :class="['icon-' + cuIconList[4].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  82. class="wenZhi" :style="{'font-size':fontSize}">日落</br>{{weatherInformation.sunset}}</a>
  83. </div>
  84. </div>
  85. <div class="cu-listAllTFour" :style="{'width':width,'margin-top':margintopThree}">
  86. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  87. <view class="icon iconfont" :class="['icon-' + cuIconList[5].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  88. class="wenZhi" :style="{'font-size':fontSize}">持续时间</br>{{weatherInformation.sunduration}}</a>
  89. </div>
  90. <div class="cuIcon2">
  91. </div>
  92. <div class="cuIcon2">
  93. </div>
  94. <div class="cuIcon2">
  95. </div>
  96. </div>
  97. </view>
  98. </view>
  99. </scroll-view>
  100. </div>
  101. <view v-if=!weatherSwitch>
  102. <scroll-view scroll-y scroll-with-animation class="scrollList" :style="{'height':height}">
  103. <view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']" style="background-color: rgba(0, 0, 0, 0);">
  104. <view class="cu-item">
  105. <div class="cu-listAll" :style="{'width':width}">
  106. <div class="cuIcon" :style="{'height':xianHeight}">
  107. <view class="icon iconfont" :class="['icon-' + cuIconList[6].cuIcon,'text-'+ cuIconList[0].color]"></view><a class="wenZhi"
  108. :style="{'font-size':fontSize}">夜气象</br>{{weatherInformation.weather2}}</a>
  109. </div>
  110. <div class="cuIcon" :style="{'height':xianHeight}">
  111. <view class="icon iconfont" :class="['icon-' + cuIconList[7].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  112. class="wenZhi" :style="{'font-size':fontSize}">夜气温</br>{{weatherInformation.temperature2}}℃</a>
  113. </div>
  114. <div class="cuIcon" :style="{'height':xianHeight}">
  115. <view class="icon iconfont" :class="['icon-' + cuIconList[8].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  116. class="wenZhi" :style="{'font-size':fontSize}">夜体感</br>{{weatherInformation.realfeel2}}℃</a>
  117. </div>
  118. <div class="cuIcon4">
  119. <view class="icon iconfont" :class="['icon-' + cuIconList[9].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  120. class="wenZhi" :style="{'font-size':fontSize}">夜降水</br>{{weatherInformation.precipitation2}}m/s</a>
  121. </div>
  122. </div>
  123. <div class="cu-listAllTwo" :style="{'width':width,'margin-top':margintop}">
  124. <div class="cuIcon" :style="{'margin-top':margintop,'height':xianHeight}">
  125. <view class="icon iconfont" :class="['icon-' + cuIconList[10].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  126. class="wenZhi" :style="{'font-size':fontSize}">夜风向</br>{{weatherInformation.winddirection2}}</a>
  127. </div>
  128. <div class="cuIcon" :style="{'margin-top':margintop,'height':xianHeight}">
  129. <view class="icon iconfont" :class="['icon-' + cuIconList[11].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  130. class="wenZhi" :style="{'font-size':fontSize}">夜风速</br>{{weatherInformation.speed2}}km/h</a>
  131. </div>
  132. <div class="cuIcon" :style="{'margin-top':margintop,'height':xianHeight}">
  133. <view class="icon iconfont" :class="['icon-' + cuIconList[12].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  134. class="wenZhi" :style="{'font-size':fontSize}">夜阵风速</br>{{weatherInformation.gust2}}km/h</a>
  135. </div>
  136. <div class="cuIcon4" :style="{'margin-top':margintop}">
  137. <view class="icon iconfont" :class="['icon-' + cuIconList[0].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  138. class="wenZhi" :style="{'font-size':fontSize}">天气</br>{{weatherInformation.weather}}</a>
  139. </div>
  140. </div>
  141. <div class="cu-listAllTThree" :style="{'width':width,'margin-top':margintopThree}">
  142. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  143. <view class="icon iconfont" :class="['icon-' + cuIconList[1].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  144. class="wenZhi" :style="{'font-size':fontSize}">最高温度</br>{{weatherInformation.maximumtem}}℃</a>
  145. </div>
  146. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  147. <view class="icon iconfont" :class="['icon-' + cuIconList[2].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  148. class="wenZhi" :style="{'font-size':fontSize}">最低温度</br>{{weatherInformation.minimumtem}}℃</a>
  149. </div>
  150. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  151. <view class="icon iconfont" :class="['icon-' + cuIconList[3].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  152. class="wenZhi" :style="{'font-size':fontSize}">日出</br>{{weatherInformation.sunrise}}</a>
  153. </div>
  154. <div class="cuIcon4" :style="{'margin-top':margintopThree}">
  155. <view class="icon iconfont" :class="['icon-' + cuIconList[4].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  156. class="wenZhi" :style="{'font-size':fontSize}">日落</br>{{weatherInformation.sunset}}</a>
  157. </div>
  158. </div>
  159. <div class="cu-listAllTFour" :style="{'width':width,'margin-top':margintopThree}">
  160. <div class="cuIcon" :style="{'margin-top':margintopThree,'height':xianHeight}">
  161. <view class="icon iconfont" :class="['icon-' + cuIconList[5].cuIcon,'text-'+ cuIconList[0].color]"></view><a
  162. class="wenZhi" :style="{'font-size':fontSize}">持续时间</br>{{weatherInformation.sunduration}}</a>
  163. </div>
  164. <div class="cuIcon2">
  165. </div>
  166. <div class="cuIcon2">
  167. </div>
  168. <div class="cuIcon2">
  169. </div>
  170. </div>
  171. </view>
  172. </view>
  173. </scroll-view>
  174. </view>
  175. </view>
  176. </view>
  177. </template>
  178. <script>
  179. import WeatherTemperatureWindSpeedCard_7 from '../../components/weatherTemperatureWindSpeedCard_7/WeatherTemperatureWindSpeedCard_7.vue'
  180. export default {
  181. components: {
  182. "WeatherTemperatureWindSpeedCard_7": WeatherTemperatureWindSpeedCard_7
  183. },
  184. data() {
  185. return {
  186. weatherInformation: {},
  187. cuIconList: [{
  188. cuIcon: 'weather',
  189. color: 'white',
  190. name: '天气',
  191. }, {
  192. cuIcon: 'maxTemperature',
  193. color: 'white',
  194. name: '最高温度',
  195. }, {
  196. cuIcon: 'minTemperature',
  197. color: 'white',
  198. name: '最低温度',
  199. }, {
  200. cuIcon: 'sunRise',
  201. color: 'white',
  202. name: '日出',
  203. }, {
  204. cuIcon: 'sunSet',
  205. color: 'white',
  206. name: '日落',
  207. }, {
  208. cuIcon: 'sunDuration',
  209. color: 'white',
  210. name: '持续时间',
  211. }, {
  212. cuIcon: 'dayWeather',
  213. color: 'white',
  214. name: '白气象',
  215. }, {
  216. cuIcon: 'dayTemperature',
  217. color: 'white',
  218. name: '白气温',
  219. }, {
  220. cuIcon: 'dayRealFeel',
  221. color: 'white',
  222. name: '白体感',
  223. }, {
  224. cuIcon: 'dayPrecipitation',
  225. color: 'white',
  226. name: '白降水',
  227. }, {
  228. cuIcon: 'dayWindDirection',
  229. color: 'white',
  230. name: '白风向',
  231. }, {
  232. cuIcon: 'dayWindSpeed',
  233. color: 'white',
  234. name: '白风速',
  235. }, {
  236. cuIcon: 'dayGust',
  237. color: 'white',
  238. name: '白阵风速',
  239. }, {
  240. cuIcon: 'nightWeather',
  241. color: 'white',
  242. name: '夜气象',
  243. }, {
  244. cuIcon: 'nightTemperature',
  245. color: 'white',
  246. name: '夜温度',
  247. }, {
  248. cuIcon: 'nightRealFeel',
  249. color: 'white',
  250. name: '夜体感',
  251. }, {
  252. cuIcon: 'nightPrecipitation',
  253. color: 'white',
  254. name: '夜降水',
  255. }, {
  256. cuIcon: 'nightWindDirection',
  257. color: 'white',
  258. name: '夜风向',
  259. }, {
  260. cuIcon: 'nightWindSpeed',
  261. color: 'white',
  262. name: '夜风速',
  263. }, {
  264. cuIcon: 'nightGust',
  265. color: 'white',
  266. name: '夜阵风速',
  267. }],
  268. assemblyWidth: '',
  269. assemblyHeight: '',
  270. address: "",
  271. modalName: null,
  272. gridCol: 4,
  273. gridBorder: false,
  274. weatherSwitch: true,
  275. windPowerStationId: "SBQ_FDC",
  276. weatherProphetDataAll_7: [],
  277. weatherProphetData_7: [],
  278. weatherIconsDay: [],
  279. weatherIconsNight: [],
  280. classNameDay: [],
  281. classNameNight: [],
  282. height: "",
  283. width:"",
  284. windowWidth:"",
  285. windowHeight:"",
  286. ziHeight:'',
  287. fontSize:'',
  288. xianHeight:'',
  289. nightmarginleft:'',
  290. };
  291. },
  292. created: function() {
  293. // this.pushWindPowerStationNameToSessionStorage("麻黄山");
  294. this.address = this.getWindPowerStationNameToSessionStorage();
  295. this.windPowerStationId=uni.getStorageSync('windPowerStationId');
  296. this.getWeatherData();
  297. this.windowWidth=uni.getSystemInfoSync().windowWidth;
  298. this.windowHeight=uni.getSystemInfoSync().windowHeight;
  299. this.height = parseInt(uni.getSystemInfoSync().windowHeight - 550) + "px"
  300. this.width = parseInt(uni.getSystemInfoSync().windowWidth) + "px"
  301. if(this.windowWidth>=768){
  302. this.margintop="60px";
  303. this.margintopThree="80px";
  304. this.messageTop="10px";
  305. this.fontSize="18px";
  306. this.xianHeight="168px";
  307. this.nightmarginleft="20px";
  308. }else{
  309. this.margintop="10px";
  310. this.margintopThree="10px";
  311. this.fontSize="14px";
  312. this.xianHeight="92px";
  313. this.nightmarginleft="20px";
  314. }
  315. },
  316. onShow() {
  317. this.address = this.getWindPowerStationNameToSessionStorage();
  318. this.windPowerStationId=uni.getStorageSync('windPowerStationId');
  319. this.getWeatherData();
  320. },
  321. methods: {
  322. pushWindPowerStationNameToSessionStorage(windpowerstationName) {
  323. uni.setStorageSync('windpowerstationName', windpowerstationName);
  324. //sessionStorage.setItem('windpowerstationName', windpowerstationName);
  325. //alert("v"+ sessionStorage.getItem("windpowerstationName"));
  326. //this.common.goback('/pages/index/Index');
  327. },
  328. getWindPowerStationNameToSessionStorage() {
  329. uni.getStorageSync('windpowerstationName');
  330. return uni.getStorageSync('windpowerstationName');
  331. },
  332. getWeatherData: function() {
  333. let _this = this;
  334. // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
  335. this.socketTask = uni.connectSocket({
  336. // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
  337. url: "ws://49.4.78.143:8081/websocket/pageNumber_3/functionNumber_1",
  338. success(data) {
  339. console.log("websocket连接成功");
  340. },
  341. });
  342. // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
  343. this.socketTask.onOpen((res) => {
  344. console.log("WebSocket连接正常打开中...!");
  345. this.is_open_socket = true;
  346. // 注:只有连接正常打开中 ,才能正常收到消息
  347. this.socketTask.onMessage((res) => {
  348. //console.log("收到服务器内容:" + res.data);
  349. _this.weatherProphetDataAll_7 = res.data;
  350. _this.weatherProphetDataAll_7 = JSON.parse(res.data);
  351. _this.weatherProphetData_7 = [];
  352. //判断风场id 40天
  353. for (let i = 0; i < _this.weatherProphetDataAll_7.length; i++) {
  354. if (_this.weatherProphetDataAll_7[i].windpowerstationid == _this.windPowerStationId) {
  355. _this.weatherProphetData_7.push(_this.weatherProphetDataAll_7[i]);
  356. }
  357. }
  358. // console.log(_this.weatherProphetData_7);
  359. _this.$refs.WeatherTemperatureWindSpeedCard_7.weatherInformationCard('100', '100', _this.classNameDay, _this
  360. .classNameNight,
  361. _this.weatherProphetData_7);
  362. });
  363. })
  364. // 这里仅是事件监听【如果socket关闭了会执行】
  365. this.socketTask.onClose(() => {
  366. console.log("已经被关闭了")
  367. })
  368. },
  369. changeTap: function(item) {
  370. this.weatherInformation = JSON.parse(item); //vue json转object
  371. },
  372. weatherDaySwitch: function() {
  373. this.weatherSwitch = true;
  374. },
  375. weatherNightSwitch: function() {
  376. this.weatherSwitch = false;
  377. },
  378. closeSocket: function() {
  379. this.socket.onclose;
  380. },
  381. openSocket: function() {
  382. this.socket.onOpen;
  383. }
  384. }
  385. }
  386. </script>
  387. <style lang="less">
  388. page {
  389. height: 100%;
  390. background: -webkit-gradient(linear, 0% 100%, 0% 0%, from(#2F698E), color-stop(0.15, #5C757C), to(#004C90));
  391. overflow-x: hidden;
  392. }
  393. .weatherDayAndNightButton {
  394. margin-left: 20px;
  395. width: 120px;
  396. height: 20px;
  397. // border-bottom: 1px solid white;
  398. margin-top: 400px;
  399. // position: absolute;
  400. }
  401. .border-left {
  402. border-style: solid;
  403. border-top-width: 0px;
  404. border-right-width: 1px;
  405. border-bottom-width: 0px;
  406. border-left-width: 0px;
  407. border-right-color: white;
  408. }
  409. .border-right {
  410. border-style: solid;
  411. border-top-width: 0px;
  412. border-right-width: 0px;
  413. border-bottom-width: 0px;
  414. border-left-width: 0px;
  415. border-right-color: #19B5BC;
  416. }
  417. .scrollList {
  418. // height:20%;
  419. height: 130px;
  420. width: 95%;
  421. margin: 0px auto;
  422. // margin-top: 500px;
  423. }
  424. .dayButtonWhite {
  425. height: 25px;
  426. margin-top: -4px;
  427. margin-left: 20px;
  428. color: white;
  429. font-size: 18px;
  430. border-style: solid;
  431. border-top-width: 0px;
  432. border-right-width: 0px;
  433. border-bottom-width: 3px;
  434. border-bottom-color: #FFEE35;
  435. border-left-width: 0px;
  436. font-family: "microsoft yahei";
  437. float: left;
  438. }
  439. .dayButtonBlack {
  440. height: 25px;
  441. margin-top: -4px;
  442. margin-left: 20px;
  443. color: #DEDEDE;
  444. font-size: 18px;
  445. font-family: "microsoft yahei";
  446. float: left;
  447. }
  448. .nightButtonWhite {
  449. height: 25px;
  450. margin-top: -4px;
  451. border-style: solid;
  452. border-top-width: 0px;
  453. border-right-width: 0px;
  454. border-bottom-width: 3px;
  455. border-left-width: 0px;
  456. border-bottom-color: #FFEE35;
  457. color: white;
  458. margin-left: 50rpx;
  459. font-size: 18px;
  460. font-family: "microsoft yahei";
  461. float: left;
  462. }
  463. .nightButtonBlack {
  464. height: 25px;
  465. margin-top: -4px;
  466. color: #DEDEDE;
  467. margin-left: 50rpx;
  468. font-size: 18px;
  469. font-family: "microsoft yahei";
  470. float: left;
  471. }
  472. .cuIcon {
  473. border-right: 1px solid white;
  474. height: 92px;
  475. // float: left;
  476. // width:100%;
  477. // height:100px;
  478. // margin-top:-20px;
  479. // padding-right: -20px;
  480. // box-sizing: border-box;
  481. // padding-left:20px;
  482. }
  483. .icon {
  484. font-size: 50upx;
  485. }
  486. .cu-listAll {
  487. // width: 100%;
  488. height: 100px;
  489. display: -webkit-flex;
  490. display: flex;
  491. justify-content: space-around;
  492. margin-top: -20px;
  493. float: left;
  494. // margin-left: -5px;
  495. }
  496. .cu-listAllTwo {
  497. // width: 100%;
  498. height: 100px;
  499. display: -webkit-flex;
  500. display: flex;
  501. justify-content: space-around;
  502. margin-top: 10px;
  503. }
  504. .cu-listAllTThree {
  505. // width: 100%;
  506. height: 100px;
  507. display: -webkit-flex;
  508. display: flex;
  509. justify-content: space-around;
  510. margin-top: 10px;
  511. }
  512. .cu-listAllTFour {
  513. // width: 100%;
  514. height: 100px;
  515. display: -webkit-flex;
  516. display: flex;
  517. justify-content: space-around;
  518. margin-top: 10px;
  519. // justify-content: space-around;
  520. }
  521. .wenZhi{
  522. color: white;
  523. }
  524. .cuIcon1 {
  525. margin-top: 20px;
  526. }
  527. .cu-item{
  528. width: 100%;
  529. margin-left: -15px;
  530. }
  531. </style>