Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
3104ce49
Commit
3104ce49
authored
May 13, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改组件
parent
366bfb2d
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
58 additions
and
254 deletions
+58
-254
advance.vue
src/components/sallCenter/plugin/advance.vue
+0
-11
advert.vue
src/components/sallCenter/plugin/advert.vue
+16
-18
bargain.vue
src/components/sallCenter/plugin/bargain.vue
+0
-11
booking.vue
src/components/sallCenter/plugin/booking.vue
+0
-11
check-in.vue
src/components/sallCenter/plugin/check-in.vue
+0
-10
copyright.vue
src/components/sallCenter/plugin/copyright.vue
+0
-10
coupon.vue
src/components/sallCenter/plugin/coupon.vue
+0
-10
goods.vue
src/components/sallCenter/plugin/goods.vue
+0
-11
integral-mall.vue
src/components/sallCenter/plugin/integral-mall.vue
+0
-11
link.vue
src/components/sallCenter/plugin/link.vue
+0
-10
lottery.vue
src/components/sallCenter/plugin/lottery.vue
+0
-10
map.vue
src/components/sallCenter/plugin/map.vue
+0
-10
modal.vue
src/components/sallCenter/plugin/modal.vue
+0
-11
navigationIcon.vue
src/components/sallCenter/plugin/navigationIcon.vue
+0
-10
notice.vue
src/components/sallCenter/plugin/notice.vue
+0
-10
pintuan.vue
src/components/sallCenter/plugin/pintuan.vue
+0
-10
quick-nav.vue
src/components/sallCenter/plugin/quick-nav.vue
+12
-14
store.vue
src/components/sallCenter/plugin/store.vue
+0
-10
timer.vue
src/components/sallCenter/plugin/timer.vue
+0
-10
user-info.vue
src/components/sallCenter/plugin/user-info.vue
+0
-10
user-order.vue
src/components/sallCenter/plugin/user-order.vue
+0
-10
video.vue
src/components/sallCenter/plugin/video.vue
+15
-12
vip-card.vue
src/components/sallCenter/plugin/vip-card.vue
+0
-11
index.js
src/plug/index.js
+15
-3
No files found.
src/components/sallCenter/plugin/advance.vue
View file @
3104ce49
...
...
@@ -358,17 +358,6 @@
this
.
data
.
goodsTagPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
cGoodsPicStyle
(
picUrl
)
{
let
style
=
`background-image: url(
${
this
.
getIconLink
(
picUrl
)}
);`
+
`background-size:
${(
this
.
data
.
fill
===
1
?
'cover'
:
'contain'
)}
;`
;
...
...
src/components/sallCenter/plugin/advert.vue
View file @
3104ce49
...
...
@@ -433,11 +433,9 @@
<el-form-item
v-if=
"data.type === 'before-video'"
label=
"视频播放链接"
prop=
"video_url"
>
<el-input
v-model=
"data.video_url"
placeholder=
"请输入视频原地址或选择上传视频"
>
<template
slot=
"append"
>
<!--
<app-attachment
:multiple=
"false"
:max=
"1"
v-model=
"data.video_url"
type=
"video"
>
-->
<el-tooltip
class=
"item"
effect=
"dark"
content=
"支持格式mp4;支持编码H.264;视频大小不能超过50 MB"
placement=
"top"
>
<el-button
size=
"mini"
@
click=
"choicImg=true"
>
添加视频
</el-button>
</el-tooltip>
<!--
</app-attachment>
-->
<el-tooltip
class=
"item"
effect=
"dark"
content=
"支持格式mp4;支持编码H.264;视频大小不能超过50 MB"
placement=
"top"
>
<el-button
size=
"mini"
@
click=
"changeState1=true"
>
添加视频
</el-button>
</el-tooltip>
</
template
>
</el-input>
<el-link
class=
"box-grow-0"
type=
"primary"
style=
"font-size:12px"
v-if=
'data.video_url'
:underline=
"false"
...
...
@@ -499,20 +497,26 @@
<el-dialog
title=
"选择文件"
:visible
.
sync=
"choicImg"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
></ChooseImg>
</el-dialog>
<!-- 选择视频 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"changeState1"
width=
"1240px"
>
<Choosevideo
@
Selectvideo=
"Selectvideo"
></Choosevideo>
</el-dialog>
</div>
</template>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
Choosevideo
from
"@/components/global/Choosevideo.vue"
;
export
default
{
props
:
[
"advData"
,
"index"
,
"dataLeng"
],
components
:
{
ChooseImg
ChooseImg
,
Choosevideo
},
data
()
{
return
{
loading
:
false
,
choicImg
:
false
,
changeState1
:
false
,
data
:
this
.
advData
.
data
,
};
...
...
@@ -532,22 +536,16 @@
couponClose
(
row
,
index
)
{
row
.
award_coupons
.
splice
(
index
,
1
);
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//选择图片
SelectId
(
msg
)
{
this
.
data
.
pic_url
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//选择视频
Selectvideo
(
val
){
this
.
data
.
video_url
=
val
.
Path
;
this
.
changeState1
=
false
;
}
},
computed
:
{
...
...
src/components/sallCenter/plugin/bargain.vue
View file @
3104ce49
...
...
@@ -350,17 +350,6 @@
this
.
data
.
goodsTagPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
cGoodsPicStyle
(
picUrl
)
{
let
style
=
`background-image: url(
${
this
.
getIconLink
(
picUrl
)}
);`
+
`background-size:
${(
this
.
data
.
fill
===
1
?
'cover'
:
'contain'
)}
;`
;
...
...
src/components/sallCenter/plugin/booking.vue
View file @
3104ce49
...
...
@@ -330,17 +330,6 @@
this
.
data
.
goodsTagPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
cGoodsPicStyle
(
picUrl
)
{
let
style
=
`background-image: url(
${
this
.
getIconLink
(
picUrl
)}
);`
+
`background-size:
${(
this
.
data
.
fill
===
1
?
'cover'
:
'contain'
)}
;`
;
...
...
src/components/sallCenter/plugin/check-in.vue
View file @
3104ce49
...
...
@@ -95,16 +95,6 @@
this
.
data
.
backgroundPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
// 热区选择(edit)
selectHotspot
(
e
)
{
if
(
e
&&
e
.
length
)
{
...
...
src/components/sallCenter/plugin/copyright.vue
View file @
3104ce49
...
...
@@ -92,16 +92,6 @@
this
.
data
.
picUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//获取选择链接
getChoiceLink
()
{
//调用子组件方法
...
...
src/components/sallCenter/plugin/coupon.vue
View file @
3104ce49
...
...
@@ -136,16 +136,6 @@
}
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
}
},
computed
:
{
cListStyle
()
{
...
...
src/components/sallCenter/plugin/goods.vue
View file @
3104ce49
...
...
@@ -675,17 +675,6 @@
this
.
data
.
goodsTagPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
){
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=-
1
){
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//选择商品分类
getChoiceFenlei
(){
var
ckedArr
=
this
.
$refs
.
ChooseFenlei
.
getChoicedFenlei
();
...
...
src/components/sallCenter/plugin/integral-mall.vue
View file @
3104ce49
...
...
@@ -389,17 +389,6 @@
}
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
cGoodsPicStyle
(
picUrl
)
{
let
style
=
`background-image: url(
${
this
.
getIconLink
(
picUrl
)}
);`
+
`background-size:
${(
this
.
data
.
fill
===
1
?
'cover'
:
'contain'
)}
;`
;
...
...
src/components/sallCenter/plugin/link.vue
View file @
3104ce49
...
...
@@ -281,16 +281,6 @@
this
.
data
.
picUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//获取选择链接
getChoiceLink
()
{
//调用子组件方法
...
...
src/components/sallCenter/plugin/lottery.vue
View file @
3104ce49
...
...
@@ -333,16 +333,6 @@
this
.
data
.
goodsTagPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
cGoodsPicStyle
(
picUrl
)
{
let
style
=
`background-image: url(
${
this
.
getIconLink
(
picUrl
)}
);`
+
...
...
src/components/sallCenter/plugin/map.vue
View file @
3104ce49
...
...
@@ -103,16 +103,6 @@
this
.
data
.
backgroundPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//得到地图信息
mapEvent
(
e
)
{
this
.
data
.
location
=
e
.
lat
+
','
+
e
.
long
;
...
...
src/components/sallCenter/plugin/modal.vue
View file @
3104ce49
...
...
@@ -205,17 +205,6 @@
this
.
data
.
list
[
this
.
comImgIndex
].
link
.
url
=
obj
.
PageUrl
;
this
.
isShowLink
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
},
computed
:
{
...
...
src/components/sallCenter/plugin/navigationIcon.vue
View file @
3104ce49
...
...
@@ -377,16 +377,6 @@
this
.
commonIndex
=
index
;
this
.
selectType
=
2
;
},
//判断是否包含http
getIconLink
(
url
){
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=-
1
){
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//点击触发父组件删除
delPlugin
(){
this
.
$emit
(
'comDelPlugin'
,
this
.
index
);
...
...
src/components/sallCenter/plugin/notice.vue
View file @
3104ce49
...
...
@@ -230,16 +230,6 @@
}
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
}
},
computed
:
{
cStyle
()
{
...
...
src/components/sallCenter/plugin/pintuan.vue
View file @
3104ce49
...
...
@@ -310,16 +310,6 @@
this
.
data
.
goodsTagPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
cGoodsPicStyle
(
picUrl
)
{
let
style
=
`background-image: url(
${
this
.
getIconLink
(
picUrl
)}
);`
+
...
...
src/components/sallCenter/plugin/quick-nav.vue
View file @
3104ce49
...
...
@@ -58,7 +58,6 @@
<el-radio
v-model=
"data.navStyle"
:label=
"2"
>
样式2(全部展示)
</el-radio>
</el-form-item>
<el-form-item
label=
"收起图标"
>
<app-image-upload
width=
"100"
height=
"100"
v-model=
"data.closedPicUrl"
></app-image-upload>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(1)"
flex=
"main:center cross:center"
:style=
"
{backgroundImage:'url(' + getIconLink(data.closedPicUrl) + ')'}">
...
...
@@ -190,11 +189,17 @@
<el-switch
v-model=
"data.customize.opened"
></el-switch>
</el-form-item>
<el-form-item
v-if=
"data.customize.opened"
label=
"图标"
>
<app-image-upload
width=
"100"
height=
"100"
v-model=
"data.customize.picUrl"
></app-image-upload>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true,getImgUtl(9)"
flex=
"main:center cross:center"
:style=
"
{backgroundImage:'url(' + getIconLink(data.customize.picUrl) + ')'}">
<i
v-if=
"data.customize.picUrl==''"
class=
"el-icon-picture-outline"
></i>
<el-button
type=
"danger"
v-if=
"data.customize.picUrl!=''"
class=
"image-delete"
size=
"mini"
icon=
"el-icon-close"
@
click
.
stop=
"data.customize.picUrl=''"
circle
></el-button>
</div>
</el-form-item>
<el-form-item
v-if=
"data.customize.opened"
label=
"跳转链接"
>
<el-input
:disabled=
"true"
size=
"small"
v-model=
"data.customize.link_url"
autocomplete=
"off"
>
<el-button
size=
"mini"
@
click=
"isShowLink=true"
>
选择链接
</el-button>
<el-button
slot=
"append"
size=
"mini"
@
click=
"isShowLink=true"
>
选择链接
</el-button>
</el-input>
</el-form-item>
</div>
...
...
@@ -280,6 +285,9 @@
case
8
:
this
.
data
.
mapNav
.
picUrl
=
msg
.
url
;
break
;
case
9
:
this
.
data
.
customize
.
picUrl
=
msg
.
url
;
break
;
}
this
.
choicImg
=
false
;
},
...
...
@@ -290,22 +298,12 @@
this
.
data
.
customize
.
link_url
=
obj
.
PageUrl
;
this
.
isShowLink
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
getImgUtl
(
type
,)
{
this
.
type
=
type
;
},
mapEvent
(
e
)
{
this
.
data
.
mapNav
.
location
=
e
.
lat
+
','
+
e
.
long
;
this
.
isShowMap
=
false
;
},
},
...
...
src/components/sallCenter/plugin/store.vue
View file @
3104ce49
...
...
@@ -224,16 +224,6 @@
}
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
deleteStore
(
index
)
{
this
.
data
.
list
.
splice
(
index
,
1
);
},
...
...
src/components/sallCenter/plugin/timer.vue
View file @
3104ce49
...
...
@@ -100,16 +100,6 @@
this
.
data
.
picUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//获取选择链接
getChoiceLink
()
{
//调用子组件方法
...
...
src/components/sallCenter/plugin/user-info.vue
View file @
3104ce49
...
...
@@ -89,16 +89,6 @@
this
.
data
.
backgroundPicUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
},
computed
:
{
cFlexDir
()
{
...
...
src/components/sallCenter/plugin/user-order.vue
View file @
3104ce49
...
...
@@ -101,16 +101,6 @@
this
.
data
.
navs
[
this
.
ckedIndex
].
picUrl
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
//点击选图片
getImgChoice
(
index
)
{
this
.
choicImg
=
true
;
...
...
src/components/sallCenter/plugin/video.vue
View file @
3104ce49
...
...
@@ -53,7 +53,7 @@
</label>
<el-input
size=
"small"
v-model=
"data.url"
placeholder=
"请输入视频原地址或选择上传视频"
>
<template
slot=
"append"
>
<el-button
size=
"mini"
@
click=
"ch
oicImg
=true"
>
选择文件
</el-button>
<el-button
size=
"mini"
@
click=
"ch
angeState1
=true"
>
选择文件
</el-button>
</
template
>
</el-input>
</el-form-item>
...
...
@@ -62,19 +62,27 @@
<!-- 选择图片文件 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"choicImg"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
></ChooseImg>
</el-dialog>
<!-- 选择视频 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"changeState1"
width=
"1240px"
>
<Choosevideo
@
Selectvideo=
"Selectvideo"
></Choosevideo>
</el-dialog>
</div>
</template>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
Choosevideo
from
"@/components/global/Choosevideo.vue"
;
export
default
{
props
:
[
"videoData"
,
"index"
,
"dataLeng"
],
components
:
{
ChooseImg
ChooseImg
,
Choosevideo
},
data
()
{
return
{
choicImg
:
false
,
changeState1
:
false
,
data
:
this
.
videoData
.
data
,
};
},
...
...
@@ -95,16 +103,11 @@
this
.
data
.
pic_url
=
msg
.
url
;
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
}
//选择视频
Selectvideo
(
val
){
this
.
data
.
url
=
val
.
Path
;
this
.
changeState1
=
false
;
},
},
computed
:
{
...
...
src/components/sallCenter/plugin/vip-card.vue
View file @
3104ce49
...
...
@@ -311,17 +311,6 @@
}
this
.
choicImg
=
false
;
},
//判断是否包含http
getIconLink
(
url
)
{
let
str
=
''
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
},
chooseColor
()
{
this
.
data
.
background
=
this
.
background
;
},
...
...
src/plug/index.js
View file @
3104ce49
...
...
@@ -54,9 +54,9 @@ export default {
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
domainUrl
=
"http://192.168.2.214:8200"
;
//
domainUrl = "http://192.168.2.214:8200";
// domainUrl = "https://localhost:5001";
domainUrl
=
"http://192.168.
2.65
"
;
domainUrl
=
"http://192.168.
0.102:8200
"
;
// domainUrl = "http://192.168.2.17:8088";
let
locationName
=
window
.
location
.
hostname
;
...
...
@@ -182,7 +182,19 @@ export default {
query
:
obj
});
}
//公用判断图片地址 判断是否包含http
Vue
.
prototype
.
getIconLink
=
function
(
url
)
{
let
str
=
''
if
(
url
!=
''
){
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
}
return
str
;
}
}
//HTTP提交数据
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
if
(
msg
==
null
||
msg
==
""
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment