applyIbDialog.vue 21 KB

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