|
@@ -308,8 +308,13 @@
|
|
|
<view>
|
|
|
<button type="default" class="but1" @click="addwindow" :disabled="ddl">添加橱窗</button>
|
|
|
</view>
|
|
|
+
|
|
|
+ <!-- //添加橱窗 走添加橱窗流程 -->
|
|
|
+ <!-- <view>
|
|
|
+ <button type="default" class="but1" @click="listTest" :disabled="ddl">测试按钮</button>
|
|
|
+ </view> -->
|
|
|
|
|
|
- <!-- //免费领样 判断是否有免费领样 -->
|
|
|
+ <!-- //免费领样 判断是否有免费领样 -->
|
|
|
<view v-if="selection.sample_mode==1">
|
|
|
|
|
|
<button type="default" class="but1" :disabled="isDisabled" @click="submit()">{{buttonText}}</button>
|
|
@@ -350,7 +355,7 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
</view>
|
|
|
-
|
|
|
+ <!-- 分享码 -->
|
|
|
<uni-popup ref="popup2" class="share1" background-color="#fff" @change="change">
|
|
|
<view class="popup-content">
|
|
|
<image :src="canvasUrl" mode="widthFix" style="width: 300px;height: 420px;margin-top: 30rpx;">
|
|
@@ -748,14 +753,6 @@
|
|
|
console.log("options:----->", options)
|
|
|
this.selectionId = options.id
|
|
|
this.productId = options.pid
|
|
|
- // const scene = decodeURIComponent(options.scene);
|
|
|
- // console.log("scene: ", scene)
|
|
|
- // if (scene != "undefined") {
|
|
|
- // this.selectionId = scene;
|
|
|
- // } else {
|
|
|
- // this.selectionId = options.id
|
|
|
- // this.productId = options.pid
|
|
|
- // }
|
|
|
this.share.path = 'https://younggee.com/wxapp/taskdetail?action=taskdetail&id=' + this.selectionId
|
|
|
console.log("share path: ", this.share.path)
|
|
|
this.postlist()
|
|
@@ -764,6 +761,13 @@
|
|
|
this.init();
|
|
|
},
|
|
|
methods: {
|
|
|
+ listTest(){
|
|
|
+ return this.$https.get('/youngee/c/t/g/check-kuaishou-authnum')
|
|
|
+ .then(res => {
|
|
|
+ console.log("接口测试结果------>", res); // 这行会输出响应对象到控制台
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
//走到这一步的token必然有效
|
|
|
getFansNum() {
|
|
|
return this.$https.get('/youngee/c/t/g/get-kuaishou-fans-num')
|
|
@@ -865,8 +869,9 @@
|
|
|
// page: 'pages/task/taskdetails',
|
|
|
})
|
|
|
.then(res => {
|
|
|
- console.log(res)
|
|
|
+ console.log("进入postlist-----》",res)
|
|
|
this.qrcode = 'data:image/png;base64,' + res.data.data;
|
|
|
+ console.log("this.qrcode-----",this.qrcode)
|
|
|
})
|
|
|
},
|
|
|
getLeadTeam() {
|
|
@@ -1469,8 +1474,9 @@
|
|
|
this.$refs.mosoweCanvasComponents.createCanvas();
|
|
|
},
|
|
|
_canvasImage(e) {
|
|
|
- console.log("url", e)
|
|
|
- this.canvasUrl = e;
|
|
|
+ console.log("url(e)-----》", e)
|
|
|
+ // this.canvasUrl = e;
|
|
|
+ this.canvasUrl = this.qrcode
|
|
|
},
|
|
|
// 保存图片
|
|
|
async saveImage() {
|