function.js
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"use strict";
const common_vendor = require("../common/vendor.js");
const navigationBar = () => "../components/navigationBar.js";
const _sfc_main = {
components: {
navigationBar
},
data() {
return {
list: [
{ title: "实体纸笔,传统书写", icon: "../static/function_list_1.png" },
{ title: "蓝牙传输,一键连接", icon: "../static/function_list_2.png" },
{ title: "线上线下,同步展示", icon: "../static/function_list_3.png" },
{ title: "笔迹色彩,随心变换", icon: "../static/function_list_4.png" },
{ title: "自由擦写,分类保存", icon: "../static/function_list_5.png" }
]
};
},
onLoad() {
},
methods: {
getClass(index) {
return index % 2 == 0 ? "" : "";
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.f($data.list, (item, index, i0) => {
return {
a: item.icon,
b: common_vendor.t(item.title),
c: index % 2 == 0 ? "#D65656" : "#A5A5A5",
d: index
};
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6d5a3fba"]]);
wx.createPage(MiniProgramPage);