Commit 91cdca0c by hanjixin

sceneData

parent de326855
...@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons' ...@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons'
export default { export default {
data: function () { data: function () {
return { return {
pages: data.pageList pages: data.pageList,
sceneData: data.sceneData
} }
}, },
methods: { methods: {
......
export default {
schemaData: {},
itemList: []
}
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
import defaultData from './defaultData' import defaultData from './defaultData'
import itemList from './itemList' import itemList from './itemList'
import templateInfo from './templateInfo' import templateInfo from './templateInfo'
import sceneData from './sceneData.js'
export default { export default {
templateInfo, templateInfo,
// defaultData, // defaultData,
sceneData,
pageList: [ pageList: [
{ {
name: '欢迎页面', name: '欢迎页面',
......
...@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons' ...@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons'
export default { export default {
data: function () { data: function () {
return { return {
pages: data.pageList // 引入页面数据 pages: data.pageList,
sceneData: data.sceneData // 引入页面数据
} }
}, },
methods: { methods: {
......
export default {
schemaData: {},
itemList: []
}
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
import defaultData from './defaultData' import defaultData from './defaultData'
import itemList from './itemList' import itemList from './itemList'
import templateInfo from './templateInfo' import templateInfo from './templateInfo'
import sceneData from './sceneData.js'
export default { export default {
templateInfo, templateInfo,
// defaultData, // defaultData,
sceneData,
pageList: [ pageList: [
{ {
name: '买房页面', name: '买房页面',
......
...@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons' ...@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons'
export default { export default {
data: function () { data: function () {
return { return {
pages: data.pageList pages: data.pageList,
sceneData: data.sceneData
} }
}, },
methods: { methods: {
......
export default {
schemaData: {},
itemList: []
}
import defaultData from './defaultData' import defaultData from './defaultData'
import itemList from './itemList' import itemList from './itemList'
import templateInfo from './templateInfo' import templateInfo from './templateInfo'
import sceneData from './sceneData.js'
export default { export default {
templateInfo, templateInfo,
// defaultData, // defaultData,
sceneData,
pageList: [ pageList: [
{ {
name: '零售1', name: '零售1',
thumb: 'http://visual-clouds.oss-cn-beijing.aliyuncs.com/resource/template-culture/thumb1.jpg', thumb:
'http://visual-clouds.oss-cn-beijing.aliyuncs.com/resource/template-culture/thumb1.jpg',
component: 'retail1', component: 'retail1',
defaultData: defaultData.welcome, defaultData: defaultData.welcome,
schemaData: defaultData.welcome, schemaData: defaultData.welcome,
...@@ -16,7 +18,8 @@ export default { ...@@ -16,7 +18,8 @@ export default {
}, },
{ {
name: '零售1', name: '零售1',
thumb: 'http://visual-clouds.oss-cn-beijing.aliyuncs.com/resource/template-culture/thumb1.jpg', thumb:
'http://visual-clouds.oss-cn-beijing.aliyuncs.com/resource/template-culture/thumb1.jpg',
component: 'retail2', component: 'retail2',
defaultData: defaultData.welcome, defaultData: defaultData.welcome,
schemaData: defaultData.welcome, schemaData: defaultData.welcome,
......
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 sign in to comment