Commit 7690a390 authored by 姬鋆屾's avatar 姬鋆屾
parents 9d9d63d1 14342292
...@@ -12,10 +12,16 @@ ...@@ -12,10 +12,16 @@
round>生成表单JSON</el-button> round>生成表单JSON</el-button>
<el-button icon="el-icon-download" type="success" size="small" @click="getFormOption()" <el-button icon="el-icon-download" type="success" size="small" @click="getFormOption()"
round>生成表单配置</el-button> round>生成表单配置</el-button>
<el-button icon="el-icon-upload" type="success" size="small" @click="getFormOption()" <el-button icon="el-icon-upload" type="success" size="small" @click="drawer = true"
round>预览</el-button> round>预览</el-button>
</el-row> </el-row>
</div> </div>
<el-drawer title="预览" :visible.sync="drawer" :with-header="false">
<div class="showPhone">
<div>预览</div>
</div>
</el-drawer>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -26,7 +32,8 @@ ...@@ -26,7 +32,8 @@
export default { export default {
data() { data() {
return { return {
tabs: '1' tabs: '1',
drawer: false,
} }
}, },
methods: { methods: {
...@@ -46,11 +53,17 @@ export default { ...@@ -46,11 +53,17 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.backBtn{ .showPhone{
border: 1px solid;
height: 100%;
width: 100%;
}
.backBtn {
position: absolute; position: absolute;
right: 20px; right: 20px;
z-index: 99; z-index: 99;
} }
.tool { .tool {
margin-top: 20px; margin-top: 20px;
text-align: center; text-align: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment