|
@@ -39,7 +39,7 @@
|
|
</p>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<!-- <button @click="startGame(index)">开始</button> -->
|
|
<!-- <button @click="startGame(index)">开始</button> -->
|
|
- <div class="contents-list-item-button" @click="startGame(index)">
|
|
|
|
|
|
+ <div class="contents-list-item-button" @click="startGame(index,item.page_id)">
|
|
<img
|
|
<img
|
|
src="../../../assets/images/ningdongyunying/puzzle/灰按钮.png"
|
|
src="../../../assets/images/ningdongyunying/puzzle/灰按钮.png"
|
|
v-if="imgshow == item.complete_status"
|
|
v-if="imgshow == item.complete_status"
|
|
@@ -164,6 +164,8 @@ export default {
|
|
complete_num: 0, //已完成
|
|
complete_num: 0, //已完成
|
|
no_complete_num: 0, //未完成
|
|
no_complete_num: 0, //未完成
|
|
jindus: 0,
|
|
jindus: 0,
|
|
|
|
+
|
|
|
|
+ page_id:""
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -190,7 +192,8 @@ export default {
|
|
};
|
|
};
|
|
reader.readAsDataURL(file);
|
|
reader.readAsDataURL(file);
|
|
},
|
|
},
|
|
- startGame(picIndex) {
|
|
|
|
|
|
+ startGame(picIndexpage_id) {
|
|
|
|
+ this.page_id = page_id
|
|
// if (this.activeClass == -1) {
|
|
// if (this.activeClass == -1) {
|
|
// alert("请选择图片");
|
|
// alert("请选择图片");
|
|
// return;
|
|
// return;
|
|
@@ -308,7 +311,7 @@ export default {
|
|
console.log("前往项目详情");
|
|
console.log("前往项目详情");
|
|
|
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url: "../../../../index/record/record?mine_code=ningdongyunying&pageId=156c601a10be43bc8f32e83f0664821b",
|
|
|
|
|
|
+ url: "../../../../index/record/record?mine_code=ningdongyunying&pageId="+this.page_id,
|
|
});
|
|
});
|
|
},
|
|
},
|
|
reStart() {
|
|
reStart() {
|
|
@@ -571,7 +574,7 @@ export default {
|
|
}
|
|
}
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
- console.log(res);
|
|
|
|
|
|
+ console.log(res.data.data.data);
|
|
this.imgArr = res.data.data.data;
|
|
this.imgArr = res.data.data.data;
|
|
});
|
|
});
|
|
},
|
|
},
|