applyIbDialog.vue 22 KB

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