You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
686 B
27 lines
686 B
"use strict";
|
|
const common_vendor = require("../../../common/vendor.js");
|
|
const _sfc_main = {
|
|
data() {
|
|
return {
|
|
signInCount: 20,
|
|
// 示例签到次数
|
|
Answers: 35
|
|
// 示例回答问题次数
|
|
};
|
|
},
|
|
computed: {
|
|
totalPoints() {
|
|
return this.signInCount * 2 + this.Answers * 3;
|
|
}
|
|
}
|
|
};
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_vendor.t($options.totalPoints),
|
|
b: common_vendor.t($data.signInCount),
|
|
c: common_vendor.t($data.Answers)
|
|
};
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createPage(MiniProgramPage);
|