| | |
| | | { |
| | | width: 95%; |
| | | margin: 0 auto; |
| | | min-height: 23rem; |
| | | margin-top: 5.3rem; |
| | | position:relative; |
| | | } |
| | |
| | | width: 100%; |
| | | text-align: center; |
| | | margin: 0 auto; |
| | | line-height: 6.2rem; |
| | | line-height: 1.2rem; |
| | | color: #a69b9b; |
| | | font-size: 14px; |
| | | } |
| | |
| | | "token":this.getUrlPar("token") |
| | | }, |
| | | |
| | | url:_this.posturl+'/api/activity/cmsGet', |
| | | url:_this.posturl+'/api/taoke/get_goods_things', |
| | | type:"post", |
| | | dataType:"json", |
| | | async: false, |
| | |
| | | { |
| | | uni.postMessage({ |
| | | data: { |
| | | action: 'getlike' |
| | | action: 'copy' |
| | | } |
| | | }) |
| | | }, |
| | |
| | | data: { |
| | | action: 'copy' |
| | | } |
| | | }) |
| | | }, |
| | | getCmsUrl:function(){ |
| | | var _this = this; |
| | | _this.loading=true; |
| | | $.ajax({ |
| | | headers:{ |
| | | "token":this.getUrlPar("token") |
| | | }, |
| | | url:_this.posturl+'/api/activity/cmsGet', |
| | | type:"post", |
| | | dataType:"json", |
| | | async: false, |
| | | data:{ |
| | | |
| | | } |
| | | }).done(function(res){ |
| | | |
| | | }) |
| | | }, |
| | | getUrlPar:function(name) |
| | |
| | | }, |
| | | }, |
| | | mounted:function(){ |
| | | this.getLikeGoods(); |
| | | document.addEventListener('UniAppJSBridgeReady', function() { |
| | | this.getLikeGoods(); |
| | | }); |
| | | } |
| | | }) |
| | | </script> |