CustomMessageRender.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. <template>
  2. <view class="custom" @click="handleCustomerItem">
  3. <template v-if="isCustom === 'order'">
  4. <view class="order-item">
  5. <view class="title">问诊订单</view>
  6. <view class="text">患者:{{ extension.patientName }} {{ extension.sex }} {{ extension.mobile }}</view>
  7. <view class="text">患病时间:{{ extension.duration }}</view>
  8. <view class="text">就诊情况:{{ extension.isVisit }}</view>
  9. <view class="text">病情描述:{{ extension.title }}</view>
  10. </view>
  11. </template>
  12. <template v-else-if="isCustom === 'prescribe'">
  13. <view class="prescribe-item">
  14. <view class="title">电子处方单</view>
  15. <view class="text">诊断:{{ extension.diagnose }}</view>
  16. <view class="btns">
  17. <view class="btn">查看处方</view>
  18. </view>
  19. </view>
  20. </template>
  21. <template v-else-if="isCustom === 'report'">
  22. <view class="report-item">
  23. <view class="title">问诊报告单</view>
  24. <view class="btns">
  25. <view class="btn">查看报告单</view>
  26. </view>
  27. </view>
  28. </template>
  29. <template v-else-if="isCustom === 'follow'">
  30. <view class="prescribe-item">
  31. <view class="title">随访单</view>
  32. <view class="btns">
  33. <view class="btn">查看随访</view>
  34. </view>
  35. </view>
  36. </template>
  37. <template v-else-if="isCustom === 'drugReport'">
  38. <view class="report-item">
  39. <view class="title">用药报告单</view>
  40. <view class="btns">
  41. <view class="btn">查看报告单</view>
  42. </view>
  43. </view>
  44. </template>
  45. <template v-else-if="isCustom === 'package'">
  46. <view class="package-item">
  47. <view class="title">{{extension.title}}</view>
  48. <view class="cover" v-if="!!extension.image">
  49. <image :src="extension.image" mode="aspectFill"></image>
  50. </view>
  51. <view v-else class="btns">
  52. <view class="btn">查看疗法</view>
  53. </view>
  54. </view>
  55. </template>
  56. <template v-else-if="isCustom === 'couponPackage'">
  57. <view class="package-item">
  58. <view class="title">{{extension.title}}</view>
  59. <view class="stitle"><i class="psub">¥</i> <i class="psub price"> {{ extension.price.toFixed(2) }} </i> {{ "(满"+extension.minPrice.toFixed(2)+"元可用)" }} </view>
  60. <view class="stitle stitle1">{{ extension.limitTime+"到期 不可叠加使用"}}</view>
  61. <view class="cover" v-if="!!extension.image">
  62. <image :src="extension.image" mode="aspectFill"></image>
  63. </view>
  64. <view v-else class="btns">
  65. <view class="btn">查看私域疗法券</view>
  66. </view>
  67. </view>
  68. </template>
  69. <template v-else-if="isCustom === 'inquirySelect'">
  70. <view class="package-item">
  71. <view class="title">{{extension.title}}</view>
  72. <view class="stitle">医疗专家团队远程咨询</view>
  73. <view class="cover" v-if="!!extension.image">
  74. <image :src="extension.image" mode="aspectFill"></image>
  75. </view>
  76. <view v-else class="btns">
  77. <view class="btn">查看会诊</view>
  78. </view>
  79. </view>
  80. </template>
  81. <template v-else-if="isCustom === 'startInquiry'">
  82. <view class="content content-in">
  83. <span>{{ extension.title }}</span>
  84. </view>
  85. </template>
  86. <template v-else-if="isCustom === 'finishInquiry'">
  87. <view class="content content-ou">
  88. <span>{{ extension.title }}</span>
  89. </view>
  90. </template>
  91. <template v-else-if="isCustom === 'course'">
  92. <view class="box">
  93. <view class="list-item">
  94. <view class="list-con border-line">
  95. <view class="list-itemtxt">
  96. <!-- <text class="list-title textOne">{{extension.courseName}}</text> -->
  97. <text class="list-desc textTwo">{{extension.title}}</text>
  98. </view>
  99. <view class="list-cover">
  100. <image :src="extension.courseUrl" mode="aspectFill"></image>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. </template>
  106. <template v-else-if="isCustom === 'live'">
  107. <view class="box">
  108. <view class="liveList">
  109. <view class="list-item">
  110. <image :src="extension.appRealLink" mode="aspectFill"></image>
  111. <view class="info">
  112. <text>{{extension.liveName}}</text>
  113. </view>
  114. <view class="livebox">直播</view>
  115. </view>
  116. </view>
  117. </view>
  118. </template>
  119. <template v-else-if="isCustom === 'luckyBag'">
  120. <view class="box">
  121. <view class="luckyBagBox" :class="isSender ? 'image_right' : 'image_left'">
  122. <view class="u-f es-ac">
  123. <view class="u-f-ajc es-mr-20">
  124. <image class="es-icon-56" src="/pages_im/static/images/luckyBag/new_lucky_bag_icon.png" mode=""></image>
  125. </view>
  126. <view class="es-fs-32 es-fw-500 es-c-white">
  127. 给你发送福袋
  128. </view>
  129. </view>
  130. <view class="es-mt-16 luckyBagBox-line"></view>
  131. <view class="es-mt-16 es-fs-20 es-c-white">
  132. 专属福袋
  133. </view>
  134. </view>
  135. </view>
  136. </template>
  137. <template v-else>
  138. <view class="content"></view>
  139. </template>
  140. </view>
  141. </template>
  142. <script>
  143. import MyAvatar from '../../../../../components/MyAvatar/index.vue';
  144. export default {
  145. name: 'CustomMessageRender',
  146. components: { MyAvatar },
  147. props: {
  148. message: {
  149. type: Object,
  150. default: () => ({
  151. customElem: {
  152. data: '{}' // 默认空JSON
  153. },
  154. cardElem: {
  155. userID: ''
  156. }
  157. })
  158. },
  159. isSender: {
  160. type: Boolean,
  161. default: false
  162. }
  163. },
  164. data() {
  165. return {
  166. isCustom: null, // 明确初始化null
  167. payload: {}, // 与服务端数据结构对齐
  168. extension: {} // 保持响应式基础结构
  169. };
  170. },
  171. computed: {
  172. customDataStr() {
  173. return this.message?.customElem?.data;
  174. }
  175. },
  176. watch: {
  177. customDataStr: {
  178. handler() {
  179. this.safeParseData();
  180. },
  181. immediate: true
  182. },
  183. message: {
  184. handler: function(newVal, oldVal) {
  185. this.safeParseData();
  186. },
  187. immediate: true,
  188. deep: true
  189. }
  190. },
  191. mounted() {
  192. this.safeParseData();
  193. },
  194. methods: {
  195. safeParseData() {
  196. try {
  197. const rawData = this.message?.customElem?.data || '{}';
  198. const parsed = JSON.parse(rawData);
  199. //结构化赋值
  200. this.payload = parsed.payload || {};
  201. this.extension = this.payload.extension || {};
  202. this.isCustom = this.payload.data ?? null;
  203. } catch (e) {
  204. console.error('[消息解析失败]', e);
  205. this.$emit('parse-error', {
  206. raw: this.message,
  207. error: e
  208. });
  209. }
  210. },
  211. handleCustomerItem() {
  212. const rawData = this.message?.customElem.data;
  213. let item = JSON.parse(rawData);
  214. if (item.payload.data == 'order') {
  215. uni.navigateTo({
  216. url: '/pages/store/inquiryOrderDetails?orderId=' + item.payload.description
  217. });
  218. } else if (item.payload.data == 'prescribe') {
  219. var prescribe = item.payload.extension;
  220. uni.navigateTo({
  221. url: '/pages/store/prescribeDetails?prescribeId=' + prescribe.prescribeId
  222. });
  223. } else if (item.payload.data == 'package') {
  224. var packageItem = item.payload.extension;
  225. let companyId=packageItem.companyId;
  226. let companyUserId=packageItem.companyUserId;
  227. let nUrl="/pages/store/packageDetails?packageId="+packageItem.packageId+"&companyId="+companyId+"&companyUserId="+companyUserId;
  228. uni.navigateTo({url: nUrl});
  229. }
  230. else if (item.payload.data == 'couponPackage') {
  231. //console.log("qxj item",item);
  232. var cItem = item.payload.extension;
  233. let companyId=cItem.companyId;
  234. let companyUserId=cItem.companyUserId;
  235. let nUrl='/pages/company/couponDetails?couponId='+cItem.couponId+"&isShare=1";
  236. uni.navigateTo({url: nUrl});
  237. }
  238. else if (item.payload.data == 'inquirySelect') {
  239. var cItem = item.payload.extension;
  240. let companyId=cItem.companyId;
  241. let companyUserId=cItem.companyUserId;
  242. let type=cItem.type;
  243. if(type==3){
  244. let nUrl="/pages/store/inquiryForm2_2?inquiryType=2&orderType=2&inquirySubType="+type+"&companyId="+companyId+"&companyUserId="+companyUserId+"&isShare=1";
  245. uni.navigateTo({url: nUrl});
  246. } else if(type==4){
  247. } else {
  248. let nUrl="/pages/store/inquiryForm2_1?inquiryType=2&orderType=2&inquirySubType="+type+"&companyId="+companyId+"&companyUserId="+companyUserId+"&isShare=1";
  249. uni.navigateTo({url: nUrl});
  250. }
  251. }
  252. else if (item.payload.data == 'follow') {
  253. var follow = item.payload.extension;
  254. if (follow.writeStatus == 0) {
  255. uni.navigateTo({
  256. url: '/pages/user/doFollow?followId=' + follow.followId
  257. });
  258. } else if (follow.writeStatus == 1) {
  259. uni.navigateTo({
  260. url: '/pages/user/followDetails?followId=' + follow.followId
  261. });
  262. }
  263. } else if (item.payload.data == 'report') {
  264. uni.navigateTo({
  265. url: '/pages/store/inquiryOrderReport?orderId=' + item.payload.description
  266. });
  267. } else if (item.payload.data == 'drugReport') {
  268. // var report=JSON.parse(item.payload.extension);
  269. uni.navigateTo({
  270. url: '/pages/user/drugReportDetails?reportId=' + item.payload.description
  271. });
  272. }
  273. else if (item.payload.data == 'course') {
  274. console.log("qxj extension:",item);
  275. let couseItem = item.payload.extension;
  276. if (uni.getStorageSync('companyUserId')) {
  277. const queryString = couseItem.appRealLink.split('?')[1] || '';
  278. const courseParamMatch = queryString.match(/course=({[^&]+})/);
  279. if (!courseParamMatch) {
  280. uni.showToast({
  281. icon: 'none',
  282. title: '看课链接不存在'
  283. })
  284. }
  285. const courseJson = decodeURIComponent(courseParamMatch[1]);
  286. const courseData = JSON.parse(courseJson);
  287. return uni.navigateTo({
  288. url: `/pages_managedata/coursedetail?videoId=${courseData.videoId}&id=${courseData.id}&periodId=${courseData.periodId}`
  289. });
  290. }
  291. if (couseItem.appRealLink) {
  292. if (/^\//.test(couseItem.appRealLink)) {
  293. uni.navigateTo({
  294. url: couseItem.appRealLink,
  295. })
  296. } else {
  297. uni.navigateTo({
  298. url: "/pages_im/pages/common/webH5/index?url=" + couseItem.appRealLink
  299. });
  300. }
  301. } else {
  302. uni.showToast({
  303. icon: 'none',
  304. title: "暂无看课链接",
  305. });
  306. }
  307. }
  308. else if (item.payload.data == "luckyBag") {
  309. console.log("qxj extension:",item);
  310. let luckyBagItem=item.payload.extension;
  311. if(luckyBagItem.appRealLink) {
  312. let str = luckyBagItem.appRealLink.split('?link=')[1]
  313. uni.navigateTo({
  314. url: '/pages/courseAnswer/luckyBag?link='+str
  315. });
  316. }else {
  317. uni.showToast({
  318. icon:'none',
  319. title: "福袋信息为空",
  320. });
  321. }
  322. }
  323. else if (item.payload.data == 'live') {
  324. var liveItem=item.payload.extension;
  325. console.log("qxj liveItem:",JSON.stringify(liveItem));
  326. let url='/pages_live/index?liveId=' + liveItem.liveId;
  327. if(liveItem.companyId){
  328. url += "&companyId="+liveItem.companyId;
  329. }
  330. if(liveItem.companyUserId){
  331. url += "&companyUserId="+liveItem.companyUserId;
  332. }
  333. console.log("qxj url:"+url);
  334. uni.navigateTo({
  335. url: url
  336. });
  337. return;
  338. if(couseItem.appRealLink) {
  339. uni.navigateTo({
  340. url: couseItem.appRealLink
  341. });
  342. }else {
  343. uni.showToast({
  344. icon:'none',
  345. title: "暂无看课链接",
  346. });
  347. }
  348. }
  349. }
  350. }
  351. };
  352. </script>
  353. <style lang="scss" scoped>
  354. @mixin u-flex($flexD, $alignI, $justifyC) {
  355. display: flex;
  356. flex-direction: $flexD;
  357. align-items: $alignI;
  358. justify-content: $justifyC;
  359. }
  360. .card_message_container {
  361. @include colBox(false);
  362. background-color: #fff;
  363. box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  364. border-radius: 12rpx;
  365. width: 444rpx;
  366. border: 1px solid #ececec;
  367. .card_info {
  368. @include vCenterBox();
  369. padding: 24rpx 32rpx;
  370. border-bottom: 1px solid #e9e9e9;
  371. .card_name {
  372. @include ellipsisWithLine(1);
  373. margin-left: 24rpx;
  374. }
  375. }
  376. .card_desc {
  377. padding: 8rpx 0 8rpx 42rpx;
  378. color: #999;
  379. }
  380. }
  381. .custom {
  382. .order-item {
  383. width: 450rpx;
  384. padding: 15rpx;
  385. padding: 15rpx;
  386. border: 1rpx solid #ececec;
  387. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  388. background-color: #fff;
  389. border-radius: 15rpx;
  390. display: flex;
  391. flex-direction: column;
  392. align-items: flex-start;
  393. justify-content: flex-start;
  394. .title {
  395. font-size: 16px;
  396. font-family: PingFang SC;
  397. font-weight: normal;
  398. color: #111111;
  399. }
  400. .text {
  401. font-size: 12px;
  402. font-family: PingFang SC;
  403. color: #9a9a9c;
  404. padding:6rpx 0;
  405. }
  406. }
  407. .prescribe-item {
  408. width: 450rpx;
  409. padding: 15rpx;
  410. border: 1rpx solid #ececec;
  411. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  412. background-color: #fff;
  413. border-radius: 15rpx;
  414. display: flex;
  415. flex-direction: column;
  416. align-items: flex-start;
  417. justify-content: flex-start;
  418. .title {
  419. font-size: 16px;
  420. font-family: PingFang SC;
  421. font-weight: normal;
  422. color: #111111;
  423. }
  424. .text {
  425. margin-top: 10rpx;
  426. font-size: 12px;
  427. font-family: PingFang SC;
  428. color: #9a9a9c;
  429. }
  430. .btns {
  431. padding: 15rpx;
  432. display: flex;
  433. align-items: center;
  434. justify-content: center;
  435. width: 100%;
  436. .btn {
  437. border-radius: 30rpx;
  438. padding: 15rpx 30rpx;
  439. border: 1rpx solid #ececec;
  440. font-family: PingFang SC;
  441. color: #333333;
  442. }
  443. }
  444. }
  445. .report-item {
  446. width: 450rpx;
  447. padding: 15rpx;
  448. border: 1rpx solid #ececec;
  449. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  450. background-color: #fff;
  451. border-radius: 15rpx;
  452. display: flex;
  453. flex-direction: column;
  454. align-items: flex-start;
  455. justify-content: flex-start;
  456. .title {
  457. font-size: 16px;
  458. font-family: PingFang SC;
  459. font-weight: normal;
  460. color: #111111;
  461. }
  462. .text {
  463. margin-top: 10rpx;
  464. font-size: 12px;
  465. font-family: PingFang SC;
  466. color: #9a9a9c;
  467. }
  468. .btns {
  469. padding: 15rpx;
  470. display: flex;
  471. align-items: center;
  472. justify-content: center;
  473. width: 100%;
  474. .btn {
  475. border-radius: 30rpx;
  476. padding: 15rpx 30rpx;
  477. border: 1rpx solid #ececec;
  478. font-family: PingFang SC;
  479. color: #333333;
  480. font-size: 16px;
  481. }
  482. }
  483. }
  484. .package-item{
  485. width: 450rpx;
  486. padding: 15rpx;
  487. border: 1rpx solid #ececec;
  488. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  489. background-color: #fff;
  490. border-radius: 15rpx;
  491. display: flex;
  492. flex-direction: column;
  493. align-items: flex-start;
  494. justify-content: flex-start;
  495. .title {
  496. font-size: 16px;
  497. font-family: PingFang SC;
  498. color: #333;
  499. margin-bottom: 10rpx;
  500. }
  501. .stitle {
  502. font-size: 15px;
  503. font-family: PingFang SC;
  504. font-weight: 500;
  505. color: #666;
  506. margin-bottom: 10rpx;
  507. }
  508. .psub{
  509. color: #e41f19;
  510. font-size: 15px;
  511. font-style: normal;
  512. }
  513. .price{
  514. font-size: 18px;
  515. font-style: normal;
  516. font-weight: bold;
  517. }
  518. .stitle1{
  519. font-size: 14px;
  520. }
  521. .cover{
  522. width:calc(100%);
  523. height: 400rpx;
  524. border-radius: 16rpx;
  525. box-sizing: border-box;
  526. image{
  527. width: 100%;
  528. height: 100%;
  529. }
  530. }
  531. }
  532. }
  533. .content {
  534. padding: 10px;
  535. background: #f0f0f0;
  536. &-in {
  537. border-radius: 0px 10px 10px 10px;
  538. }
  539. &-out {
  540. border-radius: 10px 0px 10px 10px;
  541. }
  542. }
  543. .list{
  544. &-item {
  545. width: 450rpx;
  546. padding: 0rpx;
  547. border: 1rpx solid #ececec;
  548. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  549. background-color: #fff;
  550. border-radius: 16rpx;
  551. margin-bottom: 0rpx;
  552. box-sizing: border-box;
  553. font-family: PingFang SC, PingFang SC;
  554. font-weight: 400;
  555. font-size: 15px;
  556. color: #333333;
  557. line-height: 36rpx;
  558. image {
  559. flex-shrink: 0;
  560. width: 150rpx;
  561. height: 120rpx;
  562. margin-left: 16rpx;
  563. background: #F5F6F6;
  564. border-radius: 10rpx 10rpx 10rpx 10rpx;
  565. overflow: hidden;
  566. }
  567. }
  568. &-con {
  569. width: 100%;
  570. padding: 24rpx;
  571. box-sizing: border-box;
  572. @include u-flex(column, flex-start, space-between);
  573. }
  574. &-cover {
  575. width: 100%;
  576. margin-top: 20rpx;
  577. @include u-flex(row, flex-start, flex-end);
  578. }
  579. &-itemtxt {
  580. flex: 1;
  581. overflow: hidden;
  582. word-break: break-all;
  583. display: block;
  584. }
  585. &-title {
  586. word-break: break-all;
  587. display: block;
  588. }
  589. &-desc {
  590. margin-top: 0rpx;
  591. font-size: 16px;
  592. color: #333;
  593. line-height: 22px;
  594. }
  595. &-time {
  596. font-size: 11px;
  597. color: #999999;
  598. }
  599. &-footer {
  600. padding: 20rpx 24rpx;
  601. box-sizing: border-box;
  602. @include u-flex(row, center, space-between);
  603. position: relative;
  604. view {
  605. @include u-flex(row, center, flex-start);
  606. }
  607. image {
  608. height: 50rpx;
  609. width: 50rpx;
  610. border-radius: 50%;
  611. margin: 0 10rpx 0 0;
  612. }
  613. }
  614. }
  615. .liveList {
  616. .list-item {
  617. border-radius: 4rpx;
  618. width: 300rpx;
  619. height: 500rpx;
  620. background-color: #ececec;
  621. margin-bottom: 24rpx;
  622. overflow: hidden;
  623. position: relative;
  624. .livebox{
  625. background: #ff5500;
  626. border-radius: 8rpx;
  627. font-size: 26rpx;
  628. color: #fff;
  629. text-align: center;
  630. position: absolute;
  631. left: 18rpx;
  632. top: 18rpx;
  633. padding:8rpx 14rpx;
  634. }
  635. image {
  636. width: 100%;
  637. height: 100%;
  638. margin-left: 0;
  639. }
  640. video {
  641. width: 100%;
  642. height: 100%;
  643. object-fit: cover;
  644. }
  645. .info {
  646. position: absolute;
  647. left: 20rpx;
  648. bottom: 14rpx;
  649. right: 20rpx;
  650. color: #ffffff;
  651. display: flex;
  652. align-items: center;
  653. .live-badge {
  654. background-color: #e74c3c;
  655. padding: 4rpx 12rpx;
  656. border-radius: 8rpx;
  657. font-size: 20rpx;
  658. margin-right: 12rpx;
  659. }
  660. .record-badge {
  661. background-color: #3498db;
  662. padding: 4rpx 12rpx;
  663. border-radius: 8rpx;
  664. font-size: 20rpx;
  665. margin-right: 12rpx;
  666. }
  667. }
  668. .error-tip {
  669. position: absolute;
  670. top: 50%;
  671. left: 50%;
  672. transform: translate(-50%, -50%);
  673. color: #fff;
  674. background-color: rgba(0, 0, 0, 0.7);
  675. padding: 16rpx 24rpx;
  676. border-radius: 8rpx;
  677. font-size: 24rpx;
  678. }
  679. }
  680. // 使列表项均匀分布
  681. .list-item:nth-child(2n) {
  682. margin-right: 0;
  683. }
  684. }
  685. .luckyBagBox {
  686. width: 384rpx;
  687. height: 160rpx;
  688. border-radius: 8rpx;
  689. padding: 24rpx 24rpx 20rpx 24rpx;
  690. background-repeat: no-repeat;
  691. background-size: 100% 100%;
  692. .luckyBagBox-line {
  693. width: 100%;
  694. height: 1rpx;
  695. background: rgba(255, 255, 255,0.2);
  696. }
  697. }
  698. .image_right {
  699. background-image: url('/pages_im/static/images/luckyBag/lucky_bag_new_bg_right.png');
  700. }
  701. .image_left {
  702. background-image: url('/pages_im/static/images/luckyBag/lucky_bag_new_bg_left.png');
  703. }
  704. </style>