invitationUser.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <template>
  2. <view class="content">
  3. <view class="view1" v-bind:style="{backgroundImage: 'url('+backgroundImage+')'}">
  4. <view style="padding-top: 820upx;" @longpress="logoTime(userImageUrl)">
  5. <view style="width: 100%;height: 150upx;display: flex;background: #FFFFFF;padding: 20upx 10upx;">
  6. <image :src="userImageUrl" style="border-radius: 100upx;width: 100upx;height: 100upx;margin-left: 30upx;"></image>
  7. <view class="login-view-text1" style="margin-left: 30upx;width: 59%;">
  8. <view style="font-size: 16px;">{{ nickName }}</view>
  9. <view style=" font-size: 12px;margin-top: 20upx;">邀请码:{{invitationCode}}</view>
  10. </view>
  11. <canvas canvas-id="qrcode" style="width: 140upx;height: 130upx;" />
  12. </view>
  13. </view>
  14. </view>
  15. <view style="display: flex;flex-direction: row; padding: 40upx;justify-content: center;">
  16. <!-- #ifdef H5 -->
  17. <button @click="share()" type="default" style="background-color: #FFCB49;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 50%;">文案推广</button>
  18. <button @tap="showModal()" type="default" style="background-color: #557EFD;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 50%; margin-left: 40upx;">生成海报</button>
  19. <!-- #endif -->
  20. <!-- #ifdef APP-PLUS -->
  21. <button v-if="isShowWxAPPShare=='是'" @click="shareWeiXin()" type="default" style="background-color: #FFCB49;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 50%;">文案推广</button>
  22. <button v-if="isShowWxAPPShare=='否'" @click="sharAPPUrl()" type="default" style="background-color: #FFCB49;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 50%;">文案推广</button>
  23. <button @tap="showModal()" type="default" style="background-color: #557EFD;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 50%; margin-left: 40upx;">生成海报</button>
  24. <!-- #endif -->
  25. <!-- #ifdef MP-WEIXIN -->
  26. <button open-type="share" style="background-color: #FFCB49;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 40%;">一键分享</button>
  27. <!-- <button @click="share()" type="default" style="background-color: #FFCB49;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 40%;">文案推广</button> -->
  28. <button @tap="onSaveImg()" type="default" style="background-color: #557EFD;font-size: 16px;font-weight: bold;color: #FFFFFF; width: 40%;">生成海报</button>
  29. <!-- #endif -->
  30. <!-- 生成海报 -->
  31. <!-- 图片展示由自己实现 -->
  32. <view class="flex_row_c_c modalView" :class="qrShow?'show':''" @tap="hideQr()">
  33. <view class="flex_column">
  34. <view class="backgroundColor-white padding1vh border_radius_10px">
  35. <image :src="poster.finalPath || ''" mode="widthFix" class="posterImage"></image>
  36. </view>
  37. <view class="flex_row marginTop2vh">
  38. <!-- #ifdef H5 -->
  39. <button type="primary" size="mini">长按上方图片保存</button>
  40. <!-- #endif -->
  41. <!-- #ifndef H5 -->
  42. <button type="primary" size="mini" @tap.prevent.stop="saveImage()">保存图片</button>
  43. <!-- #endif -->
  44. </view>
  45. </view>
  46. </view>
  47. <!-- 画布 -->
  48. <view class="hideCanvasView">
  49. <canvas class="hideCanvas" canvas-id="default_PosterCanvasId" :style="{width: (poster.width||10) + 'px', height: (poster.height||10) + 'px'}"></canvas>
  50. </view>
  51. </view>
  52. <!-- #ifndef MP-WEIXIN -->
  53. <tki-qrcode ref="qrcode" :val="url" :size="200" background="#fff" foreground="#000" pdground="#000" :onval="true"
  54. :loadMake="true" @result="qrR" :show="false"></tki-qrcode>
  55. <view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal">
  56. <view class="cu-dialog" v-if="backgroundImage && erweimapath && haibaoShow" @tap="hideModal">
  57. <view class="bg-img">
  58. <wm-poster @success="posterSuccess" :imgSrc="backgroundImage" :Referrer="'我的邀请码:'+invitationCode" :QrSrc="erweimapath"
  59. :Title="tuiguang" :LineType="false"></wm-poster>
  60. </view>
  61. </view>
  62. </view>
  63. <!-- #endif -->
  64. <!-- #ifdef MP-WEIXIN -->
  65. <view @tap="hideModal" :class="modalName == 'Image' ? 'show' : ''" class="modal"
  66. style="text-align: center;display: flex;justify-content: center;">
  67. <view style="width:100%;margin: auto;">
  68. <image :src="h5SaveImg" mode="widthFix" style="width: 90%;"></image>
  69. </view>
  70. </view>
  71. <canvas canvas-id="poster" class="poster_canvas"></canvas>
  72. <!-- #endif -->
  73. </view>
  74. </template>
  75. <script>
  76. let settingWritePhotosAlbum = false;
  77. import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue';
  78. import appShare from '@/utils/share.js';
  79. import wmPoster from '@/components/wm-poster/wm-posterorders.vue';
  80. import uQRCode from "../../js_sdk/Sansnn-uQRCode/uqrcode.js"
  81. import _app from '../../js_sdk/QuShe-SharerPoster/QS-SharePoster/app.js';
  82. import configdata from '../../common/config.js';
  83. // import {
  84. // getSharePoster
  85. // } from '../../js_sdk/QuShe-SharerPoster/QS-SharePoster/QS-SharePoster.js';
  86. export default {
  87. components: {
  88. tkiQrcode,
  89. wmPoster,
  90. // getSharePoster
  91. },
  92. data() {
  93. return {
  94. erweimapath: '',
  95. poster: {},
  96. qrShow: false,
  97. haibaoImg: null,
  98. haibaoShow: false,
  99. modalName: '',
  100. canvasId: 'default_PosterCanvasId',
  101. imageUrl: '',
  102. userImageUrl: '',
  103. isShowWxAPPShare:'否',
  104. nickName: '',
  105. invitationCode: '',
  106. backgroundImage: '',
  107. tuiguang: '快来和我一起打游戏吧!',
  108. tuiguang1: '快来和我一起打游戏吧!',
  109. url: ''
  110. };
  111. },
  112. onLoad() {
  113. this.getBackImageList();
  114. let avatar = this.$queue.getData('avatar');
  115. if (avatar && avatar !== 'undefined') {
  116. this.userImageUrl = avatar;
  117. } else {
  118. this.userImageUrl = '/static/logo.png';
  119. }
  120. this.$Request.getT('/app/common/type/116').then(res => {
  121. if (res.code === 0) {
  122. if (res.data && res.data.value) {
  123. this.tuiguang = res.data.value;
  124. }
  125. }
  126. });
  127. //文案推广
  128. this.$Request.getT('/app/common/type/101').then(res => {
  129. if (res.code === 0) {
  130. if (res.data && res.data.value) {
  131. this.tuiguang1 = res.data.value;
  132. }
  133. }
  134. });
  135. //检测书否开启APP微信分享
  136. this.$Request.getT('/app/common/type/136').then(res => {
  137. if (res.code === 0) {
  138. if (res.data && res.data.value) {
  139. this.isShowWxAPPShare = res.data.value;
  140. }
  141. }
  142. });
  143. this.invitationCode = this.$queue.getData('invitationCode');
  144. // #ifndef H5
  145. this.$Request.getT('/app/common/type/25').then(res => {
  146. if (res.code === 0) {
  147. if (res.data && res.data.value) {
  148. this.url = res.data.value;
  149. }
  150. }
  151. });
  152. //#endif
  153. // #ifdef H5
  154. this.$Request.getT('/app/common/type/141').then(res => {
  155. if (res.code === 0) {
  156. if (res.data && res.data.value&& res.data.value=='是') {
  157. this.$Request.getT('/app/common/type/25').then(ress => {
  158. if (ress.code === 0) {
  159. if (ress.data && ress.data.value) {
  160. this.url = ress.data.value;
  161. }
  162. }
  163. });
  164. }else{
  165. this.url = this.$queue.publicYuMing() + '/?invitation=' + this.invitationCode;
  166. }
  167. }
  168. });
  169. //#endif
  170. let userName = this.$queue.getData('userName');
  171. if (userName && userName !== 'undefined') {
  172. this.nickName = userName;
  173. } else {
  174. this.nickName = '游客';
  175. }
  176. },
  177. onShareAppMessage(res) {
  178. return {
  179. path: '/pages/index/index?invitation=' + this.invitationCode, //这是为了传参 onload(data){let id=data.id;}
  180. title: this.tuiguang,
  181. imageUrl: this.bgImg
  182. }
  183. },
  184. methods: {
  185. posterSuccess(haibaoImg) {
  186. this.haibaoImg = haibaoImg;
  187. this.modalName = 'Image';
  188. },
  189. showModal() {
  190. if (!this.haibaoImg) {
  191. this.haibaoShow = true;
  192. this.$queue.showLoading('海报生成中...');
  193. } else {
  194. this.modalName = 'Image';
  195. }
  196. },
  197. hideModal() {
  198. this.modalName = null;
  199. },
  200. qrR(path) {
  201. this.erweimapath = path;
  202. },
  203. getBackImageList() {
  204. this.$Request.getT('/app/banner/selectBannerList?state=-1&classify=5').then(res => {
  205. if (res.code === 0) {
  206. this.backgroundImage = res.data[0].imageUrl;
  207. }
  208. });
  209. this.make();
  210. },
  211. make() {
  212. uQRCode.make({
  213. canvasId: 'default_PosterCanvasId',
  214. componentInstance: this,
  215. text: this.url,
  216. size: 68,
  217. margin: 4,
  218. backgroundColor: '#ffffff',
  219. foregroundColor: '#000000',
  220. fileType: 'jpg',
  221. correctLevel: uQRCode.errorCorrectLevel.H,
  222. success: res => {
  223. console.log(res)
  224. }
  225. })
  226. },
  227. shareWeiXin() {
  228. this.$Request.getT('/app/common/type/103').then(res => {
  229. if (res.code === 0) {
  230. if (res.data && res.data.value) {
  231. let relationId = this.invitationCode;
  232. let shareData = {
  233. shareUrl: this.url,
  234. shareTitle: res.data.value,
  235. shareContent: '邀请码:' + relationId + ',' + res.data.value,
  236. shareImg: this.$queue.publicYuMing() + '/logo.png',
  237. type: 0
  238. };
  239. appShare(shareData, res => {
  240. console.log('分享成功回调', res);
  241. });
  242. }
  243. }
  244. });
  245. },
  246. share() {
  247. this.sharurl();
  248. },
  249. sharAPPUrl() {
  250. let that = this;
  251. let relationId = this.invitationCode;
  252. uni.showModal({
  253. title: '文案推广',
  254. content: this.tuiguang1+ relationId +'\n'+this.url,
  255. showCancel: true,
  256. cancelText: '关闭',
  257. confirmText: '一键复制',
  258. success: res => {
  259. if (res.confirm) {
  260. uni.setClipboardData({
  261. data: this.tuiguang1+ relationId +'\n'+this.url,
  262. success: function() {
  263. console.log('success');
  264. that.$queue.showToast('文案复制成功');
  265. }
  266. });
  267. }
  268. }
  269. });
  270. },
  271. sharurl() {
  272. let that = this;
  273. // this.$queue.showLoading('加载中...');
  274. let relationId = this.invitationCode;
  275. uni.showModal({
  276. title: '文案推广',
  277. content: this.tuiguang1+ relationId +'\n'+this.url,
  278. showCancel: true,
  279. cancelText: '关闭',
  280. confirmText: '一键复制',
  281. success: res => {
  282. if (res.confirm) {
  283. uni.setClipboardData({
  284. data: this.tuiguang1+ relationId +'\n'+this.url,
  285. success: function() {
  286. console.log('success');
  287. that.$queue.showToast('复制成功');
  288. }
  289. });
  290. }
  291. }
  292. });
  293. },
  294. logoTime(urlList) {
  295. uni.previewImage({
  296. current: 0,
  297. urls: urlList,
  298. loop: true,
  299. longPressActions: {
  300. itemList: ['收藏'],
  301. itemColor: "#007AFF"
  302. }
  303. })
  304. },
  305. goList() {
  306. let userId = this.$queue.getData('userId');
  307. this.$Request.getT('/app/invite/selectInviteAndPoster?userId=' + userId).then(res => {
  308. if (res.code === 0) {
  309. if (res.data.user.imageUrl) {
  310. this.userImageUrl = res.data.user.imageUrl;
  311. } else {
  312. this.userImageUrl = '/static/img/common/logo.jpg';
  313. }
  314. if (res.data.user.nickName) {
  315. this.nickName = res.data.user.nickName;
  316. } else {
  317. this.nickName = res.data.user.phone;
  318. }
  319. this.invitationCode = res.data.user.invitationCode;
  320. this.imageUrl = res.data.url;
  321. }
  322. });
  323. },
  324. async shareFc() {
  325. let _this = this;
  326. try {
  327. const d = await getSharePoster({
  328. type: 'testShareType',
  329. backgroundImage: _this.backgroundImage,
  330. posterCanvasId: _this.canvasId, //canvasId
  331. delayTimeScale: 20, //延时系数
  332. drawArray: ({
  333. bgObj,
  334. type,
  335. bgScale
  336. }) => {
  337. const dx = bgObj.width * 0.3;
  338. const fontSize = bgObj.width * 0.045;
  339. const lineHeight = bgObj.height * 0.04;
  340. //可直接return数组,也可以return一个promise对象, 但最终resolve一个数组, 这样就可以方便实现后台可控绘制海报
  341. return new Promise((rs, rj) => {
  342. rs([{
  343. type: 'custom',
  344. setDraw(Context) {
  345. Context.setFillStyle('black');
  346. Context.setGlobalAlpha(0.3);
  347. Context.fillRect(0, bgObj.height - bgObj.height * 0.2, bgObj.width, bgObj.height * 0.2);
  348. Context.setGlobalAlpha(1);
  349. }
  350. },
  351. {
  352. type: 'text',
  353. fontStyle: 'italic',
  354. text: '邀请码:' + _this.invitationCode,
  355. size: fontSize,
  356. color: 'white',
  357. alpha: 1,
  358. textAlign: 'left',
  359. textBaseline: 'middle',
  360. infoCallBack(textLength) {
  361. return {
  362. dx: bgObj.width - textLength - fontSize,
  363. dy: bgObj.height - lineHeight * 3
  364. }
  365. },
  366. serialNum: 0,
  367. id: 'tag1' //自定义标识
  368. },
  369. {
  370. type: 'qrcode',
  371. text: _this.url,
  372. size: bgObj.width * 0.2,
  373. dx: bgObj.width * 0.05,
  374. dy: bgObj.height - bgObj.width * 0.25
  375. }
  376. ]);
  377. })
  378. },
  379. setCanvasWH: ({
  380. bgObj,
  381. type,
  382. bgScale
  383. }) => { // 为动态设置画布宽高的方法,
  384. _this.poster = bgObj;
  385. }
  386. });
  387. //_app.log('海报生成成功, 时间:' + new Date() + ', 临时路径: ' + d.poster.tempFilePath)
  388. _this.poster.finalPath = d.poster.tempFilePath;
  389. _this.qrShow = true;
  390. } catch (e) {
  391. _app.hideLoading();
  392. }
  393. },
  394. saveImage() {
  395. uni.saveImageToPhotosAlbum({
  396. filePath: this.poster.finalPath,
  397. success(res) {
  398. _app.showToast('保存成功');
  399. }
  400. })
  401. },
  402. hideQr() {
  403. this.qrShow = false;
  404. },
  405. // 微信小程序保存图片
  406. async onSaveImg() {
  407. // #ifdef MP-WEIXIN
  408. let imgUrl = await this.createPoster();
  409. uni.showLoading({
  410. title: '海报下载中'
  411. });
  412. if (settingWritePhotosAlbum) {
  413. uni.getSetting({
  414. success: res => {
  415. if (res.authSetting['scope.writePhotosAlbum']) {
  416. uni.saveImageToPhotosAlbum({
  417. filePath: imgUrl,
  418. success: () => {
  419. uni.hideLoading();
  420. uni.showToast({
  421. title: '保存成功'
  422. });
  423. }
  424. });
  425. } else {
  426. uni.showModal({
  427. title: '提示',
  428. content: '请先在设置页面打开“保存相册”使用权限',
  429. confirmText: '去设置',
  430. cancelText: '算了',
  431. success: data => {
  432. if (data.confirm) {
  433. uni.hideLoading();
  434. uni.openSetting();
  435. }
  436. }
  437. });
  438. }
  439. }
  440. });
  441. } else {
  442. uni.hideLoading();
  443. settingWritePhotosAlbum = true;
  444. uni.authorize({
  445. scope: 'scope.writePhotosAlbum',
  446. success: () => {
  447. uni.saveImageToPhotosAlbum({
  448. filePath: imgUrl,
  449. success: () => {
  450. uni.hideLoading();
  451. uni.showToast({
  452. title: '保存成功'
  453. });
  454. }
  455. });
  456. }
  457. });
  458. }
  459. // #endif
  460. },
  461. //生成海报
  462. createPoster() {
  463. let that = this;
  464. return new Promise((resolve, reject) => {
  465. uni.showLoading({
  466. title: '海报生成中'
  467. });
  468. const ctx = uni.createCanvasContext('poster');
  469. ctx.fillRect(0, 0, 375, 673);
  470. ctx.setFillStyle("#FFF");
  471. ctx.fillRect(0, 0, 375, 673);
  472. let imgUrl = that.backgroundImage;
  473. uni.downloadFile({
  474. url: imgUrl,
  475. success: (res) => {
  476. if (res.statusCode === 200) {
  477. uni.downloadFile({
  478. url: that.config("APIHOST1") + '/app/invite/mpCreateQr?invitationCode=' + that.invitationCode,
  479. success: (res2) => {
  480. console.log(res2)
  481. uni.hideLoading();
  482. if (res.statusCode === 200) {
  483. ctx.drawImage(res.tempFilePath, 0, 0, 375,
  484. 500);
  485. // 长按识别二维码访问
  486. let textTop = 0;
  487. ctx.setFontSize(19);
  488. ctx.setFillStyle('#333');
  489. ctx.fillText("长按识别图中二维码", 17, textTop + 590);
  490. // 二维码
  491. ctx.drawImage(res2.tempFilePath, 238, textTop +
  492. 526, 120, 120);
  493. ctx.draw(true, () => {
  494. // canvas画布转成图片并返回图片地址
  495. uni.canvasToTempFilePath({
  496. canvasId: 'poster',
  497. width: 375,
  498. height: 673,
  499. success: (res) => {
  500. console.log(
  501. "海报制作成功!"
  502. );
  503. resolve(res
  504. .tempFilePath
  505. );
  506. },
  507. fail: () => {
  508. uni
  509. .hideLoading();
  510. reject();
  511. }
  512. })
  513. });
  514. } else {
  515. uni.hideLoading();
  516. uni.showToast({
  517. title: '海报制作失败,图片下载失败',
  518. icon: 'none'
  519. });
  520. }
  521. },
  522. fail: err => {
  523. console.log(err)
  524. uni.hideLoading();
  525. uni.showToast({
  526. title: '海报制作失败,图片下载失败',
  527. icon: 'none'
  528. });
  529. },
  530. complete: com => {
  531. console.log(com)
  532. uni.showToast({
  533. title: com,
  534. icon: 'none'
  535. });
  536. },
  537. });
  538. } else {
  539. uni.hideLoading();
  540. uni.showToast({
  541. title: '海报制作失败,图片下载失败',
  542. icon: 'none'
  543. });
  544. }
  545. },
  546. fail: err => {
  547. // that.yu.toast(err)
  548. console.log(err)
  549. uni.hideLoading();
  550. uni.showToast({
  551. title: '海报制作失败,图片下载失败',
  552. icon: 'none',
  553. });
  554. }
  555. });
  556. });
  557. },
  558. config: function(name) {
  559. var info = null;
  560. if (name) {
  561. var name2 = name.split("."); //字符分割
  562. if (name2.length > 1) {
  563. info = configdata[name2[0]][name2[1]] || null;
  564. } else {
  565. info = configdata[name] || null;
  566. }
  567. if (info == null) {
  568. let web_config = cache.get("web_config");
  569. if (web_config) {
  570. if (name2.length > 1) {
  571. info = web_config[name2[0]][name2[1]] || null;
  572. } else {
  573. info = web_config[name] || null;
  574. }
  575. }
  576. }
  577. }
  578. return info;
  579. },
  580. }
  581. }
  582. </script>
  583. <style>
  584. .modal {
  585. position: fixed;
  586. top: 0;
  587. right: 0;
  588. bottom: 0;
  589. left: 0;
  590. z-index: 1110;
  591. opacity: 0;
  592. outline: 0;
  593. text-align: center;
  594. -ms-transform: scale(1.185);
  595. transform: scale(1.185);
  596. backface-visibility: hidden;
  597. perspective: 2000upx;
  598. /* background: rgba(0, 0, 0, 0.6); */
  599. background: #FFFFFF;
  600. transition: all 0.3s ease-in-out 0s;
  601. pointer-events: none;
  602. }
  603. .modal.show {
  604. opacity: 1;
  605. transition-duration: 0.3s;
  606. -ms-transform: scale(1);
  607. transform: scale(1);
  608. overflow-x: hidden;
  609. overflow-y: auto;
  610. pointer-events: auto;
  611. }
  612. page {
  613. background: #FFFFFF;
  614. }
  615. .view1 {
  616. border-radius: 15upx;
  617. background-size: 100%;
  618. margin: 20upx 20upx 0 20upx;
  619. }
  620. .hideCanvasView {
  621. position: relative;
  622. }
  623. .hideCanvas {
  624. position: fixed;
  625. top: -99999upx;
  626. left: -99999upx;
  627. z-index: -99999;
  628. }
  629. .flex_row_c_c {
  630. display: flex;
  631. flex-direction: row;
  632. justify-content: center;
  633. align-items: center;
  634. }
  635. .modalView {
  636. width: 100%;
  637. height: 100%;
  638. position: fixed;
  639. top: 0;
  640. left: 0;
  641. right: 0;
  642. bottom: 0;
  643. opacity: 0;
  644. outline: 0;
  645. transform: scale(1.2);
  646. perspective: 2500upx;
  647. /* background: rgba(0, 0, 0, 0.6); */
  648. background: #FFFFFF;
  649. transition: all .3s ease-in-out;
  650. pointer-events: none;
  651. backface-visibility: hidden;
  652. z-index: 999;
  653. }
  654. .modalView.show {
  655. opacity: 1;
  656. transform: scale(1);
  657. pointer-events: auto;
  658. }
  659. .flex_column {
  660. display: flex;
  661. flex-direction: column;
  662. }
  663. .backgroundColor-white {
  664. background-color: white;
  665. }
  666. .border_radius_10px {
  667. border-radius: 10px;
  668. }
  669. .padding1vh {
  670. padding: 1vh;
  671. }
  672. .posterImage {
  673. width: 60vw;
  674. }
  675. .flex_row {
  676. display: flex;
  677. flex-direction: row;
  678. }
  679. .marginTop2vh {
  680. margin-top: 2vh;
  681. }
  682. .poster_canvas {
  683. width: 750upx;
  684. height: 1334upx;
  685. position: fixed;
  686. top: -10000upx;
  687. left: 0;
  688. }
  689. </style>