index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776
  1. <template>
  2. <!-- 生产首页 -->
  3. <view class="content-box">
  4. <uni-nav-bar
  5. fixed="true"
  6. statusBar="true"
  7. left-icon="back"
  8. :title="title"
  9. background-color="#157A2C"
  10. color="#fff"
  11. @clickLeft="back"
  12. ></uni-nav-bar>
  13. <view class="top-wrapper cx">
  14. <stepsNav
  15. v-if="info.taskId && stepsList.length"
  16. :stepsList="stepsList"
  17. :taskId="info.taskId"
  18. @selectStep="selectStep"
  19. ></stepsNav>
  20. <view class="tab_box rx-sc">
  21. <view
  22. class="tab_item"
  23. :class="{ active: tabType == 1 }"
  24. @click="handTab(1)"
  25. >基本信息</view
  26. >
  27. <view
  28. class="tab_item"
  29. :class="{ active: tabType == 2 }"
  30. @click="handTab(2)"
  31. >生产明细</view
  32. >
  33. <view
  34. class="tab_item"
  35. :class="{ active: tabType == 3 }"
  36. @click="handTab(3)"
  37. >详情</view
  38. >
  39. </view>
  40. </view>
  41. <view class="list_box">
  42. <u-list @scrolltolower="scrolltolower" key="info" v-if="tabType == 1">
  43. <view class="item_list rx-bc">
  44. <text class="lable">生产工单号</text>
  45. <text>{{ info.code }}</text>
  46. </view>
  47. <view class="item_list rx-bc">
  48. <text class="lable">计划编号</text>
  49. <text>{{ info.productionPlanCode }}</text>
  50. </view>
  51. <view class="item_list rx-bc">
  52. <text class="lable">工艺路线</text>
  53. <text>{{ info.produceRoutingName }}</text>
  54. </view>
  55. <view class="item_list rx-bc">
  56. <text class="lable">批次号</text>
  57. <text> {{ info.batchNo }}</text>
  58. </view>
  59. <view class="item_list rx-bc">
  60. <text class="lable">编码</text>
  61. <text> {{ info.productCode }}</text>
  62. </view>
  63. <view class="item_list rx-bc">
  64. <text class="lable">委外状态</text>
  65. <text> {{ info.outsourceStatus | outsourceStatusText }}</text>
  66. </view>
  67. <view class="item_list rx-bc">
  68. <text class="lable">名称</text>
  69. <text>{{ info.productName }}</text>
  70. </view>
  71. <view class="item_list rx-bc">
  72. <text class="lable">牌号</text>
  73. <text>{{ info.brandNo }}</text>
  74. </view>
  75. <view class="item_list rx-bc">
  76. <text class="lable">规格</text>
  77. <text>{{ info.specification }}</text>
  78. </view>
  79. <view class="item_list rx-bc">
  80. <text class="lable">型号</text>
  81. <text>{{ info.model }}</text>
  82. </view>
  83. <view class="item_list rx-bc">
  84. <text class="lable">要求生产数量</text>
  85. <text>{{ info.formingNum }} {{ info.unit }} </text>
  86. </view>
  87. <view class="item_list rx-bc">
  88. <text class="lable">要求生产重量</text>
  89. <text>{{ info.formingWeight }} {{ info.weightUnit }}</text>
  90. </view>
  91. <view class="item_list rx-bc">
  92. <text class="lable">报工类型</text>
  93. <text>{{ info.singleReport == 1 ? "单个报工" : "批量报工" }}</text>
  94. </view>
  95. <view class="item_list rx-bc">
  96. <text class="lable">领料状态</text>
  97. <text>{{ isPickingStatus }}</text>
  98. </view>
  99. <view class="item_list rx-bc">
  100. <text class="lable">投料状态</text>
  101. <text>{{ isFeedStatus }}</text>
  102. </view>
  103. <view class="item_list rx-bc">
  104. <text class="lable">已完成生产数量</text>
  105. <text>{{ info.formedNum }}</text>
  106. </view>
  107. <view class="item_list rx-bc">
  108. <text class="lable">已完成生产重量</text>
  109. <text>{{ info.formedWeight }}</text>
  110. </view>
  111. <view class="item_list rx-bc">
  112. <text class="lable">计划开始时间</text>
  113. <text>{{ info.planStartTime }}</text>
  114. </view>
  115. <view class="item_list rx-bc">
  116. <text class="lable">计划结束时间</text>
  117. <text>{{ info.planCompleteTime }}</text>
  118. </view>
  119. </u-list>
  120. <u-list @scrolltolower="scrolltolower" key="detail" v-if="tabType == 2">
  121. <view
  122. v-for="(item, index) in produceList"
  123. :key="index"
  124. class="detail-list"
  125. >
  126. <view class="name"
  127. >{{ item.taskName }}
  128. <text v-if="index == 0" style="color: #157a2c; font-size: 32rpx">
  129. (首工序)</text
  130. >
  131. </view>
  132. <view class="list rx-bc" @click="handDetails(item)">
  133. <view class="title rx-sc">
  134. <image class="icon" src="~@/static/pda/layers.svg"></image>
  135. 待投料数量
  136. </view>
  137. <view class="rx-ec" v-if="item.firstTaskDetails.length > 0">
  138. <text style="color: #157a2c; font-size: 24rpx"> 明细</text>
  139. <image
  140. class="arrow_right2"
  141. src="~@/static/pda/arrow_right2.svg"
  142. ></image>
  143. </view>
  144. <view class="rx-ec" v-else>
  145. {{ item.waitFeedNum }}
  146. <image
  147. class="arrow_right2"
  148. src="~@/static/pda/arrow_right2.svg"
  149. ></image>
  150. </view>
  151. </view>
  152. <view class="list rx-bc" @click="handDetails(item)">
  153. <view class="title rx-sc">
  154. <image class="icon" src="~@/static/pda/check-square.svg"></image>
  155. 已投料数量
  156. </view>
  157. <view class="rx-ec" v-if="item.firstTaskDetails.length > 0">
  158. <text style="color: #157a2c; font-size: 24rpx"> 明细</text>
  159. <image
  160. class="arrow_right2"
  161. src="~@/static/pda/arrow_right2.svg"
  162. ></image>
  163. </view>
  164. <view class="rx-ec" v-else>
  165. {{ item.feedNum }}
  166. <image
  167. class="arrow_right2"
  168. src="~@/static/pda/arrow_right2.svg"
  169. ></image>
  170. </view>
  171. </view>
  172. <view class="list rx-bc">
  173. <view class="title rx-sc">
  174. <image class="icon" src="~@/static/pda/target.svg"></image>
  175. 已报工数量
  176. </view>
  177. <view class="rx-ec">
  178. {{ item.reportedNum }}
  179. <image
  180. class="arrow_right2"
  181. src="~@/static/pda/arrow_right2.svg"
  182. ></image>
  183. </view>
  184. </view>
  185. </view>
  186. </u-list>
  187. <u-list
  188. @scrolltolower="scrolltolower"
  189. key="btnDeatils"
  190. v-if="tabType == 3"
  191. >
  192. <view style="margin-top: 15px">
  193. <button class="search_btn" @click="handleDetails">报工详情</button>
  194. </view>
  195. <view style="margin-top: 15px">
  196. <button class="search_btn" @click="handleFeedDetails">
  197. 投料详情
  198. </button>
  199. </view>
  200. </u-list>
  201. </view>
  202. <!-- // 按钮组件 -->
  203. <view class="bottom-wrapper">
  204. <bottomOperate
  205. @operate="operate"
  206. @refresh="refresh"
  207. :taskObj="{
  208. currentTaskName: currentTaskName || info.taskName,
  209. currentTaskId: currentTaskId || info.taskId,
  210. workOrderId: id,
  211. existOutsource: existOutsource,
  212. }"
  213. :state="currentType"
  214. :gdStatus="info.status"
  215. :controlReportMethod="controlReportMethod"
  216. :stepsList="stepsList"
  217. :info="info"
  218. ></bottomOperate>
  219. </view>
  220. <productionDetailed ref="productionDetailedRef"> </productionDetailed>
  221. </view>
  222. </template>
  223. <script>
  224. import bottomOperate from "../../components/bottomOperate.vue";
  225. import stepsNav from "../../components/stepsNav.vue";
  226. import productionDetailed from "./productionDetailed.vue";
  227. import {
  228. getTaskInstanceList,
  229. workorderInfo,
  230. produceDetail,
  231. checkStatus,
  232. skipTask,
  233. } from "@/api/pda/workOrder.js";
  234. export default {
  235. components: {
  236. bottomOperate,
  237. stepsNav,
  238. productionDetailed,
  239. },
  240. filters: {
  241. outsourceStatusText(v) {
  242. return v == 1 ? "未委外" : v == 2 ? "委外中" : v == 3 ? "完成委外" : "";
  243. },
  244. },
  245. computed: {
  246. isFeedStatus() {
  247. const currentStep = this.stepsList?.[this.currentStepIndex];
  248. // 投料状态 0未投料 1已投料 2已报工
  249. return (
  250. this.feedStatusOption.find(
  251. (item) => item.value === currentStep?.feedStatus,
  252. )?.label || ""
  253. );
  254. },
  255. isPickingStatus() {
  256. const currentStep = this.stepsList?.[this.currentStepIndex];
  257. // 领料状态 0未领料 1领料中2已出库3已驳回
  258. return (
  259. this.pickStatusOption.find(
  260. (item) => item.value === currentStep?.pickStatus,
  261. )?.label || ""
  262. );
  263. },
  264. },
  265. data() {
  266. return {
  267. title: "",
  268. tabType: 1,
  269. id: null,
  270. stepsList: [],
  271. info: {},
  272. taskId: null,
  273. singleReport: null, // 报工类型 1单个报工 2批量报工
  274. produceList: [],
  275. feedAllow: true,
  276. currentTaskId: null,
  277. currentTaskName: null,
  278. currentType: 1,
  279. existOutsource: 0,
  280. controlReportMethod: null,
  281. clientEnvironmentId:
  282. uni.getStorageSync("userInfo") &&
  283. uni.getStorageSync("userInfo").clientEnvironmentId, // *1 主环境-601环境 2 soll-索尔环境 3 tg-碳谷环境
  284. feedNeedEquipment: 1, //投料是否要添加生产设备1是0否
  285. currentStepIndex: 0, // 当前步骤索引
  286. pickStatusOption: [
  287. {
  288. label: "未领料",
  289. value: 0,
  290. },
  291. {
  292. label: "领料中",
  293. value: 1,
  294. },
  295. {
  296. label: "已出库",
  297. value: 2,
  298. },
  299. {
  300. label: "已驳回",
  301. value: 3,
  302. },
  303. ],
  304. feedStatusOption: [
  305. {
  306. label: "未投料",
  307. value: 0,
  308. },
  309. {
  310. label: "已投料",
  311. value: 1,
  312. },
  313. {
  314. label: "已报工",
  315. value: 2,
  316. },
  317. ],
  318. };
  319. },
  320. onLoad(options) {
  321. this.title = options.title;
  322. this.id = options.id;
  323. this.singleReport = options.singleReport; // 报工类型
  324. uni.showLoading({
  325. title: "加载中",
  326. });
  327. },
  328. onShow() {
  329. this.getInfo();
  330. this.getSteps();
  331. this.produce(); // 生产明细
  332. },
  333. methods: {
  334. scrolltolower() {},
  335. handTab(type) {
  336. if (type != this.tabType) {
  337. this.tabType = type;
  338. }
  339. },
  340. getSteps() {
  341. getTaskInstanceList(this.id).then((res) => {
  342. // for(let i = 0; i < res.length; i++) {
  343. // if(res[i].taskTypeName == '自然干燥' ||res[i].taskTypeName == '升温干燥') {
  344. // res[i - 1].btns = [ { name: '更换周转车', type: 'turnover'}]
  345. // }
  346. // }
  347. this.stepsList = res;
  348. this.setTypeFn();
  349. });
  350. },
  351. refresh() {
  352. console.log(1);
  353. this.getInfo();
  354. },
  355. getInfo() {
  356. workorderInfo(this.id)
  357. .then((res) => {
  358. console.log(res, 99999999999);
  359. this.info = res;
  360. this.taskId = res.taskId;
  361. this.setTypeFn();
  362. this.feedStatus();
  363. uni.hideLoading();
  364. })
  365. .catch(() => {
  366. uni.hideLoading();
  367. });
  368. },
  369. setTypeFn() {
  370. this.stepsList.length &&
  371. this.stepsList.find((f) => {
  372. let id = this.currentTaskId || this.taskId;
  373. if (f.taskId == id) {
  374. ((this.currentType = f.type),
  375. (this.existOutsource = f.existOutsource));
  376. this.controlReportMethod = f.controlReportMethod;
  377. this.currentStepIndex = f.index;
  378. }
  379. });
  380. },
  381. feedStatus() {
  382. let taskId = this.currentTaskId || this.taskId;
  383. checkStatus(this.id, taskId).then((res) => {
  384. this.feedAllow = res;
  385. });
  386. },
  387. // 点击工序列表
  388. selectStep(item) {
  389. console.log("item", item);
  390. this.currentTaskId = item.taskId;
  391. this.currentTaskName = item.taskTypeName;
  392. this.existOutsource = item.existOutsource;
  393. this.currentType = item.type;
  394. this.controlReportMethod = item.controlReportMethod;
  395. this.feedNeedEquipment = item.feedNeedEquipment;
  396. this.currentStepIndex = item.index;
  397. this.feedStatus();
  398. },
  399. // 点击之后调用事件
  400. operate(type, item) {
  401. console.log(4444, type, item);
  402. // if (this.info.outsourceStatus == 2) {
  403. // uni.showToast({
  404. // title: "工单在委外中",
  405. // icon: "none",
  406. // })
  407. // return false
  408. // }
  409. if (this.info.status == 9) {
  410. uni.showToast({
  411. title: "工单在暂停中",
  412. icon: "none",
  413. });
  414. return false;
  415. }
  416. if (this.info.status == 10) {
  417. uni.showToast({
  418. title: "工单已终止",
  419. icon: "none",
  420. });
  421. return false;
  422. }
  423. let url;
  424. let taskId = this.currentTaskId || this.taskId;
  425. let taskName = this.currentTaskName || this.info.taskName;
  426. if (type == "picking") {
  427. url = "/pages/pda/picking/details";
  428. let _arr = JSON.stringify([this.info.id]);
  429. url += `?arr=${encodeURIComponent(_arr)}&taskId=${taskId}`;
  430. uni.navigateTo({
  431. url,
  432. });
  433. }
  434. // 投料
  435. else if (type == "feeding") {
  436. // this.outsourceForm.isFirstTask
  437. // 碳谷走老逻辑 批量走 老逻辑
  438. if (this.clientEnvironmentId == 3 || this.info.singleReport !== 1) {
  439. url = "/pages/pda/feeding/details";
  440. let _arr = JSON.stringify([this.info.id]);
  441. url += `?arr=${encodeURIComponent(
  442. _arr,
  443. )}&taskId=${taskId}&taskName=${taskName}&type=${type}&feedNeedEquipment=${
  444. this.feedNeedEquipment
  445. }`;
  446. } else {
  447. // 单个投料
  448. let arr = this.stepsList.find((f) => f.taskId == this.info.taskId);
  449. // 首工序走老逻辑
  450. console.log(arr.isFirstTask, "11111");
  451. if (arr.isFirstTask == 1) {
  452. url = "/pages/pda/feeding/details";
  453. let _arr = JSON.stringify([this.info.id]);
  454. url += `?arr=${encodeURIComponent(
  455. _arr,
  456. )}&taskId=${taskId}&taskName=${taskName}&type=${type}&feedNeedEquipment=${
  457. this.feedNeedEquipment
  458. }&taskType=${this.currentType}`;
  459. } else {
  460. // 首工序
  461. url = "/pages/pda/feeding/details";
  462. let _arr = JSON.stringify([this.info.id]);
  463. url += `?arr=${encodeURIComponent(
  464. _arr,
  465. )}&taskId=${taskId}&taskName=${taskName}&type=${type}&feedNeedEquipment=${
  466. this.feedNeedEquipment
  467. }&taskType=${this.currentType}`;
  468. }
  469. }
  470. uni.navigateTo({
  471. url,
  472. });
  473. }
  474. // 报工
  475. else if (type == "jobBooking") {
  476. // if (!this.feedAllow || this.clientEnvironmentId == 3) {
  477. // } else {
  478. // uni.showToast({
  479. // title: "请先投料",
  480. // icon: "none",
  481. // })
  482. // }
  483. url = "/pages/pda/jobBooking/index/index";
  484. url += `?id=${this.info.id}&taskId=${taskId}&taskName=${taskName}
  485. &taskType=${this.currentType}&isOutsource=${item.isOutsource || 0}
  486. &categoryId=${this.info.categoryId}&singleReport=${this.info.singleReport}`;
  487. uni.navigateTo({
  488. url,
  489. });
  490. } else if (type == "turnover") {
  491. url = "/pages/pda/turnover/index/index";
  492. url += `?workOrderId=${this.info.id}&taskId=${taskId}&taskName=${taskName}`;
  493. uni.navigateTo({
  494. url,
  495. });
  496. } else if (type == "qualityTurnover") {
  497. url = "/pages/pda/turnover/index/quality";
  498. url += `?workOrderId=${this.info.id}&taskId=${taskId}&taskName=${taskName}`;
  499. uni.navigateTo({
  500. url,
  501. });
  502. } else if (type == "sample") {
  503. url = "/pages/pda/sample/index/index";
  504. url += `?workOrderId=${this.info.id}&taskId=${taskId}&taskName=${taskName}`;
  505. uni.navigateTo({
  506. url,
  507. });
  508. } else if (type == "sampleJob") {
  509. url = "/pages/pda/sample/index/jobBooking";
  510. url += `?workOrderId=${this.info.id}&taskId=${taskId}&taskName=${taskName}`;
  511. uni.navigateTo({
  512. url,
  513. });
  514. } else if (type == "inspection") {
  515. url = "/pages/pda/sample/inspection/index";
  516. url += `?workOrderId=${this.info.id}&taskId=${taskId}&taskName=${taskName}`;
  517. uni.navigateTo({
  518. url,
  519. });
  520. } else if (type == "inspectionJob") {
  521. url = "/pages/pda/sample/inspection/job";
  522. url += `?workOrderId=${this.info.id}&taskId=${taskId}&taskName=${taskName}`;
  523. uni.navigateTo({
  524. url,
  525. });
  526. } else if (type == "warehousing") {
  527. url = "/pages/pda/warehousing/index";
  528. url += `?workOrderId=${this.info.id}&taskId=${taskId}`;
  529. uni.navigateTo({
  530. url,
  531. });
  532. } else if (type == "skip") {
  533. uni.showModal({
  534. title: "提示",
  535. content: `是否跳过${taskName}工序!`,
  536. confirmText: "确认", //这块是确定按钮的文字
  537. success: (rr) => {
  538. if (rr.confirm) {
  539. let param = {
  540. taskId: this.currentTaskId || this.taskId,
  541. workOrderId: this.id,
  542. };
  543. skipTask(param).then((res) => {
  544. console.log(res);
  545. });
  546. } else {
  547. }
  548. },
  549. });
  550. } else if (type == "outPicking") {
  551. url = "/pages/pda/picking/details";
  552. let _arr = JSON.stringify([this.info.id]);
  553. url += `?arr=${encodeURIComponent(
  554. _arr,
  555. )}&taskId=${taskId}&isOutsource=1`;
  556. uni.navigateTo({
  557. url,
  558. });
  559. }
  560. },
  561. produce() {
  562. produceDetail(this.id).then((res) => {
  563. this.produceList = res.produceDetail;
  564. });
  565. },
  566. handleDetails() {
  567. let taskId = this.currentTaskId || this.taskId;
  568. let taskName = this.currentTaskName || this.info.taskName;
  569. let url = "/pages/pda/workOrder/index/details";
  570. url += `?id=${this.info.id}&taskId=${taskId}&taskName=${taskName}&taskType=${this.currentType}`;
  571. uni.navigateTo({
  572. url,
  573. });
  574. },
  575. handleFeedDetails() {
  576. let taskId = this.currentTaskId || this.taskId;
  577. let url = "/pages/pda/feeding/bill/index";
  578. url += `?id=${this.info.id}&taskId=${taskId}`;
  579. uni.navigateTo({
  580. url,
  581. });
  582. },
  583. handDetails(item) {
  584. if (this.clientEnvironmentId == 2) {
  585. if (item.firstTaskDetails.length > 0) {
  586. this.$refs.productionDetailedRef.open(item);
  587. } else {
  588. uni.showToast({
  589. title: "暂无明细",
  590. icon: "none",
  591. });
  592. }
  593. }
  594. },
  595. },
  596. };
  597. </script>
  598. <style lang="scss" scoped>
  599. .content-box {
  600. height: 100vh;
  601. overflow: hidden;
  602. display: flex;
  603. flex-direction: column;
  604. background-color: $page-bg;
  605. }
  606. .top-wrapper {
  607. background-color: #fff;
  608. display: flex;
  609. width: 750rpx;
  610. background: #fff;
  611. align-items: center;
  612. }
  613. .tab_box {
  614. width: 100%;
  615. height: 68rpx;
  616. .tab_item {
  617. height: 68rpx;
  618. line-height: 68rpx;
  619. padding: 0 20rpx;
  620. font-size: 32rpx;
  621. color: #979c9e;
  622. }
  623. .active {
  624. box-sizing: border-box;
  625. border-bottom: 6rpx solid $theme-color;
  626. color: $theme-color;
  627. }
  628. }
  629. .list_box {
  630. flex: 1;
  631. overflow: hidden;
  632. padding: 4rpx 0;
  633. .u-list {
  634. height: 100% !important;
  635. }
  636. .item_list {
  637. width: 100%;
  638. height: 80rpx;
  639. box-sizing: border-box;
  640. padding: 0 32rpx;
  641. font-size: 32rpx;
  642. color: #979c9e;
  643. font-weight: 400;
  644. border-bottom: 1rpx solid #e3e5e5;
  645. .lable {
  646. color: #090a0a;
  647. font-weight: 500;
  648. }
  649. }
  650. .detail-list {
  651. line-height: 80rpx;
  652. .name {
  653. color: #090a0a;
  654. font-size: 32rpx;
  655. font-weight: 600;
  656. padding: 0 32rpx;
  657. box-sizing: border-box;
  658. border-bottom: 1rpx solid #e3e5e5;
  659. }
  660. .list {
  661. padding: 0 32rpx;
  662. box-sizing: border-box;
  663. border-bottom: 1rpx solid #e3e5e5;
  664. .title {
  665. font-weight: 400;
  666. color: #090a0a;
  667. }
  668. .icon {
  669. width: 36rpx;
  670. height: 36rpx;
  671. margin-right: 8rpx;
  672. }
  673. .arrow_right2 {
  674. width: 12rpx;
  675. height: 24rpx;
  676. margin-left: 8rpx;
  677. }
  678. }
  679. }
  680. }
  681. .bottom-wrapper {
  682. }
  683. .search_btn {
  684. width: 240rpx;
  685. height: 70rpx;
  686. line-height: 70rpx;
  687. padding: 0 24rpx;
  688. background: $theme-color;
  689. font-size: 32rpx;
  690. color: #fff;
  691. margin: 0;
  692. margin-left: 26rpx;
  693. }
  694. </style>