applyIbDialog.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  1. <template>
  2. <cwg-popup :title="t(title)" :visible="visible" @close="closeDia" @confirm="confirmDia">
  3. <view class="dia-content">
  4. <uni-forms ref="formRef" labelWidth="200">
  5. <uni-forms-item v-if="isFormApplyIb" :label="t('Ib.Custom.Manage3')+':'" prop="customerId">
  6. <cwg-combox v-model:value="addAgentForm.customerId" :options="customerList"
  7. :placeholder="t('placeholder.choose')" filterable @change="changeCustomer" />
  8. </uni-forms-item>
  9. <view class="commission-groups">
  10. <view v-for="(group, gIndex) in commissionTemplateTableData" :key="gIndex" class="group-card">
  11. <!-- 头部开关和标题 -->
  12. <view class="group-header" @click="toggleGroup(group)">
  13. <view class="group-title">
  14. <text class="title-text">{{ group.accountGroup }}</text>
  15. </view>
  16. <view class="group-switch" @click.stop>
  17. <switch :checked="group.isOpen" @change="(e) => onGroupSwitchChange(e, group)" color="#2b5aed"
  18. style="transform:scale(0.8)" />
  19. </view>
  20. </view>
  21. <!-- 展开的内容区 -->
  22. <view v-show="group.isOpen" class="group-body">
  23. <view v-for="(item, iIndex) in group.items" :key="iIndex" class="item-row">
  24. <view class="item-title">
  25. <!-- <text class="type-badge">{{ item.dataType === 'rebates' ? 'Rebates' : 'Commissions' }}</text>-->
  26. <text class="type-text">{{ item.type }}</text>
  27. </view>
  28. <view class="item-fields">
  29. <!-- METAL -->
  30. <view class="field-col">
  31. <text class="field-label">METAL</text>
  32. <cwg-combox
  33. v-model:value="item.energy"
  34. :options="formatOptions(item.energyOptions)"
  35. :placeholder="t('placeholder.choose')"
  36. />
  37. </view>
  38. <!-- FX -->
  39. <view class="field-col">
  40. <text class="field-label">FX</text>
  41. <cwg-combox
  42. v-model:value="item.forex"
  43. :options="formatOptions(item.forexOptions)"
  44. :placeholder="t('placeholder.choose')"
  45. />
  46. </view>
  47. <!-- ENERGY -->
  48. <view class="field-col">
  49. <text class="field-label">ENERGY</text>
  50. <cwg-combox
  51. v-model:value="item.energy2"
  52. :options="formatOptions(item.energy2Options)"
  53. :placeholder="t('placeholder.choose')"
  54. />
  55. </view>
  56. <!-- CFD -->
  57. <view class="field-col">
  58. <text class="field-label">CFD</text>
  59. <cwg-combox
  60. v-model:value="item.index"
  61. :options="formatOptions(item.indexOptions)"
  62. :placeholder="t('placeholder.choose')"
  63. />
  64. </view>
  65. <!-- INDEX -->
  66. <view class="field-col">
  67. <text class="field-label">INDEX</text>
  68. <cwg-combox
  69. v-model:value="item.metal"
  70. :options="formatOptions(item.metalOptions)"
  71. :placeholder="t('placeholder.choose')"
  72. />
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </uni-forms>
  80. </view>
  81. </cwg-popup>
  82. </template>
  83. <script setup lang="ts">
  84. import { ref, reactive, computed, onMounted, onUnmounted, watch } from 'vue'
  85. import { onLoad } from '@dcloudio/uni-app'
  86. import { useI18n } from 'vue-i18n' // uni-app 中已集成,但需配置
  87. import { customApi } from '@/service/custom'
  88. import { financialApi } from '@/service/financial'
  89. import Config from '@/config/index'
  90. import { ibApi } from '@/service/ib'
  91. import useUserStore from '@/stores/use-user-store'
  92. import { lang } from '@/composables/config'
  93. const props = defineProps({
  94. paramsType: {
  95. type: String,
  96. default: '',
  97. },
  98. title: {
  99. type: String,
  100. default: 'Ib.Report.Title5',
  101. },
  102. // 是否显示弹窗
  103. visible: {
  104. type: Boolean,
  105. default: false,
  106. },
  107. // 详情tableData
  108. detail: { type: Array, default: () => ({}) },
  109. // 是否需要选择客户
  110. isFormApplyIb: {
  111. type: Boolean,
  112. default: false,
  113. },
  114. })
  115. const { Code, Host80 } = Config
  116. const { t } = useI18n()
  117. const formRef = ref(null)
  118. const addAgentForm = ref({
  119. customerId: '',
  120. })
  121. const customerList = ref([])
  122. const commissionAccountTypeSettings = ref({
  123. ecn: { selectedIndex: null, selectedItem: null, loginType: '2' },
  124. standard: { selectedIndex: null, selectedItem: null, loginType: '7' },
  125. cent: { selectedIndex: null, selectedItem: null, loginType: '8' },
  126. })
  127. const commissionAccountTypeData = ref({
  128. ecn: [],
  129. standard: [],
  130. cent: [],
  131. })
  132. const commissionTemplateTableData = ref<any[]>([])
  133. const emit = defineEmits(['close', 'confirm'])
  134. onMounted(() => {
  135. // initCommissionTemplateData(29634)
  136. })
  137. watch(() => props.visible, (val) => {
  138. if (val) {
  139. loadCustomerList()
  140. if (props.detail.id) {
  141. let params = {
  142. customerId: props.detail.id,
  143. }
  144. if (props.paramsType == 'vietnam') {
  145. params = {
  146. agentId: props.detail.id,
  147. }
  148. }
  149. initCommissionTemplateData(params)
  150. }
  151. }
  152. })
  153. const getSpreadLabelCommission = (item) => {
  154. return item.groupName || ''
  155. }
  156. const handleCommissionAccountTypeChange = (type, loginType) => {
  157. const setting = commissionAccountTypeSettings.value[type]
  158. const availableSpreads = getAvailableSpreadsCommission(loginType)
  159. if (
  160. setting.selectedIndex !== null &&
  161. setting.selectedIndex !== undefined
  162. ) {
  163. setting.selectedItem = availableSpreads[setting.selectedIndex] || null
  164. } else {
  165. setting.selectedItem = null
  166. }
  167. }
  168. const generateOptions = (currentValue) => {
  169. const options = []
  170. for (let i = 0; i <= currentValue; i++) {
  171. options.push(i)
  172. }
  173. return options
  174. }
  175. // 格式化 options 为 combox 期望的格式
  176. const formatOptions = (opts) => {
  177. if (!opts || !Array.isArray(opts)) return []
  178. return opts.map(val => ({ text: String(val), value: val }))
  179. }
  180. const toggleGroup = (group) => {
  181. group.isOpen = !group.isOpen
  182. }
  183. const onGroupSwitchChange = (e, group) => {
  184. group.isOpen = e.detail.value
  185. }
  186. const initCommissionTemplateData = async (params) => {
  187. try {
  188. const res = await ibApi.getVietnamPoints(params)
  189. if (res.code == Code.StatusOK && res.data && Array.isArray(res.data)) {
  190. const groupedData: Record<string, any[]> = {}
  191. res.data.forEach((group: any) => {
  192. const accountGroup = group.groupCategoryName || '--'
  193. const isOpen = group.valid !== undefined ? group.valid : 1
  194. if (!groupedData[accountGroup]) {
  195. groupedData[accountGroup] = []
  196. }
  197. const rebates = Array.isArray(group.rebates) ? group.rebates : []
  198. const superRebates = Array.isArray(group.superRebates) ? group.superRebates : []
  199. if (superRebates.length > 0) {
  200. const rebateRow: any = {
  201. accountGroup,
  202. groupCategoryId: group.groupCategoryId,
  203. dataType: 'rebates',
  204. type: group.rebateTypeName || 'Point',
  205. isOpen,
  206. forex: 0,
  207. index: 0,
  208. metal: 0,
  209. energy: 0,
  210. energy2: 0,
  211. energy2Max: 0,
  212. forex1: 0,
  213. index1: 0,
  214. metal1: 0,
  215. energy1: 0,
  216. }
  217. rebates.forEach((rebate: any) => {
  218. if (rebate.symbolCategory === 1) rebateRow.forex = rebate.point || 0
  219. else if (rebate.symbolCategory === 2) rebateRow.index = rebate.point || 0
  220. else if (rebate.symbolCategory === 3) rebateRow.metal = rebate.point || 0
  221. else if (rebate.symbolCategory === 4) rebateRow.energy = rebate.point || 0
  222. else if (rebate.symbolCategory === 5) rebateRow.energy2 = rebate.point || 0
  223. })
  224. superRebates.forEach((rebate: any) => {
  225. if (rebate.symbolCategory === 1) rebateRow.forex1 = rebate.point || 0
  226. else if (rebate.symbolCategory === 2) rebateRow.index1 = rebate.point || 0
  227. else if (rebate.symbolCategory === 3) rebateRow.metal1 = rebate.point || 0
  228. else if (rebate.symbolCategory === 4) rebateRow.energy1 = rebate.point || 0
  229. else if (rebate.symbolCategory === 5) rebateRow.energy2Max = rebate.point || 0
  230. })
  231. rebateRow.forexOptions = generateOptions(rebateRow.forex1)
  232. rebateRow.indexOptions = generateOptions(rebateRow.index1)
  233. rebateRow.metalOptions = generateOptions(rebateRow.metal1)
  234. rebateRow.energyOptions = generateOptions(rebateRow.energy1)
  235. rebateRow.energy2Options = generateOptions(rebateRow.energy2Max)
  236. groupedData[accountGroup].push(rebateRow)
  237. }
  238. const commissions = Array.isArray(group.commissions) ? group.commissions : []
  239. const superCommissions = Array.isArray(group.superCommissions) ? group.superCommissions : []
  240. if (superCommissions.length > 0) {
  241. const commissionRow: any = {
  242. accountGroup,
  243. groupCategoryId: group.groupCategoryId,
  244. dataType: 'commissions',
  245. type: group.commissionTypeName || 'Commission',
  246. isOpen,
  247. forex: 0,
  248. index: 0,
  249. metal: 0,
  250. energy: 0,
  251. energy2: 0,
  252. energy2Max: 0,
  253. forex1: 0,
  254. index1: 0,
  255. metal1: 0,
  256. energy1: 0,
  257. }
  258. commissions.forEach((comm: any) => {
  259. if (comm.symbolCategory === 1) commissionRow.forex = comm.point || 0
  260. else if (comm.symbolCategory === 2) commissionRow.index = comm.point || 0
  261. else if (comm.symbolCategory === 3) commissionRow.metal = comm.point || 0
  262. else if (comm.symbolCategory === 4) commissionRow.energy = comm.point || 0
  263. else if (comm.symbolCategory === 5) commissionRow.energy2 = comm.point || 0
  264. })
  265. superCommissions.forEach((comm: any) => {
  266. if (comm.symbolCategory === 1) commissionRow.forex1 = comm.point || 0
  267. else if (comm.symbolCategory === 2) commissionRow.index1 = comm.point || 0
  268. else if (comm.symbolCategory === 3) commissionRow.metal1 = comm.point || 0
  269. else if (comm.symbolCategory === 4) commissionRow.energy1 = comm.point || 0
  270. else if (comm.symbolCategory === 5) commissionRow.energy2Max = comm.point || 0
  271. })
  272. commissionRow.forexOptions = generateOptions(commissionRow.forex1)
  273. commissionRow.indexOptions = generateOptions(commissionRow.index1)
  274. commissionRow.metalOptions = generateOptions(commissionRow.metal1)
  275. commissionRow.energyOptions = generateOptions(commissionRow.energy1)
  276. commissionRow.energy2Options = generateOptions(commissionRow.energy2Max)
  277. groupedData[accountGroup].push(commissionRow)
  278. }
  279. })
  280. // 将按 accountGroup 聚合后的对象转换为包含 accountGroup 和 items 数组的结构
  281. const finalData = Object.keys(groupedData).map((accountGroup) => {
  282. return {
  283. accountGroup,
  284. // 默认不展开
  285. isOpen:groupedData[accountGroup].some(item => item.isOpen == 1) || false ,
  286. items: groupedData[accountGroup],
  287. }
  288. }).filter(item => item.items.length > 0)
  289. console.log('tableData', finalData)
  290. commissionTemplateTableData.value = finalData
  291. return
  292. }
  293. commissionTemplateTableData.value = []
  294. uni.showToast({
  295. title: res.msg || t('Ib.Custom.GetDataFailed'),
  296. icon: 'none',
  297. })
  298. } catch (error) {
  299. commissionTemplateTableData.value = []
  300. uni.showToast({ title: t('Ib.Custom.GetDataFailed'), icon: 'none' })
  301. }
  302. }
  303. // 加载客户列表
  304. const loadCustomerList = async () => {
  305. try {
  306. let res = await ibApi.customerSubsList({
  307. ibStatus: 1,
  308. })
  309. if (res.code == Code.StatusOK) {
  310. customerList.value = res.data.map(item => ({
  311. text: `${item.name || ''}-${item.cId}`,
  312. value: item.id || '',
  313. cId: item.cId, // 保存 cId 供后续提交使用
  314. })) || []
  315. } else {
  316. uni.showToast({ title: res.msg, icon: 'none' })
  317. customerList.value = []
  318. }
  319. } catch (error) {
  320. console.error('加载客户列表失败:', error)
  321. customerList.value = []
  322. } finally {
  323. }
  324. }
  325. // 客户选择改变时触发
  326. const changeCustomer = (val) => {
  327. if (val) {
  328. initCommissionTemplateData({ customId: val })
  329. } else {
  330. commissionTemplateTableData.value = []
  331. }
  332. }
  333. // 构建佣金模板points数据
  334. const buildCommissionTemplatePoints = () => {
  335. const points: any[] = []
  336. const groupedData: Record<string, any> = {}
  337. // 由于现在的 commissionTemplateTableData 是 { accountGroup, isOpen, items } 嵌套结构,需要双层遍历提取
  338. commissionTemplateTableData.value.forEach((groupObj) => {
  339. groupObj.items.forEach((row: any) => {
  340. const groupId = row.groupCategoryId
  341. if (!groupedData[groupId]) {
  342. groupedData[groupId] = {
  343. groupCategoryId: groupId,
  344. commissions: [],
  345. rebates: [],
  346. valid: groupObj.isOpen ? 1 : 0,
  347. }
  348. }
  349. // 根据dataType添加到对应的数组
  350. const pointList = row.dataType === 'commissions'
  351. ? groupedData[groupId].commissions
  352. : groupedData[groupId].rebates
  353. // 添加各个symbolCategory的数据
  354. if (row.forex !== undefined && row.forex !== null) {
  355. pointList.push({ symbolCategory: 1, point: row.forex }) // FX
  356. }
  357. if (row.index !== undefined && row.index !== null) {
  358. pointList.push({ symbolCategory: 2, point: row.index }) // CFD
  359. }
  360. if (row.metal !== undefined && row.metal !== null) {
  361. pointList.push({ symbolCategory: 3, point: row.metal }) // INDEX
  362. }
  363. if (row.energy !== undefined && row.energy !== null) {
  364. pointList.push({ symbolCategory: 4, point: row.energy }) // METAL
  365. }
  366. if (row.energy2 !== undefined && row.energy2 !== null) {
  367. pointList.push({ symbolCategory: 5, point: row.energy2 }) // Energy
  368. }
  369. })
  370. })
  371. // 转换为数组格式
  372. Object.keys(groupedData).forEach((groupId) => {
  373. const group = groupedData[groupId]
  374. if (group.commissions.length > 0 || group.rebates.length > 0) {
  375. points.push({
  376. groupCategoryId: group.groupCategoryId,
  377. commissions: group.commissions.length > 0 ? group.commissions : undefined,
  378. rebates: group.rebates.length > 0 ? group.rebates : undefined,
  379. valid: group.valid,
  380. })
  381. }
  382. })
  383. return points
  384. }
  385. const toVerified = () => {
  386. // 确认按钮点击事件
  387. emit('confirm')
  388. }
  389. const closeDia = () => {
  390. commissionTemplateTableData.value = []
  391. emit('close')
  392. }
  393. const confirmDia = async () => {
  394. // 越南分配也用,看怎么调整提交接口
  395. let customId, cId
  396. // 越南佣金分配不用判断customId
  397. if (props.paramsType !== 'vietnam') {
  398. if (!props.isFormApplyIb) {
  399. if (!props.detail.id) {
  400. uni.showToast({ title: t('Ib.Custom.CustomerNotExist'), icon: 'none' })
  401. return
  402. }
  403. const applyIbRowData: any = props.detail || {}
  404. customId = applyIbRowData.id
  405. cId = applyIbRowData.cId
  406. } else {
  407. // 从其他地方打开,需要选择客户
  408. if (!addAgentForm.value.customerId) {
  409. uni.showToast({ title: t('placeholder.choose'), icon: 'none' })
  410. return
  411. }
  412. // 从客户列表中找到选中的客户对象
  413. const selectedCustomer: any = customerList.value.find(
  414. (item: any) => item.value === addAgentForm.value.customerId,
  415. )
  416. if (!selectedCustomer) {
  417. uni.showToast({ title: t('Ib.Custom.CustomerNotFound'), icon: 'none' })
  418. return
  419. }
  420. customId = selectedCustomer.value
  421. cId = selectedCustomer.cId
  422. }
  423. }
  424. try {
  425. // 构建points数据
  426. const points = buildCommissionTemplatePoints()
  427. // console.log(points)
  428. // 调用新增代理申请接口
  429. let params = {
  430. customId: customId,
  431. cId: cId,
  432. points: points,
  433. }
  434. if (props.paramsType === 'vietnam') {
  435. params = {
  436. agentId: props.detail.id,
  437. points: points,
  438. }
  439. }
  440. // 越南分配和新增代理
  441. const res = props.paramsType === 'vietnam' ? await ibApi.saveVietnamPoints(params) : await ibApi.agentApplyAddPoint(params)
  442. if (res.code == Code.StatusOK) {
  443. uni.showToast({
  444. title: res.msg || props.paramsType ? t('Ib.Custom.SaveSuccess') : t('Ib.Custom.SubmitSuccess'),
  445. icon: 'success',
  446. })
  447. closeDia()
  448. emit('confirm')
  449. } else {
  450. uni.showToast({
  451. title: res.msg || props.paramsType ? t('Ib.Custom.SaveFailed') : t('Ib.Custom.SubmitFailed'),
  452. icon: 'none',
  453. })
  454. }
  455. } catch (error) {
  456. console.error('新增代理失败或保存越南分配数据失败:', error)
  457. uni.showToast({ title: props.paramsType ? t('Ib.Custom.SaveFailed') : t('Ib.Custom.SubmitFailed'), icon: 'none' })
  458. }
  459. }
  460. </script>
  461. <style lang="scss" scoped>
  462. @import "@/uni.scss";
  463. .commission-groups {
  464. margin-top: px2rpx(10);
  465. padding-bottom: px2rpx(150); /* 预留底部空间,防止最下面的下拉框被截断或遮挡 */
  466. }
  467. .group-card {
  468. border: 1px solid #ebeef5;
  469. border-radius: px2rpx(6);
  470. margin-bottom: px2rpx(15);
  471. background-color: #fff;
  472. /* overflow: hidden; 移除此属性,防止下拉框被遮挡截断 */
  473. }
  474. .group-header {
  475. display: flex;
  476. justify-content: space-between;
  477. align-items: center;
  478. padding: px2rpx(10) px2rpx(15);
  479. background-color: #f5f7fa;
  480. border-bottom: 1px solid #ebeef5;
  481. border-top-left-radius: px2rpx(6);
  482. border-top-right-radius: px2rpx(6);
  483. }
  484. .group-title {
  485. font-size: px2rpx(14);
  486. font-weight: bold;
  487. color: #303133;
  488. }
  489. .group-body {
  490. padding: px2rpx(15);
  491. }
  492. .item-row {
  493. margin-bottom: px2rpx(15);
  494. padding-bottom: px2rpx(15);
  495. border-bottom: 1px dashed #ebeef5;
  496. &:last-child {
  497. margin-bottom: 0;
  498. padding-bottom: 0;
  499. border-bottom: none;
  500. }
  501. }
  502. .item-title {
  503. margin-bottom: px2rpx(10);
  504. display: flex;
  505. align-items: center;
  506. .type-badge {
  507. background-color: #e1f3d8;
  508. color: #67c23a;
  509. padding: px2rpx(2) px2rpx(8);
  510. border-radius: px2rpx(4);
  511. font-size: px2rpx(12);
  512. margin-right: px2rpx(8);
  513. }
  514. .type-text {
  515. font-size: px2rpx(13);
  516. color: #606266;
  517. }
  518. }
  519. .item-fields {
  520. display: flex;
  521. flex-wrap: wrap;
  522. gap: px2rpx(10);
  523. justify-content: flex-start;
  524. }
  525. .field-col {
  526. flex: 0 0 calc( 20% - px2rpx(10) );
  527. min-width: px2rpx(80);
  528. max-width: px2rpx(120);
  529. display: flex;
  530. flex-direction: column;
  531. .field-label {
  532. font-size: px2rpx(12);
  533. color: #909399;
  534. margin-bottom: px2rpx(5);
  535. }
  536. }
  537. .dialog-account-adjust-body {
  538. padding: 20rpx;
  539. }
  540. .account-adjust-cid-row {
  541. display: flex;
  542. align-items: center;
  543. margin-bottom: 20rpx;
  544. }
  545. .account-adjust-cid-label {
  546. color: #606266;
  547. margin-right: px2rpx(5);
  548. }
  549. .account-adjust-cid-value {
  550. font-weight: bold;
  551. color: #303133;
  552. }
  553. .form-section {
  554. margin-bottom: 20rpx;
  555. }
  556. .section-title {
  557. display: flex;
  558. align-items: center;
  559. margin-bottom: px2rpx(15);
  560. font-weight: bold;
  561. font-size: px2rpx(14);
  562. }
  563. .section-title i {
  564. margin-right: 10rpx;
  565. }
  566. .account-type-grid {
  567. }
  568. .account-type-card {
  569. display: flex;
  570. flex-direction: column;
  571. margin-bottom: px2rpx(20);
  572. }
  573. .account-type-label {
  574. margin-bottom: 10rpx;
  575. font-size: 14rpx;
  576. }
  577. .account-select {
  578. width: 100%;
  579. }
  580. .dialog-account-adjust-footer {
  581. padding: 20rpx;
  582. }
  583. .account-adjust-notes-panel {
  584. margin-bottom: 20rpx;
  585. }
  586. .account-adjust-notes-section {
  587. background-color: #f5f7fa;
  588. padding: 15rpx;
  589. border-radius: 8rpx;
  590. }
  591. .account-adjust-notes-title {
  592. display: flex;
  593. align-items: center;
  594. margin-bottom: px2rpx(10);
  595. font-weight: bold;
  596. font-size: px2rpx(13);
  597. }
  598. .account-adjust-notes-title-icon {
  599. margin-right: px2rpx(10);
  600. }
  601. .account-adjust-notes-list {
  602. margin-left: px2rpx(20);
  603. color: #606266;
  604. font-size: px2rpx(13);
  605. }
  606. .account-adjust-notes-list .list {
  607. margin-bottom: px2rpx(5);
  608. margin-left: px2rpx(10);
  609. }
  610. .account-adjust-footer-buttons {
  611. display: flex;
  612. justify-content: flex-end;
  613. gap: 15rpx;
  614. }
  615. .account-adjust-footer-buttons button {
  616. min-width: 120rpx;
  617. }
  618. </style>