zjs_project 1 سال پیش
والد
کامیت
6a26398cba
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      src/pages/webgl_rxdz_text_customize/webgl_rxdz_text_customize.vue

+ 5 - 1
src/pages/webgl_rxdz_text_customize/webgl_rxdz_text_customize.vue

@@ -279,8 +279,12 @@ export default {
 				// wx.miniProgram.navigateTo({url: '/pages/transfer/transfer?event=openCustomerServiceChat&houseId='+this.houseId})
 			}else{
 				// window.location.href = shottingImg;
+				let ind =  window.location.href.indexOf('?');
+				let webUrl = window.location.href.substr(0,ind) + "?houseId=" + this.houseId +"&id=" + this.id + "&typeStatus=1";
+				let url = $config.min_uri + "pages/webView/webView?view=" + encodeURIComponent(webUrl) + "&title=梦想设计";
 				var textArea = document.createElement("textarea");
-				textArea.value = window.location.href;
+				console.warn("***复制***",url)
+				textArea.value = url;
 				document.body.appendChild(textArea);
 				textArea.select();
 				document.execCommand('copy');