transfer.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820
  1. <template>
  2. <!-- 调拨钢瓶 -->
  3. <view>
  4. <u-navbar :title="headTransfer" autoBack placeholder></u-navbar>
  5. <view class="card_transfer">
  6. <!-- <view style="display: flex;align-items: center;" @click="allotSweep" v-if="allotFlag">
  7. <view class="tran_title">扫描调拨码</view>
  8. <u-icon name="scan" size="30"></u-icon>
  9. </view> -->
  10. <view style="display: flex; align-items: center;" v-if="allotFlag">
  11. <u-button style="margin-right: 30rpx;" color="#19be6b" type="success" text="选择接收人信息"
  12. @click="selectiveFlow"></u-button>
  13. <u-button type="success" color="#19be6b" text="扫描调拨码" icon="scan" @click="allotSweep"></u-button>
  14. </view>
  15. <!-- <view class="card_assigner_aaf" @click="selectDispatcher"> -->
  16. <view class="card_assigner_aaf" :class="haveSelected ? 'greyMaskCard' : ''"
  17. v-if="assignerFlag && allotFlag">
  18. <view class="step_title">流转步骤</view>
  19. <view class="flow_step_title">{{ userList.flowName || '调拨流转步骤信息' }}</view>
  20. <view class="step_title">接收人信息</view>
  21. <view class="card_avatar" style="margin-top: 10rpx;">
  22. <view style="display: flex;align-items: center;">
  23. <image class="mine_image" src="../../static/portrait.png" mode=""></image>
  24. <view class="card_user_title">
  25. <view class="mine_phone">{{userList.name || '接收人姓名'}}</view>
  26. <view class="mine_phone">{{userList.shopName || '接收人所属门店'}}</view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <!-- <view class="white_card center_in">
  32. <u-icon name="plus" size="40" color="#5ac725"></u-icon>
  33. </view> -->
  34. <!-- </view> -->
  35. <view class="cylinder_ccsfs frame">
  36. <view style="display: flex;align-items: center;justify-content: flex-end;margin-bottom: 10rpx;">
  37. <view class="blue_titleil">总数: {{totality}}</view>
  38. <view class="green_title">已选: {{checkedList.length}}</view>
  39. </view>
  40. <view class="space_between">
  41. <view class="tran_title">单位内编号</view>
  42. <view style="display: flex;flex-direction: column;">
  43. <view style="display: flex;align-items: center;">
  44. <view class="blue_titleil" @click="checkAll">全选</view>
  45. <view class="blue_titleilred" @click="Inverse">反选</view>
  46. <view class="card_right_num">
  47. <span class="blue_title">选择前</span>
  48. <view class="num_card">
  49. <u--input class="input_taaf" v-model="codeValue" type="number" fontSize="12"
  50. inputAlign="center" border="surround" @blur="howMany"></u--input>
  51. </view>
  52. <span class="blue_title">个</span>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. <view style="margin: 10px 0px 0px 0px;">
  58. <u-search v-model="cylinderNumber" shape="square" :showAction="false" placeholder="请输入单位内编码"
  59. borderColor="#e4e7ed" bgColor="#fff" @change="quickSearch"></u-search>
  60. </view>
  61. </view>
  62. <view style="width: 100%;" v-if="list.length > 0">
  63. <u-checkbox-group v-model="checkedList" @change="checkboxChange">
  64. <view style="width: 100%;display: flex;flex-direction: column;">
  65. <view class="card_dinay frame" v-for="(item,index) in list" :key="index">
  66. <view style="display: flex;align-items: center;">
  67. <u-checkbox :disabled="item.isAllot" :name="item.inner_code"
  68. :checked="item.checked"></u-checkbox>
  69. <view style="display: flex;align-items: center;margin-left: 20rpx;">
  70. <view class="item_current">{{index + 1}}</view>
  71. <view class="item_title1">{{item.inner_code}}</view>
  72. </view>
  73. </view>
  74. <view class="blue_transferr" v-if="item.isAllot">调拨中</view>
  75. </view>
  76. </view>
  77. </u-checkbox-group>
  78. </view>
  79. <view style="margin-top: 20%;" v-else>
  80. <u-empty mode="list" text="暂无钢瓶"></u-empty>
  81. </view>
  82. </view>
  83. <view style="width: 100%;height: 120rpx;"></view>
  84. <view class="card_btn">
  85. <u-button style="margin-bottom: 20rpx;" type="primary" @click="submit">提交</u-button>
  86. </view>
  87. <u-popup :show="assignerShow" mode="center" round="8" closeable @close="close">
  88. <view style="margin-top: 60rpx;padding: 30rpx;width: 400rpx;">
  89. <u-button type="primary" text="选择接收人信息" @click="selectiveFlow1"></u-button>
  90. <u-button type="primary" text="扫描调拨码" icon="scan" style="margin-top: 20rpx;"
  91. @click="allotSweep"></u-button>
  92. </view>
  93. </u-popup>
  94. <u-popup :show="flowStepShow" :closeOnClickOverlay="false" mode="center" round="8" closeable @close="close">
  95. <view style="padding: 30rpx;width: 600rpx;">
  96. <view class="title_step">选择流转步骤<span>*</span></view>
  97. <view class="card_recipient frame_recip" @click="flowStepFocus">
  98. <span
  99. :style="{color:flowStepData.title ? '#000000' : '#c8c9cc'}">{{flowStepData.title || '选择流转步骤'}}</span>
  100. <u-icon name="arrow-down" size="18"></u-icon>
  101. </view>
  102. <view v-if="flowStepData.title">
  103. <view class="title_step">选择门店<span>*</span></view>
  104. <view class="card_recipient frame_recip" @click="shopFocus">
  105. <span :style="{color:shopData.title ? '#000000' : '#c8c9cc'}">{{'选择门店'}}</span>
  106. <u-icon name="arrow-down" size="18"></u-icon>
  107. </view>
  108. </view>
  109. <view v-if="shopData.title">
  110. <view class="title_step">选择接收人<span>*</span></view>
  111. <view class="card_recipient frame_recip" @click="recipientFocus">
  112. <span :style="{color:recipientData.title ? '#000000' : '#c8c9cc'}">{{'选择接收人'}}</span>
  113. <u-icon name="arrow-down" size="18"></u-icon>
  114. </view>
  115. </view>
  116. <u-button type="primary" text="确定" style="margin-top: 30rpx;" @click="allotSweep"></u-button>
  117. <u-picker :show="show" :columns="columns" @confirm="confirm" @cancel="flowCancel"></u-picker>
  118. </view>
  119. </u-popup>
  120. </view>
  121. </template>
  122. <script>
  123. export default {
  124. data() {
  125. return {
  126. totality: 0,
  127. checkedList: [],
  128. list: [],
  129. current: null,
  130. assignerFlag: true,
  131. assignerData: [],
  132. flowStep: [{
  133. id: '13',
  134. title: '气站确认空瓶到达气站'
  135. }, {
  136. id: '016',
  137. title: '气站确认重瓶到达气站'
  138. }, {
  139. id: '17',
  140. title: '司机确认重瓶从气站出库'
  141. }, {
  142. id: '11',
  143. title: '司机确认空瓶装车'
  144. }, {
  145. id: '033',
  146. title: '司机确认空瓶从门店出库'
  147. }, {
  148. id: '31',
  149. title: '门店确认重瓶卸货入库'
  150. }, {
  151. id: '35',
  152. title: '门店确认未配送重瓶返库'
  153. }, {
  154. id: '21',
  155. title: '门店回收空瓶'
  156. }, {
  157. id: '25',
  158. title: '送气员重瓶出库'
  159. }, {
  160. id: 'Unqualified',
  161. title: '回收不合格钢瓶'
  162. }],
  163. Pagination: {
  164. PageIndex: 1,
  165. PageSize: 20,
  166. Total: 0,
  167. },
  168. loadingMore: true,
  169. codeValue: '',
  170. allotFlag: true,
  171. cylinderNumber: '',
  172. assignerShow: false,
  173. flowStepShow: false,
  174. show: false,
  175. columns: [],
  176. userList: {
  177. name: '',
  178. userId: '',
  179. shopID: '',
  180. shopName: '',
  181. flowId: '',
  182. flowName: '',
  183. },
  184. // 1-扫码调拨 2-一键调拨
  185. allotType: 2,
  186. // 流转步骤
  187. flowStepData: {
  188. id: '',
  189. title: '',
  190. },
  191. // 门店
  192. shopData: {},
  193. // 接收人
  194. recipientData: {},
  195. headTransfer: '',
  196. }
  197. },
  198. watch: {
  199. list: {
  200. handler: function(newUser, oldUser) {
  201. if (newUser) {
  202. let arr = newUser
  203. for (let i = 0; i < arr.length; i++) {
  204. let flag = this.checkedList.includes(arr[i].inner_code);
  205. if (flag) {
  206. arr[i].checked = true
  207. }
  208. }
  209. this.list = arr
  210. }
  211. },
  212. deep: true
  213. }
  214. },
  215. computed: {
  216. // 定义计算属性totalPrice
  217. haveSelected: function() {
  218. let arr = false
  219. if (this.userList.userId) {
  220. arr = false
  221. } else {
  222. arr = true
  223. }
  224. return arr
  225. }
  226. },
  227. onShow() {
  228. const data = uni.getStorageSync('returnData');
  229. if (data) {
  230. const userArr = JSON.parse(data)
  231. this.userList = {
  232. ...userArr
  233. }
  234. console.log('携带的参数:', this.userList);
  235. uni.removeStorage({
  236. key: 'returnData'
  237. });
  238. }
  239. },
  240. onReachBottom() {
  241. if (!this.loadingMore) {
  242. this.getList()
  243. }
  244. },
  245. onLoad(value) {
  246. this.current = value.status
  247. if (value.allotFlag == 'false') {
  248. this.allotFlag = false
  249. this.headTransfer = '钢瓶充装'
  250. } else {
  251. this.allotFlag = true
  252. this.headTransfer = '钢瓶调拨'
  253. }
  254. },
  255. mounted() {
  256. this.getList()
  257. },
  258. methods: {
  259. // 获取列表
  260. getList() {
  261. this.loadingMore = true
  262. this.$api.get('/api/gas-cylinder-status', {
  263. page: this.Pagination.PageIndex,
  264. pageSize: this.Pagination.PageSize,
  265. status: this.current,
  266. inner_code: this.cylinderNumber,
  267. }).then(res => {
  268. if (res.code == 200) {
  269. this.totality = res.data.count
  270. const data = res.data.list
  271. data.forEach(item => {
  272. if (!item.checked) {
  273. item.checked = false
  274. }
  275. })
  276. if (this.loadingMore == true && data) {
  277. this.list = this.list.concat(data);
  278. }
  279. if (data.length < this.Pagination.PageSize) {
  280. this.loadingMore = true
  281. } else {
  282. this.loadingMore = false
  283. this.Pagination.PageIndex++
  284. }
  285. }
  286. })
  287. },
  288. // 快捷搜索
  289. quickSearch(value) {
  290. const arrValue = this.$cache.getCache('checkedList')
  291. if (arrValue) {
  292. this.checkedList = this.$cache.getCache('checkedList')
  293. }
  294. this.list = []
  295. this.getList()
  296. },
  297. // 选择调拨人、调拨步骤
  298. selectDispatcher() {
  299. this.assignerShow = true
  300. },
  301. // 选择接收人信息
  302. selectiveFlow() {
  303. this.allotType = 2
  304. uni.navigateTo({
  305. url: '/pages/information/flowStep?current=' + this.current
  306. });
  307. },
  308. selectiveFlow1() {
  309. this.assignerShow = false
  310. this.flowStepShow = true
  311. },
  312. // 流转步骤
  313. flowStepFocus() {
  314. var userInfo = this.$cache.getCache('userInfo')
  315. this.show = true
  316. this.columns = []
  317. let arrData = []
  318. if (userInfo.provUser) {
  319. if (userInfo.provUser.isorders == 0 && userInfo.provUser.userType == 3) {
  320. // 送气员端
  321. if (this.current == '1') {
  322. arrData.push('门店确认未配送重瓶返库')
  323. } else if (this.current == '2') {
  324. arrData.push('门店回收空瓶')
  325. } else {
  326. arrData.push('门店回收不合格瓶')
  327. }
  328. } else if (userInfo.provUser.userType == 3) {
  329. // 门店端
  330. if (this.current == '1') {
  331. let arrmd = ['送气员领重瓶出库', '司机确认重瓶从门店出库']
  332. arrData = arrmd
  333. } else if (this.current == '2') {
  334. arrData.push('司机确认空瓶装车')
  335. } else {
  336. arrData.push('司机回收不合格瓶')
  337. }
  338. } else if (userInfo.provUser.userType == 4) {
  339. // 司机端
  340. if (this.current == '1') {
  341. let arrsj = ['门店确认重瓶卸货入库', '气站确认重瓶到达气站']
  342. arrData = arrsj
  343. } else if (this.current == '2') {
  344. arrData.push('气站确认空瓶到达气站')
  345. } else {
  346. let arrsjbhg = ['门店回收不合格瓶', '气站回收不合格瓶']
  347. arrData = arrsjbhg
  348. }
  349. } else if (userInfo.provUser.userType == 5) {
  350. // 气站端
  351. if (this.current == '1') {
  352. arrData.push('司机确定重瓶从气站出库')
  353. } else if (this.current == '2') {
  354. arrData.push('')
  355. } else {
  356. arrData.push('司机回收不合格瓶')
  357. }
  358. }
  359. } else {
  360. // 送气员端
  361. if (this.current == '1') {
  362. arrData.push('门店确认未配送重瓶返库')
  363. } else if (this.current == '2') {
  364. arrData.push('门店回收空瓶')
  365. } else {
  366. arrData.push('门店回收不合格瓶')
  367. }
  368. }
  369. this.columns.push(arrData)
  370. },
  371. // 确定流转步骤
  372. confirm(event) {
  373. if (event.value[0] == '门店确认未配送重瓶返库') {
  374. this.flowStepData.id = '35'
  375. this.flowStepData.title = event.value[0]
  376. } else if (event.value[0] == '门店回收空瓶') {
  377. this.flowStepData.id = '21'
  378. this.flowStepData.title = event.value[0]
  379. } else if (event.value[0] == '门店回收不合格瓶') {
  380. this.flowStepData.id = this.current
  381. this.flowStepData.title = event.value[0]
  382. } else if (event.value[0] == '送气员领重瓶出库') {
  383. this.flowStepData.id = '25'
  384. this.flowStepData.title = event.value[0]
  385. } else if (event.value[0] == '司机确认重瓶从门店出库') {
  386. this.flowStepData.id = '033'
  387. this.flowStepData.title = event.value[0]
  388. } else if (event.value[0] == '司机确认空瓶装车') {
  389. this.flowStepData.id = '11'
  390. this.flowStepData.title = event.value[0]
  391. } else if (event.value[0] == '司机回收不合格瓶') {
  392. this.flowStepData.id = this.current
  393. this.flowStepData.title = event.value[0]
  394. } else if (event.value[0] == '门店确认重瓶卸货入库') {
  395. this.flowStepData.id = '31'
  396. this.flowStepData.title = event.value[0]
  397. } else if (event.value[0] == '气站确认重瓶到达气站') {
  398. this.flowStepData.id = '016'
  399. this.flowStepData.title = event.value[0]
  400. } else if (event.value[0] == '气站确认空瓶到达气站') {
  401. this.flowStepData.id = '13'
  402. this.flowStepData.title = event.value[0]
  403. } else if (event.value[0] == '门店回收不合格瓶') {
  404. this.flowStepData.id = this.current
  405. this.flowStepData.title = event.value[0]
  406. } else if (event.value[0] == '气站回收不合格瓶') {
  407. this.flowStepData.id = this.current
  408. this.flowStepData.title = event.value[0]
  409. }
  410. this.show = false
  411. },
  412. // 选择门店
  413. shopFocus() {
  414. uni.navigateTo({
  415. url: '/pages/information/flowStep'
  416. });
  417. },
  418. // 选择接收人
  419. recipientFocus() {
  420. uni.navigateTo({
  421. url: '/pages/information/storePersonnel'
  422. });
  423. },
  424. close() {
  425. this.assignerShow = false
  426. this.flowStepShow = false
  427. },
  428. // 关闭选择流转步骤
  429. flowCancel() {
  430. this.show = false
  431. },
  432. // 调拨提交
  433. submit() {
  434. if (this.allotFlag) {
  435. if (this.userList.userId) {
  436. if (this.checkedList.length > 0) {
  437. uni.showLoading({
  438. mask: true,
  439. });
  440. this.$api.post('/api/gas-cylinder-allot', {
  441. optType: this.userList.flowId,
  442. acceptUserId: Number(this.userList.userId),
  443. acceptCompanyId: Number(this.userList.shopID),
  444. innerCodeList: this.checkedList,
  445. gasCylinderStatus: this.current,
  446. allotType: this.allotType,
  447. }).then(res => {
  448. uni.hideLoading();
  449. if (res.code == 200) {
  450. this.loadingMore = true
  451. this.Pagination.PageIndex = 1
  452. this.list = []
  453. this.getList()
  454. this.checkedList = []
  455. uni.$u.toast(res.msg)
  456. this.$forceUpdate()
  457. setTimeout(() => {
  458. uni.redirectTo({
  459. url: '/pages/information/transferRecord'
  460. });
  461. }, 1500)
  462. } else {
  463. uni.$u.toast(res.data.msg)
  464. }
  465. }).catch(() => {
  466. uni.hideLoading();
  467. })
  468. } else {
  469. uni.$u.toast('请先选择调拨钢瓶')
  470. }
  471. } else {
  472. uni.$u.toast('请选择接收人')
  473. }
  474. } else {
  475. // 空瓶充装
  476. if (this.checkedList.length > 0) {
  477. // 操作记录、流转步骤接口
  478. const param = {
  479. chipUidList: this.checkedList,
  480. optType: '14',
  481. }
  482. uni.showLoading({
  483. mask: true,
  484. });
  485. this.$api.post('/api/operation-log', param).then(res => {
  486. if (res.code == 200) {
  487. this.Pagination.PageIndex = 1
  488. this.list = []
  489. this.getList()
  490. this.checkedList = []
  491. uni.$u.toast('操作成功')
  492. } else {
  493. uni.$u.toast(res.data.msg)
  494. }
  495. uni.hideLoading();
  496. }).catch(() => {
  497. uni.hideLoading();
  498. })
  499. } else {
  500. uni.$u.toast('请先选择调拨钢瓶')
  501. }
  502. }
  503. },
  504. // 扫一扫
  505. allotSweep() {
  506. this.allotType = 1
  507. // 允许从相机和相册扫码
  508. uni.scanCode({
  509. scanType: ['qrCode'],
  510. autoZoom: false,
  511. success: (res) => {
  512. console.log(res, '--------');
  513. if (res.result) {
  514. let url = res.result;
  515. function getCharactersBefore(str, char) {
  516. const index = str.indexOf(char);
  517. if (index > -1) {
  518. return str.substring(0, index);
  519. }
  520. return ''; // 如果字符不存在,返回空字符串
  521. }
  522. const title = getCharactersBefore(url, '?');
  523. if (title == 'dialCode') {
  524. this.assignerFlag = true
  525. function getCharactersBefore1(str, char) {
  526. const index = str.indexOf(char);
  527. if (index > -1) {
  528. return str.substring(index + 1);
  529. }
  530. return ''; // 如果字符不存在,返回空字符串
  531. }
  532. const arr = getCharactersBefore1(url, '?')
  533. this.assignerData = arr.split(',')
  534. this.userList.flowId = this.assignerData[0]
  535. this.userList.userId = this.assignerData[1]
  536. this.userList.name = this.assignerData[2]
  537. this.userList.shopID = this.assignerData[3]
  538. this.userList.shopName = this.assignerData[4]
  539. this.userList.flowName = this.assignerData[5]
  540. } else {
  541. uni.$u.toast('请扫描调拨码')
  542. }
  543. } else {
  544. console.log('请重新扫描');
  545. return false;
  546. }
  547. },
  548. fail: (res) => {
  549. console.log('未识别到二维码1');
  550. }
  551. })
  552. },
  553. // 流转步骤文字
  554. getflowStep(value) {
  555. let title = ''
  556. this.flowStep.forEach(item => {
  557. if (item.id == value[0]) {
  558. title = item.title
  559. }
  560. })
  561. return title
  562. },
  563. // 选择钢瓶编号
  564. checkboxChange(value) {
  565. for (let i = 0; i < this.list.length; i++) {
  566. let flag = value.includes(this.list[i].inner_code);
  567. if (flag) {
  568. this.list[i].checked = true
  569. } else {
  570. this.list[i].checked = false
  571. }
  572. }
  573. this.checkedList = this.checkedList.concat(value);
  574. this.$cache.setCache('checkedList', this.checkedList)
  575. },
  576. // 输入第几个
  577. howMany(value) {
  578. // this.checkedList = []
  579. let naxNum = value
  580. this.list.forEach((item, index) => {
  581. if (!item.isAllot) {
  582. if (index < naxNum && !item.isAllot) {
  583. item.checked = true
  584. this.checkedList.push(item.inner_code)
  585. } else {
  586. item.checked = false
  587. }
  588. } else {
  589. naxNum++
  590. }
  591. })
  592. this.$cache.setCache('checkedList', this.checkedList)
  593. },
  594. // 全选
  595. checkAll() {
  596. this.codeValue = ''
  597. this.checkedList = []
  598. for (let i = 0; i < this.list.length; i++) {
  599. if (!this.list[i].isAllot) {
  600. this.$set(this.list[i], 'checked', true)
  601. }
  602. }
  603. this.list.forEach(item => {
  604. if (item.checked) {
  605. this.checkedList.push(item.inner_code)
  606. }
  607. })
  608. this.$cache.setCache('checkedList', this.checkedList)
  609. },
  610. // 反选
  611. Inverse() {
  612. this.codeValue = ''
  613. this.checkedList = []
  614. for (let i = 0; i < this.list.length; i++) {
  615. if (!this.list[i].isAllot) {
  616. let flag = this.list[i].checked;
  617. this.$set(this.list[i], 'checked', !flag)
  618. }
  619. }
  620. this.list.forEach(item => {
  621. if (item.checked) {
  622. this.checkedList.push(item.inner_code)
  623. }
  624. })
  625. this.$cache.setCache('checkedList', this.checkedList)
  626. }
  627. }
  628. }
  629. </script>
  630. <style lang="scss">
  631. .card_transfer {
  632. padding: 0rpx 30rpx;
  633. }
  634. .card_avatar {
  635. display: flex;
  636. align-items: center;
  637. justify-content: space-between;
  638. }
  639. .mine_image {
  640. width: 100rpx;
  641. height: 100rpx;
  642. border-radius: 50%;
  643. }
  644. .card_user_title {
  645. display: flex;
  646. flex-direction: column;
  647. align-items: flex-start;
  648. }
  649. .mine_phone {
  650. margin-left: 20rpx;
  651. font-size: 30rpx;
  652. }
  653. .card_assigner_aaf {
  654. position: relative;
  655. border: 1rpx dashed #d7d7d7;
  656. margin-top: 20rpx;
  657. padding: 20rpx;
  658. background-color: #f4f4f5;
  659. }
  660. .greyMaskCard {
  661. opacity: 0.5;
  662. }
  663. .white_card {
  664. position: absolute;
  665. top: 0;
  666. left: 0;
  667. right: 0;
  668. bottom: 0;
  669. font-size: 60rpx;
  670. }
  671. .step_title {
  672. font-size: 30rpx;
  673. font-weight: 600;
  674. }
  675. .flow_step_title {
  676. font-size: 28rpx;
  677. margin: 0rpx 0rpx 10rpx 0rpx;
  678. }
  679. .tran_title {
  680. padding-left: 10rpx;
  681. font-size: 32rpx;
  682. font-weight: 600;
  683. }
  684. .cylinder_ccsfs {
  685. margin-top: 30rpx;
  686. padding-bottom: 20rpx;
  687. // border-bottom: 1rpx solid #d7d7d7;
  688. }
  689. .blue_titleil {
  690. font-size: 30rpx;
  691. color: #2979ff;
  692. margin-right: 20rpx;
  693. }
  694. .blue_titleilred {
  695. font-size: 30rpx;
  696. color: #ff9900;
  697. margin-right: 20rpx;
  698. }
  699. .blue_title {
  700. font-size: 30rpx;
  701. color: #2979ff;
  702. }
  703. .green_title {
  704. font-size: 30rpx;
  705. color: #5ac725;
  706. }
  707. .card_right_num {
  708. margin-left: 30rpx;
  709. display: flex;
  710. align-items: center;
  711. }
  712. .num_card {
  713. margin: 0rpx 8rpx;
  714. width: 60rpx;
  715. }
  716. .input_taaf {
  717. padding: 0rpx !important;
  718. }
  719. .card_dinay {
  720. display: flex;
  721. align-items: center;
  722. justify-content: space-between;
  723. width: calc(100% - 40rpx);
  724. // border-bottom: 1rpx solid #d7d7d7;
  725. padding: 30rpx 20rpx;
  726. }
  727. .item_current {
  728. width: 40rpx;
  729. color: #82848a;
  730. }
  731. .blue_transferr {
  732. color: #2979ff;
  733. font-size: 26rpx;
  734. }
  735. .item_title1 {
  736. margin-left: 10rpx;
  737. }
  738. .card_btn {
  739. position: fixed;
  740. left: 0;
  741. right: 0;
  742. bottom: 0;
  743. padding-left: 30rpx;
  744. padding-right: 30rpx;
  745. padding-top: 20rpx;
  746. background-color: #fff;
  747. padding-bottom: constant(safe-area-inset-bottom); //兼容 IOS<11.2
  748. padding-bottom: env(safe-area-inset-bottom); //兼容 IOS>11.2
  749. }
  750. .title_step {
  751. margin: 15rpx 0px;
  752. font-size: 30rpx;
  753. span {
  754. color: red;
  755. }
  756. }
  757. .card_recipient {
  758. display: flex;
  759. padding: 6px 9px;
  760. border-radius: 4px;
  761. color: #c8c9cc;
  762. span {
  763. width: 100%;
  764. font-size: 30rpx;
  765. }
  766. }
  767. // 伪元素1rpx边框
  768. .frame_recip {
  769. position: relative; //重要
  770. }
  771. .frame_recip::after {
  772. position: absolute;
  773. content: '';
  774. border: 4rpx solid #e4e7ed;
  775. border-radius: 8rpx;
  776. width: 200%;
  777. height: 200%;
  778. top: 0;
  779. left: 0;
  780. transform: scale(0.5);
  781. transform-origin: 0 0;
  782. pointer-events: none;
  783. /* 使伪元素不会阻止鼠标事件 */
  784. }
  785. </style>