btxui 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo.html +1 -0
- package/index.common.js +93 -0
- package/index.common.js.map +1 -0
- package/index.umd.js +104 -0
- package/index.umd.js.map +1 -0
- package/index.umd.min.js +2 -0
- package/index.umd.min.js.map +1 -0
- package/package.json +12 -23
- package/README.md +0 -42
- package/app.vue +0 -162
- package/assets/css/_main.js +0 -73
- package/assets/css/btx.min.css +0 -1
- package/assets/css/btx.mob.min.css +0 -1
- package/assets/css/btx.pad.min.css +0 -1
- package/assets/css/btx.webapp.min.css +0 -1
- package/assets/css/custom_fonts/iconfont.css +0 -37
- package/assets/css/custom_fonts/iconfont.eot +0 -0
- package/assets/css/custom_fonts/iconfont.svg +0 -47
- package/assets/css/custom_fonts/iconfont.ttf +0 -0
- package/assets/css/custom_fonts/iconfont.woff +0 -0
- package/assets/css/custom_fonts/iconfont.woff2 +0 -0
- package/assets/css/res-l.css +0 -47
- package/assets/css/res-m.css +0 -47
- package/assets/css/res-s.css +0 -61
- package/assets/custom_fonts/iconfont.css +0 -37
- package/assets/custom_fonts/iconfont.eot +0 -0
- package/assets/custom_fonts/iconfont.svg +0 -47
- package/assets/custom_fonts/iconfont.ttf +0 -0
- package/assets/custom_fonts/iconfont.woff +0 -0
- package/assets/custom_fonts/iconfont.woff2 +0 -0
- package/assets/js/Btx.js +0 -196
- package/assets/js/Utils.js +0 -421
- package/assets/js/fastclick.js +0 -802
- package/assets/js/lazy.min.js +0 -2
- package/assets/js/touchwipe.js +0 -111
- package/assets/server.js +0 -8
- package/assets/start_site_code_str.js +0 -119
- package/cdn/css/btx.min.css +0 -1
- package/cdn/css/btx.min.css.map +0 -1
- package/cdn/fonts/iconfont.ttf +0 -0
- package/cdn/fonts/iconfont.woff +0 -0
- package/cdn/fonts/iconfont.woff2 +0 -0
- package/components/BTXUI/app/app-wid.vue +0 -182
- package/components/BTXUI/btn/btn-wid.vue +0 -128
- package/components/BTXUI/carousel/carousel-wid.vue +0 -138
- package/components/BTXUI/checkbox/checkbox-wid.vue +0 -72
- package/components/BTXUI/confirm/confirm-wid.vue +0 -279
- package/components/BTXUI/content/content-checkbox-wid.vue +0 -44
- package/components/BTXUI/content/content-node-wid.vue +0 -114
- package/components/BTXUI/content/content-tag-wid.vue +0 -25
- package/components/BTXUI/content/content-wid.vue +0 -254
- package/components/BTXUI/core/anis/ani-fail.vue +0 -46
- package/components/BTXUI/core/anis/ani-loading.vue +0 -32
- package/components/BTXUI/core/anis/ani-notic.vue +0 -47
- package/components/BTXUI/core/anis/ani-success.vue +0 -48
- package/components/BTXUI/core/b-drag.vue +0 -258
- package/components/BTXUI/core/b-grid.vue +0 -84
- package/components/BTXUI/core/b-hot.vue +0 -171
- package/components/BTXUI/core/b-icon.vue +0 -76
- package/components/BTXUI/core/b-img.vue +0 -84
- package/components/BTXUI/core/b-input.vue +0 -198
- package/components/BTXUI/core/b-list.vue +0 -276
- package/components/BTXUI/core/b-text/doc.ts +0 -9
- package/components/BTXUI/core/b-text/index.vue +0 -16
- package/components/BTXUI/core/b-textarea.vue +0 -58
- package/components/BTXUI/core/b-video.vue +0 -35
- package/components/BTXUI/core/b-view/doc.ts +0 -10
- package/components/BTXUI/core/b-view/index.vue +0 -20
- package/components/BTXUI/core/b-webview.vue +0 -20
- package/components/BTXUI/core/lib/ChapterLink.js +0 -49
- package/components/BTXUI/core/lib/Search.vue +0 -60
- package/components/BTXUI/core/styles/doc.ts +0 -55
- package/components/BTXUI/core/styles/index.vue +0 -98
- package/components/BTXUI/core/styles/prestyles.ts +0 -471
- package/components/BTXUI/core/styles/theme.ts +0 -29
- package/components/BTXUI/drawer/drawer-wid.vue +0 -165
- package/components/BTXUI/drawer/title-tag-wid.vue +0 -114
- package/components/BTXUI/form/form-select-wid.vue +0 -57
- package/components/BTXUI/form/form-wid.vue +0 -324
- package/components/BTXUI/formPannel/form-pannel-wid.vue +0 -133
- package/components/BTXUI/imgsUpload/imgs-upload-wid.vue +0 -149
- package/components/BTXUI/index.js +0 -83
- package/components/BTXUI/pageFlip/page-flip-wid.vue +0 -206
- package/components/BTXUI/pannel/pannel-wid.vue +0 -167
- package/components/BTXUI/range/range-wid.vue +0 -134
- package/components/BTXUI/search/search-wid.vue +0 -80
- package/components/BTXUI/select/select-wid.vue +0 -186
- package/components/BTXUI/slider/slider-wid.vue +0 -444
- package/components/BTXUI/tab/tab-wid.vue +0 -109
- package/components/BTXUI/table/table-wid.vue +0 -324
- package/components/BTXUI/tag/tag-wid.vue +0 -183
- package/components/BTXUI/tags/tags-wid.vue +0 -121
- package/components/BTXUI/tooltip/tooltip-wid.vue +0 -146
- package/components/BTXUI/upload/upload-wid.vue +0 -215
- package/components/BTXUI/waterfall/waterfall-wid.vue +0 -166
- package/components/header-info.vue +0 -167
- package/composables/@types.ts +0 -4
- package/composables/api.ts +0 -18
- package/env.d.ts +0 -5
- package/main.js +0 -16
- package/nuxt.config.ts +0 -51
- package/pages/article.vue +0 -16
- package/pages/download.vue +0 -50
- package/pages/example/app_wid/app/data_demo.vue +0 -9
- package/pages/example/app_wid/app/download_demo.vue +0 -9
- package/pages/example/app_wid/app/list_demo.vue +0 -11
- package/pages/example/app_wid/app/system_demo.vue +0 -9
- package/pages/example/app_wid/app_wid_demo.vue +0 -198
- package/pages/example/app_wid/btn_wid_demo.vue +0 -179
- package/pages/example/app_wid/carousel_wid_demo.vue +0 -152
- package/pages/example/app_wid/checkbox_wid_demo.vue +0 -65
- package/pages/example/app_wid/confirm_wid_demo.vue +0 -197
- package/pages/example/app_wid/content_wid_demo.vue +0 -369
- package/pages/example/app_wid/drawer_wid_demo.vue +0 -155
- package/pages/example/app_wid/form_pannel_wid_demo.vue +0 -338
- package/pages/example/app_wid/form_wid_demo.vue +0 -550
- package/pages/example/app_wid/imgs_upload_wid_demo.vue +0 -159
- package/pages/example/app_wid/index.js +0 -158
- package/pages/example/app_wid/page_flip_wid_demo.vue +0 -99
- package/pages/example/app_wid/pannel_wid_demo.vue +0 -177
- package/pages/example/app_wid/range_wid_demo.vue +0 -101
- package/pages/example/app_wid/search_wid_demo.vue +0 -75
- package/pages/example/app_wid/select_wid_demo.vue +0 -217
- package/pages/example/app_wid/slider_wid_demo.vue +0 -143
- package/pages/example/app_wid/tab_wid_demo.vue +0 -170
- package/pages/example/app_wid/table_wid_demo.vue +0 -377
- package/pages/example/app_wid/tag_wid_demo.vue +0 -133
- package/pages/example/app_wid/tags_wid_demo.vue +0 -143
- package/pages/example/app_wid/tooltip_wid_demo.vue +0 -117
- package/pages/example/app_wid/upload_wid_demo.vue +0 -123
- package/pages/example/base_wid/b_drag_demo.vue +0 -159
- package/pages/example/base_wid/b_grid_demo.vue +0 -225
- package/pages/example/base_wid/b_hot_demo.vue +0 -135
- package/pages/example/base_wid/b_icon_demo.vue +0 -80
- package/pages/example/base_wid/b_img_demo.vue +0 -95
- package/pages/example/base_wid/b_input_demo.vue +0 -171
- package/pages/example/base_wid/b_list_demo.vue +0 -241
- package/pages/example/base_wid/b_style_demo.vue +0 -928
- package/pages/example/base_wid/b_text_demo.vue +0 -36
- package/pages/example/base_wid/b_textarea_demo.vue +0 -64
- package/pages/example/base_wid/b_video_demo.vue +0 -42
- package/pages/example/base_wid/b_view_demo.vue +0 -36
- package/pages/example/base_wid/index.js +0 -76
- package/pages/example/content.js +0 -49
- package/pages/example/global_style/animation.vue +0 -197
- package/pages/example/global_style/color.vue +0 -134
- package/pages/example/global_style/decoration.vue +0 -546
- package/pages/example/global_style/icon.vue +0 -345
- package/pages/example/global_style/index.js +0 -52
- package/pages/example/global_style/layout.vue +0 -846
- package/pages/example/global_style/special.vue +0 -37
- package/pages/example/global_style/table.vue +0 -298
- package/pages/example/global_style/text.vue +0 -159
- package/pages/index.vue +0 -43
- package/pages/level_widget.vue +0 -11
- package/pages/start.vue +0 -200
- package/plugins/index.ts +0 -2
- package/public/favicon.gif +0 -0
- package/public/fonts/iconfont.ttf +0 -0
- package/public/fonts/iconfont.woff +0 -0
- package/public/fonts/iconfont.woff2 +0 -0
- package/public/img/banner.jpg +0 -0
- package/public/img/banner2.jpg +0 -0
- package/public/img/bg_pattern.png +0 -0
- package/public/img/btx.jpg +0 -0
- package/public/img/btx_ui.jpg +0 -0
- package/public/img/dir.png +0 -0
- package/public/img/f.png +0 -0
- package/public/img/head.jpg +0 -0
- package/public/img/head2.jpg +0 -0
- package/public/img/home_ico.png +0 -0
- package/public/img/icons.svg +0 -164
- package/public/img/mechanism/b-style.png +0 -0
- package/public/img/mechanism/slider-wid.png +0 -0
- package/public/img/mechanism/upload-wid.png +0 -0
- package/public/img/transform_origin.png +0 -0
- package/sass/animation.scss +0 -400
- package/sass/btx.mob.scss +0 -10
- package/sass/btx.pad.scss +0 -3
- package/sass/btx.scss +0 -22
- package/sass/btx.webapp.scss +0 -22
- package/sass/colors.scss +0 -65
- package/sass/decoration.scss +0 -220
- package/sass/flex.scss +0 -29
- package/sass/icons.scss +0 -100
- package/sass/layout.scss +0 -88
- package/sass/reset.scss +0 -111
- package/sass/response/flex_mixin.scss +0 -91
- package/sass/response/layout_mixin.scss +0 -227
- package/sass/response/main.scss +0 -59
- package/sass/response/text_mixin.scss +0 -65
- package/sass/scroll.scss +0 -100
- package/sass/special.scss +0 -13
- package/sass/table.scss +0 -103
- package/sass/text.scss +0 -86
- package/sass/webpack.config.js +0 -31
- package/tsconfig.json +0 -4
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<article>
|
|
3
|
-
<header-info v-bind="header_info" />
|
|
4
|
-
|
|
5
|
-
<!--基础使用-->
|
|
6
|
-
<section>
|
|
7
|
-
<h5>基础使用</h5>
|
|
8
|
-
<p>通过 <code>v-model</code> 可以初始化及双向绑定表单选取数据以及面板的显示状态。通过 <code>pannel-title</code> 属性可以设置面板标题。</p>
|
|
9
|
-
<div class="flex resize">
|
|
10
|
-
<form-pannel-wid v-model="data_1.pannel_info" v-bind="data_1.props" />
|
|
11
|
-
<btn-wid @on_click="$_toggle_pannel1" btnText="显示表单面板" />
|
|
12
|
-
</div>
|
|
13
|
-
<hr>
|
|
14
|
-
<p></p>
|
|
15
|
-
</section>
|
|
16
|
-
|
|
17
|
-
<!--自定义含滚动条样式弹窗-->
|
|
18
|
-
<section>
|
|
19
|
-
<h5>自定义含滚动条样式弹窗</h5>
|
|
20
|
-
<p>通过 <code>pannel-styles</code> 属性可以对弹出面板进行样式自定义设置,通常设置固定高度当内容溢出时会产生滚动条效果。</p>
|
|
21
|
-
<div class="flex resize">
|
|
22
|
-
<form-pannel-wid v-model="data_2.pannel_info" v-bind="data_2.props" />
|
|
23
|
-
<btn-wid @on_click="$_toggle_pannel2" btnText="显示表单面板" />
|
|
24
|
-
</div>
|
|
25
|
-
<hr>
|
|
26
|
-
<p></p>
|
|
27
|
-
</section>
|
|
28
|
-
|
|
29
|
-
<!--自定义弹窗样式-->
|
|
30
|
-
<section>
|
|
31
|
-
<h5>自定义弹窗样式</h5>
|
|
32
|
-
<p>通过 <code>pannel-styles</code> 属性可以对弹出面板进行样式自定义设置。此外通过 <code>pannel-data</code> 属性可以设置弹窗面板的基础布局样式,包括遮罩背景色、面板定位、面板位移、启用关闭按钮...(可参考:<code>pannel-wid</code> 组件入参)。</p>
|
|
33
|
-
<div class="flex resize">
|
|
34
|
-
<form-pannel-wid v-model="data_3.pannel_info" v-bind="data_3.props" />
|
|
35
|
-
<btn-wid @on_click="$_toggle_pannel3" btnText="显示表单面板" />
|
|
36
|
-
</div>
|
|
37
|
-
<hr>
|
|
38
|
-
<p></p>
|
|
39
|
-
</section>
|
|
40
|
-
|
|
41
|
-
<!--设置含提交按钮弹窗-->
|
|
42
|
-
<section>
|
|
43
|
-
<h5>设置含提交按钮弹窗</h5>
|
|
44
|
-
<p>通过 <code>form-data</code> 属性的 <b>submit</b> 字段可以设置表单面板的"提交"按钮。(可参考:<code>form-wid</code> 组件入参)。</p>
|
|
45
|
-
<div class="flex resize">
|
|
46
|
-
<form-pannel-wid v-model="data_4.pannel_info" v-bind="data_4.props" />
|
|
47
|
-
<btn-wid @on_click="$_toggle_pannel4" btnText="显示表单面板" />
|
|
48
|
-
</div>
|
|
49
|
-
<p>表单提交数据:<code class="mrg-r-d5" v-for="(val, key) of data_4.submit_data"><b>{{key}}</b>:{{val}}</code></p>
|
|
50
|
-
</section>
|
|
51
|
-
|
|
52
|
-
</article>
|
|
53
|
-
</template>
|
|
54
|
-
|
|
55
|
-
<script>
|
|
56
|
-
import HeaderInfo from "@/components/header-info"
|
|
57
|
-
import BtnWid from "@/components/BTXUI/btn/btn-wid"
|
|
58
|
-
import FormPannelWid from "@/components/BTXUI/formPannel/form-pannel-wid"
|
|
59
|
-
|
|
60
|
-
export default {
|
|
61
|
-
name: "form_pannel_wid_demo",
|
|
62
|
-
components: {
|
|
63
|
-
HeaderInfo,
|
|
64
|
-
BtnWid,
|
|
65
|
-
FormPannelWid
|
|
66
|
-
},
|
|
67
|
-
data(){
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
//初始化入参
|
|
71
|
-
header_info: {
|
|
72
|
-
name: FormPannelWid.name,
|
|
73
|
-
...FormPannelWid.introduce,
|
|
74
|
-
},
|
|
75
|
-
|
|
76
|
-
data_1: {
|
|
77
|
-
props: {
|
|
78
|
-
pannelTitle: "请完善表单信息",
|
|
79
|
-
formData: {
|
|
80
|
-
formData: [
|
|
81
|
-
{
|
|
82
|
-
input_data: {
|
|
83
|
-
type: "text",
|
|
84
|
-
name: "uname",
|
|
85
|
-
placeholder: "请输入英文字母、下划线或数字"
|
|
86
|
-
},
|
|
87
|
-
text: "账号",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
input_data: {
|
|
91
|
-
type: "password",
|
|
92
|
-
name: "pwd",
|
|
93
|
-
maxlength: 6,
|
|
94
|
-
placeholder: "请输入您的账号密码"
|
|
95
|
-
},
|
|
96
|
-
text: "密码",
|
|
97
|
-
}
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
pannel_info: {
|
|
102
|
-
visible: false,
|
|
103
|
-
selected: {
|
|
104
|
-
uname: "administrator"
|
|
105
|
-
},
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
data_2: {
|
|
110
|
-
props: {
|
|
111
|
-
formData: {
|
|
112
|
-
formData: [
|
|
113
|
-
{
|
|
114
|
-
input_data: {
|
|
115
|
-
type: "text",
|
|
116
|
-
name: "uname",
|
|
117
|
-
placeholder: "请输入英文字母、下划线或数字"
|
|
118
|
-
},
|
|
119
|
-
text: "账号",
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
input_data: {
|
|
123
|
-
type: "password",
|
|
124
|
-
name: "pwd",
|
|
125
|
-
maxlength: 6,
|
|
126
|
-
placeholder: "请输入您的账号密码"
|
|
127
|
-
},
|
|
128
|
-
text: "密码",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
input_data: {
|
|
132
|
-
type: "text",
|
|
133
|
-
name: "tel",
|
|
134
|
-
maxlength: 11,
|
|
135
|
-
placeholder: "请输入您的手机号"
|
|
136
|
-
},
|
|
137
|
-
text: "手机",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
input_data: {
|
|
141
|
-
type: "text",
|
|
142
|
-
name: "email",
|
|
143
|
-
placeholder: "请输入您的电子邮箱"
|
|
144
|
-
},
|
|
145
|
-
text: "邮箱",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
input_data: {
|
|
149
|
-
type: "text",
|
|
150
|
-
name: "addr",
|
|
151
|
-
placeholder: "请输入您的所在地址"
|
|
152
|
-
},
|
|
153
|
-
text: "地址",
|
|
154
|
-
},
|
|
155
|
-
]
|
|
156
|
-
},
|
|
157
|
-
pannelTitle: "请完善表单信息",
|
|
158
|
-
pannelStyles: "w-40 h-17 round-sm",
|
|
159
|
-
},
|
|
160
|
-
pannel_info: {
|
|
161
|
-
visible: false,
|
|
162
|
-
selected: {},
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
data_3: {
|
|
167
|
-
props: {
|
|
168
|
-
formData: {
|
|
169
|
-
formData: [
|
|
170
|
-
{
|
|
171
|
-
input_data: {
|
|
172
|
-
type: "text",
|
|
173
|
-
name: "uname",
|
|
174
|
-
placeholder: "请输入英文字母、下划线或数字"
|
|
175
|
-
},
|
|
176
|
-
text: "账号",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
input_data: {
|
|
180
|
-
type: "password",
|
|
181
|
-
name: "pwd",
|
|
182
|
-
maxlength: 6,
|
|
183
|
-
placeholder: "请输入您的账号密码"
|
|
184
|
-
},
|
|
185
|
-
text: "密码",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
input_data: {
|
|
189
|
-
type: "text",
|
|
190
|
-
name: "tel",
|
|
191
|
-
maxlength: 11,
|
|
192
|
-
placeholder: "请输入您的手机号"
|
|
193
|
-
},
|
|
194
|
-
text: "手机",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
input_data: {
|
|
198
|
-
type: "text",
|
|
199
|
-
name: "email",
|
|
200
|
-
placeholder: "请输入您的电子邮箱"
|
|
201
|
-
},
|
|
202
|
-
text: "邮箱",
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
input_data: {
|
|
206
|
-
type: "text",
|
|
207
|
-
name: "addr",
|
|
208
|
-
placeholder: "请输入您的所在地址"
|
|
209
|
-
},
|
|
210
|
-
text: "地址",
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
|
-
colors: {
|
|
214
|
-
normal: {
|
|
215
|
-
text: "mgray",
|
|
216
|
-
bg: "neutral",
|
|
217
|
-
line: "neutral",
|
|
218
|
-
},
|
|
219
|
-
focus: {
|
|
220
|
-
text: "sub",
|
|
221
|
-
bg: "dark",
|
|
222
|
-
line: "dark",
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
pannelStyles: "w-40 pad-t-2 bg-color-dgray color-light round-md",
|
|
227
|
-
pannelData: {
|
|
228
|
-
pos: 8,
|
|
229
|
-
matteColor: "rgba(255,255,255,.8)",
|
|
230
|
-
offsetStyles: { y: "f4" },
|
|
231
|
-
closeBtn: true
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
pannel_info: {
|
|
235
|
-
visible: false,
|
|
236
|
-
selected: {},
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
|
|
240
|
-
data_4: {
|
|
241
|
-
props: {
|
|
242
|
-
formData: {
|
|
243
|
-
formData: [
|
|
244
|
-
{
|
|
245
|
-
input_data: {
|
|
246
|
-
type: "text",
|
|
247
|
-
name: "uname",
|
|
248
|
-
placeholder: "请输入英文字母、下划线或数字"
|
|
249
|
-
},
|
|
250
|
-
text: "账号",
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
input_data: {
|
|
254
|
-
type: "password",
|
|
255
|
-
name: "pwd",
|
|
256
|
-
maxlength: 6,
|
|
257
|
-
placeholder: "请输入您的账号密码"
|
|
258
|
-
},
|
|
259
|
-
text: "密码",
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
input_data: {
|
|
263
|
-
type: "text",
|
|
264
|
-
name: "tel",
|
|
265
|
-
maxlength: 11,
|
|
266
|
-
placeholder: "请输入您的手机号"
|
|
267
|
-
},
|
|
268
|
-
text: "手机",
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
layout: {
|
|
272
|
-
title_wrap: true
|
|
273
|
-
},
|
|
274
|
-
submit: {
|
|
275
|
-
align: "center",
|
|
276
|
-
callback: (form_data)=>{
|
|
277
|
-
let result = {},
|
|
278
|
-
val;
|
|
279
|
-
for(let pro in form_data){
|
|
280
|
-
val = form_data[pro];
|
|
281
|
-
if(val) result[pro] = val;
|
|
282
|
-
}
|
|
283
|
-
if(!Object.values(result).join("")) result = { result: "暂无数据" };
|
|
284
|
-
this.data_4.submit_data = result;
|
|
285
|
-
},
|
|
286
|
-
btn_data: {
|
|
287
|
-
btnText: "提交表单",
|
|
288
|
-
btnColor: {
|
|
289
|
-
normal: {
|
|
290
|
-
text: "light",
|
|
291
|
-
bg: "dgray",
|
|
292
|
-
line: "dgray",
|
|
293
|
-
},
|
|
294
|
-
hover: {
|
|
295
|
-
text: "light",
|
|
296
|
-
bg: "blue",
|
|
297
|
-
line: "#1159cd",
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
reset: true
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
submit_data: {},
|
|
306
|
-
pannel_info: {
|
|
307
|
-
visible: false,
|
|
308
|
-
selected: {},
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
methods: {
|
|
315
|
-
|
|
316
|
-
//切换弹窗1
|
|
317
|
-
$_toggle_pannel1(){
|
|
318
|
-
this.data_1.pannel_info.visible = !this.data_1.pannel_info.visible;
|
|
319
|
-
},
|
|
320
|
-
|
|
321
|
-
//切换弹窗2
|
|
322
|
-
$_toggle_pannel2(){
|
|
323
|
-
this.data_2.pannel_info.visible = !this.data_2.pannel_info.visible;
|
|
324
|
-
},
|
|
325
|
-
|
|
326
|
-
//切换弹窗3
|
|
327
|
-
$_toggle_pannel3(){
|
|
328
|
-
this.data_3.pannel_info.visible = !this.data_3.pannel_info.visible;
|
|
329
|
-
},
|
|
330
|
-
|
|
331
|
-
//切换弹窗4
|
|
332
|
-
$_toggle_pannel4(){
|
|
333
|
-
this.data_4.pannel_info.visible = !this.data_4.pannel_info.visible;
|
|
334
|
-
},
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
</script>
|