12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const utils_system = require("../../utils/system.js");
- require("../../utils/http.js");
- if (!Array) {
- const _easycom_wd_cell2 = common_vendor.resolveComponent("wd-cell");
- _easycom_wd_cell2();
- }
- const _easycom_wd_cell = () => "../../node-modules/wot-design-uni/components/wd-cell/wd-cell.js";
- if (!Math) {
- _easycom_wd_cell();
- }
- const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
- __name: "index",
- setup(__props) {
- const imgObj = {
- user: "https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/user.png",
- gift: "https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/gift.png",
- page: "https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/page.png",
- with: "https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/with.png",
- myBg: "https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/myBg.png"
- };
- const list = [
- {
- label: "可用积分",
- src: "https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/int.png",
- num: 0
- },
- {
- label: "优惠券",
- src: "https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/coupon.png",
- num: 0
- }
- ];
- common_vendor.ref("Hello");
- const navTop = common_vendor.ref(0);
- common_vendor.onLoad(() => {
- navTop.value = utils_system.getNavTop();
- });
- return (_ctx, _cache) => {
- return {
- a: imgObj.myBg,
- b: navTop.value + "rpx",
- c: imgObj.user,
- d: navTop.value + 125 + "rpx",
- e: common_vendor.f(list, (item, index, i0) => {
- return {
- a: item.src,
- b: index
- };
- }),
- f: navTop.value + 280 + "rpx",
- g: imgObj.gift,
- h: imgObj.with,
- i: common_vendor.p({
- ["is-link"]: true,
- title: "奖励记录"
- }),
- j: imgObj.page,
- k: common_vendor.p({
- border: true,
- ["is-link"]: true,
- title: "上传记录"
- })
- };
- };
- }
- });
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-276ac604"]]);
- wx.createPage(MiniProgramPage);
|