Commit 7cbfd08b authored by 袁玲利's avatar 袁玲利

Merge branch 'v_req_11.2' into uat

parents 59770ad2 bf5bb2aa
...@@ -61,22 +61,63 @@ ...@@ -61,22 +61,63 @@
</view> </view>
</view> </view>
<view class="img"></view> <view class="img"></view>
<view class="open"> <view class="open" v-if="CompusComsumeData.sch_open_cons_membership">
<view class="finger"></view> <view class="finger"></view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
var gHost = "https://" + window.location.host;
if (window.location.protocol != "https:") {
gHost = "https://uat-pay.xiaopay.net";
}
export default { export default {
data() { data() {
return { return {
faceType: "", faceType: "",
fromPage: "", fromPage: "",
sessionId: "",
CompusComsumeData: {}
}; };
}, },
onLoad: function (options) {}, onLoad: function (options) {
this.sessionId = options.sessionId || "";
},
onShow() {}, onShow() {},
methods: {
// 小程序游戏统计接口
async GetCompusComsumeData() {
$.ajax({
url:
gHost +
"/wechat/svweapp/GetCompusComsumeData?sessionid=" +
this.sessionId,
type: "post",
dataType: "json",
contentType: "application/x-www-form-urlencoded",
data: {
feeType: 3,
},
success: function (res) {
if (res.code == 10000) {
console.log(res);
this.CompusComsumeData = res.results
return;
}
uni.showToast({
icon: "none",
mask: true,
title: res.message,
});
return;
},
error: function (error) {
reject(error);
},
});
},
},
}; };
</script> </script>
......
...@@ -104,6 +104,13 @@ export default { ...@@ -104,6 +104,13 @@ export default {
description: "奇思妙想的拼图世界", description: "奇思妙想的拼图世界",
appId: "wxb5612f7e17786c46", appId: "wxb5612f7e17786c46",
}, },
{
icon: this.$ImgUrl + "gameOrder/game13.png",
name: "酷鼠宝快跑",
score: "跑酷消除",
description: "一款轻松快乐的消除游戏。快些挖洞,帮助鼠宝逃离大蛇的追击吧!",
appId: "wxad3052c2d2a34787",
},
], ],
params: { params: {
sessionid: "", sessionid: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment