form.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820
  1. <template>
  2. <view class="page-container uni-column">
  3. <view class="carrier-info uni-column">
  4. <view class="carrier-code uni-row">
  5. <text>箱号</text>
  6. <text style="margin-left: 24rpx;">{{auxiliaryDayworkItem.carrierName}}</text>
  7. </view>
  8. <view class="info-row uni-row">
  9. <view class="label">批次号</view>
  10. <view class="value">{{ auxiliaryDayworkItem.lotCode }}</view>
  11. </view>
  12. <view class="info-row uni-row">
  13. <view class="label">产品描述</view>
  14. <view class="value">{{ auxiliaryDayworkItem.product.description }}</view>
  15. </view>
  16. <view class="info-row uni-row">
  17. <view class="label">生产工序</view>
  18. <view class="value">{{ auxiliaryDayworkItem.process.processAlias }}</view>
  19. </view>
  20. <view class="info-row uni-row">
  21. <view class="label">辅助工序</view>
  22. <view class="value">{{ auxiliaryDayworkItem.auxiliaryProcess.name }}</view>
  23. </view>
  24. <view class="info-row uni-row">
  25. <view class="label">投产数量</view>
  26. <view class="value">{{ auxiliaryDayworkItem.prodNum }}</view>
  27. </view>
  28. </view>
  29. <!-- 废品信息 -->
  30. <view class="title unfit-title uni-row">
  31. <text>报工信息</text>
  32. </view>
  33. <view class="unfit-container">
  34. <view class="unfit-item-container uni-column" v-for="(item, index) in oldUnfitInfos" :key="index">
  35. <view class="resu uni-row">
  36. <view class="label">检查标准</view>
  37. <view class="value">{{ item.checkStandard }}</view>
  38. </view>
  39. <view class="resu uni-row">
  40. <view class="label">检查结果</view>
  41. <view class="value">{{ item.checkResult }}</view>
  42. </view>
  43. <view class="resu uni-row">
  44. <view class="label">超差范围</view>
  45. <view class="value">{{ item.exceedLimits }}</view>
  46. </view>
  47. <view class="resu uni-row">
  48. <view :class="'label'">检查量</view>
  49. <view class="number value">{{ item.examiningNum }}</view>
  50. <view :class="'label'">不良品量</view>
  51. <view class="value">{{ item.disqualificationNum }}</view>
  52. <view :class="'label'">废品量</view>
  53. <view class="value">{{ item.rejectNum }}</view>
  54. </view>
  55. </view>
  56. <view class="unfit-item-container uni-column" v-for="(item, index) in unfitInfos" :key="index">
  57. <view class="resu uni-row">
  58. <view class="label">报工人</view>
  59. <view class="value">{{ item.dayworkItem.nickName }}</view>
  60. </view>
  61. <view class="resu uni-row">
  62. <view class="label">开始时间</view>
  63. <view class="value">{{ item.dayworkItem.startTime }}</view>
  64. </view>
  65. <view class="resu uni-row">
  66. <view class="label">结束时间</view>
  67. <view class="value">{{ item.dayworkItem.endTime }}</view>
  68. </view>
  69. <view class="resu uni-row">
  70. <!-- <view :class="!editable() ? 'label' : ''">投产数量</view>
  71. <view class="number value">{{ item.prodNum }}</view> -->
  72. <view :class="!editable() ? 'label' : ''">合格数量</view>
  73. <view class="value">{{ item.qualifiedNum }}</view>
  74. <view :class="!editable() ? 'label' : ''">废品量</view>
  75. <input v-if="editable()" class="number" type="number" @blur="rejectNumberChange"
  76. v-model="item.rejectNum" placeholder="" />
  77. <view v-else class="value">{{ item.rejectNum }}</view>
  78. </view>
  79. </view>
  80. </view>
  81. <!-- 报工部分 -->
  82. <view class="daywork-container uni-column unfit-item-container">
  83. <view class="result uni-row">
  84. <view class="label">废品总数</view>
  85. <view class="value" style="margin-left: 10px;">{{ auxiliaryDayworkItem.rejectNum }}</view>
  86. </view>
  87. <view class="half-result uni-row">
  88. <view class="label">合格数量</view>
  89. <input v-if="editable()" class="number" type="number" v-model="auxiliaryDayworkItem.qualifiedNum"
  90. placeholder="" style="width: 140rpx" />
  91. <view v-else class="value">{{ auxiliaryDayworkItem.qualifiedNum }}</view>
  92. </view>
  93. <view class="remark uni-row">
  94. <view class="label">备注</view>
  95. <textarea v-if="editable()" v-model="auxiliaryDayworkItem.remark" />
  96. <view v-else class="value">{{ auxiliaryDayworkItem.remark }}</view>
  97. </view>
  98. <view class="btns-container uni-row">
  99. <view v-if="editable()" class="finished-btn" @click="endWork">结束报工</view>
  100. <view v-if="editable()" class="pause-btn" @click="pauseWork">暂停报工</view>
  101. </view>
  102. </view>
  103. </view>
  104. </template>
  105. <script setup>
  106. import {
  107. ref,
  108. onMounted,
  109. getCurrentInstance
  110. } from 'vue'
  111. import {
  112. onLoad,
  113. onReady,
  114. onUnload,
  115. onShow
  116. } from '@dcloudio/uni-app'
  117. import {
  118. store
  119. } from '@/store/index.js'
  120. import {
  121. getAuxiliaryDayworkItemById,
  122. finishedDaywork,
  123. pauseDaywork
  124. } from '@/api/business/auxiliaryDaywork.js'
  125. const lot = ref({})
  126. const unfitInfos = ref([]) //废品信息
  127. const oldUnfitInfos = ref([])
  128. const isEventTriggered = ref(false); // 创建一个标志位
  129. // 创建一个引用来存储最后一次请求的时间戳
  130. const lastRequestTimestamp = ref(0);
  131. const consultations = ref([]) //咨询信息
  132. const auxiliaryDayworkItem = ref({
  133. remark: "",
  134. rejectNum: 0,
  135. examiningNum: 0,
  136. status: 0,
  137. product: {},
  138. process: {},
  139. auxiliaryProcess: {}
  140. })
  141. const initStatus = ref(0)
  142. const editable = () => {
  143. // if (store.userInfo.permissions.some(item => item === 'business:outsourcedInspection:edit')) {
  144. // return true
  145. // }
  146. if (initStatus.value == 0 || initStatus.value == 1) {
  147. if (auxiliaryDayworkItem.value.creatorId == store.userInfo.userId) {
  148. return true
  149. }
  150. }
  151. // if (auxiliaryDayworkItem.value.firstUpdaterId == store.userInfo.userId) {
  152. // return true
  153. // }
  154. return false
  155. }
  156. const consul = [{
  157. value: 0,
  158. text: "待确认",
  159. type: "color: #fcab53"
  160. }, {
  161. value: 2,
  162. text: "合格",
  163. type: "color: #55ff7f"
  164. }, {
  165. value: 1,
  166. text: "不合格",
  167. type: "color: #ff0c2c"
  168. }]
  169. const range = [{
  170. value: 0,
  171. text: "待确认",
  172. type: "color: #fcab53"
  173. }, {
  174. value: 1,
  175. text: "合格",
  176. type: "color: #55ff7f"
  177. }, {
  178. value: 2,
  179. text: "不合格",
  180. type: "color: #ff0c2c"
  181. }]
  182. /***************************** 页面生命周期函数 *****************************/
  183. onMounted(() => {
  184. const instance = getCurrentInstance().proxy
  185. const eventChannel = instance.getOpenerEventChannel();
  186. eventChannel.on('outsourcedInspectionFrom', function(data) {
  187. console.log('outsourcedInspectionFrom', data)
  188. if (data && data.data) {
  189. auxiliaryDayworkItem.value.lot = data.data;
  190. }
  191. })
  192. })
  193. onShow(() => {
  194. if (store.auxiliaryDaywork != null) {
  195. uni.showLoading({
  196. title: '加载中'
  197. });
  198. auxiliaryDayworkItem.value = store.auxiliaryDaywork
  199. getAuxiliaryDayworkItemById(auxiliaryDayworkItem.value).then(res => {
  200. console.log("res", res);
  201. if (res.code == 200) {
  202. auxiliaryDayworkItem.value = res.data;
  203. initStatus.value = res.data.status
  204. unfitInfos.value = res.data.rejectList;
  205. console.log("res", res);
  206. uni.hideLoading();
  207. // getInspecion();
  208. } else {
  209. uni.showToast({
  210. icon: 'none',
  211. title: res.msg,
  212. duration: 2000
  213. })
  214. }
  215. });
  216. }
  217. })
  218. /***************************** 定义了一些方法 *****************************/
  219. //咨询文本
  220. function selectText(item) {
  221. for (var i = 0; i < consul.length; i++) {
  222. if (item.status == consul[i].value) {
  223. return consul[i].text
  224. }
  225. }
  226. }
  227. //打开电子图纸
  228. function handleDrawingMenu() {
  229. var outsourceOrderDetailId = encodeURIComponent(auxiliaryDayworkItem.value.outsourceOrderDetailId);
  230. var lotCode = encodeURIComponent(auxiliaryDayworkItem.value.lot.lotCode);
  231. // 构建查询参数字符串
  232. var queryParam = `param1=${outsourceOrderDetailId}&param2=${lotCode}`;
  233. // 使用模板字符串构建完整的URL
  234. var navigateUrl = `/pages/outsourcedDrawingMenu/index?${queryParam}`;
  235. // 导航到指定页面
  236. uni.navigateTo({
  237. url: navigateUrl
  238. });
  239. }
  240. const rejectNumberChange = () => {
  241. let sumReject = 0
  242. let sumDisqualificationNum = 0
  243. let sumExaminingNum = 0
  244. unfitInfos.value.forEach(v => {
  245. sumReject += (v.rejectNum != null && !isNaN(v.rejectNum) ? Number(v.rejectNum) : 0)
  246. sumDisqualificationNum += (v.disqualificationNum != null ? Number(v.disqualificationNum) : 0)
  247. sumExaminingNum += (v.examiningNum != null ? Number(v.examiningNum) : 0)
  248. // v.qualifiedNum = Number(v.prodNum) - Number(v.rejectNum)
  249. })
  250. auxiliaryDayworkItem.value.rejectNum = sumReject
  251. auxiliaryDayworkItem.value.disqualificationNum = sumDisqualificationNum
  252. auxiliaryDayworkItem.value.examiningNum = sumExaminingNum
  253. console.log(auxiliaryDayworkItem.value)
  254. }
  255. //查询咨询列表
  256. function getInspecion() {
  257. auxiliaryDayworkItem.value = store.processInspection
  258. selectInspecion(auxiliaryDayworkItem.value).then(res => {
  259. console.log("咨询", res);
  260. if (res.code == 200) {
  261. console.log("res", res);
  262. } else {
  263. uni.showToast({
  264. icon: 'none',
  265. title: res.msg,
  266. duration: 2000
  267. })
  268. }
  269. });
  270. }
  271. //结束报工按钮
  272. function endWork() {
  273. let unf = unfitInfos.value;
  274. for (var i = 0; i < unfitInfos.value.length; i++) {
  275. if (unf[i].rejectNum > unf[i].prodNum) {
  276. uni.showToast({
  277. icon: 'none',
  278. title: '检查量不能大于投产量'
  279. })
  280. return
  281. }
  282. }
  283. let sumReject = 0
  284. unfitInfos.value.forEach(v => {
  285. sumReject += Number(v.rejectNum)
  286. })
  287. auxiliaryDayworkItem.value.rejectNum = sumReject
  288. endSave();
  289. }
  290. // 暂停报工按钮
  291. function pauseWork() {
  292. pauseSave()
  293. }
  294. function endSave() {
  295. const currentTime = Date.now();
  296. // 检查是否已经过去了 2 秒
  297. if (currentTime - lastRequestTimestamp.value < 2000) {
  298. // 如果在 2 秒 内已经点击,那么不执行
  299. uni.showToast({
  300. icon: 'none',
  301. title: `请勿重复点击`,
  302. duration: 2000
  303. })
  304. return;
  305. }
  306. let pages = getCurrentPages();
  307. auxiliaryDayworkItem.value.rejectList = unfitInfos.value;
  308. auxiliaryDayworkItem.value.user = store.userInfo;
  309. finishedDaywork(auxiliaryDayworkItem.value).then(res => {
  310. if (res.code == 200) {
  311. let index = 0;
  312. for (let i = 0; i < pages.length; i++) {
  313. if (pages[i].$page.fullPath == "/pages/auxiliaryDaywork/index") {
  314. index = pages.length - i - 1;
  315. }
  316. }
  317. console.log("index", index);
  318. uni.navigateBack({
  319. delta: index
  320. });
  321. } else {
  322. uni.showToast({
  323. icon: 'none',
  324. title: res.msg,
  325. duration: 2000
  326. })
  327. }
  328. });
  329. }
  330. function pauseSave() {
  331. const currentTime = Date.now();
  332. // 检查是否已经过去了 2 秒
  333. if (currentTime - lastRequestTimestamp.value < 2000) {
  334. // 如果在 2 秒 内已经点击,那么不执行
  335. uni.showToast({
  336. icon: 'none',
  337. title: `请勿重复点击`,
  338. duration: 2000
  339. })
  340. return;
  341. }
  342. let pages = getCurrentPages();
  343. auxiliaryDayworkItem.value.rejectList = unfitInfos.value;
  344. auxiliaryDayworkItem.value.user = store.userInfo;
  345. pauseDaywork(auxiliaryDayworkItem.value).then(res => {
  346. if (res.code == 200) {
  347. let index = 0;
  348. for (let i = 0; i < pages.length; i++) {
  349. if (pages[i].$page.fullPath == "/pages/auxiliaryDaywork/index") {
  350. index = pages.length - i - 1;
  351. }
  352. }
  353. console.log("index", index);
  354. uni.navigateBack({
  355. delta: index
  356. });
  357. } else {
  358. uni.showToast({
  359. icon: 'none',
  360. title: res.msg,
  361. duration: 2000
  362. })
  363. }
  364. });
  365. }
  366. //咨询样式
  367. function selectType(item) {
  368. for (var i = 0; i < consul.length; i++) {
  369. if (item.status == consul[i].value) {
  370. return consul[i].type
  371. }
  372. }
  373. }
  374. const addWasteInfo = (data) => {
  375. const info = {
  376. title: data.title,
  377. checkStandard: data.standard
  378. }
  379. unfitInfos.value.push(info)
  380. }
  381. const addConsultation = (data) => {
  382. console.log(data)
  383. let info = data
  384. info.forEach(item => {
  385. item.status = 0
  386. })
  387. consultations.value = info
  388. isEventTriggered.value = true; // 更新标志位状态
  389. }
  390. /***************************** 定义了一些事件 *****************************/
  391. // 添加不合格信息
  392. const handleAddWaste = () => {
  393. let info = {}
  394. unfitInfos.value.push(info)
  395. // 监听事件,暂时不用,后续会使用
  396. // uni.$once('addWasteInfoEvent', (data) => {
  397. // addWasteInfo(data)
  398. // })
  399. // uni.navigateTo({
  400. // url: "/pages/processInspection/options"
  401. // })
  402. }
  403. // 删除不合格信息
  404. const handleDelWaste = (index) => {
  405. uni.showModal({
  406. title: '提示',
  407. content: '确定删除该项?',
  408. success: function(res) {
  409. if (res.confirm) {
  410. unfitInfos.value.splice(index, 1)
  411. rejectNumberChange()
  412. } else if (res.cancel) {
  413. return
  414. }
  415. }
  416. })
  417. }
  418. // 咨询
  419. const handleAddConsultation = () => {
  420. isEventTriggered.value = false;
  421. // 监听事件
  422. uni.$once('wasteConsultationEvent', (data) => {
  423. if (!isEventTriggered.value) {
  424. // 如果事件尚未触发,则执行事件触发逻辑
  425. addConsultation(data)
  426. }
  427. })
  428. uni.navigateTo({
  429. url: "/pages/outsourcedInspection/consultation",
  430. success: (res) => {
  431. // 通过eventChannel向被打开页面传送数据
  432. res.eventChannel.emit("outsourcedInspectionConsultation", {
  433. data: auxiliaryDayworkItem.value.lot
  434. })
  435. }
  436. })
  437. }
  438. </script>
  439. <style lang="scss">
  440. .page-container {
  441. // height: 100%;
  442. background-color: #ececec;
  443. font-size: 28rpx;
  444. >.title {
  445. font-weight: 700;
  446. margin: 24rpx 16rpx;
  447. }
  448. }
  449. .carrier-info {
  450. margin: 32rpx 16rpx 0 16rpx;
  451. padding: 24rpx;
  452. background-color: #ffffff;
  453. border-radius: 8rpx;
  454. .carrier-code {
  455. font-size: 32rpx;
  456. font-weight: 700;
  457. }
  458. .info-row {
  459. margin-top: 16rpx;
  460. color: #767676;
  461. .label {
  462. width: 160rpx;
  463. }
  464. .drawing-btn {
  465. padding: 12rpx 32rpx;
  466. background-color: #0055ff;
  467. color: #ffffff;
  468. border-radius: 12rpx;
  469. margin-left: auto;
  470. font-size: 28rpx;
  471. }
  472. .value {
  473. flex: 1;
  474. textarea {
  475. flex: 1;
  476. border: 1px solid #888888;
  477. box-sizing: border-box;
  478. padding: 16rpx;
  479. }
  480. }
  481. }
  482. }
  483. .unfit-title {
  484. margin-bottom: 24rpx;
  485. justify-content: space-between;
  486. align-items: center;
  487. text {
  488. font-size: 28rpx;
  489. font-weight: 700;
  490. }
  491. .add-btn {
  492. margin-right: 26rpx;
  493. padding: 12rpx 32rpx;
  494. background-color: #a4adb3;
  495. color: #ffffff;
  496. border-radius: 12rpx;
  497. font-size: 24rpx;
  498. }
  499. }
  500. .unfit-container {
  501. padding: 24rpx;
  502. margin: 0 16rpx;
  503. background-color: #ffffff;
  504. border-radius: 12rpx;
  505. .unfit-item-container {
  506. position: relative;
  507. >* {
  508. margin-bottom: 24rpx;
  509. }
  510. .title {
  511. font-weight: 700;
  512. justify-content: space-between;
  513. align-items: center;
  514. image {
  515. width: 40rpx;
  516. height: 40rpx;
  517. }
  518. }
  519. .standard {}
  520. .resu {
  521. width: 100%;
  522. align-items: center;
  523. input {
  524. margin-left: 20rpx;
  525. width: 200rpx;
  526. height: 56rpx;
  527. flex: 1;
  528. border: 1px solid #9f9f9f;
  529. font-size: 28rpx;
  530. }
  531. .label {
  532. width: 160rpx;
  533. }
  534. .value {
  535. flex: 1;
  536. textarea {
  537. flex: 1;
  538. border: 1px solid #888888;
  539. box-sizing: border-box;
  540. padding: 16rpx;
  541. }
  542. }
  543. }
  544. .result {
  545. border-bottom: 1px solid #9f9f9f;
  546. padding-bottom: 32rpx;
  547. align-items: center;
  548. .label {
  549. width: 160rpx;
  550. }
  551. .value {
  552. flex: 1;
  553. textarea {
  554. flex: 1;
  555. border: 1px solid #888888;
  556. box-sizing: border-box;
  557. padding: 16rpx;
  558. }
  559. }
  560. input {
  561. width: 280rpx;
  562. height: 56rpx;
  563. border: 1px solid #9f9f9f;
  564. font-size: 28rpx;
  565. &.number {
  566. width: 104rpx;
  567. text-align: left;
  568. }
  569. }
  570. }
  571. .half-result {
  572. border-bottom: 1px solid #9f9f9f;
  573. padding-bottom: 32rpx;
  574. align-items: center;
  575. .label {
  576. width: 160rpx;
  577. }
  578. .value {
  579. flex: 1;
  580. textarea {
  581. flex: 1;
  582. border: 1px solid #888888;
  583. box-sizing: border-box;
  584. padding: 16rpx;
  585. }
  586. }
  587. input {
  588. width: 140rpx;
  589. height: 56rpx;
  590. border: 1px solid #9f9f9f;
  591. font-size: 28rpx;
  592. &.number {
  593. text-align: left;
  594. }
  595. }
  596. }
  597. }
  598. .unfit-item-container:last-child {
  599. .result {
  600. border-bottom: none;
  601. padding-bottom: 0;
  602. }
  603. }
  604. }
  605. .consultation-container {
  606. margin: 0 16rpx;
  607. padding: 24rpx;
  608. background-color: #ffffff;
  609. border-radius: 8rpx;
  610. .consultation-item-container {
  611. margin-bottom: 24rpx;
  612. border-bottom: 2px solid #888888;
  613. padding-bottom: 24rpx;
  614. }
  615. .consultation-item-container:last-child {
  616. margin-bottom: 0;
  617. border-bottom: 0;
  618. padding-bottom: 0;
  619. }
  620. .question,
  621. .answer {
  622. .label {
  623. justify-content: space-between;
  624. margin-bottom: 16rpx;
  625. font-weight: 700;
  626. }
  627. .content {
  628. line-height: 40rpx;
  629. }
  630. }
  631. .answer {
  632. margin-top: 24rpx;
  633. }
  634. }
  635. .daywork-container {
  636. margin-top: 24rpx;
  637. padding: 24rpx;
  638. background-color: #ffffff;
  639. border: 1px solid #bcbcbc;
  640. .result {
  641. align-items: center;
  642. .label {
  643. width: 112rpx;
  644. }
  645. input {
  646. flex: 1;
  647. height: 56rpx;
  648. border: 1px solid #9f9f9f;
  649. font-size: 28rpx;
  650. text-align: center;
  651. }
  652. }
  653. .half-result {
  654. align-items: center;
  655. .label {
  656. width: 112rpx;
  657. }
  658. input {
  659. width: 20px;
  660. height: 56rpx;
  661. border: 1px solid #9f9f9f;
  662. font-size: 28rpx;
  663. text-align: center;
  664. &.number {
  665. width: 104rpx;
  666. text-align: left;
  667. }
  668. }
  669. }
  670. .remark {
  671. margin-top: 24rpx;
  672. .label {
  673. width: 112rpx;
  674. }
  675. textarea {
  676. flex: 1;
  677. border: 1px solid #9f9f9f;
  678. height: 168rpx;
  679. }
  680. }
  681. .btns-container {
  682. margin-top: 24rpx;
  683. .finished-btn {
  684. display: flex;
  685. flex: 1;
  686. height: 80rpx;
  687. background-color: #fc6565;
  688. color: #ffffff;
  689. text-align: center;
  690. justify-content: center;
  691. align-items: center;
  692. border-radius: 8rpx;
  693. }
  694. .pause-btn {
  695. display: flex;
  696. flex: 1;
  697. height: 80rpx;
  698. background-color: #393cfc;
  699. color: #ffffff;
  700. text-align: center;
  701. justify-content: center;
  702. align-items: center;
  703. border-radius: 8rpx;
  704. }
  705. .question-btn {
  706. width: 80rpx;
  707. align-items: flex-end;
  708. image {
  709. width: 48rpx;
  710. height: 48rpx;
  711. }
  712. text {
  713. font-size: 24rpx;
  714. }
  715. }
  716. }
  717. }
  718. </style>