deliveryFrom.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913
  1. <template>
  2. <view >
  3. <u-navbar title="申请归还">
  4. <view class="details" slot="bottom">
  5. <view class="list">
  6. <view class="list-head" style="margin-bottom: 3px;">
  7. <view class="title">
  8. 出库设备清单
  9. </view>
  10. <view class="amount" @click="gotoscan('')">
  11. <u-icon name="scan" color="#0051ff" ></u-icon>扫码识别
  12. </view>
  13. </view>
  14. <view class="list-head">
  15. <view class="title">
  16. 所属项目<span style="color: red;">*</span>
  17. </view>
  18. <view class="amountView" >
  19. <view class="amount" v-if="approveList.length" >
  20. <span @click="show4=true"
  21. style="float: right; color: #45BA45; font-size: 12px;font-weight: normal;">
  22. <u-icon name="file-text"></u-icon>引用</span>
  23. </view>
  24. <view class="amount" >
  25. <u-input style="border-bottom: 1px solid;"
  26. v-model="form.projectName" placeholder="请输入所属项目" type="text" />
  27. </view>
  28. </view>
  29. </view>
  30. <view class="list-head" >
  31. <view class="title">
  32. 无二维码设备
  33. </view>
  34. <view class="amountView" >
  35. <view class="amount" >
  36. <span @click="show5=true"
  37. style="float: right; color: #45BA45; font-size: 12px;font-weight: normal;">
  38. <u-icon name="file-text"></u-icon>添加设备</span>
  39. </view>
  40. <view class="amount" >
  41. 二维码损坏,或者无二维码
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <!-- 出库单详情 -->
  47. </view>
  48. </u-navbar>
  49. <u-popup v-model="showpopup" class="scanpopo" mode="bottom"
  50. border-radius="14"
  51. :closeable="true" >
  52. <view class="scantitle">连续扫码</view>
  53. <view class="scanlist">
  54. <view class="scan-list-infos" :style="nowscan.healthStatus&&nowscan.healthStatus!=1?'background-color:#FFC107':''">
  55. <view class="scan-infos-head" @click="gotoInfo(nowscan.id)">
  56. <view class="name">
  57. {{nowscan.title?nowscan.title:'扫码后出当前结果'}}
  58. </view>
  59. <view class="name">
  60. 编号:{{showCode(nowscan)}}
  61. <span class="name" v-show="nowscan&&nowscan.id" style="color:blue;">
  62. 点击查看
  63. </span>
  64. </view>
  65. </view>
  66. <view class="scan-infos-head " style="margin-bottom: 12rpx;">
  67. <view class="name" v-html="descriptionKey(nowscan)">
  68. </view>
  69. </view>
  70. <view class="scan-infos">
  71. <!-- <view class="infos-2">
  72. <view class="infos-item">
  73. <view class="item-name">
  74. 规格:
  75. </view>
  76. <view class="item-value">
  77. {{nowscan.specifications}}
  78. </view>
  79. </view>
  80. <view class="infos-item">
  81. <view class="item-name">
  82. 型号:
  83. </view>
  84. <view class="item-value">
  85. {{nowscan.model}}
  86. </view>
  87. </view>
  88. </view> -->
  89. </view>
  90. </view>
  91. </view>
  92. <!-- #ifdef MP-WEIXIN -->
  93. <camera mode="scanCode" resolution='medium'
  94. @scancode="takeCode" v-if="showpopup"
  95. device-position="back" flash="off" @error="error"
  96. style="width: 100%; height: 300px;"></camera>
  97. <!-- #endif -->
  98. </u-popup>
  99. <!-- 出库设备清单 -->
  100. <view class="list container" style="padding-bottom: 60px;" v-show="scanList.length" >
  101. <view class="list-view">
  102. <!-- 清单信息 -->
  103. <view class="list-infos" v-for="(item,i) in scanList" :key="i" >
  104. <view class="infos-head">
  105. <view class="name">
  106. {{item.title}}
  107. </view>
  108. <view class="name">
  109. 编号:{{ showCode(item)}}
  110. </view>
  111. <view class="state" @click="delOutListMethod(i)">
  112. <u-icon name="trash-fill" color="#777777" ></u-icon>删除
  113. </view>
  114. </view>
  115. <view class="infos">
  116. <view class="infos-item">
  117. <view class="item-name">
  118. 规格:
  119. </view>
  120. <view class="item-value">
  121. {{item.specifications}}
  122. </view>
  123. </view>
  124. <view class="infos-item">
  125. <view class="item-name">
  126. 型号:
  127. </view>
  128. <view class="item-value">
  129. {{item.model}}
  130. </view>
  131. </view>
  132. </view>
  133. <view class="receive-options">
  134. <view class="title">
  135. 归还备注
  136. </view>
  137. <view class="receive-radio">
  138. <u-radio-group v-model="item.reStatus" >
  139. <u-radio v-for="(radio, index2) in radiolist" :key="index2"
  140. :name="radio.value" :disabled="radio.disabled">
  141. {{radio.name}}
  142. </u-radio>
  143. </u-radio-group>
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. <u-divider :isnone="scanList.length==0" v-show="scanList.length==0"
  150. nonetext="点击'扫码'进行归还" nonetop="150" border-color="#CFD2D5">已经到底了</u-divider>
  151. <u-select v-model="show4" label-name="projectName" value-name="id"
  152. :list="approveList" @confirm="confirm4" ></u-select>
  153. <u-popup v-model="show5" mode="bottom"
  154. border-radius="14"
  155. :closeable="true" >
  156. <view class="showpopup">添加设备</view>
  157. <!-- 搜索 -->
  158. <view class="search" v-if="false" >
  159. <view class="search-box">
  160. <u-search placeholder="搜索设备名称或型号"
  161. @custom="ckQueryContent"
  162. @search="ckQueryContent"
  163. v-model="queryContent" :show-action="false">
  164. </u-search>
  165. <view class="search-btn" @click="ckQueryContent" >
  166. <view class="text">
  167. 搜索
  168. </view>
  169. </view>
  170. </view>
  171. </view>
  172. <scroll-view scroll-y="true" style="height: 800rpx;" @scrolltolower="refscrolltolower()">
  173. <equipmentRetrieval @ckItem="ckItem" :list="list" :scanList="scanList"
  174. ref="equipmentRetrievalRef" :iscomponents="1" :isreturn="1" ></equipmentRetrieval>
  175. </scroll-view>
  176. </u-popup>
  177. <!-- 确认出库 -->
  178. <view class="bottom" >
  179. <u-button type="primary" @click="gotoOut()" >确认归还</u-button>
  180. </view>
  181. </view>
  182. </template>
  183. <script>
  184. import * as API from '@/apis/pagejs/projectDepartment.js'
  185. import equipmentRetrieval from "@/components/equipmentRetrieval"
  186. export default {
  187. data() {
  188. return {
  189. scanFunctionIsUseable:true,
  190. nowscan:{
  191. "title": "",
  192. "specifications": "",
  193. "experimentLastTime":"",
  194. "manufactor": "",
  195. "unit": "",
  196. "model": "",
  197. "code": "",
  198. },
  199. address:"",
  200. showpopup:false,
  201. deviceposition:"back",
  202. form:{
  203. projectName:"",
  204. addressId:"",
  205. recordId:"",
  206. deviceIds:"",
  207. },
  208. list:[],
  209. list2:[],
  210. queryContent:'',
  211. scanList:[],
  212. approveList:[],
  213. show4:false,
  214. show5:false,
  215. radiolist: [{
  216. name: '正常',
  217. value: "0",
  218. disabled: false
  219. },
  220. {
  221. name: '损坏,需要维修',
  222. value: "1",
  223. disabled: false
  224. },
  225. ],
  226. }
  227. },
  228. onReady(){
  229. this.getApproveList();
  230. },
  231. components:{
  232. equipmentRetrieval
  233. },
  234. methods: {
  235. ckItem(item){
  236. if(item.code){
  237. var c = this.scanList.findIndex(op => {
  238. return op.code == item.code
  239. })
  240. if (c==-1) {
  241. this.getscan(item.code,true)
  242. }else{
  243. this.delOutListMethod(c)
  244. }
  245. }else{
  246. this.list2.push(item)
  247. }
  248. },
  249. refscrolltolower(){
  250. this.$refs.equipmentRetrievalRef.myLoadmoreonReachBottom()
  251. },
  252. ckQueryContent(){
  253. this.$refs.equipmentRetrievalRef.queryContent=this.queryContent
  254. this.$refs.equipmentRetrievalRef.getList()
  255. },
  256. confirm4(e) {
  257. this.form.projectName=e[0].label;
  258. },
  259. getApproveList(){
  260. uni.showLoading({
  261. title: "加载中",
  262. mask: true,
  263. })
  264. API.outApplyList({
  265. pageIndex: 1,
  266. pageSize: 20,
  267. recordsTotal: 1,
  268. status: "1",
  269. }).then((res) => {
  270. var data = res.data.data;
  271. var sz=[];
  272. this.approveList=[]
  273. data.forEach(item=>{
  274. if(sz.indexOf(item.projectName)==-1){
  275. sz.push(item.projectName)
  276. this.approveList.push(item)
  277. }
  278. })
  279. //this.approveList = res.data.data;
  280. //console.log(this.approveList)
  281. uni.hideLoading();
  282. }).catch(error => {
  283. uni.showToast({
  284. title: error,
  285. icon: "none"
  286. })
  287. })
  288. },
  289. delOutListMethod(c) {
  290. if (c > -1) {
  291. this.scanList.splice(c, 1)
  292. uni.showToast({
  293. title: "删除成功",
  294. icon: "none"
  295. })
  296. }
  297. },
  298. gotoOut() {
  299. if(!this.form.projectName){
  300. uni.showToast({
  301. title: "请输入项目名称",
  302. icon: "none"
  303. })
  304. return
  305. }
  306. if(this.scanList.length==0){
  307. uni.showToast({
  308. title: "请扫码添加出库设备",
  309. icon: "none"
  310. })
  311. return
  312. }
  313. var _this=this;
  314. uni.showModal({
  315. title: '提示',
  316. content:"确认清单无误",
  317. //content: '这是一个模态弹窗',
  318. success: function(res) {
  319. if (res.confirm) {
  320. _this.gotoOutMethod(res.content)
  321. } else if (res.cancel) {
  322. console.log('用户点击取消');
  323. }
  324. }
  325. });
  326. },
  327. gotoOutMethod() {
  328. //recordData
  329. uni.showLoading({
  330. title: "加载中",
  331. mask: true,
  332. })
  333. var list=this.scanList.map(item=>{
  334. return item.id
  335. });
  336. var listStatus=this.scanList.map(item=>{
  337. return item.reStatus
  338. });
  339. this.form.deviceIds=list.join()
  340. this.form.deviceStatus=listStatus.join()
  341. API.saveInRecord(this.form).then((res) => {
  342. uni.hideLoading();
  343. const eventChannel = this.getOpenerEventChannel();
  344. eventChannel.emit('refreshData');
  345. uni.hideLoading()
  346. uni.showModal({
  347. title: '提示',
  348. content: '操作成功',
  349. showCancel:false,
  350. success: function (res) {
  351. if (res.confirm) {
  352. uni.navigateBack()
  353. } else if (res.cancel) {
  354. console.log('用户点击取消');
  355. }
  356. }
  357. });
  358. }).catch(error => {
  359. uni.showToast({
  360. title: error,
  361. icon: "none"
  362. })
  363. })
  364. },
  365. getscan(val,k) {
  366. if(k){
  367. }else{
  368. this.showpopup=true;
  369. }
  370. var c = this.scanList.find(item => {
  371. return item.code == val
  372. })
  373. if (c) {
  374. return
  375. }
  376. uni.showLoading({
  377. title: "加载中",
  378. mask: true,
  379. })
  380. API.queryDeviceByCode({
  381. code: val,
  382. }).then((res) => {
  383. uni.hideLoading();
  384. if (res.data.deviceInfo) {
  385. console.log(res.data.deviceInfo)
  386. this.nowscan=res.data.deviceInfo;
  387. var c = this.scanList.find(item => {
  388. return item.id == res.data.deviceInfo.id
  389. })
  390. if (c) {
  391. uni.showToast({
  392. title: "已存在,添加失败",
  393. icon: "none"
  394. })
  395. } else {
  396. var obj=res.data.deviceInfo;
  397. obj.reStatus="0"
  398. this.scanList.push(obj)
  399. uni.showToast({
  400. title: "添加成功",
  401. icon: "none"
  402. })
  403. }
  404. } else {
  405. uni.showToast({
  406. title: "二维码无效",
  407. icon: "none"
  408. })
  409. this.nowscan={}
  410. }
  411. }).catch(error => {
  412. uni.showToast({
  413. title: error,
  414. icon: "none"
  415. })
  416. })
  417. },
  418. error(e) {
  419. console.log(e);
  420. },
  421. gotoscan(val) {
  422. // #ifdef H5
  423. this.gotoscanH5(val)
  424. // #endif
  425. // #ifdef MP-WEIXIN
  426. this.gotoscanMP(val)
  427. // #endif
  428. },
  429. takeCode(e){
  430. console.log(e);
  431. if(this.scanFunctionIsUseable) {
  432. this.scanFunctionIsUseable = false;
  433. // 对扫码结果进行处理
  434. console.log(e.detail.result);
  435. this.getscan(this.takeCodeJp(e.detail.result))
  436. // 扫码间隔两秒
  437. setTimeout(() => {
  438. this.scanFunctionIsUseable = true;
  439. }, 1000)
  440. }
  441. },
  442. gotoscanMP(val){
  443. this.showpopup=true;
  444. // const ctx = uni.createCameraContext();
  445. // ctx.takePhoto({
  446. // quality: 'high',
  447. // success: (res) => {
  448. // this.src = res.tempImagePath
  449. // }
  450. // });
  451. },
  452. gotoscanH5(val) {
  453. console.log('111')
  454. var _this = this;
  455. uni.showModal({
  456. title: '提示',
  457. editable: true,
  458. //content: '这是一个模态弹窗',
  459. success: function(res) {
  460. if (res.confirm) {
  461. _this.getscan(res.content)
  462. } else if (res.cancel) {
  463. console.log('用户点击取消');
  464. }
  465. }
  466. });
  467. },
  468. }
  469. }
  470. </script>
  471. <style scoped lang="scss">
  472. .showpopup{
  473. font-size: 36rpx;
  474. text-align: center;
  475. margin: 32rpx;
  476. }
  477. // 搜索
  478. .search {
  479. padding: 12rpx 24rpx;
  480. display: flex;flex-wrap: wrap;
  481. border-radius: 8px;
  482. overflow: hidden;
  483. .search-box {
  484. display: flex;
  485. border-radius: 8px;
  486. overflow: hidden;
  487. }
  488. /deep/.u-search {
  489. width: 630rpx;
  490. margin: auto !important;
  491. position: relative;
  492. flex: 0;
  493. margin: 0 !important;
  494. height: 64rpx !important;
  495. }
  496. /deep/.u-content {
  497. width: 430px;
  498. border-radius: 0px !important;
  499. height: 64rpx !important;
  500. }
  501. /deep/.u-icon--right {
  502. margin-right: 16rpx;
  503. }
  504. .search-btn {
  505. width: 100rpx;
  506. height: 64rpx;
  507. background-color: #f2f2f2;
  508. .text {
  509. height: 40rpx;
  510. margin: 12rpx 0;
  511. border-left: 1px solid #999999;
  512. font-family: Microsoft Yahei;
  513. text-align: center;
  514. color: rgba(16, 98, 213, 1);
  515. font-size: 28rpx;
  516. }
  517. }
  518. }
  519. .scantitle{
  520. text-align: center;
  521. font-size: 44rpx;
  522. padding-top: 20px;
  523. }
  524. page {
  525. padding-bottom: 200rpx;
  526. }
  527. // 接收选项
  528. .receive-options {
  529. display: flex;flex-wrap: wrap;
  530. align-items: center;
  531. padding: 24rpx 0;
  532. .title {
  533. color: #333333;
  534. margin-right: 24rpx;
  535. font-weight: bold;
  536. }
  537. .receive-radio {
  538. flex: 1;
  539. /deep/.u-radio-group {
  540. width: 100%;
  541. }
  542. /deep/.u-radio {
  543. margin-right: 48rpx;
  544. }
  545. }
  546. }
  547. // 出库单状态
  548. .head {
  549. background-color: #fff;
  550. padding: 24rpx 32rpx;
  551. display: flex;flex-wrap: wrap;
  552. align-items: center;
  553. color: #101010;
  554. font-size: 32rpx;
  555. .photo {
  556. width: 84rpx;
  557. height: 84rpx;
  558. border-radius: 100rpx;
  559. img {
  560. width: 100%;
  561. height: 100%;
  562. overflow: hidden;
  563. }
  564. }
  565. .name {
  566. color: #101010;
  567. font-size: 32rpx;
  568. margin-right: 8rpx;
  569. margin-left: 24rpx;
  570. max-width: 200rpx;
  571. overflow: hidden;
  572. text-overflow: ellipsis;
  573. white-space: nowrap
  574. }
  575. .submit {
  576. text {
  577. color: #3385FF;
  578. }
  579. }
  580. .state {
  581. line-height: 48rpx;
  582. padding: 0 24rpx;
  583. border-radius: 50px;
  584. background-color: rgba(255, 255, 255, 1);
  585. color: rgba(51, 133, 255, 1);
  586. font-size: 12px;
  587. text-align: center;
  588. font-family: Arial;
  589. border: 1px solid rgba(51, 133, 255, 1);
  590. margin-left: auto;
  591. }
  592. }
  593. .container{
  594. margin-top: 140px;
  595. }
  596. // 出库单详情
  597. .details {
  598. background-color: #fff;
  599. margin-top: 24rpx;
  600. padding: 16rpx 32rpx;
  601. .item {
  602. display: flex;flex-wrap: wrap;
  603. justify-content: space-between;
  604. padding: 12rpx 0;
  605. //border-bottom: 1px solid rgba(244, 244, 244, 1);
  606. .name {
  607. line-height: 30px;
  608. color: #333333;
  609. font-size: 32rpx
  610. }
  611. .value {
  612. color: #101010;
  613. }
  614. }
  615. }
  616. // 出库单列表
  617. .list {
  618. //margin-top: 24rpx;
  619. .list-view{
  620. padding: 16rpx 32rpx;
  621. background-color: #fff;
  622. }
  623. .list-head {
  624. display: flex;flex-wrap: wrap;
  625. justify-content: space-between;
  626. align-items: center;
  627. .title {
  628. padding: 8rpx 0;
  629. color: #333333;
  630. font-size: 32rpx
  631. }
  632. .amountView{
  633. display: flex;flex-wrap: wrap;
  634. justify-content: space-between;
  635. align-items: center;
  636. .amount {
  637. color: #777777;
  638. font-size: 24rpx;
  639. text {
  640. color: #3385FF;
  641. }
  642. /deep/.u-icon--right {
  643. margin-left: 8rpx;
  644. }
  645. }
  646. }
  647. }
  648. // 清单信息
  649. .list-infos {
  650. border-radius: 8px;
  651. background-color: #F5F6F9;
  652. margin-top: 24rpx;
  653. padding: 24rpx;
  654. .infos-head {
  655. display: flex;flex-wrap: wrap;
  656. justify-content: space-between;
  657. align-items: center;
  658. margin-bottom: 24rpx;
  659. .name {
  660. color: rgba(51, 51, 51, 1);
  661. font-size: 32rpx;
  662. }
  663. .state {
  664. color:#777777;
  665. }
  666. }
  667. .infos {
  668. margin-top: 16rpx;
  669. display: flex;flex-wrap: wrap;
  670. color: #777777;
  671. font-size: 24rpx;
  672. justify-content: space-around;
  673. .infos-1 {
  674. margin-right: 68rpx;
  675. }
  676. .infos-item {
  677. width: 50%;
  678. display: flex;flex-wrap: wrap;
  679. margin-bottom: 8rpx;
  680. .item-value{
  681. max-width: 200rpx;
  682. }
  683. }
  684. }
  685. }
  686. }
  687. // 流程
  688. .process {
  689. background-color: #fff;
  690. margin-top: 24rpx;
  691. padding: 24rpx 32rpx;
  692. .title {
  693. color: rgba(51, 51, 51, 1);
  694. font-size: 32rpx;
  695. }
  696. .u-time-axis-item{
  697. //margin-bottom: 76rpx;
  698. }
  699. .u-time-axis {
  700. //padding: 18rpx 40rpx;
  701. }
  702. .u-node {
  703. width: 18rpx;
  704. height: 18rpx;
  705. border-radius: 100rpx !important;
  706. display: flex;flex-wrap: wrap;
  707. justify-content: center;
  708. align-items: center;
  709. background: #d0d0d0;
  710. }
  711. .u-order{
  712. margin-bottom: 32rpx;
  713. }
  714. .u-order-title {
  715. color: #333333;
  716. font-weight: bold;
  717. font-size: 32rpx;
  718. }
  719. .u-order-desc {
  720. margin-bottom: 16rpx;
  721. display: flex;flex-wrap: wrap;
  722. justify-content: space-between;
  723. align-items: center;
  724. .level {
  725. color: #333333;
  726. font-size: 32rpx;
  727. font-weight: bold;
  728. }
  729. .date {
  730. color: rgba(119, 119, 119, 1);
  731. }
  732. .state {
  733. color: rgba(255, 121, 0, 1);
  734. }
  735. }
  736. .u-order-time {
  737. width: 90rpx;
  738. color: #777777;
  739. font-size: 28rpx;
  740. margin-top: 16rpx;
  741. display: flex;flex-wrap: wrap;
  742. flex-direction: column;
  743. align-items: center;
  744. .photo {
  745. width: 56rpx;
  746. height: 56rpx;
  747. border-radius: 100px;
  748. margin-bottom: 4rpx;
  749. img {
  750. width: 100%;
  751. height: 100%;
  752. overflow: hidden;
  753. position: relative;
  754. }
  755. }
  756. .confirm {
  757. position: absolute;
  758. top: 46rpx;
  759. left: 56rpx;
  760. }
  761. .name {
  762. color: rgba(51, 51, 51, 1);
  763. font-size: 24rpx;
  764. }
  765. }
  766. }
  767. // .u-time-axis{
  768. // .u-time-axis-item:last-of-type{
  769. // margin-bottom: 0;
  770. // }
  771. // }
  772. // 确认出库
  773. .bottom{
  774. background-color: #fff;
  775. margin-top: 44rpx;
  776. padding: 16rpx 32rpx;
  777. z-index: 999;
  778. position: fixed;
  779. left: 0;
  780. right: 0;
  781. bottom: 0;
  782. uni-button{
  783. border-radius: 8px;
  784. background: linear-gradient(180deg, rgba(22,119,255,1) 0%,rgba(16,98,213,1) 100%);
  785. color: rgba(255, 255, 255, 1);
  786. font-size: 32rpx;
  787. line-height: 88rpx;
  788. }
  789. }
  790. </style>