├── .babelrc
├── .editorconfig
├── .gitignore
├── .idea
├── .name
├── ddvue.iml
├── encodings.xml
├── misc.xml
├── modules.xml
├── vcs.xml
├── watcherTasks.xml
└── workspace.xml
├── .postcssrc.js
├── README.md
├── build
├── build.js
├── check-versions.js
├── dev-client.js
├── dev-server.js
├── utils.js
├── vue-loader.conf.js
├── webpack.base.conf.js
├── webpack.dev.conf.js
└── webpack.prod.conf.js
├── config
├── dev.env.js
├── index.js
└── prod.env.js
├── index.html
├── package.json
└── src
├── App.vue
├── assets
├── img
│ └── TB1mLf6IpXXXXcQXpXXXXXXXXXX.jpg
└── logo.png
├── components
├── dragging.vue
├── formcanvas.vue
├── formsetting.vue
├── headActions.vue
├── header.vue
├── mainLeft.vue
├── setting.vue
└── widgetsettings.vue
├── main.js
└── style
├── design.css
└── style.css
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", { "modules": false }],
4 | "stage-2"
5 | ],
6 | "plugins": ["transform-runtime"],
7 | "comments": false,
8 | "env": {
9 | "test": {
10 | "presets": ["env", "stage-2"],
11 | "plugins": [ "istanbul" ]
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 4
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | .idea/
5 | npm-debug.log
6 | yarn-error.log
7 |
--------------------------------------------------------------------------------
/.idea/.name:
--------------------------------------------------------------------------------
1 | ddvue
--------------------------------------------------------------------------------
/.idea/ddvue.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/watcherTasks.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | // to edit target browsers: use "browserlist" field in package.json
6 | "autoprefixer": {}
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ddvue
2 |
3 | > 用vue仿照钉钉的审批设计器 [实例](https://wxjaa.github.io/dingding/)
4 | ## Build Setup
5 |
6 | ``` bash
7 | # install dependencies
8 | npm install
9 |
10 | # serve with hot reload at localhost:8080
11 | npm run dev
12 |
13 | # build for production with minification
14 | npm run build
15 |
16 | ```
17 |
--------------------------------------------------------------------------------
/build/build.js:
--------------------------------------------------------------------------------
1 | require('./check-versions')()
2 |
3 | process.env.NODE_ENV = 'production'
4 |
5 | var ora = require('ora')
6 | var rm = require('rimraf')
7 | var path = require('path')
8 | var chalk = require('chalk')
9 | var webpack = require('webpack')
10 | var config = require('../config')
11 | var webpackConfig = require('./webpack.prod.conf')
12 |
13 | var spinner = ora('building for production...')
14 | spinner.start()
15 |
16 | rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
17 | if (err) throw err
18 | webpack(webpackConfig, function (err, stats) {
19 | spinner.stop()
20 | if (err) throw err
21 | process.stdout.write(stats.toString({
22 | colors: true,
23 | modules: false,
24 | children: false,
25 | chunks: false,
26 | chunkModules: false
27 | }) + '\n\n')
28 |
29 | console.log(chalk.cyan(' Build complete.\n'))
30 | console.log(chalk.yellow(
31 | ' Tip: built files are meant to be served over an HTTP server.\n' +
32 | ' Opening index.html over file:// won\'t work.\n'
33 | ))
34 | })
35 | })
36 |
--------------------------------------------------------------------------------
/build/check-versions.js:
--------------------------------------------------------------------------------
1 | var chalk = require('chalk')
2 | var semver = require('semver')
3 | var packageConfig = require('../package.json')
4 |
5 | function exec (cmd) {
6 | return require('child_process').execSync(cmd).toString().trim()
7 | }
8 |
9 | var versionRequirements = [
10 | {
11 | name: 'node',
12 | currentVersion: semver.clean(process.version),
13 | versionRequirement: packageConfig.engines.node
14 | },
15 | {
16 | name: 'npm',
17 | currentVersion: exec('npm --version'),
18 | versionRequirement: packageConfig.engines.npm
19 | }
20 | ]
21 |
22 | module.exports = function () {
23 | var warnings = []
24 | for (var i = 0; i < versionRequirements.length; i++) {
25 | var mod = versionRequirements[i]
26 | if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
27 | warnings.push(mod.name + ': ' +
28 | chalk.red(mod.currentVersion) + ' should be ' +
29 | chalk.green(mod.versionRequirement)
30 | )
31 | }
32 | }
33 |
34 | if (warnings.length) {
35 | console.log('')
36 | console.log(chalk.yellow('To use this template, you must update following to modules:'))
37 | console.log()
38 | for (var i = 0; i < warnings.length; i++) {
39 | var warning = warnings[i]
40 | console.log(' ' + warning)
41 | }
42 | console.log()
43 | process.exit(1)
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/build/dev-client.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | require('eventsource-polyfill')
3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
4 |
5 | hotClient.subscribe(function (event) {
6 | if (event.action === 'reload') {
7 | window.location.reload()
8 | }
9 | })
10 |
--------------------------------------------------------------------------------
/build/dev-server.js:
--------------------------------------------------------------------------------
1 | require('./check-versions')()
2 |
3 | var config = require('../config')
4 | if (!process.env.NODE_ENV) {
5 | process.env.NODE_ENV = JSON.parse(config.dev.env.NODE_ENV)
6 | }
7 |
8 | var opn = require('opn')
9 | var path = require('path')
10 | var express = require('express')
11 | var webpack = require('webpack')
12 | var proxyMiddleware = require('http-proxy-middleware')
13 | var webpackConfig = require('./webpack.dev.conf')
14 |
15 | // default port where dev server listens for incoming traffic
16 | var port = process.env.PORT || config.dev.port
17 | // automatically open browser, if not set will be false
18 | var autoOpenBrowser = !!config.dev.autoOpenBrowser
19 | // Define HTTP proxies to your custom API backend
20 | // https://github.com/chimurai/http-proxy-middleware
21 | var proxyTable = config.dev.proxyTable
22 |
23 | var app = express()
24 | var compiler = webpack(webpackConfig)
25 |
26 | var devMiddleware = require('webpack-dev-middleware')(compiler, {
27 | publicPath: webpackConfig.output.publicPath,
28 | quiet: true
29 | })
30 |
31 | var hotMiddleware = require('webpack-hot-middleware')(compiler, {
32 | log: () => {}
33 | })
34 | // force page reload when html-webpack-plugin template changes
35 | compiler.plugin('compilation', function (compilation) {
36 | compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
37 | hotMiddleware.publish({ action: 'reload' })
38 | cb()
39 | })
40 | })
41 |
42 | // proxy api requests
43 | Object.keys(proxyTable).forEach(function (context) {
44 | var options = proxyTable[context]
45 | if (typeof options === 'string') {
46 | options = { target: options }
47 | }
48 | app.use(proxyMiddleware(options.filter || context, options))
49 | })
50 |
51 | // handle fallback for HTML5 history API
52 | app.use(require('connect-history-api-fallback')())
53 |
54 | // serve webpack bundle output
55 | app.use(devMiddleware)
56 |
57 | // enable hot-reload and state-preserving
58 | // compilation error display
59 | app.use(hotMiddleware)
60 |
61 | // serve pure static assets
62 | var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory)
63 | app.use(staticPath, express.static('./static'))
64 |
65 | var uri = 'http://localhost:' + port
66 |
67 | var _resolve
68 | var readyPromise = new Promise(resolve => {
69 | _resolve = resolve
70 | })
71 |
72 | console.log('> Starting dev server...')
73 | devMiddleware.waitUntilValid(() => {
74 | console.log('> Listening at ' + uri + '\n')
75 | // when env is testing, don't need open it
76 | if (autoOpenBrowser && process.env.NODE_ENV !== 'testing') {
77 | opn(uri)
78 | }
79 | _resolve()
80 | })
81 |
82 | var server = app.listen(port)
83 |
84 | module.exports = {
85 | ready: readyPromise,
86 | close: () => {
87 | server.close()
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/build/utils.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var config = require('../config')
3 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
4 |
5 | exports.assetsPath = function (_path) {
6 | var assetsSubDirectory = process.env.NODE_ENV === 'production'
7 | ? config.build.assetsSubDirectory
8 | : config.dev.assetsSubDirectory
9 | return path.posix.join(assetsSubDirectory, _path)
10 | }
11 |
12 | exports.cssLoaders = function (options) {
13 | options = options || {}
14 |
15 | var cssLoader = {
16 | loader: 'css-loader',
17 | options: {
18 | minimize: process.env.NODE_ENV === 'production',
19 | sourceMap: options.sourceMap
20 | }
21 | }
22 |
23 | // generate loader string to be used with extract text plugin
24 | function generateLoaders (loader, loaderOptions) {
25 | var loaders = [cssLoader]
26 | if (loader) {
27 | loaders.push({
28 | loader: loader + '-loader',
29 | options: Object.assign({}, loaderOptions, {
30 | sourceMap: options.sourceMap
31 | })
32 | })
33 | }
34 |
35 | // Extract CSS when that option is specified
36 | // (which is the case during production build)
37 | if (options.extract) {
38 | return ExtractTextPlugin.extract({
39 | use: loaders,
40 | fallback: 'vue-style-loader'
41 | })
42 | } else {
43 | return ['vue-style-loader'].concat(loaders)
44 | }
45 | }
46 |
47 | // http://vuejs.github.io/vue-loader/en/configurations/extract-css.html
48 | return {
49 | css: generateLoaders(),
50 | postcss: generateLoaders(),
51 | less: generateLoaders('less'),
52 | sass: generateLoaders('sass', { indentedSyntax: true }),
53 | scss: generateLoaders('sass'),
54 | stylus: generateLoaders('stylus'),
55 | styl: generateLoaders('stylus')
56 | }
57 | }
58 |
59 | // Generate loaders for standalone style files (outside of .vue)
60 | exports.styleLoaders = function (options) {
61 | var output = []
62 | var loaders = exports.cssLoaders(options)
63 | for (var extension in loaders) {
64 | var loader = loaders[extension]
65 | output.push({
66 | test: new RegExp('\\.' + extension + '$'),
67 | use: loader
68 | })
69 | }
70 | return output
71 | }
72 |
--------------------------------------------------------------------------------
/build/vue-loader.conf.js:
--------------------------------------------------------------------------------
1 | var utils = require('./utils')
2 | var config = require('../config')
3 | var isProduction = process.env.NODE_ENV === 'production'
4 |
5 | module.exports = {
6 | loaders: utils.cssLoaders({
7 | sourceMap: isProduction
8 | ? config.build.productionSourceMap
9 | : config.dev.cssSourceMap,
10 | extract: isProduction
11 | })
12 | }
13 |
--------------------------------------------------------------------------------
/build/webpack.base.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var utils = require('./utils')
3 | var config = require('../config')
4 | var vueLoaderConfig = require('./vue-loader.conf')
5 |
6 | function resolve (dir) {
7 | return path.join(__dirname, '..', dir)
8 | }
9 |
10 | module.exports = {
11 | entry: {
12 | app: './src/main.js'
13 | },
14 | output: {
15 | path: config.build.assetsRoot,
16 | filename: '[name].js',
17 | publicPath: process.env.NODE_ENV === 'production'
18 | ? config.build.assetsPublicPath
19 | : config.dev.assetsPublicPath
20 | },
21 | resolve: {
22 | extensions: ['.js', '.vue', '.json'],
23 | alias: {
24 | 'vue$': 'vue/dist/vue.esm.js',
25 | '@': resolve('src'),
26 | }
27 | },
28 | module: {
29 | rules: [
30 | {
31 | test: /\.vue$/,
32 | loader: 'vue-loader',
33 | options: vueLoaderConfig
34 | },
35 | {
36 | test: /\.js$/,
37 | loader: 'babel-loader',
38 | include: [resolve('src'), resolve('test')]
39 | },
40 | {
41 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
42 | loader: 'url-loader',
43 | query: {
44 | limit: 10000,
45 | name: utils.assetsPath('img/[name].[hash:7].[ext]')
46 | }
47 | },
48 | {
49 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
50 | loader: 'url-loader',
51 | query: {
52 | limit: 10000,
53 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
54 | }
55 | }
56 | ]
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/build/webpack.dev.conf.js:
--------------------------------------------------------------------------------
1 | var utils = require('./utils')
2 | var webpack = require('webpack')
3 | var config = require('../config')
4 | var merge = require('webpack-merge')
5 | var baseWebpackConfig = require('./webpack.base.conf')
6 | var HtmlWebpackPlugin = require('html-webpack-plugin')
7 | var FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
8 |
9 | // add hot-reload related code to entry chunks
10 | Object.keys(baseWebpackConfig.entry).forEach(function (name) {
11 | baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name])
12 | })
13 |
14 | module.exports = merge(baseWebpackConfig, {
15 | module: {
16 | rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
17 | },
18 | // cheap-module-eval-source-map is faster for development
19 | devtool: '#cheap-module-eval-source-map',
20 | plugins: [
21 | new webpack.DefinePlugin({
22 | 'process.env': config.dev.env
23 | }),
24 | // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
25 | new webpack.HotModuleReplacementPlugin(),
26 | new webpack.NoEmitOnErrorsPlugin(),
27 | // https://github.com/ampedandwired/html-webpack-plugin
28 | new HtmlWebpackPlugin({
29 | filename: 'index.html',
30 | template: 'index.html',
31 | inject: true
32 | }),
33 | new FriendlyErrorsPlugin()
34 | ]
35 | })
36 |
--------------------------------------------------------------------------------
/build/webpack.prod.conf.js:
--------------------------------------------------------------------------------
1 | var path = require('path')
2 | var utils = require('./utils')
3 | var webpack = require('webpack')
4 | var config = require('../config')
5 | var merge = require('webpack-merge')
6 | var baseWebpackConfig = require('./webpack.base.conf')
7 | var CopyWebpackPlugin = require('copy-webpack-plugin')
8 | var HtmlWebpackPlugin = require('html-webpack-plugin')
9 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
10 | var OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
11 |
12 | var env = config.build.env
13 |
14 | var webpackConfig = merge(baseWebpackConfig, {
15 | module: {
16 | rules: utils.styleLoaders({
17 | sourceMap: config.build.productionSourceMap,
18 | extract: true
19 | })
20 | },
21 | devtool: config.build.productionSourceMap ? '#source-map' : false,
22 | output: {
23 | path: config.build.assetsRoot,
24 | filename: utils.assetsPath('js/[name].[chunkhash].js'),
25 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
26 | },
27 | plugins: [
28 | // http://vuejs.github.io/vue-loader/en/workflow/production.html
29 | new webpack.DefinePlugin({
30 | 'process.env': env
31 | }),
32 | new webpack.optimize.UglifyJsPlugin({
33 | compress: {
34 | warnings: false
35 | },
36 | sourceMap: true
37 | }),
38 | // extract css into its own file
39 | new ExtractTextPlugin({
40 | filename: utils.assetsPath('css/[name].[contenthash].css')
41 | }),
42 | // Compress extracted CSS. We are using this plugin so that possible
43 | // duplicated CSS from different components can be deduped.
44 | new OptimizeCSSPlugin({
45 | cssProcessorOptions: {
46 | safe: true
47 | }
48 | }),
49 | // generate dist index.html with correct asset hash for caching.
50 | // you can customize output by editing /index.html
51 | // see https://github.com/ampedandwired/html-webpack-plugin
52 | new HtmlWebpackPlugin({
53 | filename: config.build.index,
54 | template: 'index.html',
55 | inject: true,
56 | minify: {
57 | removeComments: true,
58 | collapseWhitespace: true,
59 | removeAttributeQuotes: true
60 | // more options:
61 | // https://github.com/kangax/html-minifier#options-quick-reference
62 | },
63 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin
64 | chunksSortMode: 'dependency'
65 | }),
66 | // split vendor js into its own file
67 | new webpack.optimize.CommonsChunkPlugin({
68 | name: 'vendor',
69 | minChunks: function (module, count) {
70 | // any required modules inside node_modules are extracted to vendor
71 | return (
72 | module.resource &&
73 | /\.js$/.test(module.resource) &&
74 | module.resource.indexOf(
75 | path.join(__dirname, '../node_modules')
76 | ) === 0
77 | )
78 | }
79 | }),
80 | // extract webpack runtime and module manifest to its own file in order to
81 | // prevent vendor hash from being updated whenever app bundle is updated
82 | new webpack.optimize.CommonsChunkPlugin({
83 | name: 'manifest',
84 | chunks: ['vendor']
85 | }),
86 | // copy custom static assets
87 | new CopyWebpackPlugin([
88 | {
89 | from: path.resolve(__dirname, '../static'),
90 | to: config.build.assetsSubDirectory,
91 | ignore: ['.*']
92 | }
93 | ])
94 | ]
95 | })
96 |
97 | if (config.build.productionGzip) {
98 | var CompressionWebpackPlugin = require('compression-webpack-plugin')
99 |
100 | webpackConfig.plugins.push(
101 | new CompressionWebpackPlugin({
102 | asset: '[path].gz[query]',
103 | algorithm: 'gzip',
104 | test: new RegExp(
105 | '\\.(' +
106 | config.build.productionGzipExtensions.join('|') +
107 | ')$'
108 | ),
109 | threshold: 10240,
110 | minRatio: 0.8
111 | })
112 | )
113 | }
114 |
115 | if (config.build.bundleAnalyzerReport) {
116 | var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
117 | webpackConfig.plugins.push(new BundleAnalyzerPlugin())
118 | }
119 |
120 | module.exports = webpackConfig
121 |
--------------------------------------------------------------------------------
/config/dev.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var prodEnv = require('./prod.env')
3 |
4 | module.exports = merge(prodEnv, {
5 | NODE_ENV: '"development"'
6 | })
7 |
--------------------------------------------------------------------------------
/config/index.js:
--------------------------------------------------------------------------------
1 | // see http://vuejs-templates.github.io/webpack for documentation.
2 | var path = require('path')
3 |
4 | module.exports = {
5 | build: {
6 | env: require('./prod.env'),
7 | index: path.resolve(__dirname, '../dist/index.html'),
8 | assetsRoot: path.resolve(__dirname, '../dist'),
9 | assetsSubDirectory: 'static',
10 | assetsPublicPath: './',
11 | productionSourceMap: true,
12 | // Gzip off by default as many popular static hosts such as
13 | // Surge or Netlify already gzip all static assets for you.
14 | // Before setting to `true`, make sure to:
15 | // npm install --save-dev compression-webpack-plugin
16 | productionGzip: false,
17 | productionGzipExtensions: ['js', 'css'],
18 | // Run the build command with an extra argument to
19 | // View the bundle analyzer report after build finishes:
20 | // `npm run build --report`
21 | // Set to `true` or `false` to always turn it on or off
22 | bundleAnalyzerReport: process.env.npm_config_report
23 | },
24 | dev: {
25 | env: require('./dev.env'),
26 | port: 8080,
27 | autoOpenBrowser: true,
28 | assetsSubDirectory: 'static',
29 | assetsPublicPath: '/',
30 | proxyTable: {},
31 | // CSS Sourcemaps off by default because relative paths are "buggy"
32 | // with this option, according to the CSS-Loader README
33 | // (https://github.com/webpack/css-loader#sourcemaps)
34 | // In our experience, they generally work as expected,
35 | // just be aware of this issue when enabling this option.
36 | cssSourceMap: false
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ddvue
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ddvue",
3 | "version": "1.0.0",
4 | "description": "A Vue.js project",
5 | "author": "xj",
6 | "private": true,
7 | "scripts": {
8 | "dev": "node build/dev-server.js",
9 | "build": "node build/build.js"
10 | },
11 | "dependencies": {
12 | "vue": "^2.2.2"
13 | },
14 | "devDependencies": {
15 | "autoprefixer": "^6.7.2",
16 | "babel-core": "^6.22.1",
17 | "babel-loader": "^6.2.10",
18 | "babel-plugin-transform-runtime": "^6.22.0",
19 | "babel-preset-env": "^1.2.1",
20 | "babel-preset-stage-2": "^6.22.0",
21 | "babel-register": "^6.22.0",
22 | "chalk": "^1.1.3",
23 | "connect-history-api-fallback": "^1.3.0",
24 | "copy-webpack-plugin": "^4.0.1",
25 | "css-loader": "^0.26.1",
26 | "eventsource-polyfill": "^0.9.6",
27 | "express": "^4.14.1",
28 | "extract-text-webpack-plugin": "^2.0.0",
29 | "file-loader": "^0.10.0",
30 | "friendly-errors-webpack-plugin": "^1.1.3",
31 | "function-bind": "^1.1.0",
32 | "html-webpack-plugin": "^2.28.0",
33 | "http-proxy-middleware": "^0.17.3",
34 | "webpack-bundle-analyzer": "^2.2.1",
35 | "semver": "^5.3.0",
36 | "opn": "^4.0.2",
37 | "optimize-css-assets-webpack-plugin": "^1.3.0",
38 | "ora": "^1.1.0",
39 | "rimraf": "^2.6.0",
40 | "url-loader": "^0.5.7",
41 | "vue-loader": "^11.1.4",
42 | "vue-style-loader": "^2.0.0",
43 | "vue-template-compiler": "^2.2.4",
44 | "webpack": "^2.2.1",
45 | "webpack-dev-middleware": "^1.10.0",
46 | "webpack-hot-middleware": "^2.16.1",
47 | "webpack-merge": "^2.6.1"
48 | },
49 | "engines": {
50 | "node": ">= 4.0.0",
51 | "npm": ">= 3.0.0"
52 | },
53 | "browserslist": [
54 | "> 1%",
55 | "last 2 versions",
56 | "not ie <= 8"
57 | ]
58 | }
59 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
70 |
73 |
79 |
--------------------------------------------------------------------------------
/src/assets/img/TB1mLf6IpXXXXcQXpXXXXXXXXXX.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wxjaa/ddvue/c4aa583a3e7c48987e0fb6b8f26f91f0f50c32c2/src/assets/img/TB1mLf6IpXXXXcQXpXXXXXXXXXX.jpg
--------------------------------------------------------------------------------
/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wxjaa/ddvue/c4aa583a3e7c48987e0fb6b8f26f91f0f50c32c2/src/assets/logo.png
--------------------------------------------------------------------------------
/src/components/dragging.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
{{componentText}}
7 |
8 |
9 |
63 |
--------------------------------------------------------------------------------
/src/components/formcanvas.vue:
--------------------------------------------------------------------------------
1 |
2 |
528 |
529 |
1046 |
--------------------------------------------------------------------------------
/src/components/formsetting.vue:
--------------------------------------------------------------------------------
1 |
2 |
38 |
39 |
241 |
--------------------------------------------------------------------------------
/src/components/headActions.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
23 |
--------------------------------------------------------------------------------
/src/components/header.vue:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
25 |
--------------------------------------------------------------------------------
/src/components/mainLeft.vue:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
201 |
--------------------------------------------------------------------------------
/src/components/setting.vue:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
49 |
--------------------------------------------------------------------------------
/src/components/widgetsettings.vue:
--------------------------------------------------------------------------------
1 |
2 |
170 |
171 |
232 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | // The Vue build version to load with the `import` command
2 | // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3 | import Vue from 'vue'
4 | import App from './App'
5 |
6 | Vue.config.productionTip = false
7 | window.drag = new Vue();
8 |
9 | /* eslint-disable no-new */
10 | new Vue({
11 | el: '#app',
12 | template: '',
13 | components: {App}
14 | })
15 |
--------------------------------------------------------------------------------
/src/style/design.css:
--------------------------------------------------------------------------------
1 | html,
2 | body,
3 | div,
4 | span,
5 | applet,
6 | object,
7 | iframe,
8 | h1,
9 | h2,
10 | h3,
11 | h4,
12 | h5,
13 | h6,
14 | p,
15 | blockquote,
16 | pre,
17 | a,
18 | abbr,
19 | acronym,
20 | address,
21 | big,
22 | cite,
23 | code,
24 | del,
25 | dfn,
26 | em,
27 | img,
28 | ins,
29 | kbd,
30 | q,
31 | s,
32 | samp,
33 | small,
34 | strike,
35 | strong,
36 | sub,
37 | sup,
38 | tt,
39 | var,
40 | b,
41 | u,
42 | i,
43 | center,
44 | dl,
45 | dt,
46 | dd,
47 | ol,
48 | ul,
49 | li,
50 | fieldset,
51 | form,
52 | label,
53 | legend,
54 | table,
55 | caption,
56 | tbody,
57 | tfoot,
58 | thead,
59 | tr,
60 | th,
61 | td,
62 | article,
63 | aside,
64 | canvas,
65 | details,
66 | figcaption,
67 | figure,
68 | footer,
69 | header,
70 | hgroup,
71 | menu,
72 | nav,
73 | section,
74 | summary,
75 | time,
76 | mark,
77 | audio,
78 | video {
79 | margin: 0;
80 | padding: 0;
81 | border: 0;
82 | outline: 0;
83 | font-size: 100%;
84 | vertical-align: baseline;
85 | -webkit-user-select: none; /* Chrome, Opera, Safari */
86 | -moz-user-select: none; /* Firefox 2+ */
87 | -ms-user-select: none; /* IE 10+ */
88 | user-select: none; /* Standard syntax */
89 | }
90 | *,
91 | *:before,
92 | *:after {
93 | -webkit-box-sizing: border-box;
94 | -moz-box-sizing: border-box;
95 | box-sizing: border-box;
96 | }
97 | html {
98 | font-family: sans-serif; /* 1 */
99 | -ms-text-size-adjust: 100%; /* 2 */
100 | -webkit-text-size-adjust: 100%; /* 2 */
101 | }
102 | body {
103 | font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "STHeitiSC-Light", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
104 | font-size: 14px;
105 | line-height: 1;
106 | background-color: #fff;
107 | position: static !important;
108 | }
109 | ul,
110 | ol {
111 | list-style-type: none;
112 | }
113 | b,
114 | strong {
115 | font-weight: bold;
116 | }
117 | img {
118 | border: 0;
119 | }
120 | button,
121 | input,
122 | select,
123 | textarea {
124 | font-family: inherit;
125 | font-size: 100%;
126 | margin: 0;
127 | }
128 | a {
129 | text-decoration: none;
130 | cursor: pointer;
131 | }
132 | a:active,
133 | a:hover {
134 | outline: 0;
135 | }
136 | @font-face {
137 | font-family: 'iconfont';
138 | src: url("//at.alicdn.com/t/font_1449632746_779643.eot");
139 | src: url("//at.alicdn.com/t/font_1449632746_779643.eot?#iefix") format('embedded-opentype'), url("//at.alicdn.com/t/font_1449632746_779643.woff") format('woff'), url("//at.alicdn.com/t/font_1449632746_779643.ttf") format('truetype'), url("//at.alicdn.com/t/font_1449632746_779643.svg#iconfont") format('svg');
140 | }
141 | .icon {
142 | font-family: "iconfont" !important;
143 | font-size: 16px;
144 | font-style: normal;
145 | vertical-align: middle;
146 | -webkit-font-smoothing: antialiased;
147 | -webkit-text-stroke-width: 0.2px;
148 | -moz-osx-font-smoothing: grayscale;
149 | }
150 | .icon-selected:before {
151 | content: "\e600";
152 | }
153 | .icon-checked:before {
154 | content: "\e60b";
155 | }
156 | .icon-add:before {
157 | content: "\e604";
158 | }
159 | .icon-del:before {
160 | content: "\e602";
161 | }
162 | .icon-remove:before {
163 | content: "\e605";
164 | }
165 | .icon-close:before {
166 | content: "\e603";
167 | }
168 | .icon-error:before {
169 | content: "\e601";
170 | }
171 | .icon-success:before {
172 | content: "\e600";
173 | }
174 | .icon-plus:before {
175 | content: "\e608";
176 | }
177 | .icon-minus:before {
178 | content: "\e609";
179 | }
180 | .icon-camera:before {
181 | content: "\e606";
182 | }
183 | .icon-enter:before {
184 | content: "\e607";
185 | }
186 | .icon-chakanfujian:before {
187 | content: "\e60d";
188 | }
189 | .widgeticon {
190 | background: url("//gw.alicdn.com/tps/TB17MD0LFXXXXXFXFXXXXXXXXXX-24-300.png") no-repeat;
191 | height: 24px;
192 | width: 24px;
193 | display: inline-block;
194 | }
195 | .widgeticon.textfield {
196 | background-position: 0 -24px;
197 | }
198 | .widgeticon.textareafield {
199 | background-position: 0 0;
200 | }
201 | .widgeticon.ddselectfield {
202 | background-position: 0 -48px;
203 | }
204 | .widgeticon.dddatefield {
205 | background-position: 0 -72px;
206 | }
207 | .widgeticon.dddaterangefield {
208 | background-position: 0 -96px;
209 | }
210 | .widgeticon.numberfield {
211 | background-position: 0 -120px;
212 | }
213 | .widgeticon.ddphotofield {
214 | background-position: 0 -144px;
215 | }
216 | .widgeticon.tablefield {
217 | background-position: 0 -168px;
218 | }
219 | .widgeticon.externalcontactfield {
220 | background: url("https://gw.alicdn.com/tps/TB13a6_PpXXXXaOXFXXXXXXXXXX-24-24.png");
221 | }
222 | .widgeticon.ddattachment {
223 | background-position: 0 -192px;
224 | }
225 | .widgeticon.textnote {
226 | background-position: 0 -216px;
227 | }
228 | .widgeticon.moneyfield {
229 | background-position: 0 -240px;
230 | }
231 | .widgeticon.ddmultiselectfield {
232 | background-position: 0 -264px;
233 | }
234 | @-webkit-keyframes spining {
235 | from {
236 | -webkit-transform: rotate(0deg);
237 | }
238 | to {
239 | -webkit-transform: rotate(360deg);
240 | }
241 | }
242 | .wf-button {
243 | margin: 0 5px;
244 | border: none;
245 | border-radius: 2px;
246 | padding: 4px 23px;
247 | color: #fff;
248 | font-size: 12px;
249 | outline: none;
250 | cursor: pointer;
251 | line-height: normal;
252 | }
253 | .wf-button.wf-button-blue {
254 | background: #3f9af9;
255 | }
256 | .wf-button.wf-button-blue:hover {
257 | background: #2786e8;
258 | }
259 | .wf-button.wf-button-cyan {
260 | background: #5db4cf;
261 | }
262 | .wf-button.wf-button-cyan:hover {
263 | background: #429dba;
264 | }
265 | .wf-button.wf-button-green {
266 | background: #41b543;
267 | }
268 | .wf-button.wf-button-green:hover {
269 | background: #39a03b;
270 | }
271 | .wf-button.wf-button-white {
272 | color: #fff;
273 | background: #aaa;
274 | }
275 | .wf-button.wf-button-white:hover {
276 | color: #fff;
277 | background: #f90;
278 | }
279 | .wf-storyboard {
280 | overflow: visible;
281 | position: fixed;
282 | top: 0;
283 | right: 0;
284 | left: 0;
285 | bottom: 0;
286 | pointer-events: none;
287 | z-index: 999;
288 | }
289 | .wf-storyboard.mask {
290 | pointer-events: auto;
291 | background: rgba(0,0,0,0.2);
292 | }
293 | .wf-spinning {
294 | background-repeat: no-repeat;
295 | background-position: center;
296 | background-image: url("data:image/gif;base64,R0lGODlhIAAgAOZHAPn5+fPz8+zs7P7+/u/v7/f39+np6f9mAPT09PHx8efn5/b29u7u7urq6vv7+//ZwP/28P9vEP+zgPCugfiGOf/PsP/j0PKmc/eOR/+WUOfe1//s4P1uDv+fYP+MQP+8kOzGrO2+nu+2j/vx6/SeZP+CMP/GoPyJPP2xfvrUu/p+K/27jvqHO/95IOrOuvTEpPTXxPqaW/bZxvmsefque/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AB/+AR4KDhIVHEBISFYaMjUcDAAECkzEHBxFDA46bCwZGn5+WlhcGC5uGCJ6goCqiIZ8GCKePCasNAQUAACMZHjUNqwmajgSgAgCbAAKgBMSgAbOCAc+MBdTR0qDIhAMKn83Yg8VGBsPZ5ObhA6rQg6oF4YXW5IPzDfGGwEbwR7VGsvgIIfiUQNAyI9sCCgLwSYAgUAoLQTwyMeLDTxeNWBw0saLFiQcTKmRoxGG/TwAjDjRS8Mg8kxEP8jvizYiDiA4+KSA0rWTMT6YGdfvULl5PA4bmGQmKbYE2RuOMgJsVtaihqAxuOnLAgNmplZ8YFEg3oEBXUCmTqVrFFpQBkacTBgSo2VZngHTYIEVlBgDvxnCBAAAh+QQFAABHACwAAAAAIAAgAAAH/4BHgoOEhYaHiIYDAAECjo8BAAOJlAsGRpiZmgYLlIYIl5qimRQHBw+eAwmaDQEFALAABQENE6YHEZOJBJkCAJQotwcEu5kBnkcQJaYiRseGBcbIghAPMpm/hAMKmMTThLxGBrqCAZjj39qhz4KhBemF0eKD8g3whg2Y70erRgj3hRBgSiBIAKZsAAUBwCRAUKaEhR4ekQjRISaLRioOkkixokSDRhAmXGikIT9M/yoKNELwiDyTEEHuO8LNiAOIDjApIGSuZExMnQZtw8QuXU8D0DIF/bYA26FwRrwhg1q0EFQGNxM5YJBJKqKVmBgUIHdkQAGumVJ6AhBq1CgDIhNTBajp1oiCAGS/LYLaVZJGiIEAADs=");
297 | }
298 | .wf-popup {
299 | position: absolute;
300 | pointer-events: auto;
301 | overflow: hidden;
302 | background: #fff;
303 | top: 50%;
304 | left: 50%;
305 | -webkit-transform: translate(-50%, -50%) scale(0.9);
306 | transform: translate(-50%, -50%) scale(0.9);
307 | -webkit-transition: -webkit-transform 0.15s ease-out;
308 | transition: transform 0.15s ease-out;
309 | }
310 | .wf-popup.visible {
311 | -webkit-transform: translate(-50%, -50%) scale(1);
312 | transform: translate(-50%, -50%) scale(1);
313 | }
314 | .wf-popup.wf-preview {
315 | top: 150px;
316 | -webkit-transform: translate(-50%, -15px);
317 | transform: translate(-50%, -15px);
318 | }
319 | .wf-popup.wf-preview.visible {
320 | -webkit-transform: translate(-50%, 0);
321 | transform: translate(-50%, 0);
322 | }
323 | .wf-popup.wf-message {
324 | background: rgba(0,0,0,0.7);
325 | border-radius: 5px;
326 | color: #fff;
327 | top: 2px;
328 | left: 50%;
329 | -webkit-transform: translate(-50%, -120%);
330 | transform: translate(-50%, -120%);
331 | }
332 | .wf-popup.wf-message.visible {
333 | -webkit-transform: translate(-50%, 0);
334 | transform: translate(-50%, 0);
335 | }
336 | .wf-popup input[type="text"],
337 | .wf-popup textarea {
338 | border: 1px solid #ccc;
339 | color: #666;
340 | padding: 5px 10px;
341 | width: 400px;
342 | border-radius: 2px;
343 | font-size: 12px;
344 | outline: none;
345 | }
346 | .wf-popup input[type="text"]:focus,
347 | .wf-popup textarea:focus {
348 | border-color: #3f9af9;
349 | }
350 | .wf-popup .wf-popup-title {
351 | font-size: 20px;
352 | font-weight: bold;
353 | color: #333;
354 | padding: 15px;
355 | border-bottom: 1px dashed #ced1d2;
356 | }
357 | .wf-popup .wf-popup-content {
358 | padding: 20px;
359 | }
360 | .wf-popup .wf-popup-actions {
361 | margin: 5px 0;
362 | text-align: center;
363 | }
364 | .wf-loading {
365 | position: absolute;
366 | text-align: center;
367 | font-size: 14px;
368 | padding: 15px 30px !important;
369 | background: rgba(0,0,0,0.7);
370 | overflow: hidden;
371 | top: 38%;
372 | left: 50%;
373 | -webkit-transform: translate(-50%, -50%);
374 | transform: translate(-50%, -50%);
375 | border-radius: 5px;
376 | color: #fff;
377 | }
378 | .wf-loading .ani-loading {
379 | background: url("//img.alicdn.com/tps/TB1vGw5IFXXXXaQaXXXXXXXXXXX.svg") no-repeat;
380 | background-size: contain;
381 | height: 30px;
382 | width: 30px;
383 | display: inline-block;
384 | vertical-align: middle;
385 | margin-right: 5px;
386 | -webkit-animation: spining 1.2s infinite linear;
387 | animation: spining 1.2s infinite linear;
388 | }
389 | .wf-loading .text {
390 | vertical-align: middle;
391 | }
392 | .wf-popup-close {
393 | position: absolute;
394 | right: 8px;
395 | top: 8px;
396 | font-size: 16px;
397 | color: #999;
398 | cursor: pointer;
399 | }
400 | .wf-popup-close:hover {
401 | color: #666;
402 | }
403 | .wf-message .wf-popup-close:hover {
404 | color: #fff;
405 | }
406 | .wf-message .wf-popup-content {
407 | text-align: center;
408 | font-size: 14px;
409 | padding: 15px !important;
410 | }
411 | .wf-message .wf-popup-content .icon {
412 | margin-right: 5px;
413 | }
414 | .wf-message .wf-popup-content .text {
415 | vertical-align: middle;
416 | }
417 | .wf-message .wf-popup-content.success .icon {
418 | color: #39a03b;
419 | }
420 | .wf-message .wf-popup-content.error .icon {
421 | color: #fda533;
422 | }
423 | .wf-confirm .wf-popup-content {
424 | padding: 20px;
425 | text-align: center;
426 | font-size: 14px;
427 | }
428 | .wf-confirm .wf-popup-content .icon {
429 | margin-right: 5px;
430 | color: #fda533;
431 | }
432 | .wf-confirm .wf-popup-content .icon-color-green {
433 | margin-right: 5px;
434 | color: #39a03b;
435 | }
436 | .wf-confirm .wf-popup-content .text {
437 | vertical-align: middle;
438 | }
439 | .wf-confirm .wf-popup-content .detail {
440 | color: #ccc;
441 | font-size: 12px;
442 | margin: 15px 0 5px;
443 | }
444 | .wf-confirm .wf-popup-content .wf-popup-actions {
445 | margin: 15px 0 5px;
446 | }
447 | .wf-field-group {
448 | margin: 5px 0 30px;
449 | }
450 | .wf-field-group .wf-field {
451 | margin: 10px 0 0;
452 | }
453 | .wf-field {
454 | display: block;
455 | margin: 5px 0 30px;
456 | }
457 | .wf-field .fieldname {
458 | display: block;
459 | font-weight: bold;
460 | font-size: 12px;
461 | color: #666;
462 | margin-bottom: 12px;
463 | padding-left: 2px;
464 | }
465 | .wf-field .fieldname span {
466 | font-size: 12px;
467 | }
468 | .wf-field .fieldinfo {
469 | color: #ccc;
470 | font-size: 12px !important;
471 | margin-left: 8px;
472 | font-weight: normal;
473 | opacity: 0.9;
474 | }
475 | .wf-field .fieldinfo.error-empty,
476 | .wf-field .fieldinfo.error-duplicate,
477 | .wf-field .fieldinfo.error-toolong {
478 | color: #ff4500 !important;
479 | }
480 | .wf-field .fieldinfo.error-warn {
481 | color: #ff8c00 !important;
482 | }
483 | .wf-field input[type="text"].error-empty,
484 | .wf-field input[type="text"].error-duplicate,
485 | .wf-field input[type="text"].error-toolong {
486 | border-color: #ff4500 !important;
487 | }
488 | .wf-field input[type="text"].error-warn {
489 | border-color: #ff8c00 !important;
490 | }
491 | .wf-field .fieldblock {
492 | display: block;
493 | margin: 5px 0;
494 | line-height: normal;
495 | }
496 | .wf-field .verticalmiddle {
497 | vertical-align: middle;
498 | }
499 | .wf-qrcode h2 {
500 | text-align: center;
501 | font-size: 18px;
502 | font-weight: bold;
503 | color: #999;
504 | margin: 10px 0;
505 | }
506 | .wf-qrcode img,
507 | .wf-qrcode .wf-spinning {
508 | display: block;
509 | height: 200px;
510 | width: 200px;
511 | margin: 0 auto;
512 | }
513 | .wf-setting-short {
514 | height: 200px;
515 | overflow-y: auto;
516 | }
517 | @-moz-keyframes spining {
518 | from {
519 | transform: rotate(0deg);
520 | }
521 | to {
522 | transform: rotate(360deg);
523 | }
524 | }
525 | @-webkit-keyframes spining {
526 | from {
527 | transform: rotate(0deg);
528 | }
529 | to {
530 | transform: rotate(360deg);
531 | }
532 | }
533 | @-o-keyframes spining {
534 | from {
535 | transform: rotate(0deg);
536 | }
537 | to {
538 | transform: rotate(360deg);
539 | }
540 | }
541 | @keyframes spining {
542 | from {
543 | transform: rotate(0deg);
544 | }
545 | to {
546 | transform: rotate(360deg);
547 | }
548 | }
549 | html.wf-cursor-move,
550 | html.wf-cursor-move * {
551 | cursor: move !important;
552 | }
553 | body,
554 | html {
555 | display: block;
556 | height: 100%;
557 | -webkit-box-sizing: border-box;
558 | -moz-box-sizing: border-box;
559 | box-sizing: border-box;
560 | }
561 | body {
562 | background: #717171 url("../assets/img/TB1mLf6IpXXXXcQXpXXXXXXXXXX.jpg") no-repeat;
563 | background-attachment: fixed;
564 | background-position: top center;
565 | background-size: cover;
566 | }
567 | .browsers-guide {
568 | position: absolute;
569 | left: 50%;
570 | width: 800px;
571 | margin-left: -400px;
572 | top: 100px;
573 | height: auto;
574 | }
575 | .browsers-guide .headline {
576 | font-family: "PingHei", "Lucida Grande", "Lucida Sans Unicode", "STHeitiSC", "Helvetica", "Arial", "Verdana", "sans-serif";
577 | font-size: 24px;
578 | font-weight: normal;
579 | line-height: 40px;
580 | cursor: default;
581 | color: #fff;
582 | text-align: center;
583 | }
584 | .browsers-guide .dock {
585 | margin-top: 60px;
586 | overflow: hidden;
587 | }
588 | .browsers-guide .browser {
589 | display: block;
590 | float: left;
591 | width: 200px;
592 | text-align: center;
593 | }
594 | .browsers-guide .browser img {
595 | border: none;
596 | width: 90px;
597 | height: 90px;
598 | }
599 | .browsers-guide .browser span {
600 | display: block;
601 | font-size: 14px;
602 | margin-top: 30px;
603 | padding: 0 10px;
604 | height: 30px;
605 | line-height: 30px;
606 | color: #fff;
607 | }
608 | .browsers-guide .browser:hover span {
609 | color: #ff4500;
610 | }
611 | #body.blur {
612 | -webkit-filter: blur(3px);
613 | filter: blur(3px);
614 | }
615 | #body,
616 | .wf-wrapper {
617 | height: 100%;
618 | }
619 | .wf-header {
620 | height: 40px;
621 | width: 1200px;
622 | margin: 0 auto;
623 | position: relative;
624 | }
625 | .wf-header .head-title {
626 | position: absolute;
627 | left: 0;
628 | color: #fff;
629 | font-size: 18px;
630 | line-height: 37px;
631 | text-align: center;
632 | }
633 | .wf-header .head-title-font {
634 | font-size: 25px;
635 | color: #fff;
636 | padding: 0px 10px;
637 | }
638 | .wf-header .navbar-single-logo {
639 | position: relative;
640 | top: 5px;
641 | }
642 | .wf-header .head-actions {
643 | position: absolute;
644 | right: 0;
645 | line-height: 37px;
646 | height: 37px;
647 | padding: 0 5px;
648 | text-align: center;
649 | background: rgba(0,0,0,0.3);
650 | }
651 | .wf-header .head-actions.disabled > .wf-button {
652 | background: #aaa !important;
653 | pointer-events: none;
654 | }
655 | .wf-main {
656 | position: fixed;
657 | top: 40px;
658 | left: 50%;
659 | width: 1200px;
660 | margin-left: -600px;
661 | bottom: 0;
662 | }
663 | .navbar-logo {
664 | height: 45px;
665 | vertical-align: -20px;
666 | }
667 | .navbar-head {
668 | left: 100%;
669 | top: 50%;
670 | margin-top: -12px;
671 | padding-left: 10px;
672 | line-height: 26px;
673 | height: 26px;
674 | position: absolute;
675 | border-left: 1px solid #ccc;
676 | color: #fff;
677 | max-width: 500px;
678 | overflow: hidden;
679 | text-overflow: ellipsis;
680 | white-space: nowrap;
681 | }
682 | .wf-dragging-proxy {
683 | position: fixed;
684 | pointer-events: none;
685 | width: 148px;
686 | height: 42px;
687 | background: rgba(0,0,0,0.6);
688 | text-align: left;
689 | padding-left: 15px;
690 | font-size: 12px;
691 | line-height: 42px;
692 | color: #fff;
693 | margin-top: -21px;
694 | margin-left: -75px;
695 | display: none;
696 | }
697 | .wf-dragging-proxy .widgeticon {
698 | position: absolute;
699 | right: 10px;
700 | top: 9px;
701 | }
702 | .wf-dragging-mark {
703 | background: #ff4500;
704 | height: 2px;
705 | overflow: visible;
706 | position: relative;
707 | margin: 3px 0;
708 | }
709 | .wf-dragging-mark:before,
710 | .wf-dragging-mark:after {
711 | position: absolute;
712 | content: '';
713 | display: block;
714 | height: 0;
715 | width: 0;
716 | border-style: solid;
717 | border-color: transparent;
718 | border-width: 4px 8px;
719 | top: -3px;
720 | }
721 | .wf-dragging-mark:before {
722 | left: 0px;
723 | border-left-color: #ff4500;
724 | }
725 | .wf-dragging-mark:after {
726 | right: 0px;
727 | border-right-color: #ff4500;
728 | }
729 | .wf-panel {
730 | position: absolute;
731 | }
732 | .wf-panel-tab {
733 | height: 32px;
734 | }
735 | .wf-panel-tab .tabitem {
736 | display: inline-block;
737 | width: 99px;
738 | height: 28px;
739 | line-height: 28px;
740 | font-size: 15px;
741 | text-align: center;
742 | border-radius: 2px;
743 | color: #fff;
744 | }
745 | .wf-panel-tab .tabitem.current {
746 | position: relative;
747 | background: rgba(0,0,0,0.5);
748 | }
749 | .wf-panel-tab .tabitem.current:after {
750 | content: '';
751 | display: block;
752 | overflow: hidden;
753 | position: absolute;
754 | height: 0;
755 | width: 0;
756 | border: 4px solid transparent;
757 | border-top-color: rgba(0,0,0,0.5);
758 | bottom: -8px;
759 | margin-left: -4px;
760 | left: 50%;
761 | }
762 | .wf-panel-body {
763 | overflow: hidden;
764 | }
765 | .wf-formcanvas {
766 | position: absolute;
767 | left: 50%;
768 | top: 0;
769 | height: 100%;
770 | width: 492px;
771 | margin-left: -251px;
772 | background: url("//img.alicdn.com/tps/TB1LeMSIpXXXXcYXpXXXXXXXXXX.png") no-repeat top center;
773 | }
774 | .wf-formcanvas-inner {
775 | position: absolute;
776 | overflow-x: hidden;
777 | overflow-y: auto;
778 | left: 47px;
779 | top: 106px;
780 | right: 46px;
781 | bottom: 0;
782 | max-height: 688px;
783 | background: #f0eff4;
784 | }
785 | .wf-formcanvas-title {
786 | height: 50px;
787 | line-height: 50px;
788 | text-align: center;
789 | font-size: 16px;
790 | color: #fff;
791 | margin-top: -34px;
792 | }
793 | .wf-formcanvas-body {
794 | overflow: hidden;
795 | padding-bottom: 30px;
796 | }
797 | .wf-formcanvas-body.empty {
798 | background: url("//img.alicdn.com/tps/TB1FRPmHVXXXXb.XFXXXXXXXXXX-249-145.png") no-repeat center;
799 | min-height: 300px;
800 | }
801 | .wf-component {
802 | margin: 15px 0;
803 | overflow: hidden;
804 | position: relative;
805 | }
806 | .wf-remove {
807 | position: absolute;
808 | right: 0;
809 | top: 0;
810 | font-size: 12px;
811 | color: #eee;
812 | display: none;
813 | cursor: pointer;
814 | z-index: 10;
815 | background: #ff5400;
816 | padding: 3px 2px 2px 3px;
817 | }
818 | .wf-overlay {
819 | position: absolute;
820 | top: 0;
821 | right: 0;
822 | bottom: 0;
823 | left: 0;
824 | cursor: move;
825 | z-index: 9;
826 | border: 1px dashed transparent;
827 | }
828 | .wf-remove:hover {
829 | color: #fff;
830 | }
831 | html:not(.wf-cursor-move) .wf-component.hover > .wf-remove {
832 | display: block;
833 | }
834 | html:not(.wf-cursor-move) .wf-component.hover > .wf-overlay {
835 | border-color: #ff5400;
836 | }
837 | html:not(.wf-cursor-move) .wf-component.active > .wf-overlay {
838 | border-width: 1px;
839 | border-style: solid;
840 | border-color: #ff5400;
841 | }
842 | .wf-component.areaactive > .wf-overlay {
843 | border-width: 1px;
844 | border-style: solid;
845 | border-color: rgba(255,84,0,0.3);
846 | }
847 | .wf-component.draging {
848 | pointer-events: none;
849 | -webkit-filter: blur(1px);
850 | filter: blur(1px);
851 | }
852 | .wf-component.draging > .wf-overlay {
853 | border-width: 1px;
854 | border-color: #666;
855 | border-style: dashed;
856 | background: #ccc;
857 | opacity: 0.8;
858 | }
859 | .wf-componentview {
860 | position: relative;
861 | /*
862 | &.important-field .wf-componentview-placeholder
863 | color #f93
864 |
865 | &.important-field .wf-componentview-content
866 | background #f93
867 | color white
868 | */
869 | }
870 | .wf-componentview .wf-componentview-label {
871 | font-size: 16px;
872 | color: #858e99;
873 | display: block;
874 | padding: 10px 15px;
875 | white-space: normal;
876 | word-break: break-word;
877 | vertical-align: top;
878 | }
879 | .wf-componentview >.wf-componentview-border {
880 | border-width: 1px 0;
881 | border-style: solid;
882 | border-color: #c8c8ca transparent;
883 | background: #fff;
884 | padding: 15px;
885 | white-space: nowrap;
886 | }
887 | .wf-componentview >.wf-componentview-border >.wf-componentview-label {
888 | display: inline-block;
889 | width: 5.5em;
890 | padding: 0 8px 0 0;
891 | color: #222;
892 | }
893 | .wf-componentview .wf-componentview-placeholder {
894 | color: #ccc;
895 | font-size: 15px;
896 | vertical-align: top;
897 | }
898 | .wf-componentview .wf-componentview-adddetail {
899 | color: #008cee;
900 | text-align: center;
901 | padding: 15px;
902 | background: #f7f9ff;
903 | border-bottom: 1px solid rgba(200,200,202,0.5);
904 | vertical-align: middle;
905 | }
906 | .wf-componentview .wf-componentview-adddetail:before {
907 | font-family: "iconfont";
908 | font-size: 16px;
909 | font-style: normal;
910 | content: "\e608";
911 | display: inline-block;
912 | margin: 0 3px 0 0;
913 | }
914 | .wf-componentview .wf-componentview-content {
915 | padding: 15px;
916 | color: #858e99;
917 | }
918 | .wf-componentview .wf-componentview-area {
919 | min-height: 90px;
920 | background: #ddeff3;
921 | position: relative;
922 | }
923 | .wf-componentview .wf-componentview-area .emptytip {
924 | position: absolute;
925 | left: 50%;
926 | top: 50%;
927 | white-space: nowrap;
928 | color: #ccc;
929 | -webkit-transform: translate(-50%, -50%);
930 | transform: translate(-50%, -50%);
931 | }
932 | .wf-componentgroup {
933 | margin: 0;
934 | padding: 0;
935 | border-width: 1px 0;
936 | border-style: solid;
937 | border-color: #c8c8ca transparent;
938 | }
939 | .wf-componentgroup >.wf-component {
940 | padding: 0;
941 | margin: 0;
942 | background: #fff;
943 | }
944 | .wf-componentgroup >.wf-component .wf-componentview-border {
945 | border-width: 0 0 1px;
946 | margin-left: 15px;
947 | padding-left: 0;
948 | }
949 | .wf-componentgroup >.wf-component:last-child .wf-componentview-border:last-child {
950 | border-width: 0;
951 | }
952 | .empty .wf-componentgroup {
953 | border-width: 0;
954 | }
955 | .wf-componentview-stats {
956 | padding: 3px 10px;
957 | }
958 | .wf-componentview-stats .wf-componentview-statitem {
959 | color: #858e99;
960 | font-size: 14px;
961 | text-align: left;
962 | line-height: 20px;
963 | margin: 2px 0;
964 | }
965 | .wf-component-textareafield .wf-componentview-placeholder {
966 | height: 50px;
967 | display: inline-block;
968 | }
969 | .wf-component-ddselectfield .icon-enter,
970 | .wf-component-ddmultiselectfield .icon-enter,
971 | .wf-component-dddatefield .icon-enter,
972 | .wf-component-dddaterangefield .icon-enter {
973 | position: absolute;
974 | font-size: 24px;
975 | right: 15px;
976 | top: 12px;
977 | color: #e0e0e0;
978 | }
979 | .wf-component-ddselectfield .wf-componentview-placeholder,
980 | .wf-component-ddmultiselectfield .wf-componentview-placeholder,
981 | .wf-component-dddatefield .wf-componentview-placeholder,
982 | .wf-component-dddaterangefield .wf-componentview-placeholder {
983 | position: absolute;
984 | right: 50px;
985 | top: 16px;
986 | color: #929292;
987 | }
988 | .wf-component-dddaterangefield .wf-componentview-border {
989 | position: relative;
990 | }
991 | .wf-component-dddaterangefield .wf-componentview-border:not(:first-child) {
992 | border-top: none;
993 | }
994 | .wf-component-externalcontactfield .wf-componentview-border {
995 | position: relative;
996 | }
997 | .wf-component-externalcontactfield .wf-componentview-border:not(:first-child) {
998 | border-top: none;
999 | }
1000 | .wf-component-externalcontactfield .icon-enter {
1001 | position: absolute;
1002 | font-size: 24px;
1003 | right: 15px;
1004 | top: 12px;
1005 | color: #e0e0e0;
1006 | }
1007 | .wf-component-externalcontactfield .wf-componentview-placeholder {
1008 | position: absolute;
1009 | right: 50px;
1010 | top: 16px;
1011 | color: #929292;
1012 | }
1013 | .wf-componentview-tip-icon {
1014 | border: 0;
1015 | width: 30px;
1016 | position: relative;
1017 | float: right;
1018 | top: -6px;
1019 | }
1020 | .wf-component-ddphotofield .icon-camera {
1021 | position: absolute;
1022 | font-size: 24px;
1023 | right: 15px;
1024 | top: 12px;
1025 | color: #858e99;
1026 | }
1027 | .wf-component-ddattachment .icon-chakanfujian {
1028 | position: absolute;
1029 | font-size: 24px;
1030 | right: 15px;
1031 | top: 12px;
1032 | color: #858e99;
1033 | }
1034 | .wf-component-textnote {
1035 | padding: 0;
1036 | margin: 0;
1037 | }
1038 | .wf-component-moneyfield .cnformat {
1039 | color: #858e99;
1040 | font-size: 14px;
1041 | padding: 5px 15px;
1042 | }
1043 | .wf-iconselect {
1044 | overflow: auto;
1045 | height: 300px;
1046 | }
1047 | .wf-iconselect .iconitem {
1048 | width: 50px;
1049 | height: 50px;
1050 | display: block;
1051 | float: left;
1052 | margin: 5px;
1053 | border-radius: 5px;
1054 | cursor: pointer;
1055 | border: 1px solid transparent;
1056 | overflow: hidden;
1057 | position: relative;
1058 | }
1059 | .wf-iconselect .iconitem.selected {
1060 | border-color: #3f9af9;
1061 | }
1062 | .wf-iconselect .iconitem img {
1063 | max-width: 100%;
1064 | max-height: 100%;
1065 | padding: 10px;
1066 | background: #fff;
1067 | border-radius: 30%;
1068 | }
1069 | .wf-iconselect .iconitem .icon {
1070 | position: absolute;
1071 | display: block;
1072 | border-radius: 50%;
1073 | bottom: 1px;
1074 | right: 1px;
1075 | color: #fff;
1076 | padding: 3px 2px 2px 3px;
1077 | font-size: 14px;
1078 | background: #3f9af9;
1079 | }
1080 | .wf-icon {
1081 | width: 40px;
1082 | height: 40px;
1083 | margin-left: 8px;
1084 | margin-right: 8px;
1085 | }
1086 | .wf-icon-item {
1087 | display: inline-block;
1088 | text-align: center;
1089 | position: relative;
1090 | }
1091 | .wf-icon-item .tabitem {
1092 | display: none;
1093 | width: 250px;
1094 | height: 28px;
1095 | line-height: 28px;
1096 | font-size: 11px;
1097 | text-align: left;
1098 | border-radius: 2px;
1099 | color: #fff;
1100 | position: absolute;
1101 | text-align: center;
1102 | left: 10px;
1103 | top: -32px;
1104 | }
1105 | .wf-icon-item .tabitem.current {
1106 | background: rgba(0,0,0,0.5);
1107 | }
1108 | .wf-icon-item .tabitem.current:after {
1109 | content: '';
1110 | display: block;
1111 | overflow: hidden;
1112 | position: absolute;
1113 | height: 0;
1114 | width: 0;
1115 | border: 4px solid transparent;
1116 | border-top-color: rgba(0,0,0,0.5);
1117 | bottom: -8px;
1118 | margin-left: -4px;
1119 | left: 20px;
1120 | }
1121 | .wf-setting-duration-label {
1122 | padding-left: 18px;
1123 | }
1124 | .wf-push-app {
1125 | position: relative;
1126 | padding-top: 10px;
1127 | padding-bottom: 10px;
1128 | }
1129 | .wf-icon-group {
1130 | position: relative;
1131 | top: 20px;
1132 | }
1133 | .wf-app-push {
1134 | position: absolute;
1135 | top: 10px;
1136 | }
1137 | .wf-icon-name {
1138 | display: block;
1139 | color: #fff;
1140 | font-size: 11px;
1141 | }
1142 | .wf-pushinfo {
1143 | font-size: 14px;
1144 | color: #fff;
1145 | margin-left: 4px;
1146 | }
1147 | .wf-item-group {
1148 | padding-left: 18px;
1149 | }
1150 | .wf-setting-push-radio {
1151 | margin-left: 10px;
1152 | }
1153 | .wf-tips {
1154 | width: 15px;
1155 | height: 15px;
1156 | margin-left: 4px;
1157 | position: relative;
1158 | top: 3px;
1159 | }
1160 | .wf-input-tips {
1161 | color: #f4f4f4;
1162 | font-size: 12px;
1163 | }
1164 | .wf-settingpanel {
1165 | width: 320px;
1166 | right: 0;
1167 | top: 84px;
1168 | bottom: 0;
1169 | }
1170 | .wf-settingpanel input[type="text"],
1171 | .wf-settingpanel textarea {
1172 | background: rgba(255,255,255,0.1);
1173 | border: 1px solid rgba(255,255,255,0.6);
1174 | color: #fff;
1175 | padding: 6px 10px;
1176 | width: 290px;
1177 | border-radius: 2px;
1178 | outline: none;
1179 | font-size: 12px;
1180 | }
1181 | .wf-settingpanel input[type="text"]:focus,
1182 | .wf-settingpanel textarea:focus {
1183 | border-color: #3f9af9;
1184 | background: transparent;
1185 | }
1186 | .wf-settingpanel ::-webkit-input-placeholder {
1187 | color: #fff;
1188 | }
1189 | .wf-settingpanel .wf-form {
1190 | position: absolute;
1191 | top: 40px;
1192 | bottom: 0;
1193 | overflow-y: auto;
1194 | left: 0;
1195 | right: 0;
1196 | padding: 19px 0;
1197 | }
1198 | .wf-settingpanel .wf-field .fieldname {
1199 | color: #fff;
1200 | }
1201 | .wf-settingpanel .wf-field .fieldinfo {
1202 | color: #f4f4f4;
1203 | }
1204 | .wf-settingpanel .wf-field .wf-conditionwarn {
1205 | font-size: 12px;
1206 | color: #fff;
1207 | line-height: 16px;
1208 | }
1209 | .wf-settingpanel .wf-field .wf-conditionwarn .icon-error {
1210 | color: #ff8415;
1211 | vertical-align: baseline;
1212 | }
1213 | .wf-settingpanel .wf-field[class*="wf-setting-"] {
1214 | color: #fff;
1215 | }
1216 | .wf-settingpanel .wf-field[class*="wf-setting-"] input[type="checkbox"] {
1217 | margin-right: 5px;
1218 | margin-left: 2px;
1219 | vertical-align: middle;
1220 | }
1221 | .wf-settingpanel .wf-field.wf-setting-dateformat {
1222 | color: #fff;
1223 | }
1224 | .wf-settingpanel .wf-field.wf-setting-dateformat input[type="radio"] {
1225 | margin-right: 5px;
1226 | margin-left: 2px;
1227 | vertical-align: middle;
1228 | }
1229 | .wf-settingpanel .wf-field.wf-setting-push {
1230 | color: #fff;
1231 | margin-top: 24px;
1232 | margin-left: 5px;
1233 | }
1234 | .wf-settingpanel .wf-field.wf-setting-push input[type="radio"] {
1235 | margin-right: 5px;
1236 | margin-left: 2px;
1237 | vertical-align: middle;
1238 | }
1239 | .wf-settingpanel .wf-field.wf-setting-daterangelabel .fieldblock:not(:last-child) {
1240 | margin-bottom: 30px;
1241 | }
1242 | .wf-settingpanel .wf-field.wf-setting-options input[type="text"] {
1243 | width: 200px;
1244 | }
1245 | .wf-settingpanel .wf-field.wf-setting-options .action {
1246 | margin-left: 5px;
1247 | display: inline-block;
1248 | opacity: 0.6;
1249 | text-align: center;
1250 | }
1251 | .wf-settingpanel .wf-field.wf-setting-options .action .icon {
1252 | background: #000;
1253 | border-radius: 50%;
1254 | color: #fff;
1255 | padding: 3px 2px 3px 3px;
1256 | font-size: 12px;
1257 | }
1258 | .wf-settingpanel .wf-field.wf-setting-options .action:hover {
1259 | opacity: 0.9;
1260 | }
1261 | .wf-settingpanel .wf-field.wf-setting-options .limitadd .action-add,
1262 | .wf-settingpanel .wf-field.wf-setting-options .limitdel .action-del {
1263 | opacity: 0.2;
1264 | pointer-events: none;
1265 | }
1266 | .wf-settingpanel .wf-field.wf-setting-content textarea {
1267 | min-height: 7.5em;
1268 | }
1269 | .wf-widgetspanel {
1270 | width: 350px;
1271 | bottom: 0;
1272 | left: 0;
1273 | top: 84px;
1274 | }
1275 | .wf-widgetspanel .wf-panel-body {
1276 | margin: 30px -15px 0 0;
1277 | }
1278 | .wf-widgetsitem {
1279 | border: 1px dashed rgba(255,255,255,0.6);
1280 | background: rgba(255,255,255,0.1);
1281 | margin: 0 15px 15px 0;
1282 | width: 148px;
1283 | height: 42px;
1284 | float: left;
1285 | font-size: 12px;
1286 | line-height: 42px;
1287 | text-align: left;
1288 | padding-left: 15px;
1289 | cursor: move;
1290 | color: #fff;
1291 | position: relative;
1292 | overflow: hidden;
1293 | }
1294 | .wf-widgetsitem.new:after {
1295 | position: absolute;
1296 | content: 'new';
1297 | font-family: Helvetica, Arial, sans-serif;
1298 | background: #fc0;
1299 | display: inline-block;
1300 | padding: 7px 20px 1px;
1301 | top: 0;
1302 | left: 0;
1303 | font-size: 12px;
1304 | line-height: normal;
1305 | -webkit-transform-origin: center top;
1306 | transform-origin: center top;
1307 | -webkit-transform: translateX(-50%) rotate(-45deg) scale(0.7);
1308 | transform: translateX(-50%) rotate(-45deg) scale(0.7);
1309 | }
1310 | .wf-widgetsitem:hover {
1311 | background: rgba(255,255,255,0.2);
1312 | }
1313 | .wf-widgetsitem .widgeticon {
1314 | position: absolute;
1315 | right: 10px;
1316 | top: 9px;
1317 | }
1318 | .wf-widgetsitem * {
1319 | cursor: move;
1320 | }
1321 |
1322 | /*# sourceMappingURL=design.css.map */
1323 |
--------------------------------------------------------------------------------
/src/style/style.css:
--------------------------------------------------------------------------------
1 | ul,li{
2 | list-style: none;
3 | }
4 |
5 |
--------------------------------------------------------------------------------