test.vue 19 KB

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