applyIbDialog.vue 21 KB

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