system-clients 3.1.88-5-liaoyuan → 3.1.88-xianyang
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/components/Main.vue +1 -1
- package/src/components/equipment/EquipmentManage.vue +68 -65
- package/src/components/equipment/QCAdd.vue +318 -0
- package/src/components/equipment/QCList.vue +230 -0
- package/src/components/equipment/QCManage.vue +150 -0
- package/src/components/parammanage/ParamManage.vue +2 -2
- package/src/components/parammanage/ParamPage.vue +4 -4
- package/src/components/parammanage/SinglePage.vue +2 -2
- package/src/components/server/Login.vue +642 -688
- package/src/components/server/ModifyPw.vue +4 -5
- package/src/components/server/ResSelect.vue +5 -1
- package/src/components/server/ResSelectGroup.vue +3 -18
- package/src/components/server/RightTree.vue +314 -343
- package/src/plugins/EncryptUtil.js +53 -0
- package/src/plugins/GetLoginInfoService.js +3 -0
- package/src/plugins/validation.js +1 -1
- package/src/system.js +89 -87
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
- package/.gradle/vcs-1/gc.properties +0 -0
- package/src/components/server/ImageVieweTest.vue +0 -56
- package/src/components/server/ImageViewer.vue +0 -350
- package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
- package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
- package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/styles/fonts/pingfang-bold.ttf +0 -0
- package/src/styles/fonts/pingfang-medium.ttf +0 -0
- package/src/styles/fonts/pingfang-regular.ttf +0 -0
- package/src/styles/fonts/trendstrends.ttf +0 -0
- package/src/styles/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/styles/less/.csscomb.json +0 -304
- package/src/styles/less/.csslintrc +0 -19
- package/src/styles/less/alerts.less +0 -73
- package/src/styles/less/aofeng/animate.min.css +0 -11
- package/src/styles/less/aofeng/expandcss.less +0 -569
- package/src/styles/less/aofeng/standard.less +0 -2121
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
- package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
- package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
- package/src/styles/less/aofeng/themeOne.less +0 -17
- package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
- package/src/styles/less/aofeng/themeTwo.less +0 -3
- package/src/styles/less/badges.less +0 -66
- package/src/styles/less/bootstrap.less +0 -66
- package/src/styles/less/breadcrumbs.less +0 -26
- package/src/styles/less/button-groups.less +0 -247
- package/src/styles/less/buttons.less +0 -172
- package/src/styles/less/carousel.less +0 -269
- package/src/styles/less/close.less +0 -34
- package/src/styles/less/code.less +0 -69
- package/src/styles/less/component-animations.less +0 -33
- package/src/styles/less/dropdowns.less +0 -216
- package/src/styles/less/fonts-list.less +0 -25
- package/src/styles/less/forms.less +0 -626
- package/src/styles/less/glyphicons.less +0 -305
- package/src/styles/less/grid.less +0 -84
- package/src/styles/less/input-groups.less +0 -167
- package/src/styles/less/jumbotron.less +0 -52
- package/src/styles/less/labels.less +0 -64
- package/src/styles/less/list-group.less +0 -141
- package/src/styles/less/manageStyle/manageChile.less +0 -180
- package/src/styles/less/manageStyle/manageStyle.less +0 -1102
- package/src/styles/less/manageStyle/safeStyle.less +0 -498
- package/src/styles/less/media.less +0 -66
- package/src/styles/less/mixins/alerts.less +0 -14
- package/src/styles/less/mixins/background-variant.less +0 -9
- package/src/styles/less/mixins/border-radius.less +0 -18
- package/src/styles/less/mixins/buttons.less +0 -69
- package/src/styles/less/mixins/center-block.less +0 -7
- package/src/styles/less/mixins/clearfix.less +0 -22
- package/src/styles/less/mixins/forms.less +0 -90
- package/src/styles/less/mixins/gradients.less +0 -59
- package/src/styles/less/mixins/grid-framework.less +0 -92
- package/src/styles/less/mixins/grid.less +0 -122
- package/src/styles/less/mixins/hide-text.less +0 -21
- package/src/styles/less/mixins/image.less +0 -33
- package/src/styles/less/mixins/labels.less +0 -12
- package/src/styles/less/mixins/list-group.less +0 -30
- package/src/styles/less/mixins/nav-divider.less +0 -10
- package/src/styles/less/mixins/nav-vertical-align.less +0 -9
- package/src/styles/less/mixins/opacity.less +0 -8
- package/src/styles/less/mixins/pagination.less +0 -24
- package/src/styles/less/mixins/panels.less +0 -24
- package/src/styles/less/mixins/progress-bar.less +0 -10
- package/src/styles/less/mixins/reset-filter.less +0 -8
- package/src/styles/less/mixins/reset-text.less +0 -18
- package/src/styles/less/mixins/resize.less +0 -6
- package/src/styles/less/mixins/responsive-visibility.less +0 -15
- package/src/styles/less/mixins/size.less +0 -10
- package/src/styles/less/mixins/tab-focus.less +0 -9
- package/src/styles/less/mixins/table-row.less +0 -44
- package/src/styles/less/mixins/text-emphasis.less +0 -9
- package/src/styles/less/mixins/text-overflow.less +0 -8
- package/src/styles/less/mixins/vendor-prefixes.less +0 -227
- package/src/styles/less/mixins.less +0 -40
- package/src/styles/less/modals.less +0 -151
- package/src/styles/less/navbar.less +0 -660
- package/src/styles/less/navs.less +0 -285
- package/src/styles/less/normalize.less +0 -424
- package/src/styles/less/pager.less +0 -76
- package/src/styles/less/pagination.less +0 -89
- package/src/styles/less/panels.less +0 -275
- package/src/styles/less/popovers.less +0 -131
- package/src/styles/less/print.less +0 -101
- package/src/styles/less/progress-bars.less +0 -87
- package/src/styles/less/responsive-embed.less +0 -35
- package/src/styles/less/responsive-utilities.less +0 -194
- package/src/styles/less/scaffolding.less +0 -161
- package/src/styles/less/stand.less +0 -207
- package/src/styles/less/tables.less +0 -262
- package/src/styles/less/theme.less +0 -291
- package/src/styles/less/thumbnails.less +0 -36
- package/src/styles/less/tooltip.less +0 -102
- package/src/styles/less/type.less +0 -303
- package/src/styles/less/utilities.less +0 -55
- package/src/styles/less/variables.less +0 -896
- package/src/styles/less/wells.less +0 -29
- package/static/logo.png +0 -0
- package/static/newStyle/login-left1 (2).png +0 -0
- package/static/newStyle/login-left1.png +0 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
import AesEncryptJS from "crypto-js"
|
2
|
+
import RsaEncryptJS from 'jsencrypt'
|
3
|
+
|
4
|
+
export default {
|
5
|
+
/**
|
6
|
+
* AES加密
|
7
|
+
* @param word
|
8
|
+
* @returns {*}
|
9
|
+
*/
|
10
|
+
AESEncrypt(word, encryKey){
|
11
|
+
var key = AesEncryptJS.enc.Utf8.parse(encryKey);
|
12
|
+
var srcs = AesEncryptJS.enc.Utf8.parse(word);
|
13
|
+
var encrypted = AesEncryptJS.AES.encrypt(srcs, key, {mode:AesEncryptJS.mode.ECB,padding: AesEncryptJS.pad.Pkcs7});
|
14
|
+
return encrypted.toString();
|
15
|
+
},
|
16
|
+
/**
|
17
|
+
* AES解密
|
18
|
+
* @param word
|
19
|
+
* @returns {*}
|
20
|
+
*/
|
21
|
+
AESDecrypt(word, encryKey){
|
22
|
+
var key = AesEncryptJS.enc.Utf8.parse(encryKey);
|
23
|
+
var decrypt = AesEncryptJS.AES.decrypt(word, key, {mode:AesEncryptJS.mode.ECB,padding: AesEncryptJS.pad.Pkcs7});
|
24
|
+
var ret = AesEncryptJS.enc.Utf8.stringify(decrypt).toString();
|
25
|
+
try{
|
26
|
+
return JSON.parse(ret) ;
|
27
|
+
}catch (e){
|
28
|
+
return ret
|
29
|
+
}
|
30
|
+
},
|
31
|
+
/**
|
32
|
+
* RSA加密
|
33
|
+
* @param word
|
34
|
+
* @returns {*}
|
35
|
+
*/
|
36
|
+
RSAEncrypt(word){
|
37
|
+
let encrypt = new RsaEncryptJS();
|
38
|
+
encrypt.setPublicKey('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB');
|
39
|
+
let resdata = encrypt.encrypt(word);
|
40
|
+
return resdata.toString();
|
41
|
+
},
|
42
|
+
/**
|
43
|
+
* RSA解密
|
44
|
+
* @param word
|
45
|
+
* @returns {*}
|
46
|
+
*/
|
47
|
+
RSADecrypt(word){
|
48
|
+
let encrypt = new RsaEncryptJS();
|
49
|
+
encrypt.setPrivateKey('MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKo++i9J9dzAFtbxwowKDCo2mxi7MXxE8A8VvssaydWjjgmEz/HHMPLOhi1182a1si4pWL0/MizKnquD7T2Bu4jpQbAFnkNYEMEyq/kw904Xl0JCQHYFuvnI99RE8Q3KlTP6kEUGDjV34EL6vBGJcQvArLtj1xoP8y0nIfJ2Pw5TAgMBAAECgYAGGB8IllMwxceLhjf6n1l0IWRH7FuHIUieoZ6k0p6rASHSgWiYNRMxfecbtX8zDAoG0QAWNi7rn40ygpR5gS1fWDAKhmnhKgQIT6wW0VmD4hraaeyP78iy8BLhlvblri2nCPIhDH5+l96v7D47ZZi3ZSOzcj89s1eS/k7/N4peEQJBAPEtGGJY+lBoCxQMhGyzuzDmgcS1Un1ZE2pt+XNCVl2b+T8fxWJH3tRRR8wOY5uvtPiK1HM/IjT0T5qwQeH8Yk0CQQC0tcv3d/bDb7bOe9QzUFDQkUSpTdPWAgMX2OVPxjdq3Sls9oA5+fGNYEy0OgyqTjde0b4iRzlD1O0OhLqPSUMfAkEAh5FIvqezdRU2/PsYSR4yoAdCdLdT+h/jGRVefhqQ/6eYUJJkWp15tTFHQX3pIe9/s6IeT/XyHYAjaxmevxAmlQJBAKSdhvQjf9KAjZKDEsa7vyJ/coCXuQUWSCMNHbcR5aGfXgE4e45UtUoIE1eKGcd6AM6LWhx3rR6xdFDpb9je8BkCQB0SpevGfOQkMk5i8xkEt9eeYP0fi8nv6eOUcK96EXbzs4jV2SAoQJ9oJegPtPROHbhIvVUmNQTbuP10Yjg59+8=');
|
50
|
+
let resdata = encrypt.decrypt(word);
|
51
|
+
return JSON.parse(resdata.toString()) ;
|
52
|
+
},
|
53
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import Vue from 'vue'
|
2
2
|
import JSEncrypt from 'jsencrypt'
|
3
3
|
import {HttpResetClass} from 'vue-client'
|
4
|
+
import cryptJS from './EncryptUtil'
|
4
5
|
|
5
6
|
let loginGen = async function (name, password) {
|
6
7
|
let data = {name: name, password: password}
|
@@ -203,6 +204,7 @@ let GetLoginInfoService = {
|
|
203
204
|
afterLogin: [],
|
204
205
|
//验证码开关
|
205
206
|
Verification: true,
|
207
|
+
SinglePageToken: {},
|
206
208
|
install (Vue, options) {
|
207
209
|
// 给vue增添对话框显示方法
|
208
210
|
Vue.$login = Vue.prototype.$login = GetLoginInfoService
|
@@ -218,6 +220,7 @@ let GetLoginInfoService = {
|
|
218
220
|
* @param password
|
219
221
|
*/
|
220
222
|
login (name, password) {
|
223
|
+
Vue.$login.SinglePageToken = cryptJS.AESEncrypt(JSON.stringify({name: name, password: password}), "3KMKqvgwR8ULbR8Z")
|
221
224
|
return loginGen(name, password)
|
222
225
|
},
|
223
226
|
|
@@ -3,5 +3,5 @@ import Validator from 'vue-validator'
|
|
3
3
|
Vue.use(Validator)
|
4
4
|
//密码强度验证器(必须为为大小写字母、阿拉伯数字、字符)
|
5
5
|
Vue.validator('strongpassword', function (val) {
|
6
|
-
return /^(?:(?=.*[
|
6
|
+
return /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
|
7
7
|
});
|
package/src/system.js
CHANGED
@@ -1,87 +1,89 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import GetLoginInfoService from './plugins/GetLoginInfoService'
|
3
|
-
import GetAppDataService from './stores/AppData'
|
4
|
-
// 热力
|
5
|
-
import HeatGetLoginInfoService from './plugins/HeatGetLoginInfoService'
|
6
|
-
import HeatGetAppDataService from './stores/HeatAppData'
|
7
|
-
// 热力登陆控制
|
8
|
-
Vue.$heatCompatibility = Vue.prototype.$heatCompatibility = false
|
9
|
-
|
10
|
-
// /** **************************登录与主界面相关******************************/
|
11
|
-
|
12
|
-
import login from './components/server/Login'
|
13
|
-
import changeDeclare from './components/server/ChangeDeclare'
|
14
|
-
import addChangemsg from './components/server/AddChangeMsg'
|
15
|
-
import homePage from './components/Main'
|
16
|
-
import leftTree from './components/server/LeftTree'
|
17
|
-
import iconTree from './components/server/IconTree'
|
18
|
-
import modifyPw from './components/server/ModifyPw'
|
19
|
-
import LoadData from './components/server/LoadData'
|
20
|
-
import RightTree from './components/server/RightTree'
|
21
|
-
import TestRightTree from './components/server/TestRightTree'
|
22
|
-
//资源选择
|
23
|
-
import ResSelect from './components/server/ResSelect'
|
24
|
-
import ResSelectGroup from './components/server/ResSelectGroup'
|
25
|
-
|
26
|
-
//资源选择测试
|
27
|
-
import TestResSelect from './components/server/TestResSelect'
|
28
|
-
import RoleSelector from "./components/server/RoleSelector";
|
29
|
-
export default function (val) {
|
30
|
-
//验证码开关赋值
|
31
|
-
if(val!=null){
|
32
|
-
GetLoginInfoService.Verification=val
|
33
|
-
}
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
Vue.
|
40
|
-
Vue.
|
41
|
-
Vue.
|
42
|
-
|
43
|
-
Vue.component('
|
44
|
-
Vue.component('
|
45
|
-
Vue.component('
|
46
|
-
Vue.component('
|
47
|
-
Vue.component('
|
48
|
-
Vue.component('
|
49
|
-
Vue.component('
|
50
|
-
|
51
|
-
Vue.component('
|
52
|
-
Vue.component('
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
// 参数管理
|
61
|
-
Vue.component('
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
// 参数管理
|
68
|
-
Vue.component('
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
//
|
75
|
-
Vue.component('
|
76
|
-
//
|
77
|
-
Vue.component('
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
Vue.component('
|
82
|
-
//
|
83
|
-
Vue.component('
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
}
|
1
|
+
import Vue from 'vue'
|
2
|
+
import GetLoginInfoService from './plugins/GetLoginInfoService'
|
3
|
+
import GetAppDataService from './stores/AppData'
|
4
|
+
// 热力
|
5
|
+
import HeatGetLoginInfoService from './plugins/HeatGetLoginInfoService'
|
6
|
+
import HeatGetAppDataService from './stores/HeatAppData'
|
7
|
+
// 热力登陆控制
|
8
|
+
Vue.$heatCompatibility = Vue.prototype.$heatCompatibility = false
|
9
|
+
|
10
|
+
// /** **************************登录与主界面相关******************************/
|
11
|
+
|
12
|
+
import login from './components/server/Login'
|
13
|
+
import changeDeclare from './components/server/ChangeDeclare'
|
14
|
+
import addChangemsg from './components/server/AddChangeMsg'
|
15
|
+
import homePage from './components/Main'
|
16
|
+
import leftTree from './components/server/LeftTree'
|
17
|
+
import iconTree from './components/server/IconTree'
|
18
|
+
import modifyPw from './components/server/ModifyPw'
|
19
|
+
import LoadData from './components/server/LoadData'
|
20
|
+
import RightTree from './components/server/RightTree'
|
21
|
+
import TestRightTree from './components/server/TestRightTree'
|
22
|
+
//资源选择
|
23
|
+
import ResSelect from './components/server/ResSelect'
|
24
|
+
import ResSelectGroup from './components/server/ResSelectGroup'
|
25
|
+
|
26
|
+
//资源选择测试
|
27
|
+
import TestResSelect from './components/server/TestResSelect'
|
28
|
+
import RoleSelector from "./components/server/RoleSelector";
|
29
|
+
export default function (val,version) {
|
30
|
+
//验证码开关赋值
|
31
|
+
if(val!=null){
|
32
|
+
GetLoginInfoService.Verification=val
|
33
|
+
}
|
34
|
+
//版本号赋值
|
35
|
+
if(val!=null){
|
36
|
+
GetLoginInfoService.version=version
|
37
|
+
}
|
38
|
+
Vue.use(GetLoginInfoService)
|
39
|
+
Vue.use(GetAppDataService)
|
40
|
+
Vue.use(HeatGetLoginInfoService)
|
41
|
+
Vue.use(HeatGetAppDataService)
|
42
|
+
|
43
|
+
Vue.component('login', login)
|
44
|
+
Vue.component('change-declare', changeDeclare)
|
45
|
+
Vue.component('add-changemsg', addChangemsg)
|
46
|
+
Vue.component('home-page', homePage)
|
47
|
+
Vue.component('left-tree', leftTree)
|
48
|
+
Vue.component('icon-tree', iconTree)
|
49
|
+
Vue.component('modify-pw', modifyPw)
|
50
|
+
Vue.component('load-data', LoadData)
|
51
|
+
Vue.component('right-tree', RightTree)
|
52
|
+
Vue.component('test-right-tree', TestRightTree)
|
53
|
+
Vue.component('role-selector', RoleSelector)
|
54
|
+
//资源选择
|
55
|
+
Vue.component('res-select', ResSelect)
|
56
|
+
Vue.component('res-select-group', ResSelectGroup)
|
57
|
+
//资源选择测试
|
58
|
+
Vue.component('test-res-select', TestResSelect)
|
59
|
+
|
60
|
+
// 参数管理(新)
|
61
|
+
Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
|
62
|
+
// 参数管理
|
63
|
+
Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
|
64
|
+
// 参数管理
|
65
|
+
Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
|
66
|
+
|
67
|
+
// 参数管理(旧)
|
68
|
+
Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
|
69
|
+
// 参数管理
|
70
|
+
Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
|
71
|
+
// 参数管理
|
72
|
+
Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
|
73
|
+
|
74
|
+
// 终端管理
|
75
|
+
Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
|
76
|
+
// pc端控制
|
77
|
+
Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
|
78
|
+
// phone端控制
|
79
|
+
Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
|
80
|
+
// pos端控制
|
81
|
+
Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
|
82
|
+
// pos端控制
|
83
|
+
Vue.component('qc-manage', (resolve) => { require(['./components/equipment/QCManage'], resolve) })
|
84
|
+
|
85
|
+
// 材料字典
|
86
|
+
Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
|
87
|
+
Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
|
88
|
+
|
89
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
|
File without changes
|
@@ -1,56 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<div id="app">
|
3
|
-
<!-- 图片放大镜,需要自定义图片的宽高在这里传入,组件有设置默认的宽高,不传也可以 -->
|
4
|
-
<h4>这是父组件</h4>
|
5
|
-
<h4>安检总体照片</h4>
|
6
|
-
<!-- <button @click="show">显示</button>-->
|
7
|
-
<!--<img :src="src" @click="show" style="width: 80px;height: 80px" >-->
|
8
|
-
<div style="width: 500px; height: 500px;">
|
9
|
-
<button class="btn-default btn" @click="show_p">查看图片</button>
|
10
|
-
<image-viewer :src="src" :show="show_msg" @clone_f="clone_p" alt="总体安检照片"></image-viewer>
|
11
|
-
<h4>用户签名</h4>
|
12
|
-
<h4>用户签名</h4>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
</template>
|
17
|
-
<script>
|
18
|
-
export default {
|
19
|
-
name: 'app',
|
20
|
-
title: '图片测试',
|
21
|
-
data () {
|
22
|
-
return {
|
23
|
-
show_msg: false,
|
24
|
-
src: [],
|
25
|
-
src1: [
|
26
|
-
{url: 'http://139.9.137.3:8400/rs/image/file/cfdf411d77df828301a56731df655f28-f_overall_path.jpg'},
|
27
|
-
{url: 'http://mp.ofweek.com/Upload/News/Img/member645/201711/17170046839337.jpg'}
|
28
|
-
],
|
29
|
-
src2: [
|
30
|
-
{url: 'http://image.buy.ccb.com/merchant/201703/904919627/1522929521661_4.jpg'}
|
31
|
-
],
|
32
|
-
src3: [
|
33
|
-
{url: 'http://d.ifengimg.com/w600/p0.ifengimg.com/pmop/2017/1213/A4037864F6728F006B67AAEC51EC8A485F320FD2_size93_w1024_h734.jpeg'}
|
34
|
-
]
|
35
|
-
}
|
36
|
-
},
|
37
|
-
methods: {
|
38
|
-
show_p () {
|
39
|
-
console.log('调用图片查看器')
|
40
|
-
// 传要查看的图片
|
41
|
-
this.src = this.src1
|
42
|
-
console.log(this.src)
|
43
|
-
// 显示组件
|
44
|
-
this.show_msg = true
|
45
|
-
},
|
46
|
-
clone_p () {
|
47
|
-
// 关闭组件
|
48
|
-
this.show_msg = false
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
</script>
|
53
|
-
|
54
|
-
<style scoped>
|
55
|
-
|
56
|
-
</style>
|