userDetails.vue 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890
  1. <template>
  2. <!-- <div style="width: 100%"> -->
  3. <Drawer :closable="false" width="1000" class-name="order_box" v-model="modals" :styles="{ padding: 0 }">
  4. <div class="acea-row user-row">
  5. <div class="avatar mr15">
  6. <img :src="psInfo.avatar">
  7. </div>
  8. <div class="user-row-text">
  9. <div>
  10. <span class="nickname">{{ psInfo.nickname || '-' }}{{psInfo.delete_time != null?' (已注销)':''}}</span>
  11. <i
  12. :class="{
  13. iconxiaochengxu: psInfo.user_type === 'routine',
  14. icongongzhonghao: psInfo.user_type === 'wechat',
  15. iconPC: psInfo.user_type === 'pc',
  16. iconh5: psInfo.user_type === 'h5',
  17. iconapp: psInfo.user_type === 'app'
  18. }"
  19. class="iconfont"
  20. ></i>
  21. </div>
  22. <div class="level">
  23. <img v-if="psInfo.is_money_level" src="@/assets/images/svip-user.png">
  24. <span v-if="psInfo.level" class="vip">V{{ psInfo.level }}</span>
  25. </div>
  26. </div>
  27. <div class="user-row-action" v-if="fromType !== 'order' && psInfo.delete_time == null ">
  28. <Button v-show="isEdit" @click="isEdit = false">取消</Button>
  29. <Button v-show="isEdit" type="primary" @click="finish">完成</Button>
  30. <Button v-show="!isEdit && activeName === 'info'" type="primary" @click="isEdit = true">编辑</Button>
  31. <Button type="success" @click="changeMenu('2')">积分余额</Button>
  32. <!-- <Button @click="changeMenu('3')">赠送会员</Button> -->
  33. </div>
  34. </div>
  35. <div class="acea-row info-row">
  36. <div v-for="(item, index) in detailsData" :key="index" class="info-row-item">
  37. <div class="info-row-item-title">{{ item.title }}</div>
  38. <div>{{ item.value }}{{ item.key }}</div>
  39. </div>
  40. </div>
  41. <Tabs v-model="activeName">
  42. <TabPane v-for="(item, index) in list" :key="index" :label="item.label" :name="item.val">
  43. <template v-if="item.val === 'info'">
  44. <user-form v-show="isEdit" ref="userForm" :ps-info="psInfo" @change-menu="changeMenu"></user-form>
  45. <user-info v-show="!isEdit" :ps-info="psInfo" :workMemberInfo="workMemberInfo" :workClientInfo="workClientInfo"></user-info>
  46. </template>
  47. <template v-else>
  48. <Table :columns="columns" :data="userLists"
  49. ref="table"
  50. :loading="loading"
  51. no-userFrom-text="暂无数据"
  52. no-filtered-userFrom-text="暂无筛选结果"
  53. >
  54. <template slot-scope="{ row }" slot="coupon_price">
  55. <span v-if="row.coupon_type==1">{{row.coupon_price}}元</span>
  56. <span v-if="row.coupon_type==2">{{parseFloat(row.coupon_price)/10}}折({{row.coupon_price.toString().split(".")[0]}}%)</span>
  57. </template>
  58. <template slot-scope="{ row }" slot="product">
  59. <div class="product">
  60. <div class="image" v-viewer>
  61. <img v-lazy="row.image">
  62. </div>
  63. <div class="title">{{ row.store_name }}</div>
  64. </div>
  65. </template>
  66. </Table>
  67. <div class="acea-row row-right page">
  68. <Page :total="total" :current.sync="userFrom.page" show-elevator show-total @on-change="pageChange" :page-size="userFrom.limit" />
  69. </div>
  70. </template>
  71. </TabPane>
  72. </Tabs>
  73. </Drawer>
  74. <!-- <Modal v-model="modals" scrollable footer-hide closable title="用户详情" :mask-closable="false" width="1000" :z-index="2"> -->
  75. <!-- <Spin size="large" fix v-if="spinShow"></Spin> -->
  76. <!-- <div class="acea-row">
  77. <div class="avatar mr15"><img :src="psInfo.avatar"></div>
  78. <div class="dashboard-workplace-header-tip">
  79. <p class="dashboard-workplace-header-tip-title" v-text="psInfo.nickname || '-'"></p>
  80. <div class="dashboard-workplace-header-tip-desc">
  81. <span class="dashboard-workplace-header-tip-desc-sp" v-for="(item, index) in detailsData" :key="index">{{item.title+':'+item.value}}</span>
  82. </div>
  83. </div>
  84. </div> -->
  85. <!-- <Row type="flex" justify="space-between" class="mt25">
  86. <Col span="4" class="user_menu">
  87. <Menu :theme="theme2" :active-name="activeName" @on-select="changeType">
  88. <MenuItem :name="item.val" v-for="(item, index) in list" :key="index" >
  89. {{item.label}}
  90. </MenuItem>
  91. </Menu>
  92. </Col>
  93. <Col span="20">
  94. <Table :columns="columns" :data="userLists" max-height="400"
  95. ref="table"
  96. :loading="loading"
  97. no-userFrom-text="暂无数据"
  98. no-filtered-userFrom-text="暂无筛选结果"
  99. ></Table>
  100. <div class="acea-row row-right page">
  101. <Page :total="total" :current="userFrom.page" show-elevator show-total @on-change="pageChange"
  102. :page-size="userFrom.limit" /></div>
  103. </Col>
  104. </Row> -->
  105. <!-- </Modal> -->
  106. <!-- </div> -->
  107. </template>
  108. <script>
  109. import { detailsApi, infoApi, visitList, spreadList } from '@/api/user';
  110. import userForm from './userForm';
  111. import userInfo from './userInfo';
  112. export default {
  113. name: 'userDetails',
  114. components: {
  115. userForm,
  116. userInfo
  117. },
  118. props: ['levelList', 'labelList', 'groupList', 'fromType'],
  119. data () {
  120. return {
  121. theme2: 'light',
  122. list: [
  123. { val: 'info', label: '用户信息' },
  124. { val: 'order', label: '消费记录' },
  125. { val: 'integral', label: '积分明细' },
  126. { val: 'sign', label: '签到记录' },
  127. { val: 'coupon', label: '持有优惠券' },
  128. { val: 'balance_change', label: '余额变动' },
  129. { val: 'spread', label: '好友关系' },
  130. { val: 'visit', label: '浏览足迹' },
  131. { val: 'spread_change', label: '推荐人变更记录' }
  132. ],
  133. modals: false,
  134. spinShow: false,
  135. detailsData: [],
  136. userId: 0,
  137. loading: false,
  138. userFrom: {
  139. type: 'info',
  140. page: 1, // 当前页
  141. limit: 12 // 每页显示条数
  142. },
  143. total: 0,
  144. columns: [],
  145. userLists: [],
  146. psInfo: {},
  147. workMemberInfo:{},
  148. workClientInfo:{},
  149. activeName: 'info',
  150. isEdit: false,
  151. groupOptions: [],
  152. labelOptions: []
  153. }
  154. },
  155. watch: {
  156. activeName (value) {
  157. this.userFrom.page = 1;
  158. if (value == 'info') return;
  159. this.isEdit = false;
  160. this.changeType(value);
  161. // if (value == 'visit') {
  162. // this.changeType(value);
  163. // } else if (value == 'spread_change') {
  164. // this.changeType(value);
  165. // } else {
  166. // this.changeType(value);
  167. // }
  168. },
  169. modals (value) {
  170. if (value) {
  171. this.isEdit = false;
  172. }
  173. }
  174. },
  175. created () {
  176. },
  177. methods: {
  178. changeMenu (value) {
  179. if (value === '99') {
  180. this.getDetails(this.userId);
  181. this.$parent.getList();
  182. this.isEdit = false;
  183. return;
  184. }
  185. this.$parent.changeMenu(this.psInfo, value);
  186. },
  187. // 完成
  188. finish () {
  189. this.$refs.userForm[0].detailsPut();
  190. },
  191. // 推荐人变更记录
  192. getSpreadList () {
  193. this.loading = true;
  194. spreadList({
  195. id: this.userId,
  196. datas: {
  197. page: this.userFrom.page,
  198. limit: this.userFrom.limit
  199. }
  200. }).then(async res => {
  201. if (res.status === 200) {
  202. let data = res.data;
  203. this.userLists = data.list;
  204. this.total = data.count;
  205. this.columns = [
  206. {
  207. title: '推荐人ID',
  208. key: 'spread_uid',
  209. minWidth: 120
  210. },
  211. {
  212. title: '推荐人',
  213. key: 'nickname',
  214. minWidth: 120,
  215. render: (h, params) => {
  216. return h('div', [
  217. h('img', {
  218. style: {
  219. borderRadius: '50%',
  220. marginRight: '10px',
  221. verticalAlign: 'middle'
  222. },
  223. attrs: {
  224. with: 38,
  225. height: 38
  226. },
  227. directives: [
  228. {
  229. name: 'lazy',
  230. value: params.row.avatar
  231. },
  232. {
  233. name: 'viewer'
  234. }
  235. ]
  236. }),
  237. h('span', {
  238. style: {
  239. verticalAlign: 'middle'
  240. }
  241. }, params.row.nickname)
  242. ]);
  243. }
  244. },
  245. {
  246. title: '变更方式',
  247. key: 'type',
  248. minWidth: 120
  249. },
  250. {
  251. title: '变更时间',
  252. key: 'spread_time',
  253. minWidth: 120
  254. }
  255. ];
  256. this.loading = false;
  257. } else {
  258. this.loading = false;
  259. this.$Message.error(res.msg);
  260. }
  261. }).catch(res => {
  262. this.loading = false;
  263. this.$Message.error(res.msg);
  264. });
  265. },
  266. // 浏览足迹
  267. getVisitList () {
  268. this.loading = true;
  269. visitList({
  270. id: this.userId,
  271. datas: {
  272. page: this.userFrom.page,
  273. limit: this.userFrom.limit
  274. }
  275. }).then(async res => {
  276. if (res.status === 200) {
  277. let data = res.data;
  278. this.userLists = data.list;
  279. this.total = data.count;
  280. this.columns = [
  281. {
  282. title: '商品信息',
  283. slot: 'product',
  284. minWidth: 400
  285. },
  286. {
  287. title: '价格',
  288. key: 'product_price',
  289. minWidth: 120,
  290. render: (h, params) => {
  291. return h('div', `¥${params.row.product_price}`);
  292. }
  293. },
  294. {
  295. title: '浏览时间',
  296. key: 'add_time',
  297. minWidth: 120
  298. }
  299. ];
  300. this.loading = false;
  301. } else {
  302. this.loading = false;
  303. this.$Message.error(res.msg);
  304. }
  305. }).catch(res => {
  306. this.loading = false;
  307. this.$Message.error(res.msg);
  308. });
  309. },
  310. // 会员详情
  311. getDetails (id) {
  312. this.userId = id;
  313. this.spinShow = true;
  314. detailsApi(id).then(async res => {
  315. if (res.status === 200) {
  316. let data = res.data
  317. this.detailsData = data.headerList;
  318. if(this.fromType !== 'order'){
  319. let groupItem = this.groupList.find(item => item.id == data.ps_info.group_id);
  320. if (groupItem) {
  321. data.ps_info.group_name = groupItem.group_name;
  322. }
  323. }
  324. this.psInfo = data.ps_info;
  325. this.workMemberInfo = data.workMemberInfo;
  326. this.workClientInfo = data.workClientInfo;
  327. this.spinShow = false;
  328. } else {
  329. this.spinShow = false;
  330. this.$Message.error(res.msg);
  331. }
  332. }).catch(res => {
  333. this.spinShow = false;
  334. this.$Message.error(res.msg);
  335. })
  336. },
  337. pageChange (index) {
  338. this.userFrom.page = index
  339. this.changeType(this.userFrom.type);
  340. // switch (this.activeName) {
  341. // case 'visit':
  342. // this.changeType(this.userFrom.type);
  343. // break;
  344. // case 'spread_change':
  345. // this.changeType(this.userFrom.type);
  346. // break;
  347. // default:
  348. // this.changeType(this.userFrom.type);
  349. // break;
  350. // }
  351. },
  352. // tab选项
  353. changeType (name) {
  354. this.loading = true;
  355. this.userFrom.type = name;
  356. this.activeName = name;
  357. let data = {
  358. id: this.userId,
  359. datas: this.userFrom
  360. }
  361. infoApi(data).then(async res => {
  362. if (res.status === 200) {
  363. let data = res.data
  364. this.userLists = data.list;
  365. this.total = data.count;
  366. switch (this.userFrom.type) {
  367. case 'order':
  368. this.columns = [
  369. {
  370. title: '订单ID',
  371. key: 'order_id',
  372. minWidth: 160
  373. },
  374. {
  375. title: '收货人',
  376. key: 'real_name',
  377. minWidth: 100
  378. },
  379. {
  380. title: '商品数量',
  381. key: 'total_num',
  382. minWidth: 90
  383. },
  384. {
  385. title: '商品总价',
  386. key: 'total_price',
  387. minWidth: 110
  388. },
  389. {
  390. title: '实付金额',
  391. key: 'pay_price',
  392. minWidth: 120
  393. },
  394. {
  395. title: '交易完成时间',
  396. key: 'pay_time',
  397. minWidth: 120
  398. }
  399. ]
  400. break;
  401. case 'integral':
  402. this.columns = [
  403. {
  404. title: '来源/用途',
  405. key: 'title',
  406. minWidth: 120
  407. },
  408. {
  409. title: '积分变化',
  410. key: 'number',
  411. minWidth: 120
  412. },
  413. {
  414. title: '变化前积分',
  415. key: 'balance',
  416. minWidth: 120
  417. },
  418. {
  419. title: '日期',
  420. key: 'add_time',
  421. minWidth: 120
  422. },
  423. {
  424. title: '备注',
  425. key: 'mark',
  426. minWidth: 120
  427. }
  428. ]
  429. break;
  430. case 'sign':
  431. this.columns = [
  432. // {
  433. // title: '动作',
  434. // key: 'title',
  435. // minWidth: 120
  436. // },
  437. {
  438. title: '获得积分',
  439. key: 'number',
  440. minWidth: 120
  441. },
  442. {
  443. title: '签到时间',
  444. key: 'add_time',
  445. minWidth: 120
  446. },
  447. {
  448. title: '备注',
  449. key: 'mark',
  450. minWidth: 120
  451. }
  452. ]
  453. break;
  454. case 'coupon':
  455. this.columns = [
  456. {
  457. title: '优惠券名称',
  458. key: 'coupon_title',
  459. minWidth: 120
  460. },
  461. {
  462. title: '面值',
  463. slot: 'coupon_price',
  464. minWidth: 120
  465. },
  466. {
  467. title: '有效期(天)',
  468. key: 'coupon_time',
  469. minWidth: 120
  470. },
  471. {
  472. title: '兑换时间',
  473. key: '_add_time',
  474. minWidth: 120
  475. }
  476. ]
  477. break;
  478. case 'balance_change':
  479. this.columns = [
  480. {
  481. title: '动作',
  482. key: 'title',
  483. minWidth: 120
  484. },
  485. {
  486. title: '变动金额',
  487. key: 'number',
  488. minWidth: 120
  489. },
  490. {
  491. title: '变动后',
  492. key: 'balance',
  493. minWidth: 120
  494. },
  495. {
  496. title: '创建时间',
  497. key: 'add_time',
  498. minWidth: 120
  499. },
  500. {
  501. title: '备注',
  502. key: 'mark',
  503. minWidth: 120
  504. }
  505. ]
  506. break;
  507. case 'visit':
  508. this.columns = [
  509. {
  510. title: '商品信息',
  511. slot: 'product',
  512. minWidth: 400,
  513. },
  514. {
  515. title: '价格',
  516. key: 'product_price',
  517. minWidth: 120,
  518. render: (h, params) => {
  519. return h('div', `¥${params.row.product_price}`)
  520. },
  521. },
  522. {
  523. title: '浏览时间',
  524. key: 'add_time',
  525. minWidth: 120,
  526. },
  527. ]
  528. break
  529. case 'spread_change':
  530. this.columns = [
  531. {
  532. title: '推荐人ID',
  533. key: 'spread_uid',
  534. minWidth: 120,
  535. },
  536. {
  537. title: '推荐人',
  538. key: 'nickname',
  539. minWidth: 120,
  540. render: (h, params) => {
  541. return h('div', [
  542. h('img', {
  543. style: {
  544. borderRadius: '50%',
  545. marginRight: '10px',
  546. verticalAlign: 'middle',
  547. },
  548. attrs: {
  549. with: 38,
  550. height: 38,
  551. },
  552. directives: [
  553. {
  554. name: 'lazy',
  555. value: params.row.avatar,
  556. },
  557. {
  558. name: 'viewer',
  559. },
  560. ],
  561. }),
  562. h(
  563. 'span',
  564. {
  565. style: {
  566. verticalAlign: 'middle',
  567. },
  568. },
  569. params.row.nickname
  570. ),
  571. ])
  572. },
  573. },
  574. {
  575. title: '变更方式',
  576. key: 'type',
  577. minWidth: 120,
  578. },
  579. {
  580. title: '变更时间',
  581. key: 'spread_time',
  582. minWidth: 120,
  583. },
  584. ]
  585. break;
  586. default:
  587. this.columns = [
  588. {
  589. title: 'ID',
  590. key: 'uid',
  591. minWidth: 120
  592. },
  593. {
  594. title: '昵称',
  595. key: 'nickname',
  596. minWidth: 120
  597. },
  598. {
  599. title: '等级',
  600. key: 'type',
  601. minWidth: 120
  602. },
  603. {
  604. title: '加入时间',
  605. key: 'add_time',
  606. minWidth: 120
  607. }
  608. ]
  609. }
  610. this.loading = false;
  611. } else {
  612. this.loading = false;
  613. this.$Message.error(res.msg);
  614. }
  615. }).catch(res => {
  616. this.loading = false;
  617. this.$Message.error(res.msg);
  618. })
  619. }
  620. }
  621. }
  622. </script>
  623. <style lang="less" scoped>
  624. /deep/.ivu-modal-body {
  625. padding: 0;
  626. }
  627. .user-info {
  628. // padding: 15px;
  629. }
  630. .user-row {
  631. padding: 30px 35px 0;
  632. &-text {
  633. flex: 1;
  634. align-self: center;
  635. }
  636. &-action {
  637. .ivu-btn {
  638. margin-left: 12px;
  639. font-size: 13px !important;
  640. color: rgba(0, 0, 0, 0.85);
  641. &:first-child {
  642. margin-left: 0;
  643. }
  644. &.ivu-btn-primary {
  645. border-color: #1890FF;
  646. background-color: #1890FF;
  647. color: #FFFFFF;
  648. }
  649. &.ivu-btn-success {
  650. border-color: #00C050;
  651. background-color: #00C050;
  652. color: #FFFFFF;
  653. }
  654. }
  655. }
  656. .nickname {
  657. font-weight: 500;
  658. font-size: 16px;
  659. line-height: 16px;
  660. color: rgba(0, 0, 0, 0.85);
  661. }
  662. .iconfont {
  663. margin-left: 7px;
  664. font-size: 18px;
  665. &:nth-child(2) {
  666. margin-left: 9px;
  667. }
  668. &.iconxiaochengxu {
  669. color: #007DFF;
  670. }
  671. &.icongongzhonghao {
  672. color: #00BF00;
  673. }
  674. &.iconPC {
  675. color: #F69B00;
  676. }
  677. &.iconh5 {
  678. color: #9F5CE3;
  679. }
  680. &.iconapp {
  681. color: #E36734;
  682. }
  683. }
  684. .level {
  685. margin-top: 5px;
  686. img {
  687. width: 42px;
  688. height: 20px;
  689. vertical-align: middle;
  690. + span {
  691. margin-left: 7px;
  692. }
  693. }
  694. .vip {
  695. display: inline-block;
  696. width: 56px;
  697. height: 26px;
  698. padding-left: 30px;
  699. background: url("../../../../assets/images/vip-bg.png") left top/100% 100% no-repeat;
  700. font-weight: bold;
  701. font-size: 9px;
  702. line-height: 26px;
  703. color: #5F7DB5;
  704. transform-origin: left;
  705. transform: scale(0.75, 0.75);
  706. vertical-align: middle;
  707. }
  708. }
  709. }
  710. .info-row {
  711. flex-wrap: nowrap;
  712. padding: 20px 35px 24px;
  713. &-item {
  714. flex: none;
  715. width: 155px;
  716. font-size: 14px;
  717. line-height: 14px;
  718. color: rgba(0, 0, 0, 0.85);
  719. &-title {
  720. margin-bottom: 12px;
  721. font-size: 13px;
  722. line-height: 13px;
  723. color: #666666;
  724. }
  725. }
  726. }
  727. .ivu-tabs {
  728. color: rgba(0, 0, 0, 0.85);
  729. /deep/ .ivu-tabs-bar {
  730. border-bottom: 0;
  731. margin-bottom: 0;
  732. background-color: #F5F7FA;
  733. .ivu-tabs-nav-container {
  734. font-size: 13px;
  735. }
  736. .ivu-tabs-ink-bar {
  737. display: none;
  738. }
  739. .ivu-tabs-tab {
  740. padding: 7px 19px !important;
  741. margin-right: 0;
  742. line-height: 26px;
  743. }
  744. .ivu-tabs-tab-active {
  745. background-color: #FFFFFF;
  746. color: rgba(0, 0, 0, 0.85);
  747. &:before {
  748. content: "";
  749. position: absolute;
  750. top: 0;
  751. left: 0;
  752. width: 100%;
  753. height: 2px;
  754. background-color: #1890FF;
  755. }
  756. }
  757. }
  758. /deep/ .ivu-tabs-content {
  759. .ivu-tabs-tabpane {
  760. padding: 15px 15px !important;
  761. &:first-child {
  762. padding: 0 25px !important;
  763. }
  764. }
  765. }
  766. .product {
  767. display: flex;
  768. .image {
  769. width: 50px;
  770. height: 50px;
  771. }
  772. img {
  773. width: 100%;
  774. height: 100%;
  775. border-radius: 4px;
  776. }
  777. .title {
  778. flex: 1;
  779. padding-left: 13px;
  780. text-align: left;
  781. }
  782. }
  783. }
  784. .avatar{
  785. width: 60px;
  786. height: 60px;
  787. border-radius: 50%;
  788. overflow: hidden;
  789. img{
  790. width: 100%;
  791. height: 100%;
  792. }
  793. }
  794. .dashboard-workplace {
  795. &-header {
  796. &-avatar {
  797. width: 64px;
  798. height: 64px;
  799. border-radius: 50%;
  800. margin-right: 16px;
  801. font-weight: 600;
  802. }
  803. &-tip {
  804. width: 82%;
  805. display: inline-block;
  806. vertical-align: middle;
  807. &-title {
  808. font-size: 13px;
  809. color: #000000;
  810. margin-bottom: 12px;
  811. }
  812. &-desc {
  813. &-sp {
  814. width: 33.33%;
  815. color: #17233D;
  816. font-size: 13px;
  817. display: inline-block;
  818. }
  819. }
  820. }
  821. &-extra {
  822. .ivu-col {
  823. p {
  824. text-align: right;
  825. }
  826. p:first-child {
  827. span:first-child {
  828. margin-right: 4px;
  829. }
  830. span:last-child {
  831. color: #808695;
  832. }
  833. }
  834. p:last-child {
  835. font-size: 22px;
  836. }
  837. }
  838. }
  839. }
  840. }
  841. </style>
  842. <style scoped lang="stylus">
  843. .user_menu >>> .ivu-menu
  844. width 100% !important
  845. </style>