circle_user.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. <template>
  2. <view id="moments"
  3. class="page">
  4. <view v-if="showVedio" class="showVedio" :style="{height:screenHeight+'px',width:'100%'}">
  5. <!-- <video :src="videoPath"
  6. style="height: 100%;width: 100%"
  7. id="myVideo"
  8. object-fit="fill"
  9. airplay="allow" /> -->
  10. <video autoplay="true"
  11. page-gesture="true"
  12. controls="false"
  13. @fullscreenchange="fullscreenchange"
  14. :style="{height:'100%',width:'100%'}"
  15. id="myVideo"
  16. class="showVedio-video"
  17. :src="videoPath">
  18. <cover-image @tap="showVedio = false"
  19. src="/static/theme/default/my/close.png"
  20. class="cloneBut">
  21. </cover-image>
  22. <!-- </cover-view> -->
  23. </video>
  24. </view>
  25. <view class="home-pic">
  26. <avatar selWidth="600upx"
  27. selHeight="600upx"
  28. @upload="upload"
  29. :avatarSrc="circleImg"
  30. avatarStyle="width: 750upx; height: 500upx; border-radius: 0upx;" />
  31. </avatar>
  32. <view class="home-pic-base">
  33. <view class="top-pic">
  34. <image class="header"
  35. :src="myPhoto"
  36. @tap.stop="goDetails(my_data.id)"
  37. :lazy-load="true" />
  38. </view>
  39. <view class="top-name"
  40. style="color: #FFFFFF;margin-bottom: 10px;">{{ my_data.nickname }}</view>
  41. </view>
  42. </view>
  43. <view class="new_msg"
  44. @tap="goCircleChat"
  45. v-if="no_reader_msg">你有新的消息</view>
  46. <view class="moments__post"
  47. v-for="(post,index) in posts"
  48. :key="index"
  49. :id="'post-'+index" >
  50. <view class="post-left">
  51. <image class="post_header"
  52. :src="staticPhoto + post.header_image + '?_=' + imgRan"
  53. @tap="goDetails(post.uid)"
  54. :lazy-load="true" />
  55. </view>
  56. <view class="post_right">
  57. <text class="post-username"
  58. @tap="goDetails(post.uid)">{{post.username}}</text>
  59. <view>
  60. <view id="paragraph"
  61. class="paragraph"
  62. @tap="init_input()">{{post.content.text}}</view>
  63. <!-- 相册 -->
  64. <view class="thumbnails"
  65. v-if="post.type == 0"
  66. @tap="init_input()">
  67. <view :class="post.content.value.length === 1 ? 'my-gallery' : 'thumbnail' "
  68. v-for="(image, index_images) in post.content.value"
  69. :key="index_images">
  70. <image class="gallery_img"
  71. :lazy-load="true"
  72. mode="aspectFill"
  73. :src="staticPath + post.post_id +'/' + image"
  74. :data-src="image"
  75. @tap="previewImage(index,index_images)"/>
  76. <image v-if="post.content.video_path" @tap="previewImage(index,index_images)" class="bofang-button" style="width: 30px;height: 30px;position: absolute;top: 315rpx;left:220rpx" mode="aspectFill" src="/static/theme/default/my/bofang.png"></image>
  77. </view>
  78. </view>
  79. </view>
  80. <view class="pay_view"
  81. v-if="post.can_pay == 1"> <button :disabled="post.can_pay_times == 0"
  82. :style="{'background-color':post.can_pay_times == 1?'#4591ff':'#A9A9A9'}"
  83. size="mini"
  84. @tap="open(index)"
  85. type="primary">{{post.can_pay_times == 0 ? '已售出' : '¥'+post.pay_amount + '元'}}</button></view>
  86. <!-- 资料条 -->
  87. <view class="toolbar">
  88. <view class="timestamp">{{ post.timestamp }}</view>
  89. <view class="like"
  90. @tap="like(index)">
  91. <image :src="post.islike === 0 ? '../../static/theme/default/push/circle/islike.png' : '../../static/theme/default/push/circle/like.png'"
  92. :lazy-load="true" />
  93. </view>
  94. <view class="comment"
  95. @tap="comment(index)">
  96. <image src="../../static/theme/default/push/circle/comment.png"
  97. :lazy-load="true"></image>
  98. </view>
  99. </view>
  100. <!-- 赞/评论区 -->
  101. <view class="post-footer" v-if="post.comments.length!=0||post.like.length!=0">
  102. <view class="footer_content"
  103. v-if="post.like.length">
  104. <image class="liked"
  105. src="../../static/theme/default/push/circle/liked.png"
  106. :lazy-load="true"></image>
  107. <text class="nickname"
  108. v-for="(user,index_like) in post.like"
  109. :key="index_like"
  110. @tap="goDetails(user.uid)">
  111. {{(index_like ? ',' : '' ) + user.username}}
  112. </text>
  113. </view>
  114. <view class="footer_content"
  115. v-for="(comment,comment_index) in post.comments"
  116. :key="comment_index"
  117. @tap="reply(index,comment_index)">
  118. <text class="comment-nickname"
  119. style="word-break:break-all;">
  120. {{comment.username + comment.reply + ': '}}
  121. <text class="comment-content">
  122. {{comment.content}}
  123. </text>
  124. </text>
  125. </view>
  126. </view>
  127. </view>
  128. <!-- 结束 post -->
  129. </view>
  130. <view class="foot"
  131. v-show="showInput">
  132. <chat-input @send-message="send_comment"
  133. @blur="blur"
  134. :focus="focus"
  135. :placeholder="input_placeholder"></chat-input>
  136. <!-- <chat-input @send-message="send_comment" @blur="blur" :placeholder="input_placeholder"></chat-input> -->
  137. </view>
  138. <view class="uni-loadmore"
  139. v-if="showLoadMore">{{loadMoreText}}</view>
  140. <view :class="['action_main animated faster',(action_menu ? 'bounceInDown' : 'bounceOutUp')]"
  141. v-show="showActionMenu"
  142. @tap="actionMain">
  143. <view class="action_base">
  144. <view class="sj"></view>
  145. <view class="action_item"
  146. @tap="goAction(0)">
  147. <text class="action_item_text">发送图文</text>
  148. </view>
  149. <view class="action_item"
  150. @tap="goAction(1)">
  151. <text class="action_item_text">发送视频</text>
  152. </view>
  153. </view>
  154. </view>
  155. <uni-popup ref="popup" type="address">
  156. <uni-popup-address :userAddress="userAddress" :amount="amount" :goods_name="goods_name" :small_pic="small_pic" @confirm="goBuy"></uni-popup-address>
  157. </uni-popup>
  158. <pay-keyboard :showCose="showCose" :set_info = "set_info" :show_key="show_key" ref="payKeyboard" :set_msg="set_msg" @hideFun="hideFun" @getPassword="getPassword"></pay-keyboard>
  159. </view>
  160. </template>
  161. <script>
  162. import chatInput from './circle/chat_input.vue'; //输入消息框
  163. import _get from '../../common/_get';
  164. import _hook from '../../common/_hook';
  165. import avatar from "../../components/yq-avatar/yq-avatar.vue";
  166. import _data from '../../common/_data';
  167. import UniPopupAddress from "../../components/uni-popup/uni-popup-address";
  168. import UniPopup from "../../components/uni-popup/uni-popup";
  169. import payKeyboard from "../../components/uni-keyword/uni-keyword";
  170. export default {
  171. components: {
  172. UniPopup,
  173. UniPopupAddress,
  174. chatInput,
  175. avatar,
  176. payKeyboard
  177. },
  178. data () {
  179. return {
  180. showPage:true,
  181. my_data: {
  182. id: 0,
  183. nickname: '',
  184. photo: 'default_man/90.jpg',
  185. circle_img: 'default_circle_img.jpg',
  186. },
  187. showCose:true,
  188. set_info:'请输入交易密码,以确认身份',
  189. show_key:false,
  190. set_msg:'请输入交易密码',
  191. user_id: 0,
  192. action_menu: false,
  193. posts: [],// 模拟数据
  194. index: '',
  195. comment_index: '',
  196. input_placeholder: '评论', //占位内容
  197. focus: false, //是否自动聚焦输入框
  198. is_reply: false, //回复还是评论
  199. showInput: false, //评论输入框
  200. screenHeight: '', //屏幕高度(系统)
  201. platform: '',
  202. windowHeight: '',//可用窗口高度(不计入软键盘)
  203. loadMoreText: "加载中...",
  204. showLoadMore: false,
  205. is_more: false,
  206. no_reader_msg: 0,
  207. doubleClick: false,
  208. showVedio:false,
  209. videoPath:'',
  210. post_id:'',
  211. post_index_id:0,
  212. userAddress:{
  213. regionStr: '',
  214. username: '',
  215. mobile: '',
  216. address: '',
  217. regionCode:'440113'
  218. },
  219. small_pic:'',
  220. amount:'',
  221. goods_name: '',
  222. }
  223. },
  224. computed: {
  225. regionName(){
  226. return this.region.map(item=>item.name).join(' ')
  227. },
  228. showActionMenu () {
  229. return this.action_menu;
  230. },
  231. myPhoto () {
  232. return _data.staticPhoto() + this.my_data.photo + '?_=' + this.imgRan;
  233. },
  234. circleImg () {
  235. return _data.staticPhoto() + this.my_data.circle_img;
  236. },
  237. staticPath () {
  238. return _data.staticCircle();
  239. },
  240. staticPhoto () {
  241. return _data.staticPhoto();
  242. },
  243. imgRan () {
  244. return Math.random();
  245. },
  246. },
  247. onLoad (option) {
  248. let _this = this;
  249. _this.user_id = option.user_id;
  250. uni.getSystemInfo({ //获取设备信息
  251. success: (res) => {
  252. _this.screenHeight = res.screenHeight;
  253. _this.platform = res.platform;
  254. }
  255. });
  256. },
  257. onShow () {
  258. _hook.routeSonHook();
  259. let _this = this;
  260. let circle_data = _data.localData('circle_data_user');
  261. console.log("1111111111111111111",circle_data)
  262. /** 加载本地缓存数据,让页面秒速渲染出来 */
  263. if (circle_data) {
  264. _this.posts = circle_data;
  265. if (_data.data('no_reader_circle') || _data.data('no_reader_circle_chat_num')) {
  266. this.posts = [];
  267. _data.data('circle_data_user', []);
  268. this.pullDownRefresh();
  269. }
  270. } else {
  271. _this.pullDownRefresh();
  272. }
  273. let userAddress =_data.localData('data_user_address');
  274. if(userAddress)_this.userAddress = userAddress;
  275. this.no_reader_msg = _data.data('no_reader_circle_chat_num') ? 1 : 0;
  276. _data.data('no_reader_circle', 0);
  277. // 监听窗口尺寸变化,窗口尺寸不包括底部导航栏
  278. uni.onWindowResize((res) => {
  279. if (this.platform === 'ios') {
  280. this.windowHeight = res.size.windowHeight;
  281. this.adjust();
  282. } else {
  283. if (this.screenHeight - res.size.windowHeight > 60 && this.windowHeight <= res.size.windowHeight) {
  284. this.windowHeight = res.size.windowHeight;
  285. this.adjust();
  286. }
  287. }
  288. });
  289. uni.$off('data_circle_data_user');
  290. /** 监听最新数据 */
  291. uni.$on('data_circle_data_user', function (data) {
  292. console.log(1111)
  293. _this.posts = data;
  294. });
  295. /** 监听新的个人数据 */
  296. uni.$on('data_user_info', function (data) {
  297. _this.my_data = data;
  298. });
  299. /** 监听朋友圈动态提示 */
  300. uni.$on('data_circle_tips', function (data) {
  301. if (!isNaN(data)) {
  302. _this.no_reader_msg = 1;
  303. };
  304. });
  305. _this.my_data = _data.data('user_info');
  306. },
  307. onNavigationBarButtonTap (e) {
  308. this.action_menu = !this.action_menu;
  309. },
  310. onUnload () {
  311. uni.$off('data_circle_tips');
  312. uni.$off('data_user_info');
  313. uni.$off('data_circle_data_user');
  314. uni.offWindowResize(() => {
  315. });
  316. this.max = 0,
  317. this.data = [],
  318. this.loadMoreText = "加载更多",
  319. this.showLoadMore = false;
  320. },
  321. onReachBottom () { //监听上拉触底事件
  322. let _this = this;
  323. _this.showLoadMore = true;
  324. if (_this.is_more) {
  325. return;
  326. }
  327. let time = 0,
  328. is_length = _this.posts.length;
  329. if (is_length) {
  330. time = _this.posts[is_length - 1].time;
  331. }
  332. _get.getUserCircleList({
  333. time: time,
  334. type: 1,
  335. user_id: _this.user_id
  336. }, (data) => {
  337. _this.my_data = data.user_info;
  338. if (data.data.length < 10) {
  339. this.loadMoreText = '没有更多数据了';
  340. this.is_more = true;
  341. }
  342. });
  343. },
  344. onPullDownRefresh () { //监听下拉刷新动作
  345. if (_data.data('no_reader_circle') || _data.data('no_reader_circle_chat_num')) {
  346. this.posts = [];
  347. _data.data('circle_data', []);
  348. }
  349. this.pullDownRefresh();
  350. },
  351. onNavigationBarButtonTap (e) {//监听标题栏点击事件
  352. let _this = this;
  353. if (e.index == 0) {
  354. // this.navigateTo('./circle/send');
  355. // this.action_menu = !this.action_menu
  356. let list = [{
  357. name: "图文",
  358. key: "image"
  359. },{
  360. name: "短视频",
  361. key: "video"
  362. },{
  363. name: "取消",
  364. key: "cancle"
  365. }]
  366. uni.showActionSheet({
  367. itemList: list.map(v => v.name),
  368. success: res => {
  369. if(res.tapIndex == 2)return false;
  370. uni.navigateTo({
  371. url: './circle/send?type=' + list[res.tapIndex].key+'&user_id='+_this.user_id,
  372. });
  373. },
  374. });
  375. }
  376. },
  377. methods: {
  378. goAction (index) {
  379. if (index === 0) {
  380. this.navigateTo('./circle/send?user_id='+this.user_id);
  381. }
  382. },
  383. actionMain () {
  384. this.action_menu = !this.action_menu;
  385. },
  386. upload (e) {
  387. let _this = this;
  388. _this.$httpSendFile({
  389. local_url: e.path,
  390. type: 3,
  391. success (data) {
  392. _this.$httpSend({
  393. path: '/im/action/upCircleImg',
  394. success (data) {
  395. _get.base();
  396. uni.showToast({
  397. title: '更换成功',
  398. duration: 2000
  399. });
  400. }
  401. });
  402. },
  403. });
  404. },
  405. goCircleChat () {
  406. _data.data('no_reader_circle_chat_num', 0);
  407. this.navigateTo('./circle_chat_details');
  408. },
  409. pullDownRefresh () {
  410. let _this = this;
  411. //初始化数据
  412. let time = 0;
  413. if (this.posts.length) {
  414. time = this.posts[0].time;
  415. }
  416. console.log("_this.user_id",_this.user_id)
  417. _get.getUserCircleList({
  418. time: time,
  419. type: 0,
  420. user_id: _this.user_id,
  421. }, (data) => {
  422. _this.my_data = data.user_info;
  423. });
  424. uni.stopPullDownRefresh(); //停止下拉刷新
  425. /** 取消好友动态提示 */
  426. _data.data('no_reader_circle', 0);
  427. },
  428. goDetails (user_id) {
  429. this.navigateTo('../details/index?user_id=' + user_id);
  430. },
  431. navigateTo (url) {
  432. uni.navigateTo({
  433. url: url
  434. });
  435. },
  436. like (index) {
  437. let _this = this,
  438. is_like = (_this.posts[index].islike ? 0 : 1);
  439. console.log(is_like)
  440. _this.$httpSend({
  441. path: '/im/circle/likeAction',
  442. data: {
  443. is_like: is_like,
  444. id: _this.posts[index].post_id,
  445. },
  446. success (data) {
  447. // _this.posts[index].islike = data.action;
  448. }
  449. });
  450. },
  451. comment (index) {
  452. if (this.showInput) {
  453. this.showInput = false;
  454. this.focus = false;
  455. this.index = '';
  456. } else {
  457. this.showInput = true; //调起input框
  458. this.focus = true;
  459. this.index = index;
  460. }
  461. },
  462. adjust () { //当弹出软键盘发生评论动作时,调整页面位置pageScrollTo
  463. uni.createSelectorQuery().selectViewport().scrollOffset(res => {
  464. var scrollTop = res.scrollTop;
  465. let view = uni.createSelectorQuery().select("#post-" + this.index);
  466. view.boundingClientRect(data => {
  467. // console.log("data:" + JSON.stringify(data));
  468. // console.log("手机屏幕高度:" + this.screenHeight);
  469. // console.log("竖直滚动位置" + scrollTop);
  470. // console.log("节点离页面顶部的距离为" + data.top);
  471. // console.log("节点高度为" + data.height);
  472. // console.log("窗口高度为" + this.windowHeight);
  473. // uni.pageScrollTo({
  474. // scrollTop: scrollTop - (this.windowHeight - (data.height + data.top + 45)), //一顿乱算
  475. // // scrollTop: 50,
  476. // duration: 300
  477. // });
  478. }).exec();
  479. }).exec();
  480. },
  481. reply (index, comment_index) {
  482. this.is_reply = true; //回复中
  483. this.showInput = true; //调起input框
  484. let replyTo = this.posts[index].comments[comment_index].username;
  485. this.input_placeholder = '回复' + replyTo;
  486. this.index = index; //post索引
  487. this.comment_index = comment_index; //评论索引
  488. this.focus = true;
  489. },
  490. blur: function () {
  491. //this.init_input();
  492. },
  493. send_comment: function (message) {
  494. let _this = this,
  495. is_posts_obj = this.posts[this.index],
  496. chat_user_id = is_posts_obj.uid,
  497. reply = '';
  498. if (this.is_reply) {
  499. let is_reply_obj = is_posts_obj.comments[this.comment_index];
  500. chat_user_id = is_reply_obj.uid;
  501. if (is_posts_obj.uid != chat_user_id) {
  502. reply = '回复' + is_reply_obj.username;
  503. }
  504. }
  505. _this.$httpSend({
  506. path: '/im/circle/comment',
  507. data: {
  508. message,
  509. id: is_posts_obj.post_id,
  510. chat_user_id,
  511. },
  512. success (data) {
  513. is_posts_obj.comments.push({
  514. "uid": _this.my_data.id,
  515. 'reply': reply,
  516. "username": _this.my_data.nickname,
  517. "content": message
  518. });
  519. _this.init_input();
  520. }
  521. });
  522. },
  523. init_input () {
  524. this.showInput = false;
  525. this.focus = false;
  526. this.input_placeholder = '评论';
  527. this.is_reply = false;
  528. },
  529. createVideoPlayer(video_path){
  530. // #ifdef APP-PLUS
  531. let player = null;
  532. player = plus.video.createVideoPlayer('videoplayer', {
  533. src:'rtmp://'+video_path,
  534. top:'50px',
  535. left:'0px',
  536. width: '100%',
  537. height: '100%',
  538. position: 'fix'
  539. });
  540. var pages = getCurrentPages();
  541. var page = pages[pages.length - 1];
  542. var currentWebview = page.$getAppWebview();
  543. currentWebview.append(player)
  544. // #endif
  545. },
  546. previewImage (index, image_index) {
  547. let data = this.posts[index],
  548. _this = this,
  549. images_all = [];
  550. console.log(111)
  551. if(data.content.video_path){
  552. let video_path = this.staticPath + data.post_id + '/' + data.content.video_path;
  553. _this.videoPath = video_path;
  554. _this.showVedio = true;
  555. //设置屏幕高度
  556. return true;
  557. }
  558. for (let i = 0, j = data.content.value.length; i < j; i++) {
  559. images_all.push(this.staticPath + data.post_id + '/' + data.content.value[i].replace('_thumb', ''));
  560. }
  561. var current = images_all[image_index];
  562. uni.previewImage({
  563. current: current,
  564. urls: images_all
  565. });
  566. },
  567. goPublish () {
  568. uni.navigateTo({
  569. url: './circle/send',
  570. success: res => { },
  571. fail: () => { },
  572. complete: () => { }
  573. });
  574. },
  575. // 获取选择的地区
  576. goBuy(address){
  577. //弹出交易密码界面
  578. // this.show_key = true;
  579. this.userAddress = address;
  580. _data.localData('data_user_address',address);
  581. //去支付
  582. let _this = this;
  583. let params =this.userAddress;
  584. params.post_id = this.post_id;
  585. let circle_data = _data.localData('circle_data');
  586. let data = circle_data[_this.post_index_id];
  587. let small_pic = this.staticPath + data.post_id + '/' + data.content.value[0].replace('_thumb', '');
  588. params.small_pic = small_pic;
  589. _get.payCicleOrder(params,function (ret) {
  590. //更新本地朋友圈信息
  591. data.can_pay_times = ret.can_pay_times;
  592. circle_data[_this.post_index_id] = data;
  593. _data.localData('circle_data',circle_data)
  594. uni.$emit('data_circle_data',circle_data);
  595. uni.showToast({
  596. title:'购买成功',
  597. icon:'none',
  598. });
  599. _this.$refs.popup.close();
  600. },function (ret) {
  601. uni.showToast({
  602. title:ret.msg,
  603. icon:'none',
  604. });
  605. _this.show_key = false;
  606. })
  607. },
  608. hideFun(){
  609. this.show_key = false;
  610. },
  611. getPassword(e){
  612. //去支付
  613. let _this = this;
  614. e.post_id = this.post_id;
  615. let params = Object.assign(e,this.userAddress);
  616. let circle_data = _data.localData('circle_data');
  617. let data = circle_data[_this.post_index_id];
  618. console.log(data);
  619. let small_pic = this.staticPath + data.post_id + '/' + data.content.value[0].replace('_thumb', '');
  620. e.small_pic = small_pic;
  621. _get.payCicleOrder(params,function (ret) {
  622. //更新本地朋友圈信息
  623. data.can_pay_times = ret.can_pay_times;
  624. circle_data[_this.post_index_id] = data;
  625. _data.localData('circle_data',circle_data)
  626. uni.$emit('data_circle_data',circle_data);
  627. uni.showToast({
  628. title:'购买成功',
  629. icon:'none',
  630. });
  631. _this.show_key = false;
  632. _this.$refs.payKeyboard.cleanNum();
  633. _this.$refs.popup.close();
  634. },function (ret) {
  635. uni.showToast({
  636. title:ret.msg,
  637. icon:'none',
  638. });
  639. _this.show_key = false;
  640. _this.$refs.payKeyboard.cleanNum();
  641. })
  642. },
  643. open(index){
  644. let data = this.posts[index];
  645. console.log(this.my_data);
  646. console.log(this.userAddress)
  647. this.goods_name = data.content.text;
  648. this.small_pic = this.staticPath + data.post_id + '/' + data.content.value[0].replace('_thumb', '');
  649. this.amount = data.pay_amount;
  650. this.post_id = data.post_id;
  651. this.post_index_id = index;
  652. this.$refs.popup.open();
  653. },
  654. fullscreenchange(){
  655. console.log(1111111111111)
  656. }
  657. },
  658. watch: {
  659. },
  660. }
  661. </script>
  662. <style scoped>
  663. @import url("../../static/css/push/circle.css");
  664. .page {
  665. position: relative;
  666. }
  667. .pay_view {
  668. margin: 15upx 0;
  669. text-align: right;
  670. }
  671. .new_msg {
  672. text-align: center;
  673. color: #36648b;
  674. font-weight: bold;
  675. }
  676. .action_main {
  677. position: fixed;
  678. top: 120upx;
  679. /* #ifndef H5 */
  680. top: 15px;
  681. /* #endif */
  682. width: 750upx;
  683. height: 1080upx;
  684. z-index: 10000;
  685. }
  686. .action_base {
  687. position: absolute;
  688. right: 15upx;
  689. width: 300upx;
  690. top: 120upx;
  691. background: #36363d;
  692. border-radius: 10upx;
  693. }
  694. .sj {
  695. position: fixed;
  696. top: -28upx;
  697. right: 26upx;
  698. /* #ifdef APP-PLUS */
  699. top: 3upx;
  700. right: 20upx;
  701. /* #endif */
  702. width: 0;
  703. height: 0;
  704. border-left: 20upx solid transparent;
  705. border-right: 20upx solid transparent;
  706. border-bottom: 20upx solid #36363d;
  707. }
  708. .action_item {
  709. color: #e5e5e5;
  710. height: 100upx;
  711. line-height: 100upx;
  712. margin-left: 45upx;
  713. border-bottom: 1px solid #3e3e3e;
  714. }
  715. .action_icon {
  716. width: 45upx;
  717. height: 45upx;
  718. display: inline-block;
  719. vertical-align: middle;
  720. }
  721. .action_item:last-child {
  722. border: none;
  723. }
  724. .action_item_text {
  725. font-size: 30upx;
  726. }
  727. .showVedio {
  728. position: fixed;
  729. z-index: 999;
  730. }
  731. .cloneBut {
  732. position: relative;
  733. font-size: 24px;
  734. color: red;
  735. margin-left: 30px;
  736. margin-top: 80px;
  737. height: 30px;
  738. width: 30px;
  739. }
  740. .paragraph{
  741. word-break: break-all;
  742. }
  743. </style>