Commit c15031ab by hank

文件更换

parent 7ab960e3
......@@ -59,7 +59,7 @@ module.exports = {
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
inlineSource: false,
inlineSource: true,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
// Before setting to `true`, make sure to:
......
......@@ -5,36 +5,36 @@
</template>
<script>
/* import page from './templates/helloworld/index' */
import page from './templates/retail/index'
import page from "./templates/companyCulture/index";
// import page from "./templates/retail/index";
// import page from './templates/listingInformation/index'
window.getQuery = function (key) {
var url = location.search // 获取url中"?"符后的字串
var theRequest = new Object()
if (url.indexOf('?') != -1) {
var str = url.substr(1)
var strs = str.split('&')
window.getQuery = function(key) {
var url = location.search; // 获取url中"?"符后的字串
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(1);
var strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split('=')[0]] = decodeURI(strs[i].split('=')[1])
theRequest[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
}
}
if (key) {
return theRequest[key] === 'undefined' || theRequest[key] == '0'
? ''
: theRequest[key]
return theRequest[key] === "undefined" || theRequest[key] == "0"
? ""
: theRequest[key];
} else {
return theRequest
return theRequest;
}
}
};
export default {
name: 'App',
data () {
return {}
name: "App",
data() {
return {};
},
components: {
page: page
}
}
};
</script>
<style>
......@@ -45,7 +45,8 @@ export default {
html {
font-size: 14px !important;
}
html,body{
html,
body {
width: 100%;
height: 100%;
}
......
......@@ -3,14 +3,14 @@ export default [
type: 'image',
name: '背景图片',
description: '请上传背景图片',
dataKey: 'bacground',
dataKey: 'background',
valueRule: ''
},
{
type: 'text',
name: '商品名称',
description: '请上传背景图片',
dataKey: 'bacground',
description: '请输入商品名称',
dataKey: 'bean',
valueRule: ''
}
]
export default [
{
type: 'image',
name: '企业logo',
description: '请上传png格式企业logo',
dataKey: 'companyLogo',
name: '二维码',
description: '上传二维码',
dataKey: 'code',
valueRule: ''
},
{
type: 'text',
name: '企业名称',
description: '',
name: '标题一',
description: '不超过4个字',
valueRule: '',
dataKey: 'companyName'
dataKey: 'saoma'
},
{
type: 'list',
name: '日程列表',
modelSchema: [ // 创建子项的Schema列表
{
content: {
type: 'text',
name: '内容', // 字段名称
description: '请输入内容' // 用户填写时字段提示语
},
address: {
type: 'text',
name: '地点', // 字段名称
description: '请输入地点', // 用户填写时字段提示语
default: { // 默认
value: '会议室'
}
},
department: {
type: 'text',
name: '部门', // 字段名称
description: '请输入部门', // 用户填写时字段提示语
default: { // 默认
value: '总裁办'
}
name: '标题二',
description: '不超过6个字',
valueRule: 'saoma',
dataKey: 'saoyisao'
},
time: {
{
type: 'text',
name: '时间', // 字段名称
description: '请输入时间', // 用户填写时字段提示语
default: { // 默认
value: '09:30 AM - 10:00 AM'
}
}
}
],
dataKey: 'scheduleList'
name: '标题三',
description: '不超过8个字',
valueRule: '',
dataKey: 'tips'
}
]
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