Commit 91cdca0c by hanjixin

sceneData

parent de326855
......@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons'
export default {
data: function () {
return {
pages: data.pageList
pages: data.pageList,
sceneData: data.sceneData
}
},
methods: {
......
export default {
schemaData: {},
itemList: []
}
......@@ -2,9 +2,11 @@
import defaultData from './defaultData'
import itemList from './itemList'
import templateInfo from './templateInfo'
import sceneData from './sceneData.js'
export default {
templateInfo,
// defaultData,
sceneData,
pageList: [
{
name: '欢迎页面',
......
......@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons'
export default {
data: function () {
return {
pages: data.pageList // 引入页面数据
pages: data.pageList,
sceneData: data.sceneData // 引入页面数据
}
},
methods: {
......
export default {
schemaData: {},
itemList: []
}
......@@ -2,9 +2,11 @@
import defaultData from './defaultData'
import itemList from './itemList'
import templateInfo from './templateInfo'
import sceneData from './sceneData.js'
export default {
templateInfo,
// defaultData,
sceneData,
pageList: [
{
name: '买房页面',
......
......@@ -6,7 +6,8 @@ import requireIcons from '@/icons/requireIcons'
export default {
data: function () {
return {
pages: data.pageList
pages: data.pageList,
sceneData: data.sceneData
}
},
methods: {
......
export default {
schemaData: {},
itemList: []
}
import defaultData from './defaultData'
import itemList from './itemList'
import templateInfo from './templateInfo'
import sceneData from './sceneData.js'
export default {
templateInfo,
// defaultData,
sceneData,
pageList: [
{
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',
defaultData: defaultData.welcome,
schemaData: defaultData.welcome,
......@@ -16,7 +18,8 @@ export default {
},
{
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',
defaultData: 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