pharmacyDetails.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  1. <template>
  2. <view class="pharmacyDetails">
  3. <view class="pharmacyDetails_title">
  4. <view class="pharmacyDetails_tab" :class="{ 'active': selectedLabelSlots === item.id }" v-for="item in tabs"
  5. :key="item.id" @click="clickHandler(item.id)">
  6. <view class="pharmacyDetails_label">
  7. {{ item.label }}
  8. </view>
  9. </view>
  10. </view>
  11. <view class="page_item_wrap">
  12. <view class="page_item">
  13. <view class="page_item_top">
  14. <view class="page_item_top-inner" v-show="selectedLabelSlots == 1">
  15. <view class="page_item_top_L">
  16. <text class="L_text">请领单:{{ infoDATA.packid }}</text>
  17. </view>
  18. <view class="page_item_top_R">
  19. <text class="L_iocn">{{
  20. infoDATA.drugsState && infoDATA.drugsState.name
  21. }}</text>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="page_item_cont" v-show="selectedLabelSlots == 1">
  26. <view class="page_item_cont_B">
  27. <view class="page_item_cont_title">
  28. <text>记账时间</text>
  29. <text class="text_big">
  30. <text>{{ infoDATA.creatTime }}</text>
  31. </text>
  32. </view>
  33. </view>
  34. <view class="page_item_cont_C">
  35. <view class="page_item_cont_title_C">
  36. <text>请领科室</text>
  37. <text class="text_big">
  38. <text>{{ infoDATA.target && infoDATA.target.dept }}</text>
  39. </text>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="page_item_cont" v-show="selectedLabelSlots == 2">
  44. <view class="page_item_cont_C" v-for="(item,i) in queryProcessList" :key="i">
  45. <view class="page_item_cont_title_C">
  46. <text>{{item.operationType?item.operationType.name:''}}</text>
  47. <text class="text_big">
  48. <text>{{ item.username || '暂无' }}</text>
  49. </text>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="L"></view>
  54. <view class="R"></view>
  55. </view>
  56. <view class="L-l"></view>
  57. <view class="R-l"></view>
  58. </view>
  59. <view v-if="infoDATA.drugsState && infoDATA.drugsState.value == 4&&infoDATA.launch.id==loginUser.dept.id"
  60. class="btn-wrap">
  61. <button class="cube-toolbar-item1" :loading="isLoading" :disabled="isLoading" @click="dispensing(4)"
  62. v-if="infoDATA.drugsState && infoDATA.drugsState.value == 4&&infoDATA.launch.id==loginUser.dept.id">
  63. 核对完成
  64. </button>
  65. <button class="cube-toolbar-item1" :loading="isOLoading" :disabled="isOLoading" @click="nursetake()">
  66. 护士自取
  67. </button>
  68. </view>
  69. <button class="cube-toolbar-item" :loading="isOLoading" :disabled="isOLoading" @click="nursetake()"
  70. v-if="infoDATA.drugsState && infoDATA.drugsState.value == 8&&infoDATA.launch.id==loginUser.dept.id">
  71. 护士自取
  72. </button>
  73. <button class="cube-toolbar-item" :loading="isLoading" :disabled="isLoading" @click="dispensing(1)"
  74. v-if="infoDATA.drugsState && infoDATA.drugsState.value == 1&&infoDATA.launch.id==loginUser.dept.id">
  75. 开始配药
  76. </button>
  77. <view v-if="infoDATA.drugsState && infoDATA.drugsState.value == 2&&infoDATA.launch.id==loginUser.dept.id"
  78. class="btn-wrap">
  79. <button class="cube-toolbar-item1" :loading="isLoading" :disabled="isLoading" @click="dispensing(2)">
  80. 进行核对
  81. </button>
  82. <button class="cube-toolbar-item1" :loading="isTLoading" :disabled="isTLoading" @click="replaceOperator()">
  83. 替换配药人
  84. </button>
  85. </view>
  86. <!-- 护士自取账号弹窗 -->
  87. <selectAccount v-if="hosModels.disjunctor" :title="hosModels.title" :disjunctor="hosModels.disjunctor" @ok="hosOk"
  88. @cancel="hosCancel">
  89. </selectAccount>
  90. </view>
  91. </template>
  92. <script>
  93. import selectAccount from "@/components/selectAccount/selectAccount.vue";
  94. import {
  95. get,
  96. post,
  97. SM,
  98. webHandle
  99. } from "../../http/http.js";
  100. export default {
  101. data() {
  102. return {
  103. selectedLabelSlots: 1,
  104. tabs: [{
  105. id: 1,
  106. label: "基础信息",
  107. },
  108. {
  109. id: 2,
  110. label: "流程信息",
  111. }
  112. ],
  113. infoDATA: [],
  114. isLoading: false,
  115. isTLoading: false,
  116. isOLoading: false,
  117. loginUser: {}, //当前登录用户
  118. // 护士自取弹窗model
  119. hosModels: {
  120. disjunctor: false,
  121. },
  122. queryProcessList: [],
  123. };
  124. },
  125. components: {
  126. selectAccount
  127. },
  128. methods: {
  129. // tab切换
  130. clickHandler(id) {
  131. this.selectedLabelSlots = id;
  132. if (id == 1) {
  133. this.queryBase(this.queryObj);
  134. } else if (id == 2) {
  135. this.queryProcess(this.queryObj);
  136. }
  137. },
  138. // 确认
  139. hosOk(data) {
  140. console.log(data);
  141. const {
  142. accountName,
  143. account,
  144. accountId
  145. } = data;
  146. if (!accountName && !account) {
  147. //没有填写交接人
  148. uni.showModal({
  149. title: '提示',
  150. content: "请填写账号!",
  151. showCancel: false,
  152. success: function(res) {
  153. if (res.confirm) {
  154. console.log('用户点击确定');
  155. } else if (res.cancel) {
  156. console.log('用户点击取消');
  157. }
  158. }
  159. });
  160. return;
  161. } else if (!accountName && account || accountName && !account) {
  162. //没有填写
  163. uni.showModal({
  164. title: '提示',
  165. content: "请填写正确的账号!",
  166. showCancel: false,
  167. success: function(res) {
  168. if (res.confirm) {
  169. console.log('用户点击确定');
  170. } else if (res.cancel) {
  171. console.log('用户点击取消');
  172. }
  173. }
  174. });
  175. return;
  176. }
  177. this.hosModels.disjunctor = false;
  178. //请求接口
  179. uni.showLoading({
  180. title: "加载中",
  181. mask: true,
  182. });
  183. let postData = {
  184. id: this.infoDATA.id,
  185. packId: this.infoDATA.packid,
  186. recipient: accountId,
  187. recipientName: accountName
  188. };
  189. if (this.infoDATA.gdId) {
  190. postData.gdId = this.infoDATA.gdId;
  191. }
  192. post('/drugsBag/nurseByHerself', postData).then(result => {
  193. uni.hideLoading();
  194. if (result.state == 200) {
  195. uni.showModal({
  196. title: '提示',
  197. content: result.info || "护士自取成功!",
  198. showCancel: false,
  199. success: function(res) {
  200. if (res.confirm) {
  201. uni.navigateTo({
  202. url: "../pharmacy/pharmacy",
  203. });
  204. } else if (res.cancel) {
  205. console.log('用户点击取消');
  206. }
  207. }
  208. });
  209. } else {
  210. uni.showModal({
  211. title: '提示',
  212. content: "请求失败!",
  213. showCancel: false,
  214. success: function(res) {
  215. if (res.confirm) {
  216. console.log('用户点击确定');
  217. } else if (res.cancel) {
  218. console.log('用户点击取消');
  219. }
  220. }
  221. });
  222. }
  223. })
  224. },
  225. // 取消
  226. hosCancel() {
  227. this.hosModels.disjunctor = false;
  228. },
  229. // 护士自取
  230. nursetake() {
  231. this.hosModels = {
  232. title: '填写账号',
  233. disjunctor: true,
  234. }
  235. },
  236. // 替换配药人
  237. replaceOperator() {
  238. this.isTLoading = true;
  239. uni.showLoading({
  240. title: "加载中",
  241. mask: true,
  242. });
  243. post("/drugsBag/replaceOperator", {
  244. packId: this.infoDATA.packid,
  245. }).then((result) => {
  246. this.isTLoading = false;
  247. uni.hideLoading();
  248. if (result.state == 200) {
  249. uni.showModal({
  250. title: '提示',
  251. content: result.info,
  252. showCancel: false,
  253. success: function(res) {
  254. if (res.confirm) {
  255. console.log('用户点击确定');
  256. } else if (res.cancel) {
  257. console.log('用户点击取消');
  258. }
  259. }
  260. });
  261. } else {
  262. uni.showModal({
  263. title: '提示',
  264. content: "请求失败!",
  265. showCancel: false,
  266. success: function(res) {
  267. if (res.confirm) {
  268. console.log('用户点击确定');
  269. } else if (res.cancel) {
  270. console.log('用户点击取消');
  271. }
  272. }
  273. });
  274. }
  275. })
  276. },
  277. // 开始配药,进行核对,1是待配药,2是配药中,4是核对中
  278. dispensing(type) {
  279. let msg = '';
  280. if (type == 1) {
  281. msg = '是否开始配药?'
  282. } else if (type == 2) {
  283. msg = '是否进行核对?'
  284. } else if (type == 4) {
  285. msg = '是否核对完成?'
  286. }
  287. uni.showModal({
  288. title: '提示',
  289. content: msg,
  290. success: res => {
  291. if (res.confirm) {
  292. console.log('用户点击确定');
  293. this.isLoading = true;
  294. uni.showLoading({
  295. title: "加载中",
  296. mask: true,
  297. });
  298. if (type == 1) {
  299. post("/drugsBag/changeToIng", {
  300. id: this.infoDATA.id,
  301. }).then((result) => {
  302. this.isLoading = false;
  303. uni.hideLoading();
  304. if (result.state == 200) {
  305. uni.showModal({
  306. title: '提示',
  307. content: result.info || "开始配药成功!",
  308. showCancel: false,
  309. success: function(res) {
  310. if (res.confirm) {
  311. uni.navigateTo({
  312. url: "../pharmacy/pharmacy",
  313. });
  314. } else if (res.cancel) {
  315. console.log('用户点击取消');
  316. }
  317. }
  318. });
  319. // let data = {
  320. // launchId: this.infoDATA.launch.id,
  321. // drugsBagId: this.infoDATA.id,
  322. // };
  323. // post("/drugsBag/autoDrugsBags", data).then((result1) => {
  324. // this.isLoading = false;
  325. // if (result1.status == 200) {
  326. // uni.showToast({
  327. // title: "操作成功!",
  328. // success() {
  329. // uni.navigateTo({
  330. // url: "../pharmacy/pharmacy",
  331. // });
  332. // },
  333. // });
  334. // }else if(result1.status == 501){
  335. // uni.showToast({
  336. // icon: "none",
  337. // title: result1.error,
  338. // });
  339. // }else {
  340. // uni.showToast({
  341. // icon: "none",
  342. // title: "请求失败!",
  343. // });
  344. // }
  345. // });
  346. // } else if(result.state == 503){//未建单
  347. // uni.showToast({
  348. // icon: "none",
  349. // title: result.error,
  350. // });
  351. } else {
  352. // this.isLoading = false;
  353. uni.showModal({
  354. title: '提示',
  355. content: "请求失败!",
  356. showCancel: false,
  357. success: function(res) {
  358. if (res.confirm) {
  359. console.log('用户点击确定');
  360. } else if (res.cancel) {
  361. console.log('用户点击取消');
  362. }
  363. }
  364. });
  365. }
  366. });
  367. } else if (type == 2) {
  368. post("/drugsBag/changeToCheck", {
  369. id: this.infoDATA.id,
  370. }).then((result) => {
  371. this.isLoading = false;
  372. uni.hideLoading();
  373. if (result.state == 200) {
  374. uni.showModal({
  375. title: '提示',
  376. content: result.info || "进行核对成功!",
  377. showCancel: false,
  378. success: function(res) {
  379. if (res.confirm) {
  380. uni.navigateTo({
  381. url: "../pharmacy/pharmacy",
  382. });
  383. } else if (res.cancel) {
  384. console.log('用户点击取消');
  385. }
  386. }
  387. });
  388. } else {
  389. uni.showModal({
  390. title: '提示',
  391. content: "请求失败!",
  392. showCancel: false,
  393. success: function(res) {
  394. if (res.confirm) {
  395. console.log('用户点击确定');
  396. } else if (res.cancel) {
  397. console.log('用户点击取消');
  398. }
  399. }
  400. });
  401. }
  402. });
  403. } else if (type == 4) {
  404. post("/drugsBag/checkComplete", {
  405. id: this.infoDATA.id,
  406. packId: this.infoDATA.packid
  407. }).then((result) => {
  408. this.isLoading = false;
  409. uni.hideLoading();
  410. if (result.state == 200) {
  411. uni.showModal({
  412. title: '提示',
  413. content: result.info || "核对完成成功!",
  414. showCancel: false,
  415. success: function(res) {
  416. if (res.confirm) {
  417. uni.navigateTo({
  418. url: "../pharmacy/pharmacy",
  419. });
  420. } else if (res.cancel) {
  421. console.log('用户点击取消');
  422. }
  423. }
  424. });
  425. } else {
  426. uni.showModal({
  427. title: '提示',
  428. content: "请求失败!",
  429. showCancel: false,
  430. success: function(res) {
  431. if (res.confirm) {
  432. console.log('用户点击确定');
  433. } else if (res.cancel) {
  434. console.log('用户点击取消');
  435. }
  436. }
  437. });
  438. }
  439. });
  440. }
  441. } else if (res.cancel) {
  442. console.log('用户点击取消');
  443. }
  444. }
  445. });
  446. },
  447. //基础信息查询
  448. queryBase(options) {
  449. //扫码进入详情
  450. let qrcode = options.qrcode;
  451. if (qrcode) {
  452. uni.showLoading({
  453. title: "加载中",
  454. mask: true,
  455. });
  456. post("/drugsBag/getDrugsBagByQr", {
  457. qrcode,
  458. }).then((result) => {
  459. uni.hideLoading();
  460. if (result.state == 200) {
  461. this.infoDATA = result.result;
  462. if (this.loginUser.dept.id != this.infoDATA.launch.id) {
  463. uni.showModal({
  464. title: '提示',
  465. content: "您现在所在的科室是【" + this.loginUser.dept.dept + "】,药包所在的科室是【" + this.infoDATA.launch.dept +
  466. "】,您不能进行操作",
  467. showCancel: false,
  468. success: function(res) {
  469. if (res.confirm) {
  470. console.log('用户点击确定');
  471. } else if (res.cancel) {
  472. console.log('用户点击取消');
  473. }
  474. }
  475. });
  476. }
  477. } else {
  478. uni.showToast({
  479. icon: "none",
  480. title: "请求失败!",
  481. });
  482. }
  483. });
  484. }
  485. // 点击列表进入详情
  486. let id = options.id;
  487. if (id) {
  488. uni.showLoading({
  489. title: "加载中",
  490. mask: true,
  491. });
  492. get("/api/fetchData/drugsBag/" + id).then((res) => {
  493. uni.hideLoading();
  494. if (res.status == 200) {
  495. this.infoDATA = res.data;
  496. if (this.loginUser.dept.id != this.infoDATA.launch.id) {
  497. uni.showModal({
  498. title: '提示',
  499. content: "您现在所在的科室是【" + this.loginUser.dept.dept + "】,药包所在的科室是【" + this.infoDATA.launch.dept +
  500. "】,您不能进行操作",
  501. showCancel: false,
  502. success: function(res) {
  503. if (res.confirm) {
  504. console.log('用户点击确定');
  505. } else if (res.cancel) {
  506. console.log('用户点击取消');
  507. }
  508. }
  509. });
  510. }
  511. } else {
  512. uni.showToast({
  513. icon: "none",
  514. title: "请求失败!",
  515. });
  516. }
  517. });
  518. }
  519. },
  520. // 流程信息查询
  521. queryProcess(options) {
  522. //扫码进入详情
  523. let qrcode = options.qrcode;
  524. if (qrcode) {
  525. uni.showLoading({
  526. title: "加载中",
  527. mask: true,
  528. });
  529. let postData = {
  530. idx: 0,
  531. sum: 9999,
  532. drugsBagOperationLog: {
  533. qrcode,
  534. hosId: this.loginUser.currentHospital.id
  535. }
  536. }
  537. post("/simple/data/fetchDataList/drugsBagOperationLog", postData).then((result) => {
  538. uni.hideLoading();
  539. if (result.status == 200) {
  540. this.queryProcessList = res.list;
  541. } else {
  542. uni.showToast({
  543. icon: "none",
  544. title: "请求失败!",
  545. });
  546. }
  547. });
  548. }
  549. // 点击列表进入详情
  550. let id = options.id;
  551. if (id) {
  552. uni.showLoading({
  553. title: "加载中",
  554. mask: true,
  555. });
  556. let postData = {
  557. idx: 0,
  558. sum: 9999,
  559. drugsBagOperationLog: {
  560. packid: options.packid,
  561. hosId: this.loginUser.currentHospital.id
  562. }
  563. }
  564. post("/simple/data/fetchDataList/drugsBagOperationLog", postData).then((res) => {
  565. uni.hideLoading();
  566. if (res.status == 200) {
  567. this.queryProcessList = res.list;
  568. } else {
  569. uni.showToast({
  570. icon: "none",
  571. title: "请求失败!",
  572. });
  573. }
  574. });
  575. }
  576. }
  577. },
  578. onLoad(options) {
  579. this.loginUser = uni.getStorageSync("userData").user;
  580. console.log(this.loginUser, 'loginUserloginUser')
  581. // #ifdef APP-PLUS
  582. webHandle("no", "app");
  583. // #endif
  584. // #ifdef H5
  585. webHandle("no", "wx");
  586. // #endif
  587. this.queryObj = options;
  588. this.queryBase(this.queryObj);
  589. },
  590. };
  591. </script>
  592. <style lang="less">
  593. .pharmacyDetails {
  594. background-color: rgb(249, 250, 251);
  595. padding-top: 32rpx;
  596. .pharmacyDetails_title {
  597. height: 100rpx;
  598. display: flex;
  599. align-items: center;
  600. background-color: #fff;
  601. .pharmacyDetails_tab {
  602. flex: 1;
  603. display: flex;
  604. align-items: center;
  605. .pharmacyDetails_label {
  606. display: flex;
  607. justify-content: center;
  608. align-items: center;
  609. font-size: 40rpx;
  610. width: 100%;
  611. height: 66rpx;
  612. border-radius: 32rpx;
  613. color: #666;
  614. }
  615. &.active {
  616. .pharmacyDetails_label {
  617. color: #333;
  618. background-color: #e5e9ed;
  619. }
  620. }
  621. }
  622. }
  623. .page_item_wrap {
  624. position: relative;
  625. margin-top: 32rpx;
  626. .page_item {
  627. margin-top: 16rpx;
  628. margin-bottom: 124rpx;
  629. background: #fff;
  630. border-radius: 8rpx;
  631. margin: 0 20rpx;
  632. border: 2rpx solid #e5e9ed;
  633. position: relative;
  634. overflow: hidden;
  635. padding: 0 16rpx;
  636. .L {
  637. width: 40rpx;
  638. height: 40rpx;
  639. border-radius: 50%;
  640. background: #f9fafb;
  641. position: absolute;
  642. left: -20rpx;
  643. top: 68rpx;
  644. border: 2rpx solid #e5e9ed;
  645. }
  646. .R {
  647. width: 40rpx;
  648. height: 40rpx;
  649. border-radius: 50%;
  650. background: #f9fafb;
  651. position: absolute;
  652. float: right;
  653. right: -20rpx;
  654. top: 68rpx;
  655. border: 2rpx solid #e5e9ed;
  656. }
  657. .page_item_top {
  658. height: 88rpx;
  659. border-bottom: 2rpx dashed #e5e9ed;
  660. padding: 0 16rpx;
  661. .page_item_top-inner {
  662. display: flex;
  663. justify-content: space-between;
  664. align-items: center;
  665. height: 100%;
  666. .page_item_top_L {
  667. .L_text {
  668. font-size: 32rpx;
  669. font-weight: 700;
  670. }
  671. }
  672. .page_item_top_R {
  673. font-size: 32rpx;
  674. .L_iocn {
  675. color: rgb(7, 134, 60);
  676. font-size: 36rpx;
  677. font-weight: 700;
  678. }
  679. }
  680. }
  681. }
  682. .page_item_cont {
  683. min-height: 180rpx;
  684. max-height: calc(100vh - 534rpx);
  685. overflow-y: auto;
  686. padding: 0 16rpx;
  687. text-align: left;
  688. position: relative;
  689. .text_big {
  690. font-size: 32rpx;
  691. font-weight: 700;
  692. text {
  693. font-weight: 700;
  694. line-height: 1.5;
  695. }
  696. }
  697. .line {
  698. height: 20rpx;
  699. width: 2rpx;
  700. border-left: 2rpx solid #e5e9ed;
  701. position: absolute;
  702. top: 82rpx;
  703. left: 40rpx;
  704. }
  705. .page_item_cont_T {
  706. padding-top: 28rpx;
  707. font-size: 28rpx;
  708. .page_item_cont_title {
  709. height: 100%;
  710. font-size: 32rpx;
  711. display: flex;
  712. justify-content: space-between;
  713. }
  714. }
  715. .page_item_cont_B {
  716. padding-top: 28rpx;
  717. margin-bottom: 28rpx;
  718. .page_item_cont_title {
  719. font-size: 32rpx;
  720. display: flex;
  721. justify-content: space-between;
  722. align-items: center;
  723. }
  724. }
  725. .page_item_cont_C {
  726. margin-top: 28rpx;
  727. .page_item_cont_title_C {
  728. font-size: 32rpx;
  729. display: flex;
  730. justify-content: space-between;
  731. align-items: center;
  732. }
  733. }
  734. #infos {
  735. display: none;
  736. }
  737. }
  738. }
  739. .L-l {
  740. width: 2rpx;
  741. height: 40rpx;
  742. background: #f9fafb;
  743. position: absolute;
  744. left: 20rpx;
  745. top: 72rpx;
  746. }
  747. .R-l {
  748. width: 2rpx;
  749. height: 40rpx;
  750. background: #f9fafb;
  751. position: absolute;
  752. right: 20rpx;
  753. top: 72rpx;
  754. }
  755. }
  756. .cube-toolbar-item {
  757. width: 710rpx;
  758. height: 68rpx;
  759. line-height: 68rpx;
  760. position: fixed;
  761. left: 20rpx;
  762. bottom: 160rpx;
  763. border-radius: 8rpx;
  764. background: linear-gradient(to right, #72c172, #3bb197);
  765. font-size: 36rpx;
  766. color: #fff;
  767. text-align: center;
  768. }
  769. .btn-wrap {
  770. width: 100%;
  771. display: flex;
  772. justify-content: space-between;
  773. position: fixed;
  774. left: 0;
  775. bottom: 160rpx;
  776. }
  777. .cube-toolbar-item1 {
  778. flex: 1;
  779. height: 68rpx;
  780. line-height: 68rpx;
  781. border-radius: 8rpx;
  782. margin: 0 1%;
  783. background: linear-gradient(to right, #72c172, #3bb197);
  784. font-size: 36rpx;
  785. color: #fff;
  786. text-align: center;
  787. }
  788. }
  789. </style>