transfer.vue 22 KB

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