2 Star 3 Fork 3

element-plus/doc-archive

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DOCS zh-CN23.0cb71eee40c7d7b6716e.js 12.30 KB
一键复制 编辑 原始数据 按行查看 历史
iamkun 提交于 2021-09-15 18:54 . chore: update
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[305],{
/***/ 711:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.prod.js
var vue_esm_browser_prod = __webpack_require__(0);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/zh-CN/divider.md?vue&type=template&id=0a17c85a
const dividervue_type_template_id_0a17c85a_hoisted_1 = {
class: "content element-doc"
};
const dividervue_type_template_id_0a17c85a_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Divider 分割线 ");
const dividervue_type_template_id_0a17c85a_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "区隔内容的分割线。", -1);
const dividervue_type_template_id_0a17c85a_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("基础用法 ");
const dividervue_type_template_id_0a17c85a_hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "对不同章节的文本段落进行分割。", -1);
const dividervue_type_template_id_0a17c85a_hoisted_6 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div>\n <span>青春是一个短暂的美梦, 当你醒来时, 它早已消失无踪</span>\n <el-divider></el-divider>\n <span>少量的邪恶足以抵消全部高贵的品质, 害得人声名狼藉</span>\n </div>\n</template>\n")], -1);
const _hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("设置文案 ");
const _hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "可以在分割线上自定义文案内容。", -1);
const _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div>\n <span>头上一片晴天,心中一个想念</span>\n <el-divider content-position=\"left\">少年包青天</el-divider>\n <span>饿了别叫妈, 叫饿了么</span>\n <el-divider><i class=\"el-icon-mobile-phone\"></i></el-divider>\n <span>为了无法计算的价值</span>\n <el-divider content-position=\"right\">阿里云</el-divider>\n </div>\n</template>\n")], -1);
const _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("垂直分割 ");
const _hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div>\n <span>雨纷纷</span>\n <el-divider direction=\"vertical\"></el-divider>\n <span>旧故里</span>\n <el-divider direction=\"vertical\"></el-divider>\n <span>草木深</span>\n </div>\n</template>\n")], -1);
const _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Divider Attributes ");
const _hoisted_13 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>参数</th><th>说明</th><th>类型</th><th>可选值</th><th>默认值</th></tr></thead><tbody><tr><td>direction</td><td>设置分割线方向</td><td>string</td><td>horizontal / vertical</td><td>horizontal</td></tr><tr><td>content-position</td><td>设置分割线文案的位置</td><td>string</td><td>left / right / center</td><td>center</td></tr></tbody></table>", 1);
function dividervue_type_template_id_0a17c85a_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_app_link = Object(vue_esm_browser_prod["resolveComponent"])("app-link");
const _component_app_heading = Object(vue_esm_browser_prod["resolveComponent"])("app-heading");
const _component_element_demo0 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo0");
const _component_demo_block = Object(vue_esm_browser_prod["resolveComponent"])("demo-block");
const _component_element_demo1 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo1");
const _component_element_demo2 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo2");
const _component_right_nav = Object(vue_esm_browser_prod["resolveComponent"])("right-nav");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("section", dividervue_type_template_id_0a17c85a_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "divider-fen-ge-xian",
content: "Divider 分割线",
href: "#divider-fen-ge-xian",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dividervue_type_template_id_0a17c85a_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#divider-fen-ge-xian"
})]),
_: 1
}), dividervue_type_template_id_0a17c85a_hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "ji-chu-yong-fa",
content: "基础用法",
href: "#ji-chu-yong-fa",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [dividervue_type_template_id_0a17c85a_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#ji-chu-yong-fa"
})]),
_: 1
}), dividervue_type_template_id_0a17c85a_hoisted_5, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo0)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [dividervue_type_template_id_0a17c85a_hoisted_6]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "she-zhi-wen-an",
content: "设置文案",
href: "#she-zhi-wen-an",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_7, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#she-zhi-wen-an"
})]),
_: 1
}), _hoisted_8, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo1)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_9]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "chui-zhi-fen-ge",
content: "垂直分割",
href: "#chui-zhi-fen-ge",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_10, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#chui-zhi-fen-ge"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo2)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_11]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "divider-attributes",
content: "Divider Attributes",
href: "#divider-attributes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_12, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#divider-attributes"
})]),
_: 1
}), _hoisted_13, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/zh-CN/divider.md?vue&type=template&id=0a17c85a
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/zh-CN/divider.md?vue&type=script&lang=ts
/* harmony default export */ var dividervue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", null, "青春是一个短暂的美梦, 当你醒来时, 它早已消失无踪", -1);
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", null, "少量的邪恶足以抵消全部高贵的品质, 害得人声名狼藉", -1);
function render(_ctx, _cache) {
const _component_el_divider = _resolveComponent("el-divider");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", null, [_hoisted_1, _createVNode(_component_el_divider), _hoisted_2])]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", null, "头上一片晴天,心中一个想念", -1);
const _hoisted_2 = /*#__PURE__*/_createTextVNode("少年包青天");
const _hoisted_3 = /*#__PURE__*/_createElementVNode("span", null, "饿了别叫妈, 叫饿了么", -1);
const _hoisted_4 = /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-mobile-phone"
}, null, -1);
const _hoisted_5 = /*#__PURE__*/_createElementVNode("span", null, "为了无法计算的价值", -1);
const _hoisted_6 = /*#__PURE__*/_createTextVNode("阿里云");
function render(_ctx, _cache) {
const _component_el_divider = _resolveComponent("el-divider");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", null, [_hoisted_1, _createVNode(_component_el_divider, {
"content-position": "left"
}, {
default: _withCtx(() => [_hoisted_2]),
_: 1
}), _hoisted_3, _createVNode(_component_el_divider, null, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _hoisted_5, _createVNode(_component_el_divider, {
"content-position": "right"
}, {
default: _withCtx(() => [_hoisted_6]),
_: 1
})])]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo2": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", null, "雨纷纷", -1);
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", null, "旧故里", -1);
const _hoisted_3 = /*#__PURE__*/_createElementVNode("span", null, "草木深", -1);
function render(_ctx, _cache) {
const _component_el_divider = _resolveComponent("el-divider");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", null, [_hoisted_1, _createVNode(_component_el_divider, {
direction: "vertical"
}), _hoisted_2, _createVNode(_component_el_divider, {
direction: "vertical"
}), _hoisted_3])]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/zh-CN/divider.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/zh-CN/divider.md
dividervue_type_script_lang_ts.render = dividervue_type_template_id_0a17c85a_render
/* harmony default export */ var divider = __webpack_exports__["default"] = (dividervue_type_script_lang_ts);
/***/ })
}]);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/element-plus/doc-archive.git
git@gitee.com:element-plus/doc-archive.git
element-plus
doc-archive
doc-archive
main

搜索帮助