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
575c7adb
Commit
575c7adb
authored
May 19, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
6938705f
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
476 additions
and
453 deletions
+476
-453
addGoodsClass.vue
src/components/CommodityMan/addGoodsClass.vue
+3
-3
goodsClassification.vue
src/components/CommodityMan/goodsClassification.vue
+4
-4
materialMan.vue
src/components/CommodityMan/materialMan.vue
+2
-2
baseSet.vue
src/components/UserMan/baseSet.vue
+397
-369
customSet.vue
src/components/UserMan/customSet.vue
+15
-15
distributors.vue
src/components/UserMan/distributors.vue
+1
-1
setMember.vue
src/components/UserMan/setMember.vue
+3
-4
usersList.vue
src/components/UserMan/usersList.vue
+1
-1
choiceGood.vue
src/components/common/choiceGood.vue
+1
-1
ChooseImg.vue
src/components/global/ChooseImg.vue
+1
-1
Choosevideo.vue
src/components/global/Choosevideo.vue
+1
-1
addCardTicket.vue
src/components/sallCenter/addCardTicket.vue
+1
-1
banner.vue
src/components/sallCenter/plugin/banner.vue
+3
-3
goods.vue
src/components/sallCenter/plugin/goods.vue
+4
-4
navigationIcon.vue
src/components/sallCenter/plugin/navigationIcon.vue
+3
-3
rubik.vue
src/components/sallCenter/plugin/rubik.vue
+4
-4
rechargeSet.vue
src/components/sallCenter/rechargeSet.vue
+3
-4
basicSetUp.vue
src/components/setup/basicSetUp.vue
+12
-13
index.js
src/plug/index.js
+17
-19
No files found.
src/components/CommodityMan/addGoodsClass.vue
View file @
575c7adb
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</el-tooltip>
</el-tooltip>
<div
class=
"app-gallery-item"
>
<div
class=
"app-gallery-item"
>
<el-button
@
click=
"userInfo.IconPath='',userInfo.Icon=''"
v-if=
"userInfo.IconPath!=''"
type=
"danger"
icon=
"el-icon-close"
circle
></el-button>
<el-button
@
click=
"userInfo.IconPath='',userInfo.Icon=''"
v-if=
"userInfo.IconPath!=''"
type=
"danger"
icon=
"el-icon-close"
circle
></el-button>
<img
style=
"width:100px;height:100px"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+userInfo.IconPath
"
alt=
""
>
<img
style=
"width:100px;height:100px"
:src=
"
getIconLink(userInfo.IconPath)
"
alt=
""
>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
class=
"commonLabel discount"
label=
"分类大图"
>
<el-form-item
class=
"commonLabel discount"
label=
"分类大图"
>
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</el-tooltip>
</el-tooltip>
<div
class=
"app-gallery-item"
>
<div
class=
"app-gallery-item"
>
<el-button
@
click=
"userInfo.BigIconPath='',userInfo.BigIcon=''"
v-if=
"userInfo.BigIconPath!=''"
type=
"danger"
icon=
"el-icon-close"
circle
></el-button>
<el-button
@
click=
"userInfo.BigIconPath='',userInfo.BigIcon=''"
v-if=
"userInfo.BigIconPath!=''"
type=
"danger"
icon=
"el-icon-close"
circle
></el-button>
<img
style=
"width:100px;height:100px"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+userInfo.BigIconPath
"
alt=
""
>
<img
style=
"width:100px;height:100px"
:src=
"
getIconLink(userInfo.BigIconPath)
"
alt=
""
>
</div>
</div>
<p
class=
"blue f12"
>
<p
class=
"blue f12"
>
<span
@
click=
"czjfDig=true,imgDig=1"
class=
"point"
>
查看图例
</span>
<span
@
click=
"czjfDig=true,imgDig=1"
class=
"point"
>
查看图例
</span>
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
</el-tooltip>
</el-tooltip>
<div
class=
"app-gallery-item"
>
<div
class=
"app-gallery-item"
>
<el-button
@
click=
"userInfo.AdvertisingImagePath='',userInfo.AdvertisingImage=''"
v-if=
"userInfo.AdvertisingImagePath!=''"
size=
"mini"
type=
"danger"
icon=
"el-icon-close"
circle
></el-button>
<el-button
@
click=
"userInfo.AdvertisingImagePath='',userInfo.AdvertisingImage=''"
v-if=
"userInfo.AdvertisingImagePath!=''"
size=
"mini"
type=
"danger"
icon=
"el-icon-close"
circle
></el-button>
<img
style=
"width:100px;height:100px"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+userInfo.AdvertisingImagePath
"
alt=
""
>
<img
style=
"width:100px;height:100px"
:src=
"
getIconLink(userInfo.AdvertisingImagePath)
"
alt=
""
>
</div>
</div>
<p
class=
"blue f12"
>
<p
class=
"blue f12"
>
<span
@
click=
"czjfDig=true,imgDig=2"
class=
"point"
>
查看图例
</span>
<span
@
click=
"czjfDig=true,imgDig=2"
class=
"point"
>
查看图例
</span>
...
...
src/components/CommodityMan/goodsClassification.vue
View file @
575c7adb
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</el-col>
</el-col>
<el-col
:span=
"11"
flex=
"cross:center"
>
<el-col
:span=
"11"
flex=
"cross:center"
>
<div
v-if=
"item.IconPath==''"
class=
"app-image cat-icon noIcon"
></div>
<div
v-if=
"item.IconPath==''"
class=
"app-image cat-icon noIcon"
></div>
<div
v-else
class=
"app-image cat-icon"
:style=
"{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + item.IconPath
+ ')',backgroundSize:'cover'}"
></div>
<div
v-else
class=
"app-image cat-icon"
:style=
"{backgroundImage:'url(
' + getIconLink(item.IconPath)
+ ')',backgroundSize:'cover'}"
></div>
<div
class=
"cat-name-info"
>
<div
class=
"cat-name-info"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top"
>
<span>
{{item.Name}}
</span>
<span>
{{item.Name}}
</span>
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</el-col>
</el-col>
<el-col
:span=
"11"
flex=
"cross:center"
>
<el-col
:span=
"11"
flex=
"cross:center"
>
<div
v-if=
"item.IconPath==''"
class=
"app-image cat-icon noIcon"
></div>
<div
v-if=
"item.IconPath==''"
class=
"app-image cat-icon noIcon"
></div>
<div
v-else
class=
"app-image cat-icon"
:style=
"{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + item.IconPath
+ ')',backgroundSize:'cover'}"
></div>
<div
v-else
class=
"app-image cat-icon"
:style=
"{backgroundImage:'url(
' + getIconLink(item.IconPath)
+ ')',backgroundSize:'cover'}"
></div>
<div
class=
"cat-name-info"
>
<div
class=
"cat-name-info"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top"
>
<span>
{{item.Name}}
</span>
<span>
{{item.Name}}
</span>
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
</el-col>
</el-col>
<el-col
:span=
"11"
flex=
"cross:center"
>
<el-col
:span=
"11"
flex=
"cross:center"
>
<div
v-if=
"item.IconPath==''"
class=
"app-image cat-icon noIcon"
></div>
<div
v-if=
"item.IconPath==''"
class=
"app-image cat-icon noIcon"
></div>
<div
v-else
class=
"app-image cat-icon"
:style=
"{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + item.IconPath
+ ')',backgroundSize:'cover'}"
></div>
<div
v-else
class=
"app-image cat-icon"
:style=
"{backgroundImage:'url(
' + getIconLink(item.IconPath)
+ ')',backgroundSize:'cover'}"
></div>
<div
class=
"cat-name-info"
>
<div
class=
"cat-name-info"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top"
>
<span>
{{item.Name}}
</span>
<span>
{{item.Name}}
</span>
...
@@ -344,7 +344,7 @@
...
@@ -344,7 +344,7 @@
width=
"300"
>
width=
"300"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
<span>
<img
v-if=
"scope.row.IconPath!=''"
style=
"width:30px;height:30px"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+scope.row.IconPath
"
alt=
""
>
<img
v-if=
"scope.row.IconPath!=''"
style=
"width:30px;height:30px"
:src=
"
getIconLink(scope.row.IconPath)
"
alt=
""
>
{{
scope
.
row
.
Name
}}
{{
scope
.
row
.
Name
}}
</span>
</span>
</
template
>
</
template
>
...
...
src/components/CommodityMan/materialMan.vue
View file @
575c7adb
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
</div>
</div>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<div
@
click=
"PageSelect(item,index)"
:class=
"item.Selected ? 'selected' :''"
class=
"el-tooltip item material-item "
>
<div
@
click=
"PageSelect(item,index)"
:class=
"item.Selected ? 'selected' :''"
class=
"el-tooltip item material-item "
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+item.Path
"
class=
"material-img"
style=
"width: 140px; height: 140px;"
>
<img
:src=
"
getIconLink(item.Path)
"
class=
"material-img"
style=
"width: 140px; height: 140px;"
>
<div
flex=
"dir:left"
style=
"margin-top: 5px;"
>
<div
flex=
"dir:left"
style=
"margin-top: 5px;"
>
<div
class=
"material-name"
>
{{
item
.
Name
}}
</div>
<div
class=
"material-name"
>
{{
item
.
Name
}}
</div>
<div
style=
"margin: 0px 5px;"
>
|
</div>
<div
style=
"margin: 0px 5px;"
>
|
</div>
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
</div>
</div>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<div
@
click=
"PageSelect(item,index)"
:class=
"item.Selected ? 'selected' :''"
class=
"el-tooltip item material-item "
>
<div
@
click=
"PageSelect(item,index)"
:class=
"item.Selected ? 'selected' :''"
class=
"el-tooltip item material-item "
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+item.Path
+'?x-oss-process=video/snapshot,t_9,f_jpg,w_299,h_0,m_fast'"
class=
"material-img"
style=
"width: 140px; height: 140px;"
>
<img
:src=
"
getIconLink(item.Path)
+'?x-oss-process=video/snapshot,t_9,f_jpg,w_299,h_0,m_fast'"
class=
"material-img"
style=
"width: 140px; height: 140px;"
>
<div
class=
"material-video-info"
><i
class=
"el-icon-video-play"
></i>
<span>
{{
Time
(
item
.
VideoTime
)
}}
</span></div>
<div
class=
"material-video-info"
><i
class=
"el-icon-video-play"
></i>
<span>
{{
Time
(
item
.
VideoTime
)
}}
</span></div>
<div
flex=
"dir:left"
style=
"margin-top: 5px;"
>
<div
flex=
"dir:left"
style=
"margin-top: 5px;"
>
<div
class=
"material-name"
>
{{
item
.
Name
}}
</div>
<div
class=
"material-name"
>
{{
item
.
Name
}}
</div>
...
...
src/components/UserMan/baseSet.vue
View file @
575c7adb
<
template
>
<
template
>
<div
v-loading=
"loading"
class=
"baseSet"
>
<div
v-loading=
"loading"
class=
"baseSet"
>
<div
class=
"head-title"
>
<div
class=
"head-title"
>
...
@@ -18,24 +17,24 @@
...
@@ -18,24 +17,24 @@
<el-radio
v-model=
"addMsg.DistributorTier"
:label=
"3"
>
三级分销
</el-radio>
<el-radio
v-model=
"addMsg.DistributorTier"
:label=
"3"
>
三级分销
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
class=
"nocommonLabel"
label=
"分销内购"
prop=
"InPurchasing"
>
<el-form-item
class=
"nocommonLabel"
label=
"分销内购"
prop=
"InPurchasing"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"开启分销内购,分销商自己购买商品,享受一级佣金,上级享受二级佣金,上上级享受三级佣金"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"开启分销内购,分销商自己购买商品,享受一级佣金,上级享受二级佣金,上上级享受三级佣金"
placement=
"top"
>
<i
class=
"topelzk elzk el-tooltip el-icon-info"
></i>
<i
class=
"topelzk elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
</el-tooltip>
<el-switch
<el-switch
v-model=
"addMsg.InPurchasing"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"2"
>
v-model=
"addMsg.InPurchasing"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"2"
>
</el-switch>
</el-switch>
</el-form-item>
</el-form-item>
<el-form-item
label=
"成为下线的条件"
prop=
"ReferralsCondition"
>
<el-form-item
label=
"成为下线的条件"
prop=
"ReferralsCondition"
>
<el-radio
v-for=
"(item,index) in ReferralsList"
v-model=
"addMsg.ReferralsCondition"
:key=
"index"
:label=
"item.Id"
>
{{
item
.
Name
}}
</el-radio>
<el-radio
v-for=
"(item,index) in ReferralsList"
v-model=
"addMsg.ReferralsCondition"
:key=
"index"
:label=
"item.Id"
>
{{
item
.
Name
}}
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
label=
"申请成为分销商"
prop=
"ApplyFor"
>
<el-form-item
label=
"申请成为分销商"
prop=
"ApplyFor"
>
<el-radio
v-for=
"(item,index) in EnumList"
v-model=
"addMsg.ApplyFor"
:key=
"index"
:label=
"item.Id"
>
{{
item
.
Name
}}
</el-radio>
<el-radio
v-for=
"(item,index) in EnumList"
v-model=
"addMsg.ApplyFor"
:key=
"index"
:label=
"item.Id"
>
{{
item
.
Name
}}
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
label=
"成为分销商的条件"
prop=
"DistributorCondition"
>
<el-form-item
label=
"成为分销商的条件"
prop=
"DistributorCondition"
>
<el-radio
v-for=
"(item,index) in conditionList"
v-model=
"addMsg.DistributorCondition"
:key=
"index"
:label=
"item.Id"
>
{{
item
.
Name
}}
</el-radio>
<el-radio
v-for=
"(item,index) in conditionList"
v-model=
"addMsg.DistributorCondition"
:key=
"index"
:label=
"item.Id"
>
{{
item
.
Name
}}
</el-radio>
</el-form-item>
</el-form-item>
</div>
</div>
</el-card>
</el-card>
...
@@ -47,20 +46,25 @@
...
@@ -47,20 +46,25 @@
</el-tooltip>
</el-tooltip>
</div>
</div>
<div>
<div>
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
label=
"分销佣金类型"
prop=
"DistributorTier"
>
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
label=
"分销佣金类型"
prop=
"DistributorTier"
>
<el-radio
v-model=
"addMsg.DistributorCommissionType"
:label=
"1"
>
百分比
</el-radio>
<el-radio
v-model=
"addMsg.DistributorCommissionType"
:label=
"1"
>
百分比
</el-radio>
<el-radio
v-model=
"addMsg.DistributorCommissionType"
:label=
"2"
>
固定金额
</el-radio>
<el-radio
v-model=
"addMsg.DistributorCommissionType"
:label=
"2"
>
固定金额
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
class=
"commonLabel"
label=
"一级佣金"
>
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
<el-input
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
v-model=
"addMsg.OneCommission"
class=
"input-with-select"
>
class=
"commonLabel"
label=
"一级佣金"
>
<el-input
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
v-model=
"addMsg.OneCommission"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
<el-button
slot=
"append"
>
<span
v-if=
"addMsg.DistributorCommissionType==1"
>
%
</span>
<span
v-if=
"addMsg.DistributorCommissionType==1"
>
%
</span>
<span
v-if=
"addMsg.DistributorCommissionType==2"
>
元
</span>
<span
v-if=
"addMsg.DistributorCommissionType==2"
>
元
</span>
</el-button>
</el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
class=
"commonLabel"
label=
"二级佣金"
>
<el-form-item
v-if=
"addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
class=
"commonLabel"
<el-input
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
v-model=
"addMsg.TwoCommission"
class=
"input-with-select"
>
label=
"二级佣金"
>
<el-input
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
v-model=
"addMsg.TwoCommission"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
<el-button
slot=
"append"
>
<span
v-if=
"addMsg.DistributorCommissionType==1"
>
%
</span>
<span
v-if=
"addMsg.DistributorCommissionType==1"
>
%
</span>
<span
v-if=
"addMsg.DistributorCommissionType==2"
>
元
</span>
<span
v-if=
"addMsg.DistributorCommissionType==2"
>
元
</span>
...
@@ -68,14 +72,16 @@
...
@@ -68,14 +72,16 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"addMsg.DistributorTier==3"
class=
"commonLabel"
label=
"三级佣金"
>
<el-form-item
v-if=
"addMsg.DistributorTier==3"
class=
"commonLabel"
label=
"三级佣金"
>
<el-input
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
v-model=
"addMsg.ThreeCommission"
class=
"input-with-select"
>
<el-input
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
v-model=
"addMsg.ThreeCommission"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
<el-button
slot=
"append"
>
<span
v-if=
"addMsg.DistributorCommissionType==1"
>
%
</span>
<span
v-if=
"addMsg.DistributorCommissionType==1"
>
%
</span>
<span
v-if=
"addMsg.DistributorCommissionType==2"
>
元
</span>
<span
v-if=
"addMsg.DistributorCommissionType==2"
>
元
</span>
</el-button>
</el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
label=
"佣金是否提完"
prop=
"IsCommissionResidue"
>
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
label=
"佣金是否提完"
prop=
"IsCommissionResidue"
>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"1"
>
是
</el-radio>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"1"
>
是
</el-radio>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"2"
>
否
</el-radio>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"2"
>
否
</el-radio>
</el-form-item>
</el-form-item>
...
@@ -91,11 +97,7 @@
...
@@ -91,11 +97,7 @@
</div>
</div>
<div>
<div>
<el-form-item
label=
"分销商等级入口"
>
<el-form-item
label=
"分销商等级入口"
>
<el-switch
<el-switch
v-model=
"addMsg.GradeEntrance"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"2"
>
v-model=
"addMsg.GradeEntrance"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"2"
>
</el-switch>
</el-switch>
<p
style=
"margin-left:-60px"
class=
"blue f12"
>
<p
style=
"margin-left:-60px"
class=
"blue f12"
>
<span
@
click=
"czjfDig=true"
class=
"point"
>
查看图例
</span>
<span
@
click=
"czjfDig=true"
class=
"point"
>
查看图例
</span>
...
@@ -117,7 +119,8 @@
...
@@ -117,7 +119,8 @@
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
<el-form-item
class=
"commonLabel"
label=
"最少提现额度"
prop=
"MinimumWithdrawalLimit"
>
<el-form-item
class=
"commonLabel"
label=
"最少提现额度"
prop=
"MinimumWithdrawalLimit"
>
<el-input
v-model=
"addMsg.MinimumWithdrawalLimit"
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
class=
"input-with-select"
>
<el-input
v-model=
"addMsg.MinimumWithdrawalLimit"
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
元
</el-button>
<el-button
slot=
"append"
>
元
</el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -125,7 +128,8 @@
...
@@ -125,7 +128,8 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"-1元表示不限制每日提现金额"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"-1元表示不限制每日提现金额"
placement=
"top-start"
>
<i
class=
" elzk el-tooltip el-icon-info"
></i>
<i
class=
" elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
</el-tooltip>
<el-input
v-model=
"addMsg.DailyWithdrawalLimit"
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
class=
"input-with-select"
>
<el-input
v-model=
"addMsg.DailyWithdrawalLimit"
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
元
</el-button>
<el-button
slot=
"append"
>
元
</el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -133,12 +137,14 @@
...
@@ -133,12 +137,14 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"0表示不设置提现手续费"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"0表示不设置提现手续费"
placement=
"top-start"
>
<i
class=
" elzk el-tooltip el-icon-info"
></i>
<i
class=
" elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
</el-tooltip>
<el-input
v-model=
"addMsg.WithdrawFee"
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
class=
"input-with-select"
>
<el-input
v-model=
"addMsg.WithdrawFee"
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
%
</el-button>
<el-button
slot=
"append"
>
%
</el-button>
</el-input>
</el-input>
<p>
提现手续费额外从提现中扣除
</p>
<p>
提现手续费额外从提现中扣除
</p>
<p>
例如:
<span
class=
"cred"
>
10%
</span>
的提现手续费:
</p>
<p>
例如:
<span
class=
"cred"
>
10%
</span>
的提现手续费:
</p>
<p>
提现
<span
class=
"cred"
>
100
</span>
元,扣除手续费
<span
class=
"cred"
>
10
</span>
元, 实际到手
<span
class=
"cred"
>
90
</span>
元
</p>
<p>
提现
<span
class=
"cred"
>
100
</span>
元,扣除手续费
<span
class=
"cred"
>
10
</span>
元, 实际到手
<span
class=
"cred"
>
90
</span>
元
</p>
</el-form-item>
</el-form-item>
</div>
</div>
</el-card>
</el-card>
...
@@ -148,31 +154,26 @@
...
@@ -148,31 +154,26 @@
</div>
</div>
<div>
<div>
<el-form-item
label=
"申请协议"
>
<el-form-item
label=
"申请协议"
>
<el-input
style=
"width:293px"
<el-input
style=
"width:293px"
type=
"textarea"
:rows=
"2"
placeholder=
"申请协议"
type=
"textarea"
:rows=
"2"
placeholder=
"申请协议"
v-model=
"addMsg.ApplicationProtocol"
>
v-model=
"addMsg.ApplicationProtocol"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"用户须知"
>
<el-form-item
label=
"用户须知"
>
<el-input
style=
"width:293px"
<el-input
style=
"width:293px"
type=
"textarea"
:rows=
"2"
placeholder=
"用户须知"
v-model=
"addMsg.UserNotes"
>
type=
"textarea"
:rows=
"2"
placeholder=
"用户须知"
v-model=
"addMsg.UserNotes"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"待审核页面背景图片"
>
<el-form-item
label=
"待审核页面背景图片"
>
<el-button
@
click=
"openChangeDig(1)"
size=
"small"
>
选择图片
</el-button>
<el-button
@
click=
"openChangeDig(1)"
size=
"small"
>
选择图片
</el-button>
<div
class=
"app-gallery-item"
>
<div
class=
"app-gallery-item"
>
<img
style=
"width:100px;height:100px"
:src=
"'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.BackgroundImagePath"
alt=
""
>
<img
style=
"width:100px;height:100px"
:src=
"getIconLink(addMsg.BackgroundImagePath)"
alt=
""
>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"首页背景图片"
>
<el-form-item
label=
"首页背景图片"
>
<el-button
@
click=
"openChangeDig(2)"
size=
"small"
>
选择图片
</el-button>
<el-button
@
click=
"openChangeDig(2)"
size=
"small"
>
选择图片
</el-button>
<div
class=
"app-gallery-item"
>
<div
class=
"app-gallery-item"
>
<img
style=
"width:100px;height:100px"
:src=
"'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.IndexImagePath"
alt=
""
>
<img
style=
"width:100px;height:100px"
:src=
"getIconLink(addMsg.IndexImagePath)"
alt=
""
>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -200,88 +201,107 @@
...
@@ -200,88 +201,107 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
export
default
{
export
default
{
components
:
{
components
:
{
ChooseImg
ChooseImg
},
},
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
czjfDig
:
false
,
czjfDig
:
false
,
checkedCities
:[],
checkedCities
:
[],
currentPage4
:
3
,
currentPage4
:
3
,
changeState
:
false
,
changeState
:
false
,
val
:
''
,
val
:
''
,
addMsg
:{
addMsg
:
{
Id
:
0
,
Id
:
0
,
DistributorTier
:
2
,
DistributorTier
:
2
,
InPurchasing
:
1
,
InPurchasing
:
1
,
ReferralsCondition
:
3
,
ReferralsCondition
:
3
,
ApplyFor
:
1
,
ApplyFor
:
1
,
DistributorCondition
:
3
,
DistributorCondition
:
3
,
DistributorCommissionType
:
1
,
DistributorCommissionType
:
1
,
OneCommission
:
0
,
OneCommission
:
0
,
TwoCommission
:
0
,
TwoCommission
:
0
,
ThreeCommission
:
0
,
ThreeCommission
:
0
,
GradeEntrance
:
1
,
GradeEntrance
:
1
,
WithdrawWay
:
[
1
],
WithdrawWay
:
[
1
],
MinimumWithdrawalLimit
:
50
,
MinimumWithdrawalLimit
:
50
,
DailyWithdrawalLimit
:
0
,
DailyWithdrawalLimit
:
0
,
WithdrawFee
:
0
,
WithdrawFee
:
0
,
WithdrawWayList
:
[],
WithdrawWayList
:
[],
ApplicationProtocol
:
''
,
ApplicationProtocol
:
''
,
UserNotes
:
''
,
UserNotes
:
''
,
BackgroundImage
:
''
,
BackgroundImage
:
''
,
BackgroundImagePath
:
''
,
BackgroundImagePath
:
''
,
IndexImage
:
''
,
IndexImage
:
''
,
IndexImagePath
:
''
,
IndexImagePath
:
''
,
IsCommissionResidue
:
1
,
IsCommissionResidue
:
1
,
},
},
dialogVisible
:
false
,
dialogVisible
:
false
,
value
:
''
,
value
:
''
,
options
:[],
options
:
[],
msg
:{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
15
,
pageSize
:
15
,
},
},
total
:
0
,
total
:
0
,
rules
:
{
rules
:
{
DistributorTier
:[
DistributorTier
:
[{
{
required
:
true
,
message
:
'请选择分销层级'
,
trigger
:
'change'
}
required
:
true
,
],
message
:
'请选择分销层级'
,
ReferralsCondition
:[
trigger
:
'change'
{
required
:
true
,
message
:
'请选择成为下线条件'
,
trigger
:
'change'
}
}],
],
ReferralsCondition
:
[{
ApplyFor
:[
required
:
true
,
{
required
:
true
,
message
:
'请选择申请为分销商'
,
trigger
:
'change'
}
message
:
'请选择成为下线条件'
,
],
trigger
:
'change'
DistributorCondition
:[
}],
{
required
:
true
,
message
:
'请选择成为分销商条件'
,
trigger
:
'change'
}
ApplyFor
:
[{
],
required
:
true
,
DistributorCommissionType
:[
message
:
'请选择申请为分销商'
,
{
required
:
true
,
message
:
'请选择分销佣金类型'
,
trigger
:
'change'
}
trigger
:
'change'
],
}],
WithdrawWay
:
[
DistributorCondition
:
[{
{
type
:
'array'
,
required
:
true
,
message
:
'请至少选择一个提现方式'
,
trigger
:
'change'
}
required
:
true
,
],
message
:
'请选择成为分销商条件'
,
MinimumWithdrawalLimit
:
[
trigger
:
'change'
{
required
:
true
,
message
:
'请输入最少提现额度'
,
trigger
:
'blur'
}
}],
],
DistributorCommissionType
:
[{
DailyWithdrawalLimit
:
[
required
:
true
,
{
required
:
true
,
message
:
'请输入每日提现上限'
,
trigger
:
'blur'
}
message
:
'请选择分销佣金类型'
,
],
trigger
:
'change'
WithdrawFee
:
[
}],
{
required
:
true
,
message
:
'请输入提现手续费'
,
trigger
:
'blur'
}
WithdrawWay
:
[{
],
type
:
'array'
,
required
:
true
,
message
:
'请至少选择一个提现方式'
,
trigger
:
'change'
}],
MinimumWithdrawalLimit
:
[{
required
:
true
,
message
:
'请输入最少提现额度'
,
trigger
:
'blur'
}],
DailyWithdrawalLimit
:
[{
required
:
true
,
message
:
'请输入每日提现上限'
,
trigger
:
'blur'
}],
WithdrawFee
:
[{
required
:
true
,
message
:
'请输入提现手续费'
,
trigger
:
'blur'
}],
},
},
conditionList
:[],
conditionList
:
[],
EnumList
:[],
EnumList
:
[],
ReferralsList
:[],
ReferralsList
:
[],
WithdrawWayList
:[],
WithdrawWayList
:
[],
imgType
:
1
,
imgType
:
1
,
};
};
},
},
...
@@ -294,11 +314,11 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
...
@@ -294,11 +314,11 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
},
},
methods
:
{
methods
:
{
Save
(
formName
)
{
Save
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
let
cmd
=
"/api/user/SetDistributorBasicsInfo"
;
let
cmd
=
"/api/user/SetDistributorBasicsInfo"
;
this
.
apipost
(
cmd
,
this
.
addMsg
,
this
.
apipost
(
cmd
,
this
.
addMsg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
...
@@ -314,22 +334,22 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
...
@@ -314,22 +334,22 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
}
}
});
});
},
},
SelectId
(
msg
)
{
SelectId
(
msg
)
{
if
(
this
.
imgType
==
1
)
{
if
(
this
.
imgType
==
1
)
{
this
.
addMsg
.
BackgroundImage
=
msg
.
selectId
;
this
.
addMsg
.
BackgroundImage
=
msg
.
selectId
;
this
.
addMsg
.
BackgroundImagePath
=
msg
.
url
;
this
.
addMsg
.
BackgroundImagePath
=
msg
.
url
;
}
else
{
}
else
{
this
.
addMsg
.
IndexImage
=
msg
.
selectId
;
this
.
addMsg
.
IndexImage
=
msg
.
selectId
;
this
.
addMsg
.
IndexImagePath
=
msg
.
url
;
this
.
addMsg
.
IndexImagePath
=
msg
.
url
;
}
}
this
.
changeState
=
false
;
this
.
changeState
=
false
;
},
},
openChangeDig
(
val
)
{
openChangeDig
(
val
)
{
this
.
changeState
=
true
;
this
.
changeState
=
true
;
this
.
imgType
=
val
;
this
.
imgType
=
val
;
},
},
goUrl
()
{
goUrl
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'MembershipGrade'
,
name
:
'MembershipGrade'
,
query
:
{
query
:
{
...
@@ -341,44 +361,44 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
...
@@ -341,44 +361,44 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
getData
()
{
getData
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
"/api/user/GetDistributorBasicsInfo"
,
{},
res
=>
{
this
.
apipost
(
"/api/user/GetDistributorBasicsInfo"
,
{},
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
res
.
data
.
data
;
this
.
addMsg
=
res
.
data
.
data
;
}
}
})
})
},
},
WithdrawWayEnumList
()
{
WithdrawWayEnumList
()
{
this
.
apipost
(
"/api/user/GetDistrbutorWithdrawWayEnumList"
,
{},
res
=>
{
this
.
apipost
(
"/api/user/GetDistrbutorWithdrawWayEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
WithdrawWayList
=
res
.
data
.
data
;
this
.
WithdrawWayList
=
res
.
data
.
data
;
}
}
})
})
},
},
ApplyForEnumList
()
{
ApplyForEnumList
()
{
this
.
apipost
(
"/api/user/GetDistributorApplyForEnumList"
,
{},
res
=>
{
this
.
apipost
(
"/api/user/GetDistributorApplyForEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EnumList
=
res
.
data
.
data
;
this
.
EnumList
=
res
.
data
.
data
;
}
}
})
})
},
},
ConditionEnumList
()
{
ConditionEnumList
()
{
this
.
apipost
(
"/api/user/GetDistributorConditionEnumList"
,
{},
res
=>
{
this
.
apipost
(
"/api/user/GetDistributorConditionEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
conditionList
=
res
.
data
.
data
;
this
.
conditionList
=
res
.
data
.
data
;
}
}
})
})
},
},
ReferralsEnumList
()
{
ReferralsEnumList
()
{
this
.
apipost
(
"/api/user/GetDistrbutorReferralsEnumList"
,
{},
res
=>
{
this
.
apipost
(
"/api/user/GetDistrbutorReferralsEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ReferralsList
=
res
.
data
.
data
;
this
.
ReferralsList
=
res
.
data
.
data
;
}
}
})
})
...
@@ -393,7 +413,7 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
...
@@ -393,7 +413,7 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
</
script
>
</
script
>
<
style
>
<
style
>
.baseSet
.app-gallery-item
{
.baseSet
.app-gallery-item
{
width
:
100px
;
width
:
100px
;
height
:
100px
;
height
:
100px
;
border
:
1px
solid
#e3e3e3
;
border
:
1px
solid
#e3e3e3
;
...
@@ -401,36 +421,44 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
...
@@ -401,36 +421,44 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
margin-right
:
10px
;
margin-right
:
10px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
position
:
relative
;
position
:
relative
;
}
}
.baseSet
.el-form-item
.topelzk
{
top
:
12px
!important
;
.baseSet
.el-form-item
.topelzk
{
}
top
:
12px
!important
;
.baseSet
.el-form-item
.elzk
{
}
.baseSet
.el-form-item
.elzk
{
position
:
absolute
;
position
:
absolute
;
left
:
-25px
;
left
:
-25px
;
top
:
8px
;
top
:
8px
;
}
}
.baseSet
.el-checkbox-group
{
.baseSet
.el-checkbox-group
{
display
:
inline-block
;
display
:
inline-block
;
}
}
.baseSet
.nocommonLabel
.el-form-item__label
{
.baseSet
.nocommonLabel
.el-form-item__label
{
margin-top
:
0px
;
margin-top
:
0px
;
padding-right
:
30px
;
padding-right
:
30px
;
}
}
.baseSet
.commonLabel
.el-form-item__label
{
.baseSet
.commonLabel
.el-form-item__label
{
margin-top
:
-4px
;
margin-top
:
-4px
;
}
}
.baseSet
.discount
.el-form-item__label
{
.baseSet
.discount
.el-form-item__label
{
padding-right
:
30px
;
padding-right
:
30px
;
margin-top
:
-4px
;
margin-top
:
-4px
;
}
}
.baseSet
.blue
{
color
:
#409EFF
;
.baseSet
.blue
{
color
:
#409EFF
;
}
}
.baseSet
.content
{
margin-top
:
10px
;
.baseSet
.content
{
margin-top
:
10px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
</
style
>
</
style
>
src/components/UserMan/customSet.vue
View file @
575c7adb
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"el-scrollbar__view"
>
<div
class=
"el-scrollbar__view"
>
<div>
<div>
<div
class=
"el-image"
style=
"display: block; width: 100%; height: 150px;"
>
<div
class=
"el-image"
style=
"display: block; width: 100%; height: 150px;"
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.HeadImagePath
"
<img
:src=
"
getIconLink(addMsg.HeadImagePath)
"
class=
"el-image__inner"
>
class=
"el-image__inner"
>
</div>
</div>
<div
style=
"background: rgb(255, 255, 255); height: 40px; padding: 0px 14px;"
>
<div
style=
"background: rgb(255, 255, 255); height: 40px; padding: 0px 14px;"
>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
{{
addMsg
.
ButtonText
}}
{{
addMsg
.
ButtonText
}}
</div>
</div>
<div
class=
"el-image"
style=
"display: block; width: 100%;"
>
<div
class=
"el-image"
style=
"display: block; width: 100%;"
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.BottomImagePath
"
<img
:src=
"
getIconLink(addMsg.BottomImagePath)
"
class=
"el-image__inner"
>
class=
"el-image__inner"
>
</div>
</div>
</div>
</div>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<img
@
click=
"openChangeDig(1)"
v-if=
"addMsg.HeadImagePath==''"
style=
"width:100px;height:100px"
<img
@
click=
"openChangeDig(1)"
v-if=
"addMsg.HeadImagePath==''"
style=
"width:100px;height:100px"
src=
"../../assets/img/default.png"
alt=
""
>
src=
"../../assets/img/default.png"
alt=
""
>
<div
v-else
class=
"app-image"
<div
v-else
class=
"app-image"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.HeadImagePath
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(
' + getIconLink(addMsg.HeadImagePath)
+ ')',backgroundSize:'cover'}">
</div>
</div>
<button
@
click=
"addMsg.HeadImagePath=''"
type=
"button"
<button
@
click=
"addMsg.HeadImagePath=''"
type=
"button"
class=
"el-button del-btn el-button--danger el-button--mini is-circle"
><i
class=
"el-button del-btn el-button--danger el-button--mini is-circle"
><i
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<img
@
click=
"openChangeDig(2)"
v-if=
"addMsg.BottomImagePath==''"
style=
"width:100px;height:100px"
<img
@
click=
"openChangeDig(2)"
v-if=
"addMsg.BottomImagePath==''"
style=
"width:100px;height:100px"
src=
"../../assets/img/default.png"
alt=
""
>
src=
"../../assets/img/default.png"
alt=
""
>
<div
v-else
class=
"app-image"
<div
v-else
class=
"app-image"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.BottomImagePath
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(
' + getIconLink(addMsg.BottomImagePath)
+ ')',backgroundSize:'cover'}">
</div>
</div>
<button
@
click=
"addMsg.BottomImagePath=''"
type=
"button"
<button
@
click=
"addMsg.BottomImagePath=''"
type=
"button"
class=
"el-button del-btn el-button--danger el-button--mini is-circle"
><i
class=
"el-button del-btn el-button--danger el-button--mini is-circle"
><i
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
<img
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.DistributionCommissionImagePath
"
:src=
"
getIconLink(addMsg.DistributionCommissionImagePath)
"
style=
"width: 35px; height: 35px;"
>
style=
"width: 35px; height: 35px;"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
{{
addMsg
.
DistributionCommissionName
}}
{{
addMsg
.
DistributionCommissionName
}}
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
<img
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.DistributionOrderImagePath
"
:src=
"
getIconLink(addMsg.DistributionOrderImagePath)
"
style=
"width: 35px; height: 35px;"
>
style=
"width: 35px; height: 35px;"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
{{
addMsg
.
DistributionOrderName
}}
{{
addMsg
.
DistributionOrderName
}}
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
</div>
</div>
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.WithdrawDetialsImagePath
"
<img
:src=
"
getIconLink(addMsg.WithdrawDetialsImagePath)
"
style=
"width: 35px; height: 35px;"
>
style=
"width: 35px; height: 35px;"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
{{
addMsg
.
WithdrawDetialsName
}}
{{
addMsg
.
WithdrawDetialsName
}}
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</div>
</div>
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.MyTeamImagePath
"
<img
:src=
"
getIconLink(addMsg.MyTeamImagePath)
"
style=
"width: 35px; height: 35px;"
>
style=
"width: 35px; height: 35px;"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
{{
addMsg
.
MyTeamName
}}
{{
addMsg
.
MyTeamName
}}
...
@@ -235,7 +235,7 @@
...
@@ -235,7 +235,7 @@
</div>
</div>
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
<div
flex=
"dir:top cross:center main:center"
class=
"text-center"
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
style=
"border-right: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226); width: 125px; height: 110px;"
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.PromoteQRCodeImagePath
"
<img
:src=
"
getIconLink(addMsg.PromoteQRCodeImagePath)
"
style=
"width: 35px; height: 35px;"
>
style=
"width: 35px; height: 35px;"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
<div
style=
"transform: scale(0.8); font-size: 16px; padding-top: 8px; color: rgb(102, 102, 102);"
>
{{
addMsg
.
PromoteQRCodeName
}}
{{
addMsg
.
PromoteQRCodeName
}}
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
flex=
"dir:top main:center cross:center"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.DistributionCommissionImagePath
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(
' + getIconLink(addMsg.DistributionCommissionImagePath)
+ ')',backgroundSize:'cover'}">
</div>
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
DistributionCommissionName
}}
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
DistributionCommissionName
}}
</div>
</span>
</span>
...
@@ -262,7 +262,7 @@
...
@@ -262,7 +262,7 @@
flex=
"dir:top main:center cross:center"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.DistributionOrderImagePath
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(
' + getIconLink(addMsg.DistributionOrderImagePath)
+ ')',backgroundSize:'cover'}">
</div>
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
DistributionOrderName
}}
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
DistributionOrderName
}}
</div>
</span>
</span>
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
flex=
"dir:top main:center cross:center"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.WithdrawDetialsImagePath
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(
' + getIconLink(addMsg.WithdrawDetialsImagePath)
+ ')',backgroundSize:'cover'}">
</div>
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
WithdrawDetialsName
}}
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
WithdrawDetialsName
}}
</div>
</span>
</span>
...
@@ -278,7 +278,7 @@
...
@@ -278,7 +278,7 @@
flex=
"dir:top main:center cross:center"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.MyTeamImagePath
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(
' + getIconLink(addMsg.MyTeamImagePath)
+ ')',backgroundSize:'cover'}">
</div>
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
MyTeamName
}}
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
MyTeamName
}}
</div>
</span>
</span>
...
@@ -286,7 +286,7 @@
...
@@ -286,7 +286,7 @@
flex=
"dir:top main:center cross:center"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + addMsg.PromoteQRCodeImagePath
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(
' + getIconLink(addMsg.PromoteQRCodeImagePath)
+ ')',backgroundSize:'cover'}">
</div>
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
PromoteQRCodeName
}}
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
PromoteQRCodeName
}}
</div>
</span>
</span>
...
@@ -657,7 +657,7 @@
...
@@ -657,7 +657,7 @@
<el-button
@
click=
"openChangeDig(imgType)"
size=
"small"
>
选择文件
</el-button>
<el-button
@
click=
"openChangeDig(imgType)"
size=
"small"
>
选择文件
</el-button>
<div>
<div>
<img
style=
"width:80px;height:80px"
<img
style=
"width:80px;height:80px"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+iconMsg.Path
"
alt=
""
>
:src=
"
getIconLink(iconMsg.Path)
"
alt=
""
>
</div>
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
src/components/UserMan/distributors.vue
View file @
575c7adb
...
@@ -500,7 +500,7 @@
...
@@ -500,7 +500,7 @@
SelectId
(
msg
)
{
SelectId
(
msg
)
{
this
.
changeState
=
false
;
this
.
changeState
=
false
;
this
.
addMsg
.
Image
=
msg
.
id
;
this
.
addMsg
.
Image
=
msg
.
id
;
this
.
imgurl
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
imgurl
=
this
.
getIconLink
(
msg
.
url
)
;
},
},
EditgoUrl
(
row
)
{
EditgoUrl
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
src/components/UserMan/setMember.vue
View file @
575c7adb
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div>
<div>
<img
v-if=
"addMsg.IconPath==''"
style=
"width:80px;height:80px"
src=
"../../assets/img/default.png"
alt=
""
>
<img
v-if=
"addMsg.IconPath==''"
style=
"width:80px;height:80px"
src=
"../../assets/img/default.png"
alt=
""
>
<img
v-else
style=
"width:80px;height:80px"
<img
v-else
style=
"width:80px;height:80px"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.IconPath
"
alt=
""
>
:src=
"
getIconLink(addMsg.IconPath)
"
alt=
""
>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"会员背景色"
prop=
"BackgroundImage"
>
<el-form-item
label=
"会员背景色"
prop=
"BackgroundImage"
>
...
@@ -41,8 +41,7 @@
...
@@ -41,8 +41,7 @@
<img
v-if=
"addMsg.BackgroundImagePath==''"
style=
"width:80px;height:80px"
src=
"../../assets/img/default.png"
<img
v-if=
"addMsg.BackgroundImagePath==''"
style=
"width:80px;height:80px"
src=
"../../assets/img/default.png"
alt=
""
>
alt=
""
>
<img
v-else
style=
"width:80px;height:80px"
<img
v-else
style=
"width:80px;height:80px"
:src=
"'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+addMsg.BackgroundImagePath"
alt=
""
>
:src=
"getIconLink(addMsg.BackgroundImagePath)"
alt=
""
>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"累计金额自动升级"
>
<el-form-item
label=
"累计金额自动升级"
>
...
@@ -80,7 +79,7 @@
...
@@ -80,7 +79,7 @@
<img
v-if=
"scope.row.ImagePath==''"
style=
"margin-left: 10px;width:50px;height:50px"
<img
v-if=
"scope.row.ImagePath==''"
style=
"margin-left: 10px;width:50px;height:50px"
src=
"../../assets/img/default.png"
alt=
""
>
src=
"../../assets/img/default.png"
alt=
""
>
<img
v-else
style=
"margin-left: 10px;width:50px;height:50px"
<img
v-else
style=
"margin-left: 10px;width:50px;height:50px"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+scope.row.ImagePath
"
alt=
""
>
:src=
"
getIconLink(scope.row.ImagePath)
"
alt=
""
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"address"
width=
"500px"
label=
"权益内容"
>
<el-table-column
prop=
"address"
width=
"500px"
label=
"权益内容"
>
...
...
src/components/UserMan/usersList.vue
View file @
575c7adb
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
SelectId
(
msg
)
{
SelectId
(
msg
)
{
this
.
changeState
=
false
;
this
.
changeState
=
false
;
this
.
addMsg
.
Image
=
msg
.
id
;
this
.
addMsg
.
Image
=
msg
.
id
;
this
.
imgurl
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
imgurl
=
this
.
getIconLink
(
msg
.
url
)
;
},
},
EditgoUrl
(
row
)
{
EditgoUrl
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
src/components/common/choiceGood.vue
View file @
575c7adb
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<el-table-column
prop=
"name"
label=
"名称"
>
<el-table-column
prop=
"name"
label=
"名称"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
flex=
"cross:center dir:left"
>
<div
flex=
"cross:center dir:left"
>
<img
style=
"width:50px;height:50px;margin-right:10px;"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+scope.row.CoverImage
"
/>
<img
style=
"width:50px;height:50px;margin-right:10px;"
:src=
"
getIconLink(scope.row.CoverImage)
"
/>
<div>
{{
scope
.
row
.
Name
}}
</div>
<div>
{{
scope
.
row
.
Name
}}
</div>
</div>
</div>
</
template
>
</
template
>
...
...
src/components/global/ChooseImg.vue
View file @
575c7adb
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</div>
</div>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<div
@
click=
"PageSelect(item,index)"
:class=
"selectId==item.Id ? 'selected' :''"
class=
"el-tooltip item app-attachment-item"
>
<div
@
click=
"PageSelect(item,index)"
:class=
"selectId==item.Id ? 'selected' :''"
class=
"el-tooltip item app-attachment-item"
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+item.Path
"
class=
"app-attachment-img"
style=
"width: 100px; height: 100px;"
>
<img
:src=
"
getIconLink(item.Path)
"
class=
"app-attachment-img"
style=
"width: 100px; height: 100px;"
>
<div
class=
"app-attachment-name"
>
{{
item
.
Name
}}
</div>
<div
class=
"app-attachment-name"
>
{{
item
.
Name
}}
</div>
</div>
</div>
</el-tooltip>
</el-tooltip>
...
...
src/components/global/Choosevideo.vue
View file @
575c7adb
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</div>
</div>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<el-tooltip
v-for=
"(item,index) in PageList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.Name"
placement=
"top-start"
>
<div
@
click=
"PageSelect(item,index)"
:class=
"selectId==item.Id ? 'selected' :''"
class=
"el-tooltip item material-item "
>
<div
@
click=
"PageSelect(item,index)"
:class=
"selectId==item.Id ? 'selected' :''"
class=
"el-tooltip item material-item "
>
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+item.Path
+'?x-oss-process=video/snapshot,t_9,f_jpg,w_299,h_0,m_fast'"
class=
"material-img"
style=
"width: 100px; height: 100px;"
>
<img
:src=
"
getIconLink(item.Path)
+'?x-oss-process=video/snapshot,t_9,f_jpg,w_299,h_0,m_fast'"
class=
"material-img"
style=
"width: 100px; height: 100px;"
>
<div
class=
"material-video-info"
><i
class=
"el-icon-video-play"
></i>
<span>
{{
item
.
VideoTime
}}
</span></div>
<div
class=
"material-video-info"
><i
class=
"el-icon-video-play"
></i>
<span>
{{
item
.
VideoTime
}}
</span></div>
<div
flex=
"dir:left"
style=
"margin-top: 5px;"
>
<div
flex=
"dir:left"
style=
"margin-top: 5px;"
>
<div
class=
"material-name"
>
{{
item
.
Name
}}
</div>
<div
class=
"material-name"
>
{{
item
.
Name
}}
</div>
...
...
src/components/sallCenter/addCardTicket.vue
View file @
575c7adb
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
},
},
SelectId
(
msg
){
SelectId
(
msg
){
this
.
changeState
=
false
;
this
.
changeState
=
false
;
this
.
msg
.
CouponIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
CouponIco
=
this
.
getIconLink
(
msg
.
url
)
;
},
},
}
}
...
...
src/components/sallCenter/plugin/banner.vue
View file @
575c7adb
...
@@ -129,12 +129,12 @@
...
@@ -129,12 +129,12 @@
<div
class=
"banner-container"
:style=
"
{height:banData.data.height+'px'}">
<div
class=
"banner-container"
:style=
"
{height:banData.data.height+'px'}">
<el-carousel
:interval=
"3000"
arrow=
"always"
v-if=
"banData.data.style==1"
:height=
"banData.data.height+'px'"
>
<el-carousel
:interval=
"3000"
arrow=
"always"
v-if=
"banData.data.style==1"
:height=
"banData.data.height+'px'"
>
<el-carousel-item
v-for=
"(item,index) in banData.data.banners"
:key=
"index"
>
<el-carousel-item
v-for=
"(item,index) in banData.data.banners"
:key=
"index"
>
<div
class=
"banner-img"
:class=
"banData.data.fill==1?'banner-img-cover':'banner-img-contain'"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+item.picUrl
+')'}">
</div>
<div
class=
"banner-img"
:class=
"banData.data.fill==1?'banner-img-cover':'banner-img-contain'"
:style=
"
{backgroundImage:'url(
'+getIconLink(item.picUrl)
+')'}">
</div>
</el-carousel-item>
</el-carousel-item>
</el-carousel>
</el-carousel>
<el-carousel
v-else
:interval=
"4000"
type=
"card"
:height=
"banData.data.height+'px'"
>
<el-carousel
v-else
:interval=
"4000"
type=
"card"
:height=
"banData.data.height+'px'"
>
<el-carousel-item
v-for=
"(item,index) in banData.data.banners"
:key=
"index"
>
<el-carousel-item
v-for=
"(item,index) in banData.data.banners"
:key=
"index"
>
<div
class=
"banner-img"
:class=
"banData.data.fill==1?'banner-img-cover':'banner-img-contain'"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+item.picUrl
+')'}">
</div>
<div
class=
"banner-img"
:class=
"banData.data.fill==1?'banner-img-cover':'banner-img-contain'"
:style=
"
{backgroundImage:'url(
'+getIconLink(item.picUrl)
+')'}">
</div>
</el-carousel-item>
</el-carousel-item>
</el-carousel>
</el-carousel>
</div>
</div>
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
<div
flex=
"box:first"
>
<div
flex=
"box:first"
>
<div>
<div>
<div
class=
"banner_image_upload"
style=
"margin-right:5px;"
>
<div
class=
"banner_image_upload"
style=
"margin-right:5px;"
>
<div
flex=
"main:center cross:center"
@
click=
"choiceMyImg(index)"
class=
"pic-box"
:style=
"{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + item.picUrl
+ ')'}"
>
<div
flex=
"main:center cross:center"
@
click=
"choiceMyImg(index)"
class=
"pic-box"
:style=
"{backgroundImage:'url(
' + getIconLink(item.picUrl)
+ ')'}"
>
<i
style=
"font-size:22px;color:#909399;"
class=
"el-icon-picture-outline"
v-if=
"item.picUrl==''"
></i>
<i
style=
"font-size:22px;color:#909399;"
class=
"el-icon-picture-outline"
v-if=
"item.picUrl==''"
></i>
<div
class=
"size-tip"
>
720 × 250
</div>
<div
class=
"size-tip"
>
720 × 250
</div>
<el-button
type=
"danger"
v-if=
"item.picUrl!=''"
class=
"image-delete"
size=
"mini"
icon=
"el-icon-close"
@
click
.
stop=
"item.picUrl=''"
circle
></el-button>
<el-button
type=
"danger"
v-if=
"item.picUrl!=''"
class=
"image-delete"
size=
"mini"
icon=
"el-icon-close"
@
click
.
stop=
"item.picUrl=''"
circle
></el-button>
...
...
src/components/sallCenter/plugin/goods.vue
View file @
575c7adb
...
@@ -322,7 +322,7 @@
...
@@ -322,7 +322,7 @@
<div
:style=
"cGoodsItemStyle"
:flex=
"cGoodsItemFlex"
style=
"position: relative;"
>
<div
:style=
"cGoodsItemStyle"
:flex=
"cGoodsItemFlex"
style=
"position: relative;"
>
<div
class=
"goods-pic"
<div
class=
"goods-pic"
:class=
"'goods-pic-'+data.goodsCoverProportion+' goods-pic-fill-'+data.fill"
:class=
"'goods-pic-'+data.goodsCoverProportion+' goods-pic-fill-'+data.fill"
:style=
"'background-image: url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+goods.CoverImage
+')'"
>
:style=
"'background-image: url(
'+getIconLink(goods.CoverImage)
+')'"
>
<div
v-if=
"data.showGoodsTag"
class=
"goods-tag"
<div
v-if=
"data.showGoodsTag"
class=
"goods-tag"
:style=
"'background-image: url('+ getIconLink(data.goodsTagPicUrl)+')'"
></div>
:style=
"'background-image: url('+ getIconLink(data.goodsTagPicUrl)+')'"
></div>
</div>
</div>
...
@@ -410,7 +410,7 @@
...
@@ -410,7 +410,7 @@
<el-button
@
click=
"deleteGoods(goodsIndex,catIndex)"
circle
class=
"goods-delete"
type=
"danger"
<el-button
@
click=
"deleteGoods(goodsIndex,catIndex)"
circle
class=
"goods-delete"
type=
"danger"
icon=
"el-icon-close"
></el-button>
icon=
"el-icon-close"
></el-button>
</el-tooltip>
</el-tooltip>
<div
class=
"goods-pic"
:style=
"'background-image:url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+goods.CoverImage
+')'"
></div>
<div
class=
"goods-pic"
:style=
"'background-image:url(
'+getIconLink(goods.CoverImage)
+')'"
></div>
</div>
</div>
</draggable>
</draggable>
<div
class=
"goods-add"
>
<div
class=
"goods-add"
>
...
@@ -437,7 +437,7 @@
...
@@ -437,7 +437,7 @@
<el-button
@
click=
"deleteGoods(goodsIndex,null)"
circle
class=
"goods-delete"
type=
"danger"
<el-button
@
click=
"deleteGoods(goodsIndex,null)"
circle
class=
"goods-delete"
type=
"danger"
icon=
"el-icon-close"
></el-button>
icon=
"el-icon-close"
></el-button>
</el-tooltip>
</el-tooltip>
<div
class=
"goods-pic"
:style=
"'background-image:url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+goods.CoverImage
+')'"
></div>
<div
class=
"goods-pic"
:style=
"'background-image:url(
'+getIconLink(goods.CoverImage)
+')'"
></div>
</div>
</div>
</draggable>
</draggable>
<div
class=
"goods-add"
>
<div
class=
"goods-add"
>
...
@@ -506,7 +506,7 @@
...
@@ -506,7 +506,7 @@
<el-radio
v-model=
"data.customizeGoodsTag"
:label=
"true"
@
change=
"customizeGoodsTagChange"
>
自定义
</el-radio>
<el-radio
v-model=
"data.customizeGoodsTag"
:label=
"true"
@
change=
"customizeGoodsTagChange"
>
自定义
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
label=
"自定义商品角标"
v-if=
"data.showGoodsTag&&data.customizeGoodsTag"
>
<el-form-item
label=
"自定义商品角标"
v-if=
"data.showGoodsTag&&data.customizeGoodsTag"
>
<div
flex=
"main:center cross:center"
@
click=
"choicImg=true"
class=
"Goodspic-box"
:style=
"{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+data.goodsTagPicUrl
+')'}"
>
<div
flex=
"main:center cross:center"
@
click=
"choicImg=true"
class=
"Goodspic-box"
:style=
"{backgroundImage:'url(
'+getIconLink(data.goodsTagPicUrl)
+')'}"
>
<i
v-if=
"data.goodsTagPicUrl==''"
class=
"el-icon-picture-outline"
></i>
<i
v-if=
"data.goodsTagPicUrl==''"
class=
"el-icon-picture-outline"
></i>
<div
class=
"size-tip"
>
64 × 64
</div>
<div
class=
"size-tip"
>
64 × 64
</div>
</div>
</div>
...
...
src/components/sallCenter/plugin/navigationIcon.vue
View file @
575c7adb
...
@@ -150,10 +150,10 @@
...
@@ -150,10 +150,10 @@
</div>
</div>
<div
class=
"diy-component-preview"
>
<div
class=
"diy-component-preview"
>
<div
class=
"diynav-container"
:style=
"
{backgroundColor:navData.data.backgroundColor,overflowX:navData.data.scroll?'auto':'hidden',backgroundPosition:bgPostion,
<div
class=
"diynav-container"
:style=
"
{backgroundColor:navData.data.backgroundColor,overflowX:navData.data.scroll?'auto':'hidden',backgroundPosition:bgPostion,
backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + navData.data.backgroundPicUrl
+ ')'}">
backgroundImage:'url(
' + getIconLink(navData.data.backgroundPicUrl)
+ ')'}">
<div
flex=
"dir:left"
style=
"width:750px;flex-wrap:wrap;"
>
<div
flex=
"dir:left"
style=
"width:750px;flex-wrap:wrap;"
>
<div
class=
"Headernav-item"
v-for=
"(item,index) in navData.data.navs"
:key=
"index"
:style=
"
{width:getNavWidth(navData.data.columns)}">
<div
class=
"Headernav-item"
v-for=
"(item,index) in navData.data.navs"
:key=
"index"
:style=
"
{width:getNavWidth(navData.data.columns)}">
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+item.icon
"
/>
<img
:src=
"
getIconLink(item.icon)
"
/>
<div
style=
"color: rgb(53, 53, 53);"
>
{{
item
.
name
}}
</div>
<div
style=
"color: rgb(53, 53, 53);"
>
{{
item
.
name
}}
</div>
</div>
</div>
</div>
</div>
...
@@ -218,7 +218,7 @@
...
@@ -218,7 +218,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"上传背景"
v-if=
"navData.data.showImg"
>
<el-form-item
label=
"上传背景"
v-if=
"navData.data.showImg"
>
<div
style=
"line-height:normal;display:inline-block;"
>
<div
style=
"line-height:normal;display:inline-block;"
>
<div
class=
"navigation_pic_boxDiv"
@
click=
"choicImg=true,selectType=1"
flex=
"main:center cross:center"
:style=
"
{backgroundImage:'url(
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com' + navData.data.backgroundPicUrl
+ ')'}">
<div
class=
"navigation_pic_boxDiv"
@
click=
"choicImg=true,selectType=1"
flex=
"main:center cross:center"
:style=
"
{backgroundImage:'url(
' + getIconLink(navData.data.backgroundPicUrl)
+ ')'}">
<i
class=
"el-icon-picture-outline"
v-if=
"navData.data.backgroundPicUrl==''"
></i>
<i
class=
"el-icon-picture-outline"
v-if=
"navData.data.backgroundPicUrl==''"
></i>
<el-button
type=
"danger"
class=
"image-delete"
v-if=
"navData.data.backgroundPicUrl!=''"
size=
"mini"
icon=
"el-icon-close"
@
click
.
stop=
"navData.data.backgroundPicUrl=''"
circle
></el-button>
<el-button
type=
"danger"
class=
"image-delete"
v-if=
"navData.data.backgroundPicUrl!=''"
size=
"mini"
icon=
"el-icon-close"
@
click
.
stop=
"navData.data.backgroundPicUrl=''"
circle
></el-button>
</div>
</div>
...
...
src/components/sallCenter/plugin/rubik.vue
View file @
575c7adb
...
@@ -89,12 +89,12 @@
...
@@ -89,12 +89,12 @@
icon=
"el-icon-close"
circle
@
click
.
stop=
"deleteRubik(index)"
></el-button>
icon=
"el-icon-close"
circle
@
click
.
stop=
"deleteRubik(index)"
></el-button>
</
template
>
</
template
>
<span
v-if=
"!rubData.data.list[index].pic_url"
>
{{rubikSize(index)}}
</span>
<span
v-if=
"!rubData.data.list[index].pic_url"
>
{{rubikSize(index)}}
</span>
<img
v-else
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+rubData.data.list[index].pic_url
"
<img
v-else
:src=
"
getIconLink(rubData.data.list[index].pic_url)
"
style=
"width: 100%;visibility: hidden;"
>
style=
"width: 100%;visibility: hidden;"
>
</div>
</div>
<div
class=
"rubik"
:style=
"emptyStyle(index)"
v-if=
"rubData.data.style == 8"
:key=
"index"
></div>
<div
class=
"rubik"
:style=
"emptyStyle(index)"
v-if=
"rubData.data.style == 8"
:key=
"index"
></div>
<img
v-if=
"rubData.data.list[index].pic_url && rubData.data.style == 0"
<img
v-if=
"rubData.data.list[index].pic_url && rubData.data.style == 0"
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+rubData.data.list[index].pic_url
"
:src=
"
getIconLink(rubData.data.list[index].pic_url)
"
:key=
"index"
style=
"width: 100%;visibility: hidden;display: block"
>
:key=
"index"
style=
"width: 100%;visibility: hidden;display: block"
>
</template>
</template>
</div>
</div>
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
<div
flex=
"main:center cross:center"
class=
"app-gallery-item"
<div
flex=
"main:center cross:center"
class=
"app-gallery-item"
style=
"height: 100px; width: 100px;"
>
style=
"height: 100px; width: 100px;"
>
<img
<img
:src=
"
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'+rubData.data.list[rubik].pic_url
"
:src=
"
getIconLink(rubData.data.list[rubik].pic_url)
"
style=
"width:100%;height:100%;"
>
style=
"width:100%;height:100%;"
>
</div>
</div>
</div>
</div>
...
@@ -555,7 +555,7 @@
...
@@ -555,7 +555,7 @@
style
=
this
.
getStyle
(
style
,
this
.
rubData
.
data
,
true
,
true
);
style
=
this
.
getStyle
(
style
,
this
.
rubData
.
data
,
true
,
true
);
if
(
style
.
pic_url
)
{
if
(
style
.
pic_url
)
{
style
.
backgroundImage
=
`url('
http://viitto-1301420277.cos.ap-chengdu.myqcloud.com
${
style
.
pic_url
}
')`
;
style
.
backgroundImage
=
`url('
${
this
.
getIconLink
(
style
.
pic_url
)
}
')`
;
style
.
backgroundRepeat
=
'no-repeat'
;
style
.
backgroundRepeat
=
'no-repeat'
;
style
.
backgroundSize
=
'cover'
;
style
.
backgroundSize
=
'cover'
;
style
.
backgroundPosition
=
'center'
;
style
.
backgroundPosition
=
'center'
;
...
...
src/components/sallCenter/rechargeSet.vue
View file @
575c7adb
...
@@ -155,12 +155,11 @@
...
@@ -155,12 +155,11 @@
SelectId
(
msg
){
SelectId
(
msg
){
this
.
changeState
=
false
;
this
.
changeState
=
false
;
if
(
this
.
Choiceimg
==
1
){
if
(
this
.
Choiceimg
==
1
){
this
.
msg
.
BackImg
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
BackImg
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
2
){
}
else
if
(
this
.
Choiceimg
==
2
){
this
.
msg
.
AdvertisingImg
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
AdvertisingImg
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
3
){
}
else
if
(
this
.
Choiceimg
==
3
){
this
.
msg
.
ExplainIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
ExplainIco
=
this
.
getIconLink
(
msg
.
url
);
}
}
},
},
//获取选择链接
//获取选择链接
...
...
src/components/setup/basicSetUp.vue
View file @
575c7adb
...
@@ -1099,32 +1099,31 @@
...
@@ -1099,32 +1099,31 @@
this
.
changeState
=
false
;
this
.
changeState
=
false
;
// this.addMsg.Image=msg.id;
// this.addMsg.Image=msg.id;
if
(
this
.
Choiceimg
==
1
){
if
(
this
.
Choiceimg
==
1
){
this
.
msg
.
MinShareIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
MinShareIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
2
){
}
else
if
(
this
.
Choiceimg
==
2
){
this
.
msg
.
UnfoldIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
UnfoldIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
3
){
}
else
if
(
this
.
Choiceimg
==
3
){
this
.
msg
.
PackUpIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
PackUpIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
4
){
}
else
if
(
this
.
Choiceimg
==
4
){
this
.
msg
.
OnlineServiceIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
OnlineServiceIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
5
){
}
else
if
(
this
.
Choiceimg
==
5
){
this
.
msg
.
BackTopNavigationIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
BackTopNavigationIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
6
){
}
else
if
(
this
.
Choiceimg
==
6
){
this
.
msg
.
OneCallIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
OneCallIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
7
){
}
else
if
(
this
.
Choiceimg
==
7
){
this
.
msg
.
ServiceOutLinkIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
ServiceOutLinkIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
8
){
}
else
if
(
this
.
Choiceimg
==
8
){
this
.
msg
.
ShortcutNavigationIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
ShortcutNavigationIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
9
){
}
else
if
(
this
.
Choiceimg
==
9
){
this
.
msg
.
TurnMiniIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
TurnMiniIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
10
){
}
else
if
(
this
.
Choiceimg
==
10
){
this
.
msg
.
TurnIco
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
TurnIco
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
11
){
}
else
if
(
this
.
Choiceimg
==
11
){
this
.
msg
.
SellOutDefaultIco
=
0
this
.
msg
.
SellOutDefaultIco
=
0
this
.
msg
.
GoodsNormalPic
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
this
.
msg
.
GoodsNormalPic
=
this
.
getIconLink
(
msg
.
url
)
;
}
else
if
(
this
.
Choiceimg
==
12
){
}
else
if
(
this
.
Choiceimg
==
12
){
this
.
msg
.
SellOutDefaultIco
=
0
this
.
msg
.
SellOutDefaultIco
=
0
this
.
msg
.
GoodsZoomPic
=
this
.
getIconLink
(
msg
.
url
);
this
.
msg
.
GoodsZoomPic
=
"http://viitto-1301420277.cos.ap-chengdu.myqcloud.com"
+
msg
.
url
;
}
}
},
},
preserve
(){
preserve
(){
...
...
src/plug/index.js
View file @
575c7adb
...
@@ -55,10 +55,8 @@ export default {
...
@@ -55,10 +55,8 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
let
domainUrl
=
''
;
//domainUrl = "http://192.168.2.214:8200";
//domainUrl = "http://192.168.2.214:8200";
// domainUrl = "https://localhost:5001";
domainUrl
=
"https://localhost:5001"
;
domainUrl
=
"http://192.168.0.102:8200"
;
// domainUrl = "http://192.168.2.17:8088";
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
domainUrl
=
"http://testapi.oytour.com"
;
domainUrl
=
"http://testapi.oytour.com"
;
...
@@ -70,7 +68,7 @@ export default {
...
@@ -70,7 +68,7 @@ export default {
DomainUrl
:
domainUrl
,
DomainUrl
:
domainUrl
,
//常用提交数据URL
//常用提交数据URL
PostUrl
:
domainUrl
+
"/api/common/post"
,
PostUrl
:
domainUrl
+
"/api/common/post"
,
ImageUrl
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
ImageUrl
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
};
};
return
obj
;
return
obj
;
},
},
...
@@ -185,11 +183,11 @@ export default {
...
@@ -185,11 +183,11 @@ export default {
//公用判断图片地址 判断是否包含http
//公用判断图片地址 判断是否包含http
Vue
.
prototype
.
getIconLink
=
function
(
url
)
{
Vue
.
prototype
.
getIconLink
=
function
(
url
)
{
let
str
=
''
let
str
=
''
if
(
url
!=
''
)
{
if
(
url
&&
url
!=
''
)
{
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
if
(
url
.
indexOf
(
'http'
)
!=
-
1
)
{
str
=
url
str
=
url
}
else
{
}
else
{
str
=
'http://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
+
url
str
=
this
.
domainManager
().
ImageUrl
+
url
;
}
}
return
str
;
return
str
;
}
}
...
@@ -203,10 +201,10 @@ export default {
...
@@ -203,10 +201,10 @@ export default {
var
apiurl
=
this
.
domainManager
().
DomainUrl
+
cmd
;
var
apiurl
=
this
.
domainManager
().
DomainUrl
+
cmd
;
var
timestamp
=
(
new
Date
()).
valueOf
();
var
timestamp
=
(
new
Date
()).
valueOf
();
this
.
apiurl
=
apiurl
;
this
.
apiurl
=
apiurl
;
if
(
!
localStorage
.
mall_userInfo
&&
localStorage
.
mall_userInfo
!=
""
if
(
!
localStorage
.
mall_userInfo
&&
localStorage
.
mall_userInfo
!=
""
&&
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/login"
this
.
$route
.
path
.
toLowerCase
()
!=
"/login"
&&
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/register"
this
.
$route
.
path
.
toLowerCase
()
!=
"/register"
&&
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/forgetpassword"
this
.
$route
.
path
.
toLowerCase
()
!=
"/forgetpassword"
)
{
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/login'
path
:
'/login'
...
...
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