| | |
| | | <p class="realpic-loading" v-else>数据已加载完了</p> |
| | | </div> |
| | | </div> |
| | | <div class="free-share" v-bind:class="acFocus?'active':''"> |
| | | <!-- <div class="free-share" v-bind:class="acFocus?'active':''"> |
| | | <img src="http://img.bc.haodanku.com/haodanku/1613981706" v-on:click="copyShare()" class="share-btn"> |
| | | </div> |
| | | </div> --> |
| | | <div> |
| | | <div class="back_top" v-if="scrollShow" v-on:click="arrowTop()"></div> |
| | | <div class="tokenbox tokenbox1"> |
| | |
| | | type: "Get", |
| | | url: that.vmHttp + "://v2.api.haodanku.com/sign_red_pack_goods", |
| | | data: { |
| | | apikey: '', //必填 |
| | | apikey: '0F92EBA7AADA', //必填 |
| | | min_size: 20, |
| | | sort: that.sortId, |
| | | min_id: that.page, |
| | |
| | | // if(!isCoupon && vmRequest("pure_tpwd")) { |
| | | // // 直接复制 |
| | | // copy(item.tpwd, "复制口令成功,请打开淘宝下单"); |
| | | if(!isCoupon) { |
| | | // 直接复制 |
| | | SpaUtils.copy(item.itemtitle, false); |
| | | this.titleCopyTipsVisible = true; |
| | | return; |
| | | } |
| | | |
| | | var that = this; |
| | | var load = layer.load(1, {shade: 0.3}); |
| | | $.ajax({ |
| | |
| | | success: function(data) { |
| | | layer.close(load); |
| | | if(data.code == "1") { |
| | | if(!isCoupon) {//直接下单 |
| | | uni.postMessage({ |
| | | data: { |
| | | action: 'totb', |
| | | tburl:data.data.item_url |
| | | } |
| | | }) |
| | | return; |
| | | } |
| | | that.taoToken = data.data.taoword; |
| | | if(isCoupon) { |
| | | that.popupFun(".tokenbox1"); |
| | | //that.popupFun(".tokenbox1"); |
| | | uni.postMessage({ |
| | | data: { |
| | | action: 'totb', |
| | | tburl:data.data.link |
| | | } |
| | | }) |
| | | } else { |
| | | that.openSnappedUpDialog(); |
| | | } |