lyqu hace 4 años
padre
commit
20f3fdf72c
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      pages/activityList/activity/authorBoost.vue

+ 7 - 2
pages/activityList/activity/authorBoost.vue

@@ -128,6 +128,7 @@
 				</view>
 			</view>
 		</view>
+		<works-poster ref="myCard" :works="works"></works-poster>
 	</view>
 </template>
 
@@ -135,9 +136,12 @@
 	import {appId} from	'@/common/conf/config.js';
 	import {authUrl} from '@/common/conf/config.js';
 	import {getUrlParams} from '@/common/utils/utils.js';
+	import worksPoster from "@/components/works-poster/works-poster.vue";
 	export default {
+		components: {worksPoster},
 		data() {
 			return {
+				works: {},
 				current: 0,
 				boostDetail: {},
 				dialogShow: false,
@@ -280,9 +284,10 @@
 				this.type = "发送给朋友";
 			},
 			pyqShare() {
+				this.$refs.myCard.showCanvas();
 				this.shareShow = false;
-				this.wxShareShow = true;
-				this.type = "分享到朋友圈"
+				// this.wxShareShow = true;
+				// this.type = "分享到朋友圈"
 			},
 			toPay(info) {
 				console.log(info,456789);