applySignalDialog.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. <template>
  2. <cwg-popup :title="t('Documentary.TundManagement.item41')" :visible="visible" @close="closeDia" @confirm="confirmDia"
  3. width="700px">
  4. <uni-forms ref="formRef" :model="formData" :rules="rules" labelWidth="200" label-position="top" class="crm-form">
  5. <view class="dia-content">
  6. <!-- 名片信息 -->
  7. <view class="fllow-title">
  8. <text class="title">{{ t('Documentary.tradingCenter.item126') }}</text>
  9. </view>
  10. <view class="form-item">
  11. <uni-forms-item :label="t('Documentary.console.item20')" name="nickname">
  12. <uni-easyinput v-model="formData.nickname" :placeholder="t('placeholder.input')" />
  13. </uni-forms-item>
  14. </view>
  15. <view class="form-row">
  16. <view class="form-col">
  17. <view class="form-item">
  18. <uni-forms-item :label="t('Documentary.console.item21')" name="personalSignature">
  19. <uni-easyinput type="textarea" v-model="formData.personalSignature" :maxlength="100"
  20. @input="val => filterChineseEnglishOnly('personalSignature', val)"
  21. :placeholder="t('placeholder.input')" maxlength="24" minlength="6" />
  22. </uni-forms-item>
  23. </view>
  24. </view>
  25. <view class="form-col">
  26. <view class="form-item">
  27. <uni-forms-item :label="t('Documentary.console.item22')" name="traderStrategy">
  28. <uni-easyinput type="textarea" v-model="formData.traderStrategy" :maxlength="150"
  29. @input="val => filterChineseEnglishOnly('traderStrategy', val)"
  30. :placeholder="t('placeholder.input')" />
  31. </uni-forms-item>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="tip-red">
  36. <text>{{ t('Documentary.console.item37') }}</text>
  37. </view>
  38. <!-- 账户信息 -->
  39. <view class="fllow-title">
  40. <text class="title">{{ t('Documentary.TundManagement.item29') }}<text
  41. style="color: #eb3f57; font-weight: 500">{{ t('Documentary.item3') }}</text></text>
  42. </view>
  43. <view class="form-row">
  44. <view class="form-col">
  45. <view class="form-item">
  46. <uni-forms-item :label="t('Label.TradingAccount')" name="dealLogin">
  47. <cwg-combox v-model:value="formData.dealLogin" :options="loginOptionsData"
  48. :placeholder="t('placeholder.choose')" @change="selectLogin" />
  49. </uni-forms-item>
  50. </view>
  51. </view>
  52. <view class="form-col">
  53. <view class="form-item">
  54. <uni-forms-item :label="t('Label.PlatformType')" name="platform">
  55. <cwg-combox v-model:value="formData.platform"
  56. :options="[{ text: 'MT4', value: 'MT4' }, { text: 'MT5', value: 'MT5' }]"
  57. :placeholder="t('placeholder.choose')" />
  58. </uni-forms-item>
  59. </view>
  60. </view>
  61. </view>
  62. <view class="form-row">
  63. <view class="form-col">
  64. <view class="form-item">
  65. <uni-forms-item :label="t('Label.AccountType')" name="loginType">
  66. <cwg-combox disabled v-model:value="formData.loginType" :options="accountTypeOptions"
  67. :placeholder="t('placeholder.choose')" />
  68. </uni-forms-item>
  69. </view>
  70. </view>
  71. <view class="form-col">
  72. <view class="form-item">
  73. <uni-forms-item :label="t('Label.Leverage')" name="leverage">
  74. <uni-easyinput disabled v-model="formData.leverage" :placeholder="t('placeholder.input')" />
  75. </uni-forms-item>
  76. </view>
  77. </view>
  78. </view>
  79. <!-- 展示设置 -->
  80. <view class="fllow-title">
  81. <text class="title">{{ t('Documentary.TundManagement.item32') }}</text>
  82. </view>
  83. <view class="form-row">
  84. <view class="form-col">
  85. <view class="form-item">
  86. <uni-forms-item :label="t('Documentary.TundManagement.item34')" name="historyShow">
  87. <cwg-combox v-model:value="formData.historyShow"
  88. :options="[{ text: t('Btn.item6'), value: 1 }, { text: t('Btn.item7'), value: 0 }]"
  89. :placeholder="t('placeholder.choose')" />
  90. </uni-forms-item>
  91. </view>
  92. </view>
  93. <view class="form-col">
  94. <view class="form-item">
  95. <uni-forms-item :label="t('Documentary.TundManagement.item35')" name="historyTime">
  96. <uni-datetime-picker type="date" v-model="formData.historyTime"
  97. :placeholder="t('Documentary.TundManagement.item37')" />
  98. </uni-forms-item>
  99. </view>
  100. </view>
  101. </view>
  102. <view class="form-item">
  103. <uni-forms-item :label="t('Documentary.TundManagement.item36')" name="introduceShow">
  104. <cwg-combox v-model:value="formData.introduceShow"
  105. :options="[{ text: t('Btn.item6'), value: 1 }, { text: t('Btn.item7'), value: 0 }]"
  106. :placeholder="t('placeholder.choose')" />
  107. </uni-forms-item>
  108. </view>
  109. <!-- 分润设置 -->
  110. <view class="fllow-title">
  111. <text class="title">{{ t('Documentary.TundManagement.item33') }}</text>
  112. </view>
  113. <view class="form-row">
  114. <view class="form-col">
  115. <view class="form-item">
  116. <uni-forms-item :label="t('Documentary.TundManagement.item38')" name="distributionType">
  117. <cwg-combox v-model:value="formData.distributionType"
  118. :options="[{ text: t('Documentary.TundManagement.item59'), value: 1 }]"
  119. :placeholder="t('placeholder.choose')" />
  120. </uni-forms-item>
  121. </view>
  122. </view>
  123. <view class="form-col">
  124. <view class="form-item">
  125. <uni-forms-item :label="t('Documentary.TundManagement.item39')" name="distributionRatio">
  126. <view style="display: flex; align-items: center;">
  127. <uni-easyinput v-model="formData.distributionRatio" :placeholder="t('placeholder.input')"
  128. style="flex: 1;" />
  129. <text style="margin-left: 5px;">(%)</text>
  130. </view>
  131. </uni-forms-item>
  132. </view>
  133. </view>
  134. <view class="form-col">
  135. <view class="form-item">
  136. <uni-forms-item :label="t('Documentary.tradingCenter.item32')" name="settlementCycle">
  137. <cwg-combox v-model:value="formData.settlementCycle" :options="optList1"
  138. :placeholder="t('placeholder.choose')" />
  139. </uni-forms-item>
  140. </view>
  141. </view>
  142. </view>
  143. <!-- 协议 -->
  144. <uni-forms-item class="form-item agree">
  145. <uni-forms-item name="agree">
  146. <checkbox-group @change="onAgreeChange">
  147. <label class="checkbox-agree">
  148. <checkbox value="1" :checked="!!formData.agree" />
  149. <text class="agree-text">
  150. {{ t('Documentary.TundManagement.item42') }}
  151. <cwg-link type="pdf" class="a" v-if="['cn', 'zhHant'].indexOf(locale) != -1"
  152. url="pdf/CopyTradeUserAgreementcn.pdf" target="_blank" title="Documentary.TundManagement.item43" />
  153. <cwg-link type="pdf" class="a" v-else url="pdf/CopyTradeUserAgreement.pdf" target="_blank"
  154. title="Documentary.TundManagement.item43" />
  155. {{ t('Documentary.TundManagement.item42_2') }}
  156. </text>
  157. </label>
  158. </checkbox-group>
  159. </uni-forms-item>
  160. </uni-forms-item>
  161. </view>
  162. </uni-forms>
  163. <template #footer>
  164. <button @click="closeDia">{{ t('Btn.Cancel') }}</button>
  165. <button type="primary" @click="confirmDia">{{ t('Btn.Confirm') }}</button>
  166. </template>
  167. </cwg-popup>
  168. </template>
  169. <script setup>
  170. import { ref, computed, watch } from 'vue'
  171. import { useI18n } from 'vue-i18n'
  172. import Config from '@/config/index'
  173. import { documentaryApi } from '@/service/documentary'
  174. import { useFollowEnum } from '@/pages/follow/const/enum'
  175. import { useFilters } from '@/composables/useFilters'
  176. const { numberDecimal } = useFilters()
  177. const props = defineProps({
  178. visible: { type: Boolean, default: false },
  179. loginOptions: { type: Array, default: () => [] }
  180. })
  181. const emit = defineEmits(['close', 'confirm'])
  182. const { t, locale } = useI18n()
  183. const { Code } = Config
  184. const { optList1 } = useFollowEnum()
  185. const formRef = ref(null)
  186. const formData = ref({
  187. nickname: '',
  188. personalSignature: '',
  189. traderStrategy: '',
  190. dealLogin: '',
  191. platform: '',
  192. loginType: '',
  193. leverage: '',
  194. historyShow: '',
  195. historyTime: '',
  196. introduceShow: '',
  197. distributionType: '',
  198. distributionRatio: '',
  199. settlementCycle: '',
  200. agree: false
  201. })
  202. const isSubmitting = ref(false)
  203. const accountTypeOptions = [
  204. { text: t('AccountType.ClassicAccount'), value: 1 },
  205. { text: t('AccountType.SeniorAccount'), value: 2 },
  206. { text: t('AccountType.SpeedAccount'), value: 5 },
  207. { text: t('AccountType.SpeedAccount'), value: 6 },
  208. { text: t('AccountType.StandardAccount'), value: 7 },
  209. { text: t('AccountType.CentAccount'), value: 8 }
  210. ]
  211. const loginOptionsData = computed(() => {
  212. return props.loginOptions.map(item => ({
  213. text: `${item.login} - ${groupTypeName(item.type)} - ${t('Custom.Deposit.AvailableBalance')}${groupCurrency(item.currency)}${numberDecimal(item.balance)}`,
  214. value: item.login,
  215. disable: item.balance < 1000
  216. }))
  217. })
  218. const groupTypeName = (type) => {
  219. const option = accountTypeOptions.find(opt => opt.value == type)
  220. return option ? option.text : type
  221. }
  222. const groupCurrency = (type) => {
  223. if (type == "GBP") {
  224. return ": £";
  225. } else if (type == "USD") {
  226. return ": $";
  227. } else if (type == "EUR") {
  228. return ": €";
  229. } else if (type == "USC") {
  230. return ": ¢";
  231. } else {
  232. return ": $";
  233. }
  234. }
  235. const rules = computed(() => ({
  236. password: {
  237. rules: [
  238. {
  239. required: true,
  240. validateFunction: (rule, value, data, callback) => {
  241. if (Config.Pattern.Password.test(value)) {
  242. callback()
  243. } else {
  244. callback(t('vaildate.password.format'))
  245. }
  246. return true
  247. }
  248. }
  249. ]
  250. },
  251. agree: {
  252. rules: [
  253. {
  254. validateFunction: (rule, value, data, callback) => {
  255. if (value) {
  256. callback()
  257. } else {
  258. callback(t('vaildate.agree.empty'))
  259. }
  260. return true
  261. }
  262. }
  263. ]
  264. },
  265. platform: {
  266. rules: [
  267. {
  268. required: true,
  269. errorMessage: t('vaildate.select.empty')
  270. }
  271. ]
  272. },
  273. currency: {
  274. rules: [
  275. {
  276. required: true,
  277. errorMessage: t('vaildate.select.empty')
  278. }
  279. ]
  280. },
  281. leverage: {
  282. rules: [
  283. {
  284. required: true,
  285. errorMessage: t('vaildate.select.empty')
  286. }
  287. ]
  288. },
  289. loginType: {
  290. rules: [
  291. {
  292. required: true,
  293. errorMessage: t('vaildate.select.empty'),
  294. }
  295. ]
  296. },
  297. dealLogin: {
  298. rules: [
  299. {
  300. required: true,
  301. errorMessage: t('vaildate.select.empty')
  302. }
  303. ]
  304. },
  305. distributionType: {
  306. rules: [
  307. {
  308. required: true,
  309. errorMessage: t('vaildate.select.empty')
  310. }
  311. ]
  312. },
  313. distributionRatio: {
  314. rules: [
  315. {
  316. required: true,
  317. errorMessage: t('vaildate.input.empty')
  318. },
  319. {
  320. validateFunction: (rule, value, data, callback) => {
  321. if (value >= 0 && value <= 50) {
  322. callback()
  323. } else {
  324. callback('0-50')
  325. }
  326. return true
  327. }
  328. }
  329. ]
  330. },
  331. settlementCycle: {
  332. rules: [
  333. {
  334. required: true,
  335. errorMessage: t('vaildate.input.empty')
  336. }
  337. ]
  338. },
  339. historyShow: {
  340. rules: [
  341. {
  342. required: true,
  343. errorMessage: t('vaildate.select.empty')
  344. }
  345. ]
  346. },
  347. historyTime: {
  348. rules: [
  349. {
  350. required: true,
  351. errorMessage: t('vaildate.select.empty')
  352. }
  353. ]
  354. },
  355. introduceShow: {
  356. rules: [
  357. {
  358. required: true,
  359. errorMessage: t('vaildate.select.empty')
  360. }
  361. ]
  362. },
  363. protectAmount: {
  364. rules: [
  365. {
  366. required: true,
  367. errorMessage: t('vaildate.input.empty')
  368. }
  369. ]
  370. },
  371. protectRatio: {
  372. rules: [
  373. {
  374. required: true,
  375. errorMessage: t('vaildate.input.empty')
  376. }
  377. ]
  378. },
  379. nickname: {
  380. rules: [
  381. {
  382. required: true,
  383. errorMessage: t('vaildate.input.empty')
  384. },
  385. {
  386. validateFunction: (rule, value, data, callback) => {
  387. if (value && /^[0-9a-zA-Z]{6,24}$/.test(value)) {
  388. callback()
  389. } else {
  390. callback(t('Msg.nickname'))
  391. }
  392. return true
  393. }
  394. }
  395. ]
  396. },
  397. personalSignature: {
  398. rules: [
  399. {
  400. required: true,
  401. errorMessage: t('vaildate.input.empty')
  402. },
  403. {
  404. validateFunction: (rule, value, data, callback) => {
  405. if (!value || /^[\u4e00-\u9fa5a-zA-Z\s]*$/.test(value)) {
  406. callback()
  407. } else {
  408. callback(t('Documentary.console.item38'))
  409. }
  410. return true
  411. }
  412. }
  413. ]
  414. },
  415. traderStrategy: {
  416. rules: [
  417. {
  418. required: true,
  419. errorMessage: t('vaildate.input.empty')
  420. },
  421. {
  422. validateFunction: (rule, value, data, callback) => {
  423. if (!value || /^[\u4e00-\u9fa5a-zA-Z\s]*$/.test(value)) {
  424. callback()
  425. } else {
  426. callback(t('Documentary.console.item38'))
  427. }
  428. return true
  429. }
  430. }
  431. ]
  432. },
  433. followType: {
  434. rules: [
  435. {
  436. required: true,
  437. errorMessage: t('vaildate.select.empty')
  438. }
  439. ]
  440. },
  441. volume: {
  442. rules: [
  443. {
  444. required: true,
  445. errorMessage: t('vaildate.input.empty')
  446. }
  447. ]
  448. },
  449. ratio: {
  450. rules: [
  451. {
  452. required: true,
  453. errorMessage: t('vaildate.input.empty')
  454. }
  455. ]
  456. }
  457. }));
  458. watch(locale, () => {
  459. formRef.value?.clearValidate()
  460. })
  461. const filterChineseEnglishOnly = (field, value) => {
  462. if (!value) return
  463. const filtered = value.replace(/[^\u4e00-\u9fa5a-zA-Z\s]/g, '')
  464. formData.value[field] = filtered
  465. }
  466. const selectLogin = (val) => {
  467. const selected = props.loginOptions.find(item => item.login === val)
  468. if (selected) {
  469. formData.value.leverage = `1:${selected.leverage}`
  470. formData.value.loginType = selected.type
  471. formData.value.platform = selected.platform
  472. }
  473. }
  474. const onAgreeChange = (e) => {
  475. formData.value.agree = e.detail.value?.includes('1')
  476. }
  477. const closeDia = () => {
  478. emit('close')
  479. resetForm()
  480. }
  481. const confirmDia = async () => {
  482. try {
  483. await formRef.value.validate()
  484. } catch (err) {
  485. return
  486. }
  487. if (isSubmitting.value) return
  488. isSubmitting.value = true
  489. try {
  490. const res = await documentaryApi.followDealApply({
  491. ...formData.value
  492. })
  493. if (res.code === Code.StatusOK) {
  494. uni.showToast({ title: t('Msg.Success'), icon: 'none' })
  495. emit('confirm')
  496. closeDia()
  497. } else {
  498. uni.showToast({ title: res.msg, icon: 'none' })
  499. }
  500. } catch (e) {
  501. uni.showToast({ title: t('Msg.Fail'), icon: 'none' })
  502. } finally {
  503. isSubmitting.value = false
  504. }
  505. }
  506. const resetForm = () => {
  507. formRef.value?.clearValidate()
  508. formData.value = {
  509. nickname: '',
  510. personalSignature: '',
  511. traderStrategy: '',
  512. dealLogin: '',
  513. platform: '',
  514. loginType: '',
  515. leverage: '',
  516. historyShow: '',
  517. historyTime: '',
  518. introduceShow: '',
  519. distributionType: '',
  520. distributionRatio: '',
  521. settlementCycle: '',
  522. agree: false
  523. }
  524. }
  525. watch(() => props.visible, (val) => {
  526. if (val && props.loginOptions?.length) {
  527. // 自动填充默认值,与原版保持一致
  528. const defaultOption = props.loginOptions.find(item => item.balance >= 200)
  529. if (defaultOption) {
  530. formData.value.dealLogin = defaultOption.login
  531. selectLogin(defaultOption.login)
  532. }
  533. }
  534. })
  535. </script>
  536. <style lang="scss" scoped>
  537. @import "@/uni.scss";
  538. .dia-content {
  539. padding: px2rpx(20);
  540. .uni-forms-item {
  541. width: 100%;
  542. }
  543. .grid-layout {
  544. display: grid;
  545. grid-template-columns: 1fr 1fr;
  546. gap: px2rpx(20);
  547. margin: px2rpx(24) 0;
  548. padding: px2rpx(20);
  549. background-color: transparent;
  550. border-radius: px2rpx(8);
  551. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  552. }
  553. .fllow-title {
  554. margin: px2rpx(10) 0 px2rpx(16);
  555. padding-left: px2rpx(8);
  556. border-left: 4px solid #dc3545;
  557. border-bottom: none;
  558. .title {
  559. font-size: px2rpx(16);
  560. font-weight: 600;
  561. color: var(--bs-emphasis-color);
  562. }
  563. }
  564. .delete-grid {
  565. margin: px2rpx(16) 0;
  566. }
  567. .delete-row {
  568. display: flex;
  569. gap: px2rpx(12);
  570. }
  571. .delete-item {
  572. flex: 1;
  573. display: flex;
  574. justify-content: space-between;
  575. align-items: center;
  576. padding: px2rpx(12) 0;
  577. border-bottom: 1px dashed #e9ecef;
  578. &:first-child {
  579. padding-right: px2rpx(16);
  580. }
  581. &:last-child {
  582. padding-left: px2rpx(16);
  583. }
  584. }
  585. @media screen and (max-width: 768px) {
  586. .delete-item {
  587. &:first-child {
  588. padding-right: px2rpx(0);
  589. }
  590. &:last-child {
  591. padding-left: px2rpx(0);
  592. }
  593. }
  594. }
  595. .delete-label {
  596. font-size: px2rpx(14);
  597. color: var(--bs-body-color);
  598. }
  599. .delete-value {
  600. font-size: px2rpx(14);
  601. color: var(--bs-emphasis-color);
  602. font-weight: 400;
  603. }
  604. .delete-tip {
  605. margin-top: px2rpx(16);
  606. font-size: px2rpx(14);
  607. color: var(--bs-emphasis-color);
  608. line-height: 1.5;
  609. padding-top: px2rpx(16);
  610. }
  611. .tip-star {
  612. color: #dc3545;
  613. margin-right: px2rpx(4);
  614. }
  615. .agree {
  616. margin-top: px2rpx(20);
  617. }
  618. .checkbox-agree {
  619. display: flex;
  620. align-items: flex-start;
  621. gap: px2rpx(8);
  622. :deep(.uni-checkbox-input) {
  623. margin-top: px2rpx(3);
  624. width: px2rpx(18);
  625. height: px2rpx(18);
  626. }
  627. .agree-text {
  628. font-size: px2rpx(13);
  629. color: var(--bs-emphasis-color);
  630. line-height: 1.5;
  631. width: 100%;
  632. white-space: wrap;
  633. font-weight: normal;
  634. .a {
  635. color: #007bff;
  636. text-decoration: none;
  637. margin: 0 px2rpx(4);
  638. &:hover {
  639. color: #0056b3;
  640. }
  641. }
  642. }
  643. }
  644. .fllow-content {
  645. margin-bottom: px2rpx(16);
  646. .tit {
  647. font-size: px2rpx(14);
  648. font-weight: 500;
  649. color: var(--bs-body-color);
  650. margin-bottom: px2rpx(6);
  651. text-transform: uppercase;
  652. letter-spacing: px2rpx(0.5);
  653. }
  654. .con {
  655. font-size: px2rpx(16);
  656. font-weight: 400;
  657. color: var(--bs-emphasis-color);
  658. line-height: 1.4;
  659. }
  660. }
  661. .form-row {
  662. display: grid;
  663. grid-template-columns: 1fr 1fr;
  664. gap: px2rpx(20);
  665. margin-top: px2rpx(16);
  666. @media screen and (max-width: 768px) {
  667. grid-template-columns: 1fr;
  668. }
  669. }
  670. .form-item {
  671. display: flex;
  672. flex-direction: column;
  673. align-items: flex-start;
  674. text {
  675. font-size: px2rpx(14);
  676. font-weight: 500;
  677. color: var(--bs-body-color);
  678. margin-bottom: px2rpx(8);
  679. white-space: nowrap;
  680. }
  681. input,
  682. select,
  683. textarea {
  684. width: 100%;
  685. padding: px2rpx(10);
  686. border: 1px solid #ced4da;
  687. border-radius: px2rpx(4);
  688. font-size: px2rpx(14);
  689. transition: all 0.2s ease;
  690. &:focus {
  691. outline: none;
  692. border-color: #4dabf7;
  693. box-shadow: 0 0 0 2px rgba(77, 171, 247, 0.2);
  694. }
  695. }
  696. textarea {
  697. resize: vertical;
  698. min-height: px2rpx(100);
  699. }
  700. }
  701. .tip-red {
  702. color: #dc3545;
  703. font-size: px2rpx(14);
  704. margin: px2rpx(12) 0 px2rpx(24) 0;
  705. }
  706. .tip-text {
  707. margin-top: px2rpx(24);
  708. font-size: px2rpx(14);
  709. color: var(--bs-body-color);
  710. line-height: 1.5;
  711. padding: px2rpx(16);
  712. background-color: #e7f3ff;
  713. border-radius: px2rpx(4);
  714. border-left: 4px solid #4dabf7;
  715. }
  716. }
  717. </style>