test.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893
  1. <template>
  2. <view class="center">
  3. <view class="img">
  4. <image src="../../static/img/logo.png" mode=""></image>
  5. </view>
  6. <view class="test_title">
  7. 节水测试
  8. </view>
  9. <view class="form">
  10. <view class="form-item">
  11. <view class="form-left">姓名:</view>
  12. <text class="tip">*</text>
  13. <view class="form-right">
  14. <input type="text" @input="onAction" class="list-input" v-model="name" placeholder="请填写姓名" />
  15. </view>
  16. </view>
  17. <view class="form-item">
  18. <view class="form-left">地址:</view>
  19. <text class="tip"></text>
  20. <view class="form-right"><input @input="onAction" class="list-input" v-model="address" type="text" placeholder="请填写详细地址" /></view>
  21. </view>
  22. <view class="form-item">
  23. <view class="form-left">联系电话:</view>
  24. <text class="tip">*</text>
  25. <view class="form-right"><input @input="onAction" class="list-input" v-model="telephone" type="number" placeholder="请填写联系电话" /></view>
  26. </view>
  27. <view class="form-item">
  28. <view class="form-left">
  29. 生产线类型:
  30. </view>
  31. <text class="tip">*</text>
  32. <view class="form-right">
  33. <picker :value="index" :range="array" @change="bindPickerType" class="list-input1">
  34. <text style="color: #C7C9D1;">{{line_type || '请选择生产类型'}}</text>
  35. </picker>
  36. </view>
  37. </view>
  38. <view class="form-item">
  39. <view class="form-left">
  40. 生产线数量:
  41. </view>
  42. <text class="tip">*</text>
  43. <view class="form-right">
  44. <input class="list-input" type="number" @input="onAction" v-model="line_num"
  45. placeholder="请填写生产线数量" />
  46. </view>
  47. </view>
  48. <view class="form-item">
  49. <view class="form-left">
  50. 目前用水量(吨/小时):
  51. </view>
  52. <text class="tip">*</text>
  53. <view class="form-right">
  54. <input class="list-input" type="number" @input="onAction" v-model="water_using"
  55. placeholder="请填写目前用水量" />
  56. </view>
  57. </view>
  58. <view class="form-item">
  59. <view class="form-left">工作时长(小时):</view>
  60. <text class="tip"></text>
  61. <view class="form-right">
  62. <input @input="onAction" class="list-input" v-model="day_work_times" type="number"
  63. placeholder="请填写每日工作时长,默认为12小时" />
  64. </view>
  65. </view>
  66. <view class="form-item">
  67. <view class="form-left">年工作日数:</view>
  68. <text class="tip"></text>
  69. <view class="form-right">
  70. <input @input="onAction" class="list-input" v-model="year_work_day" type="number"
  71. placeholder="请填写每年工作日数,默认为330天" />
  72. </view>
  73. </view>
  74. <view class="form-item">
  75. <view class="form-left">废水处理成本(元/吨):</view>
  76. <text class="tip">*</text>
  77. <view class="form-right">
  78. <input @input="onAction" class="list-input" v-model="deal_cost" type="number"
  79. placeholder="请填写废水处理成本" />
  80. </view>
  81. </view>
  82. </view>
  83. <view class="btn" @click="next" v-if="isShow">
  84. <view class="btn-left">
  85. 提交
  86. </view>
  87. </view>
  88. <view class="result" >
  89. <view class="result-title">
  90. 测试结果
  91. </view>
  92. <view class="border">
  93. </view>
  94. <view class="result-box" >
  95. <view class="swiper-item" v-if="num1">
  96. <view class="effect">
  97. <view class="title">改造后的数据</view>
  98. <view class="information">
  99. <view class="benefits">
  100. <view class="unit">
  101. <!-- {{ num1 }} -->
  102. <view class="unit1">{{ num1 }}</view>
  103. <view class="unit2">~</view>
  104. <view class="unit3">{{ num2 }}</view>
  105. </view>
  106. <view class="info">改造后用水量(吨/小时)</view>
  107. </view>
  108. <view class="benefits">
  109. <view class="unit">
  110. <!-- {{ num1 }} -->
  111. <view class="unit1">{{ num3 }}</view>
  112. <view class="unit2">~</view>
  113. <view class="unit3">{{ num4 }}</view>
  114. </view>
  115. <view class="info">年经济效益(万元)</view>
  116. </view>
  117. </view>
  118. <view class="refresh" @click="refresh">重新测试</view>
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. <view class="tanchang">
  124. </view>
  125. <view class="botton-box">
  126. </view>
  127. <aboutUs class="aboutUs"></aboutUs>
  128. </view>
  129. </template>
  130. <script>
  131. import {
  132. loadIndexs, cateList, aboutlist, storylist, caseslist, productlist, articlelist, addForm, companies, machine, machineId
  133. } from '@/api/index.js';
  134. import aboutUs from "@/components/introduce/introduce.vue"
  135. import {
  136. changeTaber
  137. } from "@/utils/tarberChange.js"
  138. export default {
  139. components: {
  140. aboutUs
  141. },
  142. data() {
  143. return {
  144. isShow:true,
  145. type: '',
  146. name: '',
  147. address: '',
  148. telephone: '',
  149. line_type: '',
  150. line_num: '',
  151. water_using: '',
  152. day_work_times: '',
  153. year_work_day: '',
  154. deal_cost: '',
  155. array: ['塑料镀铬线', '五金镀铬线'],
  156. index:'',
  157. num4:'',
  158. num3:'',
  159. num2:'',
  160. num1:''
  161. }
  162. },
  163. onLoad() {
  164. // this.loadData();
  165. this.$nextTick(function(){
  166. changeTaber(4)
  167. })
  168. this.loadData();
  169. },
  170. methods: {
  171. alertChange(tab) {
  172. if (tab.show) {
  173. this.onAction(false);
  174. } else {
  175. this.onAction();
  176. }
  177. },
  178. /* 设置弹窗 */
  179. zoomendChange(type) {
  180. this.zoomActive = type.target.getZoom();
  181. },
  182. // 显示数据
  183. showData(item) {
  184. this.autoPlay = false;
  185. console.log('点击小点点------', item.name);
  186. this.itemData = item;
  187. this.machineid = item.id;
  188. this.$refs.popupItem.open();
  189. // machine({id: this.machineid}).then(e => {
  190. machine({}, this.machineid)
  191. .then(e => {
  192. // this.machineData = e.data;
  193. console.log('======>', e);
  194. this.machineDataModal = e.data;
  195. this.machineDataModal.machine_name = item.name;
  196. })
  197. .catch(e => {
  198. console.log(e);
  199. });
  200. },
  201. toPre() {
  202. console.log('this.checkid', this.checkid);
  203. if (this.checkid > 0) {
  204. this.checkid--;
  205. console.log('this.checkid', this.checkid);
  206. } else {
  207. this.checkid = 2;
  208. }
  209. },
  210. toNext() {
  211. console.log('this.checkid', this.checkid);
  212. if (this.checkid < 2) {
  213. this.checkid++;
  214. console.log('this.checkid', this.checkid);
  215. } else {
  216. this.checkid = 0;
  217. }
  218. },
  219. // 获取设备信息
  220. machine() {
  221. machine({}, 0)
  222. .then(e => {
  223. // console.log('获取设备信息');
  224. this.machineData = e.data;
  225. // console.log(e);
  226. })
  227. .catch(e => {
  228. console.log(e);
  229. });
  230. },
  231. // 获取公司列表
  232. getMapList() {
  233. // zhong
  234. companies()
  235. .then(e => {
  236. this.companyList = e.data.map(e => {
  237. // 初始化弹窗显示隐藏
  238. e.show = false;
  239. // e.lattitude = 28.243198;
  240. // e.longtitude = 121.279239;
  241. // 设置文字样式
  242. e.textType = {
  243. width: -((e.name.length / 2) * 10),
  244. height: 30
  245. };
  246. e.style = {
  247. background: 'none',
  248. color: '#333333',
  249. fontSize: '10px',
  250. border: 'none'
  251. };
  252. return e;
  253. });
  254. // 设置数据加载完毕
  255. this.mapLoding = true;
  256. // uni.showModal({
  257. // title: '提示',
  258. // content: '地图加载完毕',
  259. // showCancel: false
  260. // });
  261. // console.log('公司列表', this.companyList);
  262. })
  263. .catch(e => {
  264. console.log(e);
  265. });
  266. },
  267. // 初始化地图/
  268. init({
  269. BMap,
  270. map
  271. }) {
  272. this.map = map;
  273. // 初始化地图,设置中心点坐标
  274. var point = new BMap.Point(121.434817, 28.653649);
  275. map.centerAndZoom(point, this.zoomActive);
  276. // this.setMarker();
  277. // 添加鼠标滚动缩放
  278. // map.enableScrollWheelZoom();
  279. },
  280. //切换事件
  281. onAction(start = true) {
  282. console.log('触发点击');
  283. this.autoPlay = false;
  284. clearTimeout(this.outPlay);
  285. if (start) {
  286. this.outPlay = setTimeout(e => {
  287. this.autoPlay = true;
  288. }, this.setOutTime);
  289. }
  290. },
  291. // 渲染首页数据
  292. async loadData() {
  293. loadIndexs({}).then(({
  294. data
  295. }) => {
  296. this.carouselList = data.loopProduct.map(item => 'http://tianli.liuniu946.com/' + item
  297. .coverimage);
  298. this.list3 = data;
  299. });
  300. },
  301. // 表单交互 提交
  302. next() {
  303. if (this.name == '') {
  304. uni.showToast({
  305. title: '请输入您的姓名',
  306. icon: 'none',
  307. duration: 2000
  308. });
  309. this.$api.msg('');
  310. return;
  311. }
  312. if (this.address == '') {
  313. uni.showToast({
  314. title: '请填写详细地址',
  315. icon: 'none',
  316. duration: 2000
  317. });
  318. // this.$api.msg('请填写详细地址');
  319. return;
  320. }
  321. if (this.telephone == '') {
  322. uni.showToast({
  323. title: '请填写联系电话',
  324. icon: 'none',
  325. duration: 2000
  326. });
  327. // this.$api.msg('请填写联系电话');
  328. return;
  329. }
  330. const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  331. if (!reg.test(this.telephone)) {
  332. uni.showToast({
  333. title: '请填写正确的手机格式',
  334. icon: 'none',
  335. duration: 2000
  336. });
  337. // this.$api.msg('请输入您的手机号码');
  338. return;
  339. }
  340. if (this.line_type == '') {
  341. uni.showToast({
  342. title: '请填写生产线类型',
  343. icon: 'none',
  344. duration: 2000
  345. });
  346. // this.$api.msg('请输入生产线类型');
  347. return;
  348. }
  349. if (this.line_num == '') {
  350. uni.showToast({
  351. title: '请填写生产线数量',
  352. icon: 'none',
  353. duration: 2000
  354. });
  355. // this.$api.msg('请输入生产线数量');
  356. return;
  357. }
  358. if (this.water_using == '') {
  359. uni.showToast({
  360. title: '请填写目前用水量',
  361. icon: 'none',
  362. duration: 2000
  363. });
  364. // this.$api.msg('请填写目前用水量');
  365. return;
  366. }
  367. if (this.deal_cost == '') {
  368. uni.showToast({
  369. title: '请填写废水处理成本',
  370. icon: 'none',
  371. duration: 2000
  372. });
  373. // this.$api.msg('请填写废水处理成本');
  374. return;
  375. }
  376. addForm({
  377. name: this.name,
  378. address: this.address,
  379. telephone: this.telephone,
  380. line_type: this.line_type,
  381. line_num: this.line_num,
  382. water_using: this.water_using,
  383. day_work_times: 12,
  384. year_work_day: 330,
  385. deal_cost: this.deal_cost
  386. }).then(e => {
  387. console.log('请求成功');
  388. (this.isshow = false),
  389. uni.pageScrollTo({
  390. scrollTop: 0,
  391. duration: 0
  392. });
  393. /**
  394. 交互式表单公式
  395. 改造后用水量为:目前用水量的30%—70%
  396. 经济效益=节约的水量X年工作时长(小时)X废水处理成本
  397. 节约的水量=目前用水量—改造后的用水量
  398. 经济效益也是一个范围值
  399. **/
  400. // 改造后用水量
  401. // this.num1 = this.water_using * 0.3;
  402. // this.num2 = this.water_using * 0.7;
  403. this.num1 = parseFloat(this.water_using * 0.3).toFixed(2);
  404. this.num2 = parseFloat(this.water_using * 0.7).toFixed(2);
  405. console.log('this.num1', this.num1);
  406. // 节约的水量=目前用水量—改造后的用水量
  407. this.savaWater1 = this.water_using - this.num1;
  408. this.savaWater2 = this.water_using - this.num2;
  409. console.log('this.savaWater1', this.savaWater1);
  410. console.log('this.day_work_times', this.day_work_times);
  411. console.log('this.deal_cost', this.deal_cost);
  412. // 经济效益=节约的水量X年工作时长(小时)X废水处理成本
  413. this.num3 = parseFloat((this.savaWater1 * 3960 * this.deal_cost) / 10000).toFixed(2);
  414. this.num4 = parseFloat((this.savaWater2 * 3960 * this.deal_cost) / 10000).toFixed(2);
  415. // this.name = "";
  416. // this.address = "";
  417. // this.telephone = "";
  418. // this.line_type = "";
  419. // this.line_num = "";
  420. // this.water_using = "";
  421. // this.day_work_times = "";
  422. // this.year_work_day = "";
  423. // this.deal_cost = "";
  424. });
  425. },
  426. change(item) {
  427. // console.log('-----this.checkid', item);
  428. let id = item;
  429. this.checkid = id;
  430. this.onAction();
  431. },
  432. // 重新测试
  433. refresh() {
  434. this.isshow = true;
  435. uni.pageScrollTo({
  436. scrollTop: 0,
  437. duration: 0
  438. });
  439. },
  440. // 选择生产线类型
  441. bindPickerType: function(e) {
  442. console.log(this.array[e.target.value]);
  443. this.line_type = this.array[e.target.value];
  444. this.index = e.target.value + 1;
  445. this.onAction();
  446. },
  447. change1(item) {
  448. console.log(123, item);
  449. let id = item;
  450. this.checkid1 = id;
  451. },
  452. // 监听切换事件
  453. listChange(e) {
  454. // 触发改变事件
  455. this.onAction();
  456. this.checkid = e.detail.current;
  457. if (this.checkid == 1 && !this.showMap) {
  458. this.showMap = true;
  459. }
  460. // uni.pageScrollTo({
  461. // duration: 0, //过渡时间必须为0,uniapp bug,否则运行到手机会报错
  462. // scrollTop: 0 //滚动到实际距离是元素距离顶部的距离减去最外层盒子的滚动距离
  463. // });
  464. },
  465. listChange1(id) {
  466. this.current = id;
  467. },
  468. // 点击更多 导航
  469. toNavList() {
  470. this.$refs.popup.open();
  471. },
  472. goBack(type) {
  473. this.$refs[type][0].close();
  474. },
  475. cancel() {
  476. this.$refs.popup.close();
  477. },
  478. cancelAll(type) {
  479. this.$refs.popup.close();
  480. this.$refs[type][0].close();
  481. },
  482. handlePop(index, type) {
  483. this.type = type;
  484. console.log('this.type', this.type);
  485. this.$refs[type][0].open();
  486. cateList({}, this.type).then(({
  487. data
  488. }) => {
  489. this.productList = data;
  490. });
  491. },
  492. // 获取子列表
  493. navInfo(id, name, item) {
  494. let obj = this;
  495. obj.category_id = id;
  496. obj.current = id;
  497. console.log('进入', obj.type);
  498. if (obj.type == 'about') {
  499. aboutlist({
  500. // title: obj.title,
  501. category_id: obj.category_id,
  502. page: obj.page,
  503. limit: obj.limit
  504. }).then(({
  505. data
  506. }) => {
  507. obj.list1 = data.list.map(item => ({
  508. title: item.title,
  509. id: item.id
  510. }));
  511. });
  512. }
  513. if (obj.type == 'story') {
  514. storylist({
  515. // title: obj.title,
  516. category_id: obj.category_id,
  517. page: obj.page,
  518. limit: obj.limit
  519. }).then(({
  520. data
  521. }) => {
  522. obj.list1 = data.list.map(item => ({
  523. title: item.title,
  524. id: item.id
  525. }));
  526. });
  527. }
  528. if (obj.type == 'cases') {
  529. caseslist({
  530. // title: obj.title,
  531. category_id: obj.category_id,
  532. page: obj.page,
  533. limit: obj.limit
  534. }).then(({
  535. data
  536. }) => {
  537. obj.list1 = data.list.map(item => ({
  538. title: item.title,
  539. id: item.id
  540. }));
  541. });
  542. }
  543. if (obj.type == 'product') {
  544. productlist({
  545. // title: obj.title,
  546. category_id: obj.category_id,
  547. page: obj.page,
  548. limit: obj.limit
  549. }).then(({
  550. data
  551. }) => {
  552. obj.list1 = data.list.map(item => ({
  553. title: item.title,
  554. id: item.id
  555. }));
  556. });
  557. }
  558. //
  559. if (obj.type == 'article') {
  560. articlelist({
  561. // title: obj.title,
  562. category_id: obj.category_id,
  563. page: obj.page,
  564. limit: obj.limit
  565. }).then(({
  566. data
  567. }) => {
  568. obj.list1 = data.list.map(item => ({
  569. title: item.title,
  570. id: item.id
  571. }));
  572. });
  573. }
  574. },
  575. // 点击子列表
  576. toproList(id) {
  577. console.log('当前子列表id:', id);
  578. // let id = id,
  579. if (this.type == 'about') {
  580. uni.navigateTo({
  581. url: '/pages/about/about?id=' + id
  582. });
  583. }
  584. if (this.type == 'story') {
  585. uni.navigateTo({
  586. url: '/pages/story/story?id=' + id
  587. });
  588. }
  589. if (this.type == 'cases') {
  590. uni.navigateTo({
  591. url: '/pages/cases/cases?id=' + id
  592. });
  593. }
  594. if (this.type == 'product') {
  595. uni.navigateTo({
  596. url: '/pages/product/product?id=' + id
  597. });
  598. }
  599. if (this.type == 'article') {
  600. uni.navigateTo({
  601. url: '/pages/article/article?id=' + id
  602. });
  603. }
  604. }
  605. }
  606. };
  607. </script>
  608. <style lang="scss">
  609. page {
  610. height: 100%;
  611. }
  612. .center {
  613. height: 100%;
  614. background: #FFFFFF;
  615. }
  616. .img {
  617. margin: 17rpx 0 17rpx 41rpx;
  618. width: 208rpx;
  619. height: 52rpx;
  620. image {
  621. width: 100%;
  622. height: 100%;
  623. }
  624. }
  625. .test_title {
  626. display: flex;
  627. justify-content: center;
  628. align-items: center;
  629. width: 100%;
  630. height: 60rpx;
  631. font-size: 22rpx;
  632. font-family: Adobe Heiti Std;
  633. font-weight: normal;
  634. color: #FFFFFF;
  635. background-color: #0165B5;
  636. }
  637. .test_table {
  638. font-size: 22rpx;
  639. font-family: Adobe Heiti Std;
  640. font-weight: normal;
  641. color: #000000;
  642. display: flex;
  643. justify-content: space-between;
  644. padding: 10rpx 30rpx;
  645. input {
  646. width: 340rpx;
  647. height: 40rpx;
  648. background: #FFFFFF;
  649. border: 1px solid #B9B7B7;
  650. border-radius: 2rpx;
  651. font-size: 16rpx;
  652. padding-left: 16rpx;
  653. }
  654. }
  655. .form {
  656. background: #FFFFFF;
  657. width: 100%;
  658. padding: 14rpx;
  659. // margin-top: 54rpx;
  660. .form-item {
  661. width: 98%;
  662. display: flex;
  663. align-items: center;
  664. justify-content: space-between;
  665. margin-top: 10rpx;
  666. .form-left {
  667. color: #212121;
  668. font-size: 22rpx;
  669. width: 250rpx;
  670. flex-shrink: 0;
  671. }
  672. .tip {
  673. margin-left: 0rpx;
  674. color: #ff0000;
  675. width: 34rpx;
  676. height: 34rpx;
  677. }
  678. .form-right {
  679. margin-left: 2rpx;
  680. padding: 12rpx;
  681. width: 100%;
  682. background-color: #FFFFFF;
  683. border: 2rpx solid #bdbdbd;
  684. border-radius: 6rpx;
  685. .list-input {
  686. font-size: 18rpx;
  687. .input-placeholder {
  688. color: #C7C9D1;
  689. font-size: 18rpx;
  690. }
  691. }
  692. .list-input1 {
  693. color: #757575;
  694. font-size: 18rpx;
  695. }
  696. }
  697. }
  698. }
  699. .btn {
  700. margin-top: 34rpx;
  701. width: 100%;
  702. height: 70rpx;
  703. display: flex;
  704. justify-content: center;
  705. color: #ffffff;
  706. font-size: 26rpx;
  707. .btn-left {
  708. width: 88%;
  709. height: 70rpx;
  710. display: flex;
  711. justify-content: center;
  712. align-items: center;
  713. // margin-left: 44rpx;
  714. background-color: #3874cb;
  715. border-radius: 8rpx;
  716. }
  717. }
  718. .result {
  719. display: flex;
  720. flex-direction: column;
  721. justify-content: center;
  722. align-items: center;
  723. .result-title {
  724. margin-top: 50rpx;
  725. display: flex;
  726. justify-content: center;
  727. align-items: center;
  728. width: 180rpx;
  729. height: 35rpx;
  730. font-size: 26rpx;
  731. font-family: Adobe Heiti Std;
  732. font-weight: normal;
  733. color: #000000;
  734. position: relative;
  735. top: 15rpx;
  736. z-index: 99;
  737. background-color: #FFFFFF;
  738. }
  739. .border {
  740. width: 100%;
  741. height: 1rpx;
  742. border: 1rpx solid #EEE9E9;
  743. }
  744. .result-box {
  745. width: 100%;
  746. height: 360rpx;
  747. background: #0165B5;
  748. margin-top: 24rpx;
  749. .effect {
  750. .title {
  751. margin-top: 10rpx;
  752. font-size: 32rpx;
  753. color: #FFFFFF;
  754. text-align: center;
  755. }
  756. .information {
  757. width: 100%;
  758. // height: 200rpx;
  759. display: flex;
  760. justify-content: space-between;
  761. .benefits {
  762. padding: 24rpx 0;
  763. width: 50%;
  764. display: flex;
  765. flex-direction: column;
  766. align-items: center;
  767. .unit {
  768. width: 200rpx;
  769. height: 200rpx;
  770. background-color: #3874cb;
  771. border-radius: 50%;
  772. display: flex;
  773. justify-content: center;
  774. align-items: center;
  775. color: #ffffff;
  776. font-size: 64rpx;
  777. display: flex;
  778. flex-direction: column;
  779. .unit1 {
  780. width: 100%;
  781. font-size: 34rpx;
  782. display: flex;
  783. padding-left: 34rpx;
  784. justify-content: flex-start;
  785. // background-color: pink;
  786. }
  787. .unit2 {
  788. font-size: 34rpx;
  789. margin: 0 12rpx;
  790. }
  791. .unit3 {
  792. width: 100%;
  793. font-size: 34rpx;
  794. display: flex;
  795. justify-content: flex-end;
  796. padding-right: 34rpx;
  797. }
  798. }
  799. .info {
  800. font-size: 24rpx;
  801. margin-top: 32rpx;
  802. }
  803. }
  804. }
  805. .refresh {
  806. width: 270rpx;
  807. height: 60rpx;
  808. background-color: #3874cb;
  809. margin: 44rpx auto;
  810. display: flex;
  811. justify-content: center;
  812. align-items: center;
  813. color: #ffffff;
  814. font-size: 24rpx;
  815. }
  816. }
  817. }
  818. }
  819. .tanchang {
  820. height: 132rpx;
  821. }
  822. .aboutUs {
  823. width: 100%;
  824. position: fixed;
  825. left: 0;
  826. bottom: 0;
  827. margin-bottom: 100rpx;
  828. }
  829. </style>