UNPKG

@aiot-toolkit/velasim

Version:

vela for sim

1,536 lines (1,500 loc) 33.3 kB
export default function(global, globalThis, window, $app_exports$){ var createPageHandler = function() { return /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/script-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/module-loader.js!./node_modules/babel-loader/lib/index.js?cwd=/home/zhoubingqing/workspace/vela/vela-qapp-samples&cacheDirectory&plugins[]=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/babel-plugin-jsx.js&comments=false&configFile=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/packager/babel.config.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/access-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=script!./src/component/container/swiper1/index.ux?uxType=page": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/script-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/module-loader.js!./node_modules/babel-loader/lib/index.js?cwd=/home/zhoubingqing/workspace/vela/vela-qapp-samples&cacheDirectory&plugins[]=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/babel-plugin-jsx.js&comments=false&configFile=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/packager/babel.config.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/access-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=script!./src/component/container/swiper1/index.ux?uxType=page ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { module.exports = function __scriptModule__ (module, exports, $app_require$){"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _system = _interopRequireDefault($app_require$("@app-module/system.router")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _default = { private: { pickerList: ['apple', 'peach', 'pear', 'banana'], pickerValue: 'peach', currentIndex: 1, curIndex: -1, productList: [{ name: '衣服', price: '100' }, { name: '裤子', price: '200' }, { name: '上衣', price: '150' }], barData: [{ fillColor: '#f07826', data: [763, 550, 551] }, { fillColor: '#cce5ff', data: [535, 776, 615] }, { fillColor: '#ff88bb', data: [673, 500, 574] }], lineData: [{ strokeColor: '#f07826', data: [763, 550, 551, 554, 731, 654, 525, 696, 595, 628], gradient: true }, { strokeColor: '#cce5ff', data: [535, 776, 615, 444, 694, 785, 677, 609, 562, 410], gradient: true }, { strokeColor: '#ff88bb', data: [673, 500, 574, 483, 702, 583, 437, 506, 693, 657], gradient: true }], barOps: { xAxis: { min: 0, max: 10, display: true, axisTick: 10 }, yAxis: { min: 0, max: 1000, display: true } }, lineOpts: { xAxis: { min: 0, max: 20, display: true, axisTick: 10, color: 'green' }, yAxis: { min: 0, max: 1000, display: true, color: 'blue' } }, switchValue: true, sliderValue: 10 }, onReady() { this.$element('marquee1').start(); }, back() { _system.default.back(); }, swiperChange(e) { console.log(e); this.curIndex = e.index; }, handleChangIndex(e) { this.currentIndex = e.index; }, handleTouchStart(eve) { console.log('touchstart:'); console.log(eve); }, handleTouchmove(eve) { console.log('touchmove:'); console.log(eve); }, handleTouchend(eve) { console.log('touchend'); console.log(eve); }, handleClick(eve) { console.log('click'); console.log(eve); }, handleLongpress(eve) { console.log('longpress'); console.log(eve); }, handleSwipe(eve) { console.log('swipe'); console.log(eve); } }; exports.default = _default; const moduleOwn = exports.default || module.exports; const accessors = ['public', 'protected', 'private']; if (moduleOwn.data && accessors.some(function (acc) { return moduleOwn[acc]; })) { throw new Error('页面VM对象中的属性data不可与"' + accessors.join(',') + '"同时存在,请使用private替换data名称'); } else if (!moduleOwn.data) { moduleOwn.data = {}; moduleOwn._descriptor = {}; accessors.forEach(function (acc) { const accType = typeof moduleOwn[acc]; if (accType === 'object') { moduleOwn.data = Object.assign(moduleOwn.data, moduleOwn[acc]); for (const name in moduleOwn[acc]) { moduleOwn._descriptor[name] = { access: acc }; } } else if (accType === 'function') { console.warn('页面VM对象中的属性' + acc + '的值不能是函数,请使用对象'); } }); }} /***/ }), /***/ "./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/style-loader.js?index=0&type=style!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=style!./src/component/container/swiper1/index.ux?uxType=page": /*!*****************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/style-loader.js?index=0&type=style!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=style!./src/component/container/swiper1/index.ux?uxType=page ***! \*****************************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { module.exports = [ [ [ [ 0, "page" ] ], { "paddingTop": "60px", "paddingRight": "60px", "paddingBottom": "60px", "paddingLeft": "60px", "flexDirection": "column" } ], [ [ [ 0, "column" ] ], { "flexDirection": "column" } ], [ [ [ 0, "row" ] ], { "flexDirection": "row" } ], [ [ [ 0, "header" ] ], { "fontWeight": "bold", "marginBottom": "10px", "marginTop": "20px", "fontSize": "30px" } ], [ [ [ 0, "link" ] ], { "color": "#0099ff", "textDecoration": "underline" } ], [ [ [ 0, "link-ing" ] ], { "color": "#FFA500" } ], [ [ [ 0, "back" ] ], { "textAlign": "center", "fontSize": "30px", "color": "#0099ff", "textDecoration": "underline" } ], [ [ [ 0, "bug" ] ], { "color": "#DD4731" } ], [ [ [ 0, "not-support" ] ], { "color": "#808080" } ], [ [ [ 0, "gray" ] ], { "color": "#808080" } ], [ [ [ 0, "box" ] ], { "width": "200px", "height": "80px", "marginBottom": "10px", "backgroundColor": "#800080" } ], [ [ [ 0, "group" ] ], { "marginBottom": "15px" } ], [ [ [ 0, "label" ] ], { "marginTop": "10px" } ], [ [ [ 0, "border" ] ], { "borderTopWidth": "1px", "borderRightWidth": "1px", "borderBottomWidth": "1px", "borderLeftWidth": "1px", "borderStyle": "solid", "borderTopColor": "#800080", "borderRightColor": "#800080", "borderBottomColor": "#800080", "borderLeftColor": "#800080" } ], [ [ [ 0, "tips" ] ], { "paddingTop": "5px", "paddingRight": "5px", "paddingBottom": "5px", "paddingLeft": "5px", "backgroundColor": "rgb(240,228,204)", "color": "rgb(230,151,4)", "borderRadius": "5px", "marginTop": "5px", "marginBottom": "5px" } ], [ [ [ 0, "code" ] ], { "backgroundColor": "#f0f0f0", "borderRadius": "5px", "borderTopWidth": "1px", "borderRightWidth": "1px", "borderBottomWidth": "1px", "borderLeftWidth": "1px", "borderStyle": "solid", "borderTopColor": "#D3D3D3", "borderRightColor": "#D3D3D3", "borderBottomColor": "#D3D3D3", "borderLeftColor": "#D3D3D3", "paddingTop": "2px", "paddingRight": "4px", "paddingBottom": "2px", "paddingLeft": "4px", "fontSize": "24px" } ], [ [ [ 0, "btn" ] ], { "height": "60px", "width": "360px", "textAlign": "center", "borderRadius": "5px", "marginBottom": "30px", "color": "#ffffff", "fontSize": "30px", "backgroundColor": "#0faeff" } ], [ [ [ 2, "text" ] ], { "fontSize": "26px" } ], [ [ [ 0, "swiper" ] ], { "width": "300px", "height": "100px", "borderTopWidth": "1px", "borderRightWidth": "1px", "borderBottomWidth": "1px", "borderLeftWidth": "1px", "borderStyle": "solid", "borderTopColor": "#000000", "borderRightColor": "#000000", "borderBottomColor": "#000000", "borderLeftColor": "#000000" } ], [ [ [ 0, "image-size" ] ], { "width": "80px", "height": "80px" } ], [ [ [ 0, "swiper-indicator1" ] ], { "indicatorColor": "rgba(128,0,107,0.856)" } ], [ [ [ 0, "swiper-indicator2" ] ], { "indicatorSelectedColor": "#0000FF" } ], [ [ [ 0, "swiper-indicator3" ] ], { "indicatorSize": "10px" } ], [ [ [ 0, "swiper-indicatorTop" ] ], { "indicatorTop": "10px" } ], [ [ [ 0, "swiper-indicatorLeft" ] ], { "indicatorLeft": "10px" } ], [ [ [ 0, "swiper-indicatorRight" ] ], { "indicatorRight": "10px" } ], [ [ [ 0, "swiper-indicatorBottom" ] ], { "indicatorBottom": "10px" } ], [ [ [ 0, "swipe-indicator-container" ] ], { "width": "100%", "display": "flex", "justifyContent": "space-between" } ], [ [ [ 0, "swipe-width" ] ], { "width": "40%" } ], [ [ [ 0, "swiper-item" ] ], { "width": "100%", "height": "100px", "textAlign": "center" } ], [ [ [ 0, "color-1" ] ], { "backgroundColor": "#5F9EA0" } ], [ [ [ 0, "color-2" ] ], { "backgroundColor": "#FF4500" } ], [ [ [ 0, "color-3" ] ], { "backgroundColor": "#FFFF00" } ], [ [ [ 0, "colorC" ] ], { "backgroundColor": "#8A2BE2" } ], [ [ [ 0, "colorD" ] ], { "backgroundColor": "rgb(171,226,43)" } ], [ [ [ 0, "products-wraper" ] ], { "width": "200px", "height": "150px", "borderBottomWidth": "1px", "borderBottomStyle": "solid", "borderBottomColor": "#000000" } ], [ [ [ 0, "product-item" ] ], { "width": "50%", "height": "100px", "color": "#FFFFFF", "backgroundColor": "rgba(0,153,255,0.603)", "borderTopWidth": "1px", "borderRightWidth": "1px", "borderBottomWidth": "1px", "borderLeftWidth": "1px", "borderStyle": "solid", "borderTopColor": "#FF0000", "borderRightColor": "#FF0000", "borderBottomColor": "#FF0000", "borderLeftColor": "#FF0000" } ], [ [ [ 0, "swiper_general" ] ], { "borderTopWidth": "1px", "borderRightWidth": "1px", "borderBottomWidth": "1px", "borderLeftWidth": "1px", "borderStyle": "solid", "borderTopColor": "#000000", "borderRightColor": "#000000", "borderBottomColor": "#000000", "borderLeftColor": "#000000", "borderRadius": "5px", "width": "300px", "height": "100px", "maxWidth": "200px", "maxHeight": "80px", "paddingTop": "20px", "paddingLeft": "30px", "paddingBottom": "20px", "marginTop": "50px", "marginRight": "50px", "marginBottom": "50px", "marginLeft": "50px", "backgroundColor": "rgb(0,255,255)", "opacity": 0.6 } ], [ [ [ 0, "swiper_bgImage" ] ], { "borderTopWidth": "1px", "borderRightWidth": "1px", "borderBottomWidth": "1px", "borderLeftWidth": "1px", "borderStyle": "solid", "borderTopColor": "#000000", "borderRightColor": "#000000", "borderBottomColor": "#000000", "borderLeftColor": "#000000", "borderRadius": "5px", "width": "300px", "height": "100px", "maxWidth": "200px", "maxHeight": "80px", "backgroundImage": "/Common/img2.png", "position": "relative", "visibility": "visible" } ] ] /***/ }), /***/ "./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/template-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=template!./src/component/container/swiper1/index.ux?uxType=page&": /*!*****************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/template-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=template!./src/component/container/swiper1/index.ux?uxType=page& ***! \*****************************************************************************************************************************************************************************************************************************/ /***/ ((module) => { module.exports = function (vm) { const _vm_ = vm || this return aiot.__ce__("div", { "classList": [ "column", "page" ] }, [ aiot.__ce__("text", { "classList": [ "back" ], "events": { "click": function (evt) {_vm_.back(evt)} }, "value": "返回" }), aiot.__ce__("text", { "classList": [ "header" ], "value": "16. change事件" }), aiot.__ce__("div", { "classList": [ "swiper-container" ] }, [ aiot.__ce__("swiper", { "classList": [ "swiper", "swiper-animation" ], "events": { "change": function (evt) {_vm_.swiperChange(evt)} } }, [ aiot.__ce__("text", { "classList": [ "swiper-item", "color-2" ], "value": "A" }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-2" ], "value": "C" }) ]) ]), aiot.__ce__("text", { "value": function () {return '' + '当前索引:' + (_vm_.curIndex)} }), aiot.__ce__("text", { "classList": [ "header" ], "value": "17. swiper不支持嵌套image组件" }), aiot.__ce__("div", { "classList": [ "swiper-container" ] }, [ aiot.__ce__("swiper", { "classList": [ "swiper", "swiper-animation" ] }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("image", { "src": "/Common/img2.jpg", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]) ]), aiot.__ce__("text", { "classList": [ "header" ], "value": "18.swiper支持子组件--容器组件(div,list,list-item,stack,swiper)" }), aiot.__ce__("div", { "classList": [ "swiper-container" ] }, [ aiot.__ce__("swiper", { "classList": [ "swiper", "swiper-animation" ], "style": { "width": "300px", "height": "100px" } }, [ aiot.__ce__("div", { "classList": [ "swiper-item", "color-1" ] }, [ aiot.__ce__("text", { "value": "div" }) ]), aiot.__ce__("list", { "classList": [ "products-wraper" ] }, [ aiot.__cf__({ exp: function () {return _vm_.productList} }, function ($idx, $item) { return aiot.__ce__("list-item", { "type": "list-item", "classList": [ "product-item" ] }, [ aiot.__ce__("text", { "style": { "color": "#FFFFFF" }, "value": function () {return '' + ($item.name) + ':' + ($item.price)} }) ])}) ]), aiot.__ce__("stack", { "classList": [ "stack" ] }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "style": { "width": "100%", "height": "100%" } }), aiot.__ce__("text", { "style": { "color": "#FF7F50" }, "value": "stack容器排列方式为层叠,每个子组件按照先后顺序依次堆叠,覆盖前面的组件" }) ]), aiot.__ce__("div", { "classList": [ "column" ] }, [ aiot.__ce__("div", { "style": { "width": "100px", "height": "100px", "backgroundColor": "#6495ED" } }), aiot.__ce__("swiper", { "style": { "width": "80px", "height": "80px", "indicatorSize": "10px" } }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }) ]), aiot.__ce__("div", { "style": { "width": "100px", "height": "100px", "backgroundColor": "#6495ED" } }) ]) ]) ]), aiot.__ce__("text", { "classList": [ "header" ], "value": "19. swiper支持子组件--基础组件(text,span,image,progress,marquee,chart)" }), aiot.__ce__("div", { "classList": [ "swiper-container" ] }, [ aiot.__ce__("swiper", { "classList": [ "swiper", "swiper-animation" ], "style": { "width": "300px", "height": "100px" } }, [ aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "text" }), aiot.__ce__("text", {}, [ aiot.__ce__("span", { "style": { "color": "#0000FF" }, "value": "span" }) ]), aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("progress", { "percent": "10" }), aiot.__ce__("div", {}, [ aiot.__ce__("marquee", { "id": "marquee1", "scrollamount": "60", "style": { "width": "100%", "height": "30px", "color": "rgb(0,153,255)" }, "value": "scrollamount控制滚动速度,当前为60(60像素/秒)" }) ]), aiot.__ce__("div", { "classList": [ "column" ] }, [ aiot.__ce__("chart", { "type": "bar", "id": "bar-chart", "options": function () {return _vm_.barOps}, "datasets": function () {return _vm_.barData}, "classList": [ "chart" ] }), aiot.__ce__("chart", { "type": "line", "id": "line-chart", "options": function () {return _vm_.lineOpts}, "datasets": function () {return _vm_.lineData}, "classList": [ "chart" ] }) ]) ]) ]), aiot.__ce__("text", { "classList": [ "header" ], "value": "20. swiper支持子组件--表单组件(input,picker,switch,slider)" }), aiot.__ce__("div", { "classList": [ "swiper-container" ] }, [ aiot.__ce__("swiper", { "classList": [ "swiper", "swiper-animation" ], "style": { "width": "300px", "height": "100px" } }, [ aiot.__ce__("input", { "type": "button", "value": "按钮", "name": "按钮组件", "style": { "width": "70px", "height": "30px", "fontSize": "12px" } }), aiot.__ce__("div", { "style": { "width": "100px", "height": "30px" } }, [ aiot.__ce__("picker", { "type": "text", "range": function () {return _vm_.pickerList}, "value": function () {return _vm_.pickerValue}, "selected": "1", "style": { "borderTopWidth": "1px", "borderRightWidth": "1px", "borderBottomWidth": "1px", "borderLeftWidth": "1px", "borderStyle": "solid", "borderTopColor": "#808080", "borderRightColor": "#808080", "borderBottomColor": "#808080", "borderLeftColor": "#808080", "selectedColor": "rgba(0,0,0,0.041)" } }) ]), aiot.__ce__("div", { "classList": [ "column" ] }, [ aiot.__ce__("switch", { "checked": function () {return _vm_.switchValue}, "style": { "width": "30px", "height": "20px", "marginTop": "30px" } }) ]), aiot.__ce__("div", {}, [ aiot.__ce__("slider", { "min": "0", "max": "100", "step": "10", "value": function () {return _vm_.sliderValue}, "style": { "marginTop": "30px" }, "classList": [ "slider" ] }) ]) ]) ]), aiot.__ce__("text", { "classList": [ "header" ], "value": "21. swiper-通用样式(width,height,min/max-width/height,padding,margin,border)" }), aiot.__ce__("div", { "classList": [ "swiper-container" ] }, [ aiot.__ce__("swiper", { "classList": [ "swiper_general" ] }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("image", { "src": "/Common/img2.jpg", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]) ]), aiot.__ce__("text", { "classList": [ "header" ], "value": "22. swiper-通用样式(background-image,opacity,display=none,visibility=hidden,position=relative)" }), aiot.__ce__("div", { "classList": [ "swiper-container" ] }, [ aiot.__ce__("swiper", { "classList": [ "swiper_bgImage" ] }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]) ]), aiot.__ce__("text", { "classList": [ "header", "bug" ], "value": "23. swiper-通用事件" }), aiot.__ce__("div", { "classList": [ "swiper-container" ], "style": { "flexDirection": "column" } }, [ aiot.__ce__("text", { "style": { "color": "#5F9EA0", "marginTop": "10px" }, "value": "touchstart" }), aiot.__ce__("swiper", { "classList": [ "swiper_bgImage" ], "events": { "touchstart": function (evt) {_vm_.handleTouchStart(evt)} } }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]), aiot.__ce__("text", { "style": { "color": "#5F9EA0", "marginTop": "10px" }, "value": "touchmove" }), aiot.__ce__("swiper", { "classList": [ "swiper_bgImage" ], "events": { "touchmove": function (evt) {_vm_.handleTouchmove(evt)} } }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]), aiot.__ce__("text", { "style": { "color": "#5F9EA0", "marginTop": "10px" }, "value": "touchend" }), aiot.__ce__("swiper", { "classList": [ "swiper_bgImage" ], "events": { "touchend": function (evt) {_vm_.handleTouchend(evt)} } }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]), aiot.__ce__("text", { "style": { "color": "#5F9EA0", "marginTop": "10px" }, "value": "click" }), aiot.__ce__("swiper", { "classList": [ "swiper_bgImage" ], "events": { "click": function (evt) {_vm_.handleClick(evt)} } }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]), aiot.__ce__("text", { "style": { "color": "#5F9EA0", "marginTop": "10px" }, "value": "longpress" }), aiot.__ce__("swiper", { "classList": [ "swiper_bgImage" ], "events": { "longpress": function (evt) {_vm_.handleLongpress(evt)} } }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]), aiot.__ce__("text", { "style": { "color": "#5F9EA0", "marginTop": "10px" }, "value": "swipe" }), aiot.__ce__("swiper", { "loop": "false", "classList": [ "swiper_bgImage" ], "events": { "swipe": function (evt) {_vm_.handleSwipe(evt)} } }, [ aiot.__ce__("image", { "src": "/Common/img1.png", "alt": "/Common/logo.png", "classList": [ "image-size" ] }), aiot.__ce__("text", { "classList": [ "swiper-item", "color-3" ], "value": "B" }), aiot.__ce__("text", { "classList": [ "swiper-item", "colorC" ], "value": "C" }) ]) ]) ]) } /***/ }), /***/ "./src/component/container/swiper1/index.ux?uxType=page": /*!**************************************************************!*\ !*** ./src/component/container/swiper1/index.ux?uxType=page ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var $app_style$ = __webpack_require__(/*! !../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/style-loader.js?index=0&type=style!../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=style!./index.ux?uxType=page */ "./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/style-loader.js?index=0&type=style!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=style!./src/component/container/swiper1/index.ux?uxType=page") var $app_script$ = __webpack_require__(/*! !../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/script-loader.js!../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/module-loader.js!../../../../node_modules/babel-loader/lib/index.js?cwd=/home/zhoubingqing/workspace/vela/vela-qapp-samples&cacheDirectory&plugins[]=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/babel-plugin-jsx.js&comments=false&configFile=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/packager/babel.config.js!../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/access-loader.js!../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=script!./index.ux?uxType=page */ "./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/script-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/module-loader.js!./node_modules/babel-loader/lib/index.js?cwd=/home/zhoubingqing/workspace/vela/vela-qapp-samples&cacheDirectory&plugins[]=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/babel-plugin-jsx.js&comments=false&configFile=/home/zhoubingqing/workspace/vela/vela-qapp-samples/node_modules/@aiot-toolkit/packager/babel.config.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/access-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=script!./src/component/container/swiper1/index.ux?uxType=page") var $app_template$ = __webpack_require__(/*! !../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/template-loader.js!../../../../node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=template!./index.ux?uxType=page& */ "./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/template-loader.js!./node_modules/@aiot-toolkit/dsl-xvm/lib/loaders/fragment-loader.js?index=0&type=template!./src/component/container/swiper1/index.ux?uxType=page&") $app_script$({}, $app_exports$, $app_require$); $app_exports$.default.template = $app_template$; $app_exports$.default.style = $app_style$; module.exports = $app_exports$.default; /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(__webpack_module_cache__[moduleId]) { /******/ return __webpack_module_cache__[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined /******/ var __webpack_exports__ = __webpack_require__("./src/component/container/swiper1/index.ux?uxType=page"); /******/ /******/ })() ; }; return createPageHandler(); };