index-legacy.bd959491.js 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. !(function () {
  2. function e(e, t) {
  3. var n = Object.keys(e)
  4. if (Object.getOwnPropertySymbols) {
  5. var o = Object.getOwnPropertySymbols(e)
  6. t &&
  7. (o = o.filter(function (t) {
  8. return Object.getOwnPropertyDescriptor(e, t).enumerable
  9. })),
  10. n.push.apply(n, o)
  11. }
  12. return n
  13. }
  14. function t(t) {
  15. for (var o = 1; o < arguments.length; o++) {
  16. var r = null != arguments[o] ? arguments[o] : {}
  17. o % 2
  18. ? e(Object(r), !0).forEach(function (e) {
  19. n(t, e, r[e])
  20. })
  21. : Object.getOwnPropertyDescriptors
  22. ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r))
  23. : e(Object(r)).forEach(function (e) {
  24. Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e))
  25. })
  26. }
  27. return t
  28. }
  29. function n(e, t, n) {
  30. return (
  31. t in e
  32. ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
  33. : (e[t] = n),
  34. e
  35. )
  36. }
  37. function o(e, t, n, o, r, a, l) {
  38. try {
  39. var c = e[a](l),
  40. i = c.value
  41. } catch (s) {
  42. return void n(s)
  43. }
  44. c.done ? t(i) : Promise.resolve(i).then(o, r)
  45. }
  46. function r(e) {
  47. return function () {
  48. var t = this,
  49. n = arguments
  50. return new Promise(function (r, a) {
  51. var l = e.apply(t, n)
  52. function c(e) {
  53. o(l, r, a, c, i, 'next', e)
  54. }
  55. function i(e) {
  56. o(l, r, a, c, i, 'throw', e)
  57. }
  58. c(void 0)
  59. })
  60. }
  61. }
  62. var a = document.createElement('style')
  63. ;(a.innerHTML =
  64. '._searchBand_p2lg0_1{display:inline-block;font-size:.37333rem;font-weight:600;color:#333}._manageCell_p2lg0_7{padding:.4rem .34667rem}._manageCell_p2lg0_7 .van-cell__title{flex:1 auto;flex-basis:48%}._manageCell_p2lg0_7 ._teacherContent_p2lg0_14{display:flex;align-items:center;justify-content:space-between}._manageCell_p2lg0_7 ._teacherContent_p2lg0_14 ._content_p2lg0_19{width:1.86667rem}._manageCell_p2lg0_7 ._teacherContent_p2lg0_14 ._name_p2lg0_22{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;max-width:1.86667rem}._manageCell_p2lg0_7 ._teacherContent_p2lg0_14 ._classNum_p2lg0_29{text-align:center;width:1.6rem}._manageCell_p2lg0_7 ._teacherContent_p2lg0_14 ._num_p2lg0_33{font-size:.53333rem;font-weight:700;color:#f67146;line-height:.64rem}._manageCell_p2lg0_7 ._teacherContent_p2lg0_14 ._numText_p2lg0_39{font-size:.32rem;color:#333;line-height:.45333rem}._manageCell_p2lg0_7 ._teacherContent_p2lg0_14 ._messageImg_p2lg0_44{margin-top:.13333rem;width:.64rem;height:.64rem}._manageCell_p2lg0_7 ._img_p2lg0_49{width:1.28rem;height:1.28rem;overflow:hidden;border-radius:50%;margin-right:.26667rem}._manageCell_p2lg0_7 ._name_p2lg0_22{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._manageCell_p2lg0_7 ._phone_p2lg0_62{font-size:.37333rem;color:#777;line-height:.53333rem}._manageCell_p2lg0_7 ._status_p2lg0_67{font-size:.42667rem;font-weight:500;color:#333}._manageCell_p2lg0_7 ._frozen_p2lg0_72{color:#f44541}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75{width:8.61333rem;height:12.4rem;background:url(./assets/download.275aac0e.png) no-repeat center center;background-size:contain;margin:0 auto}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75 ._codeContent_p2lg0_82{padding-left:.21333rem}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75 ._codeTitle_p2lg0_85{text-align:center;padding-top:.34667rem;font-size:.64rem;font-weight:700;color:#fff;text-shadow:.02667rem .02667rem .18667rem #f4672a}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75 ._codeName_p2lg0_93{padding:.96rem .21333rem 0;font-size:.48rem;font-weight:600;color:#fff}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75 ._codeQr_p2lg0_99{margin:.61333rem auto 0;width:6.16rem;height:6.16rem;padding:.26667rem;background:linear-gradient(180deg,#ffffff 0%,#ffffff 100%);border-radius:.29333rem;overflow:hidden}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75 ._codeQr_p2lg0_99 img{width:100%;height:100%}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75 ._codeBtnText_p2lg0_112{margin:.4rem auto 0;display:inline-block;background:linear-gradient(135deg,#ff9c63 0%,#ff7144 100%);border-radius:.48rem;padding:.16rem .42667rem;font-size:.42667rem;font-weight:600;color:#fff}._codeContainer_p2lg0_75 ._codeImg_p2lg0_75 ._codeTips_p2lg0_122{padding-top:.26667rem;font-size:.34667rem;font-weight:600;color:#f16437;line-height:.48rem;text-align:center}._codeContainer_p2lg0_75 ._close_p2lg0_130{position:absolute;top:.32rem;right:.4rem}._codeContainer_p2lg0_75 ._codeBottom_p2lg0_135{position:relative;margin-top:.85333rem;background:#ffffff;border-radius:.53333rem .53333rem 0 0;padding-bottom:.26667rem}._codeContainer_p2lg0_75 ._title_p2lg0_142{font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem;padding:.4rem .4rem 0}._codeContainer_p2lg0_75 ._title_p2lg0_142 i{display:inline-block;margin-right:.16rem;width:.10667rem;height:.32rem;background:#ff8057;border-radius:.05333rem}._codeContainer_p2lg0_75 ._shareImg_p2lg0_157{width:1.25333rem;height:1.25333rem}._codeContainer_p2lg0_75 ._shareText_p2lg0_161{padding-top:.16rem;font-size:.37333rem;color:#333;line-height:.53333rem}\n'),
  65. document.head.appendChild(a),
  66. System.register(
  67. [
  68. './index-legacy.c52b7cbb.js',
  69. './index-legacy.a7e7ca32.js',
  70. './index-legacy.fb25da3a.js',
  71. './index-legacy.4e7f0184.js',
  72. './icon-message-legacy.a5fad892.js',
  73. './icon_teacher-legacy.42ba77b1.js',
  74. './index-legacy.2ae28dc5.js',
  75. './index-legacy.ca3a829d.js',
  76. './index-legacy.d11fa8f4.js',
  77. './index-legacy.9fb17640.js',
  78. './index-legacy.51e5b886.js',
  79. './index-legacy.d61b8a1f.js',
  80. './index-legacy.ef15ba2a.js',
  81. './index-legacy.f657fbb5.js',
  82. './index-legacy.97665c37.js',
  83. './index-legacy.261ae52e.js',
  84. './use-tab-status-legacy.17f6d490.js',
  85. './index-legacy.1fccc4ce.js',
  86. './index-legacy.13f9f10f.js',
  87. './index-legacy.f900000d.js'
  88. ],
  89. function (e) {
  90. 'use strict'
  91. var n,
  92. o,
  93. a,
  94. l,
  95. c,
  96. i,
  97. s,
  98. u,
  99. _,
  100. d,
  101. g,
  102. p,
  103. m,
  104. f,
  105. h,
  106. b,
  107. w,
  108. v,
  109. x,
  110. C,
  111. y,
  112. j,
  113. I,
  114. k,
  115. T,
  116. S,
  117. O,
  118. P,
  119. N,
  120. z,
  121. B,
  122. L,
  123. Q
  124. return {
  125. setters: [
  126. function (e) {
  127. n = e.O
  128. },
  129. function (e) {
  130. ;(o = e.O), (a = e.i), (l = e.a)
  131. },
  132. function (e) {
  133. c = e.O
  134. },
  135. function (e) {
  136. i = e.O
  137. },
  138. function (e) {
  139. ;(s = e.i), (u = e.a), (_ = e.b)
  140. },
  141. function (e) {
  142. d = e.i
  143. },
  144. function (e) {
  145. ;(g = e.d),
  146. (p = e.aQ),
  147. (m = e.R),
  148. (f = e.X),
  149. (h = e.s),
  150. (b = e.k),
  151. (w = e.a2),
  152. (v = e.l),
  153. (x = e.be),
  154. (C = e.P),
  155. (y = e.p),
  156. (j = e.F),
  157. (I = e.ad),
  158. (k = e.g)
  159. },
  160. function (e) {
  161. T = e.a
  162. },
  163. function (e) {
  164. S = e.A
  165. },
  166. function (e) {
  167. O = e.L
  168. },
  169. function (e) {
  170. P = e.C
  171. },
  172. function (e) {
  173. N = e.I
  174. },
  175. function (e) {
  176. z = e.T
  177. },
  178. function (e) {
  179. ;(B = e.G), (L = e.a)
  180. },
  181. function (e) {
  182. Q = e.P
  183. },
  184. function () {},
  185. function () {},
  186. function () {},
  187. function () {},
  188. function () {}
  189. ],
  190. execute: function () {
  191. var A = {
  192. searchBand: '_searchBand_p2lg0_1',
  193. manageCell: '_manageCell_p2lg0_7',
  194. teacherContent: '_teacherContent_p2lg0_14',
  195. content: '_content_p2lg0_19',
  196. name: '_name_p2lg0_22',
  197. classNum: '_classNum_p2lg0_29',
  198. num: '_num_p2lg0_33',
  199. numText: '_numText_p2lg0_39',
  200. messageImg: '_messageImg_p2lg0_44',
  201. img: '_img_p2lg0_49',
  202. phone: '_phone_p2lg0_62',
  203. status: '_status_p2lg0_67',
  204. frozen: '_frozen_p2lg0_72',
  205. codeContainer: '_codeContainer_p2lg0_75',
  206. codeImg: '_codeImg_p2lg0_75',
  207. codeContent: '_codeContent_p2lg0_82',
  208. codeTitle: '_codeTitle_p2lg0_85',
  209. codeName: '_codeName_p2lg0_93',
  210. codeQr: '_codeQr_p2lg0_99',
  211. codeBtnText: '_codeBtnText_p2lg0_112',
  212. codeTips: '_codeTips_p2lg0_122',
  213. close: '_close_p2lg0_130',
  214. codeBottom: '_codeBottom_p2lg0_135',
  215. title: '_title_p2lg0_142',
  216. shareImg: '_shareImg_p2lg0_157',
  217. shareText: '_shareText_p2lg0_161'
  218. }
  219. function M(e) {
  220. return (
  221. 'function' == typeof e ||
  222. ('[object Object]' === Object.prototype.toString.call(e) && !I(e))
  223. )
  224. }
  225. e(
  226. 'default',
  227. g({
  228. name: 'companion-teacher',
  229. setup: function () {
  230. var e = p(),
  231. g = m({
  232. showMessage: !1,
  233. showPopover: !1,
  234. oPopover: !1,
  235. showQrcode: !1,
  236. schoolName: null,
  237. schoolId: null,
  238. url: null,
  239. subjectList: [],
  240. list: [],
  241. listState: { dataShow: !0, loading: !1, finished: !1 },
  242. subjectText: '全部声部',
  243. statusText: '状态',
  244. params: { keyword: null, status: null, subjectId: null, page: 1, rows: 20 },
  245. selectItem: {}
  246. }),
  247. I = (function () {
  248. var e = r(
  249. regeneratorRuntime.mark(function e() {
  250. var t, n
  251. return regeneratorRuntime.wrap(
  252. function (e) {
  253. for (;;)
  254. switch ((e.prev = e.next)) {
  255. case 0:
  256. return (
  257. (e.prev = 0),
  258. (e.next = 3),
  259. k.post('/api-school/subject/page', {
  260. data: { page: 1, rows: 50 }
  261. })
  262. )
  263. case 3:
  264. ;(t = e.sent),
  265. (n = t.data),
  266. (n.rows || []).forEach(function (e) {
  267. g.subjectList.push({ text: e.name, value: e.id })
  268. }),
  269. (e.next = 11)
  270. break
  271. case 9:
  272. ;(e.prev = 9), (e.t0 = e.catch(0))
  273. case 11:
  274. case 'end':
  275. return e.stop()
  276. }
  277. },
  278. e,
  279. null,
  280. [[0, 9]]
  281. )
  282. })
  283. )
  284. return function () {
  285. return e.apply(this, arguments)
  286. }
  287. })(),
  288. E = (function () {
  289. var e = r(
  290. regeneratorRuntime.mark(function e(t) {
  291. var n
  292. return regeneratorRuntime.wrap(
  293. function (e) {
  294. for (;;)
  295. switch ((e.prev = e.next)) {
  296. case 0:
  297. return (
  298. (e.prev = 0),
  299. (e.next = 3),
  300. k.get('/api-school/schoolStaff/detail/' + t)
  301. )
  302. case 3:
  303. ;(n = e.sent),
  304. console.log(n, 'res'),
  305. (g.schoolName = n.data.schoolName),
  306. (g.schoolId = n.data.schoolId),
  307. (g.url =
  308. location.origin +
  309. '/orchestra-school/#/companion-teacher-register?id=' +
  310. n.data.schoolId +
  311. '&name=' +
  312. n.data.schoolName),
  313. (e.next = 12)
  314. break
  315. case 10:
  316. ;(e.prev = 10), (e.t0 = e.catch(0))
  317. case 12:
  318. case 'end':
  319. return e.stop()
  320. }
  321. },
  322. e,
  323. null,
  324. [[0, 10]]
  325. )
  326. })
  327. )
  328. return function (t) {
  329. return e.apply(this, arguments)
  330. }
  331. })(),
  332. D = (function () {
  333. var e = r(
  334. regeneratorRuntime.mark(function e() {
  335. var n, o, r
  336. return regeneratorRuntime.wrap(
  337. function (e) {
  338. for (;;)
  339. switch ((e.prev = e.next)) {
  340. case 0:
  341. return (
  342. (e.prev = 0),
  343. (e.next = 3),
  344. k.post('/api-school/teacher/page', {
  345. data: t(
  346. t({}, g.params),
  347. {},
  348. { schoolId: h.user.data.school.id }
  349. )
  350. })
  351. )
  352. case 3:
  353. if (
  354. ((n = e.sent),
  355. (g.listState.loading = !1),
  356. (o = n.data || {}),
  357. !(g.list.length > 0 && 1 === o.current))
  358. ) {
  359. e.next = 8
  360. break
  361. }
  362. return e.abrupt('return')
  363. case 8:
  364. ;(r = o.rows || []).forEach(function (e) {
  365. e.subjectNames = e.subjectName ? e.subjectName.split(',') : []
  366. }),
  367. (g.list = g.list.concat(r)),
  368. (g.listState.finished = o.current >= o.pages),
  369. (g.params.page = o.current + 1),
  370. (g.listState.dataShow = g.list.length > 0),
  371. (e.next = 20)
  372. break
  373. case 16:
  374. ;(e.prev = 16),
  375. (e.t0 = e.catch(0)),
  376. (g.listState.dataShow = !1),
  377. (g.listState.finished = !0)
  378. case 20:
  379. case 'end':
  380. return e.stop()
  381. }
  382. },
  383. e,
  384. null,
  385. [[0, 16]]
  386. )
  387. })
  388. )
  389. return function () {
  390. return e.apply(this, arguments)
  391. }
  392. })(),
  393. R = function () {
  394. ;(g.params.page = 1),
  395. (g.list = []),
  396. (g.listState.dataShow = !0),
  397. (g.listState.loading = !1),
  398. (g.listState.finished = !1),
  399. D()
  400. }
  401. return (
  402. f(function () {
  403. E(h.user.data.id), I(), D()
  404. }),
  405. function () {
  406. var t
  407. return b(j, null, [
  408. b(
  409. i,
  410. { position: 'top' },
  411. {
  412. default: function () {
  413. return [
  414. b(
  415. n,
  416. { border: !1 },
  417. {
  418. right: function () {
  419. return b(
  420. w,
  421. {
  422. name: 'plus',
  423. size: 19,
  424. onClick: function () {
  425. return (g.showQrcode = !0)
  426. }
  427. },
  428. null
  429. )
  430. }
  431. }
  432. ),
  433. b(
  434. c,
  435. {
  436. placeholder: '请输入伴学指导姓名',
  437. inputBackground: 'white',
  438. background: '#f6f8f9',
  439. onSearch: function (e) {
  440. ;(g.params.keyword = e), R()
  441. }
  442. },
  443. null
  444. ),
  445. b(
  446. 'div',
  447. { style: { padding: '12px 13px 16px', background: '#F8F8F8' } },
  448. [
  449. b(
  450. 'div',
  451. {
  452. class: A.searchBand,
  453. onClick: function () {
  454. return (g.showPopover = !0)
  455. }
  456. },
  457. [
  458. g.subjectText,
  459. v(' '),
  460. b(
  461. w,
  462. { name: g.showPopover ? 'arrow-up' : 'arrow-down' },
  463. null
  464. )
  465. ]
  466. ),
  467. b(
  468. 'div',
  469. {
  470. class: A.searchBand,
  471. style: 'margin-left: 16px',
  472. onClick: function () {
  473. return (g.oPopover = !0)
  474. }
  475. },
  476. [
  477. g.statusText,
  478. v(' '),
  479. b(w, { name: g.oPopover ? 'arrow-up' : 'arrow-down' }, null)
  480. ]
  481. )
  482. ]
  483. )
  484. ]
  485. }
  486. }
  487. ),
  488. g.listState.dataShow
  489. ? b(
  490. O,
  491. {
  492. loading: g.listState.loading,
  493. 'onUpdate:loading': function (e) {
  494. return (g.listState.loading = e)
  495. },
  496. finished: g.listState.finished,
  497. finishedText: ' ',
  498. class: [A.liveList],
  499. onLoad: D,
  500. immediateCheck: !1
  501. },
  502. M(
  503. (t = g.list.map(function (t) {
  504. return b(
  505. P,
  506. {
  507. center: !0,
  508. isLink: !0,
  509. class: A.manageCell,
  510. onClick: function () {
  511. return (function (t) {
  512. e.push({
  513. path: '/companion-teacher-detail',
  514. query: { id: t.id }
  515. })
  516. })(t)
  517. }
  518. },
  519. {
  520. icon: function () {
  521. return b(
  522. N,
  523. { class: A.img, src: t.avatar ? t.avatar : d },
  524. null
  525. )
  526. },
  527. title: function () {
  528. return b('div', { class: A.teacherContent }, [
  529. b('div', { class: A.content }, [
  530. b('p', { class: [A.name, 'van-ellipsis'] }, [
  531. t.nickname
  532. ]),
  533. b('p', { class: A.subjects }, [
  534. t.subjectNames &&
  535. t.subjectNames.length > 0 &&
  536. t.subjectNames.map(function (e) {
  537. return b(
  538. z,
  539. { type: 'primary' },
  540. M(e)
  541. ? e
  542. : {
  543. default: function () {
  544. return [e]
  545. }
  546. }
  547. )
  548. })
  549. ])
  550. ]),
  551. b('div', { class: A.classNum }, [
  552. b('p', { class: A.num }, [
  553. t.completedCourseScheduleNum || 0,
  554. v('/'),
  555. t.totalCourseScheduleNum || 0
  556. ]),
  557. b('p', { class: A.numText }, [v('课时')])
  558. ]),
  559. b(
  560. 'div',
  561. {
  562. class: A.message,
  563. onClick: function (e) {
  564. e.stopPropagation(),
  565. e.preventDefault(),
  566. (g.showMessage = !0),
  567. (g.selectItem = t)
  568. }
  569. },
  570. [b(N, { class: A.messageImg, src: s }, null)]
  571. )
  572. ])
  573. },
  574. value: function () {
  575. return b(
  576. 'span',
  577. {
  578. class: [A.status, 'LOCKED' === t.status ? A.frozen : '']
  579. },
  580. [T[t.status]]
  581. )
  582. }
  583. }
  584. )
  585. }))
  586. )
  587. ? t
  588. : {
  589. default: function () {
  590. return [t]
  591. }
  592. }
  593. )
  594. : b(
  595. x,
  596. { btnStatus: !1, classImgSize: 'SMALL', tips: '暂无伴学指导' },
  597. null
  598. ),
  599. b(
  600. C,
  601. {
  602. show: g.showQrcode,
  603. 'onUpdate:show': function (e) {
  604. return (g.showQrcode = e)
  605. },
  606. position: 'bottom',
  607. style: { background: 'transparent' },
  608. safeAreaInsetBottom: !0
  609. },
  610. {
  611. default: function () {
  612. return [
  613. b('div', { class: A.codeContainer }, [
  614. b('div', { class: A.codeImg }, [
  615. b('div', { class: A.codeContent }, [
  616. b('h2', { class: A.codeTitle }, [g.schoolName]),
  617. b('div', { class: A.codeName }, [
  618. v('邀请您成为乐团伴学指导')
  619. ]),
  620. b('div', { class: A.codeQr }, [
  621. b(o, { text: g.url, size: '100%' }, null)
  622. ]),
  623. b('div', { style: { textAlign: 'center' } }, [
  624. b('span', { class: A.codeBtnText }, [
  625. v('扫描上方二维码完成资料填写')
  626. ])
  627. ]),
  628. b('div', { class: A.codeTips }, [
  629. v('二维码将在两小时后失效,请及时登记')
  630. ])
  631. ])
  632. ]),
  633. b('div', { class: A.codeBottom }, [
  634. b(
  635. w,
  636. {
  637. name: 'cross',
  638. size: 22,
  639. class: A.close,
  640. color: '#666',
  641. onClick: function () {
  642. return (g.showQrcode = !1)
  643. }
  644. },
  645. null
  646. ),
  647. b('h3', { class: A.title }, [
  648. b('i', null, null),
  649. v('分享方式')
  650. ]),
  651. b(
  652. B,
  653. { columnNum: 2, border: !1 },
  654. {
  655. default: function () {
  656. return [
  657. b(L, null, {
  658. icon: function () {
  659. return b(N, { class: A.shareImg, src: a }, null)
  660. },
  661. text: function () {
  662. return b('div', { class: A.shareText }, [
  663. v('保存图片')
  664. ])
  665. }
  666. }),
  667. b(L, null, {
  668. icon: function () {
  669. return b(N, { class: A.shareImg, src: l }, null)
  670. },
  671. text: function () {
  672. return b('div', { class: A.shareText }, [v('微信')])
  673. }
  674. })
  675. ]
  676. }
  677. }
  678. )
  679. ])
  680. ])
  681. ]
  682. }
  683. }
  684. ),
  685. b(
  686. C,
  687. {
  688. show: g.showMessage,
  689. 'onUpdate:show': function (e) {
  690. return (g.showMessage = e)
  691. },
  692. position: 'bottom',
  693. style: { background: 'transparent' },
  694. safeAreaInsetBottom: !0
  695. },
  696. {
  697. default: function () {
  698. return [
  699. b('div', { class: A.codeContainer }, [
  700. b('div', { class: A.codeBottom }, [
  701. b(
  702. w,
  703. {
  704. name: 'cross',
  705. size: 22,
  706. class: A.close,
  707. color: '#666',
  708. onClick: function () {
  709. return (g.showMessage = !1)
  710. }
  711. },
  712. null
  713. ),
  714. b('h3', { class: A.title }, [
  715. b('i', null, null),
  716. v('联系方式')
  717. ]),
  718. b(
  719. B,
  720. { columnNum: 2, border: !1 },
  721. {
  722. default: function () {
  723. return [
  724. b(
  725. L,
  726. {
  727. onClick: function () {
  728. y({
  729. api: 'joinChatGroup',
  730. content: { type: 'single', id: g.selectItem.id }
  731. }),
  732. (g.showMessage = !1)
  733. }
  734. },
  735. {
  736. icon: function () {
  737. return b(N, { class: A.shareImg, src: u }, null)
  738. },
  739. text: function () {
  740. return b('div', { class: A.shareText }, [
  741. v('发送消息')
  742. ])
  743. }
  744. }
  745. ),
  746. b(
  747. L,
  748. {
  749. onClick: function () {
  750. y({
  751. api: 'callPhone',
  752. content: { id: g.selectItem.phone }
  753. }),
  754. (g.showMessage = !1)
  755. }
  756. },
  757. {
  758. icon: function () {
  759. return b(N, { class: A.shareImg, src: _ }, null)
  760. },
  761. text: function () {
  762. return b('div', { class: A.shareText }, [
  763. v('拨打电话')
  764. ])
  765. }
  766. }
  767. )
  768. ]
  769. }
  770. }
  771. )
  772. ])
  773. ])
  774. ]
  775. }
  776. }
  777. ),
  778. b(
  779. S,
  780. {
  781. show: g.oPopover,
  782. 'onUpdate:show': function (e) {
  783. return (g.oPopover = e)
  784. },
  785. cancelText: '取消',
  786. actions: [
  787. { name: '全部', id: 'ALL' },
  788. { name: '注销', id: 'CANCEL' },
  789. { name: '冻结', id: 'LOCKED' },
  790. { name: '正常', id: 'ACTIVATION' }
  791. ],
  792. onSelect: function (e) {
  793. ;(g.statusText = e.name),
  794. (g.params.status = 'ALL' === e.id ? null : e.id),
  795. (g.oPopover = !1),
  796. R()
  797. }
  798. },
  799. null
  800. ),
  801. b(
  802. C,
  803. {
  804. show: g.showPopover,
  805. 'onUpdate:show': function (e) {
  806. return (g.showPopover = e)
  807. },
  808. round: !0,
  809. position: 'bottom'
  810. },
  811. {
  812. default: function () {
  813. return [
  814. b(
  815. Q,
  816. {
  817. columns: g.subjectList,
  818. onCancel: function () {
  819. return (g.showPopover = !1)
  820. },
  821. onConfirm: function (e) {
  822. return (function (e) {
  823. ;(g.subjectText = e.selectedOptions[0].text),
  824. (g.params.subjectId = e.selectedOptions[0].value),
  825. (g.showPopover = !1),
  826. R()
  827. })(e)
  828. }
  829. },
  830. null
  831. )
  832. ]
  833. }
  834. }
  835. )
  836. ])
  837. }
  838. )
  839. }
  840. })
  841. )
  842. }
  843. }
  844. }
  845. )
  846. })()