init
This commit is contained in:
19
xhs-mini-demos/component-case/rich-text/templates.js
Normal file
19
xhs-mini-demos/component-case/rich-text/templates.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/** 以下内容为自动生成,请勿手动修改 */
|
||||
|
||||
module.exports = {
|
||||
data: {
|
||||
page_data_0: `
|
||||
<div class="div_class">
|
||||
<h1>Title</h1>
|
||||
<p class="p">
|
||||
Life is <i>like</i> a box of
|
||||
<b> chocolates</b>.
|
||||
</p>
|
||||
</div>
|
||||
`,
|
||||
},
|
||||
|
||||
page_fun_0(e) {
|
||||
this.setData("page_data_0", e.detail.value);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user