UNPKG

@ohu-mobile/core

Version:
53 lines (52 loc) 1.72 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _vueTsxSupport = require("vue-tsx-support"); var _Card = _interopRequireDefault(require("../../Card")); require("../../Card/style"); var _List = _interopRequireDefault(require("../../List")); require("../../List/style"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _default = exports.default = (0, _vueTsxSupport.componentFactoryOf)().create({ data: function data() { return { list: [{ text: '门诊体检套餐1', minorText: '本套餐主要针对心、肝、胆、胃…', img: 'http://photocdn.sohu.com/20161221/vrsa_hor9271114.jpg' }, { text: '门诊体检套餐2', minorText: '本套餐主要针对心、肝、胆、胃…', img: 'http://photocdn.sohu.com/20161221/vrsa_hor9271114.jpg' }, { text: '门诊体检套餐3', minorText: '本套餐主要针对心、肝、胆、胃、甲…', img: 'http://photocdn.sohu.com/20161221/vrsa_hor9271114.jpg' }] }; }, render: function render() { var h = arguments[0]; return h(_Card.default, [h(_Card.default.Header, { "attrs": { "bold": true } }, ["\u533B\u76F4\u64AD"]), h(_List.default, [this.list.map(function (item) { return h(_List.default.Item, { "attrs": { "button": true, "text": item.text, "minorText": item.minorText } }, [h("img", { "slot": "thumb", "style": "object-fit: contain; width: 120px;", "attrs": { "src": item.img } })]); })])]); } });