128 lines
28 KiB
JavaScript
128 lines
28 KiB
JavaScript
'use strict';
|
|
|
|
var doric = require('doric');
|
|
|
|
const colors = [
|
|
"#70a1ff",
|
|
"#7bed9f",
|
|
"#ff6b81",
|
|
"#a4b0be",
|
|
"#f0932b",
|
|
"#eb4d4b",
|
|
"#6ab04c",
|
|
"#e056fd",
|
|
"#686de0",
|
|
"#30336b",
|
|
].map(e => doric.Color.parse(e));
|
|
|
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
};
|
|
const files = [
|
|
{
|
|
name: "五子棋",
|
|
url: "./dist/Gobang.js",
|
|
alias: "Gobang.js",
|
|
icon: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAfE0lEQVR4Xu1dB1RVx9b+rFgSKyAq9hqwoUQRUVEUxPZU1AhJbM9o7NGoL8lvLDGJRmPsiYmVZ42K+sQIogRBVEosUTE2BFsAY+/Y+Ne+Ce/5fOece8qce++5d/Zad7EWd2bvmW/mu/vMmZm9C4ALR4AjIIpAAY4NR4AjII4AJwifHRwBCQQ4Qfj04AhwgvA5wBFQhwD3IOpw47UcBAFOEAcZaN5NdQhwgqjDjddyEAQ4QRxkoHk31SHACaION17LQRDgBHGQgebdVIcAJ4g63HgtB0HA0QjiDaDhX2N7AsAvDjLOWrvZAYAngJsAjgP4VatCo9R3JIJMBTDtlYGZLvA/o4ydpdoZDSDoJWO3AAwEsMNSDbCmHUchSCOJX73Gf/0qWnMcbNX22wDWCjQuEUBrW200y3ZpIkhe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LrSwSJNo1H83kRj1jmw95qPcdmZ3s38fX5XBDEyoZQzCCmGbDbOTk+jXy8ZwmCmAZv1bwIgqgGZYWGbmdn72nk6zMTwAXTeDSfF/GIZT7srdbz7Zwcv0Y+3lQsVRDEmkZRzCCmGa14Tc7eht7eVNVLEMQ0kKvjRRBEHRz1WYnP0exr6OM1XRBEH1IW9r0giGkGJF6Tc6Cht/c0AOdN49F8XsQ7iPmwt1rPCRrNwQbeXp8KgljZEIoZxDQDlpCrOdTAy2uqIIhp8FbNiyCIalBWaChBoznSwNtrCoAo03g0nxfxiGU+7K3Wc0Ju7tEGXp6fCIJY2RCKGcQ0A3ZXk+tf39vzY0EQ0+CtmhdBENWgrNDQ3dzcwPpenpMBRJrGo/m8iEcs82FvtZ7vanKD6nt7ThIEsbIhFDOIaQYsKTf3WD0vz4mCIKbBWzUvgiCqQVmhoZS83ON1PYsIcs40Hs3nRTximQ97q/WcnJsX7Ozl8ZEgiJUNoZhBTDNgKXm5IXU9PT8UBDEN3qp5EQRRDUo9j1h5oXU9PYggZ03j0XxexCOW+bC3Ws8pebkn63p6jhMEsbIhFDOIaQYsNS/vVG1Pj7GCIKbBWzUvgiCqQVmhodT8/PDaHu5EkD9N49F8XmzuEUvLMDqrsPARCWClsBb/4+///Aftkv9Fujq+fWhUtAAcJKlCVe0DfhxKHZdpRXZ0yd+6AMrTKW0nSeX0+YGG5JZ0K7rFHvyyLHY6ul9kqraHxxhBEPMR1xDPjwJ40hADZmjLw08zdEuvyzN6Naxc4f8CDEGMPU5gUwAAAABJRU5ErkJggg==",
|
|
},
|
|
];
|
|
let DoricPlayground = class DoricPlayground extends doric.Panel {
|
|
onShow() {
|
|
doric.navbar(context).setTitle("Doric Playground");
|
|
}
|
|
build(rootView) {
|
|
doric.scroller(doric.vlayout([
|
|
doric.hlayout([
|
|
doric.text({
|
|
text: "小游戏",
|
|
textSize: 20,
|
|
}).apply({
|
|
layoutConfig: doric.layoutConfig().fit().configAlignmnet(doric.gravity().centerY()).configMargin({
|
|
left: 15,
|
|
})
|
|
})
|
|
]).apply({
|
|
layoutConfig: doric.layoutConfig().just().configWidth(doric.LayoutSpec.MOST).configMargin({
|
|
top: 0,
|
|
}),
|
|
height: 50,
|
|
backgroundColor: colors[3].alpha(0.2),
|
|
}),
|
|
...files.map(e => doric.vlayout([
|
|
doric.hlayout([
|
|
doric.image({
|
|
imageBase64: e.icon,
|
|
layoutConfig: doric.layoutConfig().just(),
|
|
width: 50,
|
|
height: 50,
|
|
scaleType: doric.ScaleType.ScaleAspectFit,
|
|
}),
|
|
doric.text({
|
|
text: e.name,
|
|
textSize: 30,
|
|
textColor: doric.Color.BLACK,
|
|
}).apply({
|
|
layoutConfig: doric.layoutConfig().fit().configAlignmnet(doric.gravity().centerY()).configMargin({
|
|
left: 15,
|
|
})
|
|
}),
|
|
]).apply({
|
|
layoutConfig: doric.layoutConfig().just().configWidth(doric.LayoutSpec.MOST).configMargin({
|
|
top: 10,
|
|
bottom: 10
|
|
}),
|
|
height: 50,
|
|
}),
|
|
(new doric.Stack).apply({
|
|
layoutConfig: doric.layoutConfig().just().configWidth(doric.LayoutSpec.MOST),
|
|
height: 1,
|
|
backgroundColor: colors[3].alpha(0.2),
|
|
}),
|
|
]).apply({
|
|
layoutConfig: doric.layoutConfig().fit().configWidth(doric.LayoutSpec.MOST),
|
|
onClick: () => {
|
|
doric.navigator(context).push(e.url, {
|
|
alias: e.alias,
|
|
});
|
|
},
|
|
})),
|
|
doric.hlayout([
|
|
doric.text({
|
|
text: "待上线",
|
|
textSize: 20,
|
|
}).apply({
|
|
layoutConfig: doric.layoutConfig().fit().configAlignmnet(doric.gravity().centerY()).configMargin({
|
|
left: 15,
|
|
})
|
|
})
|
|
]).apply({
|
|
layoutConfig: doric.layoutConfig().just().configWidth(doric.LayoutSpec.MOST).configMargin({
|
|
top: 0,
|
|
}),
|
|
height: 50,
|
|
backgroundColor: colors[3].alpha(0.2),
|
|
}),
|
|
])
|
|
.apply({
|
|
layoutConfig: doric.layoutConfig().fit().configWidth(doric.LayoutSpec.MOST)
|
|
}))
|
|
.apply({
|
|
layoutConfig: doric.layoutConfig().most()
|
|
})
|
|
.in(rootView);
|
|
}
|
|
};
|
|
DoricPlayground = __decorate([
|
|
Entry
|
|
], DoricPlayground);
|
|
//# sourceMappingURL=DoricPlayground.js.map
|