Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
8f2890f8
Commit
8f2890f8
authored
Apr 20, 2019
by
Junling Bu
Browse files
chore[litemall-vue]: 删除客服组件
parent
76269132
Changes
5
Show whitespace changes
Inline
Side-by-side
litemall-vue/src/assets/images/qc_code.png
deleted
100755 → 0
View file @
76269132
43.4 KB
litemall-vue/src/views/items/detail/index.vue
View file @
8f2890f8
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
</div>
</div>
<van-goods-action>
<van-goods-action>
<!--
<van-goods-action-mini-btn
@
click=
"doContact"
icon=
"wangwang"
iconClass=
"red afterTag"
/>
-->
<van-goods-action-mini-btn
@
click=
"toCart"
icon=
"cart"
:info=
"cartInfo"
/>
<van-goods-action-mini-btn
@
click=
"toCart"
icon=
"cart"
:info=
"cartInfo"
/>
<van-goods-action-mini-btn
<van-goods-action-mini-btn
:style=
"collectAdd ? 'color: #f7b444;':''"
:style=
"collectAdd ? 'color: #f7b444;':''"
...
@@ -53,9 +52,6 @@
...
@@ -53,9 +52,6 @@
<van-goods-action-big-btn
primary
@
click=
"openSku('buy')"
text=
"立即购买"
/>
<van-goods-action-big-btn
primary
@
click=
"openSku('buy')"
text=
"立即购买"
/>
</van-goods-action>
</van-goods-action>
<van-popup
v-model=
"showContact"
>
<md-kefu
mobile=
"16454193338"
/>
</van-popup>
</div>
</div>
</
template
>
</
template
>
...
@@ -71,8 +67,6 @@ import {
...
@@ -71,8 +67,6 @@ import {
Popup
Popup
}
from
'
vant
'
;
}
from
'
vant
'
;
import
md_kefu
from
'
@/vue/components/md-kefu/
'
;
export
default
{
export
default
{
props
:
{
props
:
{
itemId
:
[
String
,
Number
]
itemId
:
[
String
,
Number
]
...
@@ -84,9 +78,7 @@ export default {
...
@@ -84,9 +78,7 @@ export default {
isLogin
,
isLogin
,
itemImgs
:
[],
itemImgs
:
[],
collectAdd
:
false
,
collectAdd
:
false
,
showContact
:
false
,
cartInfo
:
'
0
'
,
cartInfo
:
'
0
'
,
mobile
:
'
13454193338
'
,
selectSku
:
{
selectSku
:
{
selectedNum
:
1
,
selectedNum
:
1
,
selectedSkuComb
:
{}
selectedSkuComb
:
{}
...
@@ -170,9 +162,6 @@ export default {
...
@@ -170,9 +162,6 @@ export default {
// });
// });
// }
// }
},
},
doContact
()
{
this
.
showContact
=
true
;
},
toCart
()
{
toCart
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'
cart
'
name
:
'
cart
'
...
@@ -196,7 +185,6 @@ export default {
...
@@ -196,7 +185,6 @@ export default {
},
},
components
:
{
components
:
{
[
md_kefu
.
name
]:
md_kefu
,
[
Popup
.
name
]:
Popup
,
[
Popup
.
name
]:
Popup
,
[
Swipe
.
name
]:
Swipe
,
[
Swipe
.
name
]:
Swipe
,
[
SwipeItem
.
name
]:
SwipeItem
,
[
SwipeItem
.
name
]:
SwipeItem
,
...
...
litemall-vue/src/views/user/module-server/index.vue
View file @
8f2890f8
...
@@ -6,14 +6,13 @@
...
@@ -6,14 +6,13 @@
<van-cell
title=
"常见问题"
isLink
></van-cell>
<van-cell
title=
"常见问题"
isLink
></van-cell>
</van-cell-group>
</van-cell-group>
<van-popup
v-model=
"showKefu"
>
<van-popup
v-model=
"showKefu"
>
<md-kefu
mobile=
"16454193338"
/>
电话 XXX
</van-popup>
</van-popup>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
Popup
}
from
'
vant
'
;
import
{
Popup
}
from
'
vant
'
;
import
md_kefu
from
'
@/vue/components/md-kefu/
'
;
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -23,8 +22,7 @@ export default {
...
@@ -23,8 +22,7 @@ export default {
},
},
components
:
{
components
:
{
[
Popup
.
name
]:
Popup
,
[
Popup
.
name
]:
Popup
[
md_kefu
.
name
]:
md_kefu
}
}
};
};
</
script
>
</
script
>
litemall-vue/src/views/user/tabbar-user-module.vue
View file @
8f2890f8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<!--
<van-cell
icon=
"gold-bean"
title=
"我的金豆"
isLink
/>
-->
<!--
<van-cell
icon=
"gold-bean"
title=
"我的金豆"
isLink
/>
-->
<van-cell
icon=
"dingwei"
title=
"收货地址"
to=
"/user/address"
isLink
/>
<van-cell
icon=
"dingwei"
title=
"收货地址"
to=
"/user/address"
isLink
/>
<!--
<van-cell
icon=
"id-card"
title=
"实名认证"
to=
"/user/autonym"
isLink
/>
-->
<!--
<van-cell
icon=
"id-card"
title=
"实名认证"
to=
"/user/autonym"
isLink
/>
-->
<!--
<van-cell
icon=
"kefu"
title=
"服务中心"
to=
"/user/server"
isLink
/>
-->
<van-cell
icon=
"kefu"
title=
"服务中心"
to=
"/user/server"
isLink
/>
</van-cell-group>
</van-cell-group>
</div>
</div>
</
template
>
</
template
>
...
...
litemall-vue/src/vue/components/md-kefu/index.vue
deleted
100755 → 0
View file @
76269132
<
template
>
<div
class=
"contact_popup"
>
<div
class=
"contact_box contact_top"
>
<div>
微信长按识别店主二维码
</div>
<div><img
src=
"../../../assets/images/qc_code.png"
alt=
"店主二维码"
></div>
</div>
<div
class=
"contact_box"
>
<div><van-icon
name=
"phone"
/>
{{
mobile
}}
</div>
<div
class=
"contact_btn"
><a
:href=
"'tel:' + mobile"
>
联系店家
</a></div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
md-kefu
'
,
props
:
{
qcCode
:
String
,
mobile
:
String
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
.contact_popup
{
white-space
:
nowrap
;
background-color
:
$bg-color
;
text-align
:
center
;
border-radius
:
5px
;
.contact_box
{
padding
:
20px
30px
;
>
div
:first-child
{
margin-bottom
:
20px
;
}
}
.contact_top
{
@include
one-border
;
&
::after
{
border-bottom-color
:
#999
;
}
}
.contact_btn
{
border
:
1px
solid
$red
;
width
:
80%
;
margin
:
0
auto
;
color
:
#fff
;
background-color
:
$red
;
padding
:
5px
0
;
border-radius
:
3px
;
a
{
color
:
#fff
;
display
:
block
;
}
}
img
{
max-width
:
100%
;
max-height
:
100%
;
}
}
</
style
>
Write
Preview
Supports
Markdown
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