Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
ddh-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 495b60c1
authored
Jun 18, 2021
by
吴娟华
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'修改'
1 parent
e5a75637
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
113 deletions
src/assets/images/sprite.png
src/assets/scss/sprite.scss
src/assets/spritesmith/banner.png
src/mixins/list.js
src/views/common/index.vue
src/views/common/marketing.vue
src/views/equity/index.vue
vue.config.js
src/assets/images/sprite.png
View file @
495b60c
1.73 MB
|
W:
|
H:
1.73 MB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/scss/sprite.scss
View file @
495b60c
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
903px
824px
;}
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
903px
824px
;}
.icon-400
{
width
:
59px
;
height
:
16px
;
background-position
:
-731px
-636px
;}
.icon-400
{
width
:
59px
;
height
:
16px
;
background-position
:
-731px
-636px
;}
.icon-10000
{
width
:
80px
;
height
:
16px
;
background-position
:
-346px
-18
8
px
;}
.icon-10000
{
width
:
80px
;
height
:
16px
;
background-position
:
-346px
-18
6
px
;}
.icon-1yaowang
{
width
:
46px
;
height
:
46px
;
background-position
:
-560px
-778px
;}
.icon-1yaowang
{
width
:
46px
;
height
:
46px
;
background-position
:
-560px
-778px
;}
.icon-aiqiyi
{
width
:
46px
;
height
:
46px
;
background-position
:
-112px
-666px
;}
.icon-aiqiyi
{
width
:
46px
;
height
:
46px
;
background-position
:
-112px
-666px
;}
.icon-banner
{
width
:
375px
;
height
:
17
8
px
;
background-position
:
-346px
0px
;}
.icon-banner
{
width
:
375px
;
height
:
17
6
px
;
background-position
:
-346px
0px
;}
.icon-bgy
{
width
:
46px
;
height
:
46px
;
background-position
:
-56px
-722px
;}
.icon-bgy
{
width
:
46px
;
height
:
46px
;
background-position
:
-56px
-722px
;}
.icon-bilibili
{
width
:
46px
;
height
:
46px
;
background-position
:
-224px
-722px
;}
.icon-bilibili
{
width
:
46px
;
height
:
46px
;
background-position
:
-224px
-722px
;}
.icon-boanfei
{
width
:
46px
;
height
:
46px
;
background-position
:
-801px
-56px
;}
.icon-boanfei
{
width
:
46px
;
height
:
46px
;
background-position
:
-801px
-56px
;}
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
.icon-device-bg
{
width
:
375px
;
height
:
80px
;
background-position
:
0px
-390px
;}
.icon-device-bg
{
width
:
375px
;
height
:
80px
;
background-position
:
0px
-390px
;}
.icon-device-bind
{
width
:
54px
;
height
:
54px
;
background-position
:
-731px
-280px
;}
.icon-device-bind
{
width
:
54px
;
height
:
54px
;
background-position
:
-731px
-280px
;}
.icon-device-scan
{
width
:
20px
;
height
:
20px
;
background-position
:
-682px
-390px
;}
.icon-device-scan
{
width
:
20px
;
height
:
20px
;
background-position
:
-682px
-390px
;}
.icon-device-sn
{
width
:
20px
;
height
:
16px
;
background-position
:
-436px
-18
8
px
;}
.icon-device-sn
{
width
:
20px
;
height
:
16px
;
background-position
:
-436px
-18
6
px
;}
.icon-device-vin
{
width
:
20px
;
height
:
16px
;
background-position
:
-466px
-18
8
px
;}
.icon-device-vin
{
width
:
20px
;
height
:
16px
;
background-position
:
-466px
-18
6
px
;}
.icon-didi
{
width
:
46px
;
height
:
46px
;
background-position
:
-504px
-666px
;}
.icon-didi
{
width
:
46px
;
height
:
46px
;
background-position
:
-504px
-666px
;}
.icon-dingdang
{
width
:
46px
;
height
:
46px
;
background-position
:
-560px
-666px
;}
.icon-dingdang
{
width
:
46px
;
height
:
46px
;
background-position
:
-560px
-666px
;}
.icon-edaijia
{
width
:
46px
;
height
:
46px
;
background-position
:
-616px
-666px
;}
.icon-edaijia
{
width
:
46px
;
height
:
46px
;
background-position
:
-616px
-666px
;}
...
...
src/assets/spritesmith/banner.png
View file @
495b60c
235 KB
|
W:
|
H:
125 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/mixins/list.js
View file @
495b60c
...
@@ -201,7 +201,7 @@ const data = {
...
@@ -201,7 +201,7 @@ const data = {
name
:
'哈罗出行'
,
name
:
'哈罗出行'
,
icon
:
'halou'
,
icon
:
'halou'
,
description
:
'7.5折起'
,
description
:
'7.5折起'
,
typeId
:
'un'
typeId
:
90
},
},
{
{
name
:
'青桔单车'
,
name
:
'青桔单车'
,
...
@@ -231,7 +231,7 @@ const data = {
...
@@ -231,7 +231,7 @@ const data = {
name
:
'e代驾'
,
name
:
'e代驾'
,
icon
:
'edaijia'
,
icon
:
'edaijia'
,
description
:
'9折起'
,
description
:
'9折起'
,
typeId
:
'un'
typeId
:
214
},
},
{
{
name
:
'顺丰寄件'
,
name
:
'顺丰寄件'
,
...
@@ -285,7 +285,7 @@ const data = {
...
@@ -285,7 +285,7 @@ const data = {
name
:
'拉勾教育'
,
name
:
'拉勾教育'
,
icon
:
'lagoujiaoyu'
,
icon
:
'lagoujiaoyu'
,
description
:
'1折起'
,
description
:
'1折起'
,
typeId
:
'un'
typeId
:
422
},
},
{
{
name
:
'掌门1对1'
,
name
:
'掌门1对1'
,
...
@@ -315,7 +315,7 @@ const data = {
...
@@ -315,7 +315,7 @@ const data = {
name
:
'蜗牛睡眠'
,
name
:
'蜗牛睡眠'
,
icon
:
'woniu'
,
icon
:
'woniu'
,
description
:
'1.3折起'
,
description
:
'1.3折起'
,
typeId
:
'un'
typeId
:
160
},
},
{
{
name
:
'每日瑜伽'
,
name
:
'每日瑜伽'
,
...
...
src/views/common/index.vue
View file @
495b60c
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
<div
<div
class=
"item"
class=
"item"
:key=
"index"
:key=
"index"
@
click=
"unReceiveDialog"
>
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
...
@@ -68,6 +69,7 @@
...
@@ -68,6 +69,7 @@
<div
<div
class=
"item"
class=
"item"
:key=
"index"
:key=
"index"
@
click=
"unReceiveDialog"
>
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
...
@@ -82,6 +84,7 @@
...
@@ -82,6 +84,7 @@
<div
<div
class=
"item"
class=
"item"
:key=
"index"
:key=
"index"
@
click=
"unReceiveDialog"
>
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
...
@@ -96,6 +99,7 @@
...
@@ -96,6 +99,7 @@
<div
<div
class=
"item"
class=
"item"
:key=
"index"
:key=
"index"
@
click=
"unReceiveDialog"
>
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
...
@@ -110,6 +114,7 @@
...
@@ -110,6 +114,7 @@
<div
<div
class=
"item"
class=
"item"
:key=
"index"
:key=
"index"
@
click=
"unReceiveDialog"
>
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
...
@@ -124,6 +129,7 @@
...
@@ -124,6 +129,7 @@
<div
<div
class=
"item"
class=
"item"
:key=
"index"
:key=
"index"
@
click=
"unReceiveDialog"
>
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
...
...
src/views/common/marketing.vue
View file @
495b60c
...
@@ -192,9 +192,10 @@ export default {
...
@@ -192,9 +192,10 @@ export default {
<
style
lang=
'scss'
>
<
style
lang=
'scss'
>
html
,
body
{
html
,
body
{
background-color
:
#FEFAED
;
}
}
.main.marketing_page
{
.main.marketing_page
{
background-color
:
#FEFAED
;
padding
:
10px
;
padding
:
10px
;
color
:
#2c2c2c
;
color
:
#2c2c2c
;
.banner_bg{
.banner_bg{
...
...
src/views/equity/index.vue
View file @
495b60c
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<img
<img
:src=
"userInfo.logo"
:src=
"userInfo.logo"
v-if=
"userInfo.logo"
v-if=
"userInfo.logo"
class=
"user_img"
>
>
<div
<div
v-else
v-else
...
@@ -158,110 +159,6 @@
...
@@ -158,110 +159,6 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"card-box"
v-show=
"false"
>
<div
class=
"sprite-icon icon-equity-card card"
>
<div
class=
"card-name"
>
<div
class=
"sprite-icon icon-vip"
></div>
{{userInfo.memberName}}
</div>
<div
class=
"card-user"
>
<img
:src=
"userInfo.logo"
v-if=
"userInfo.logo"
>
<div
v-else
class=
"sprite-icon icon-default-avatar"
></div>
<div
class=
"card-user-info"
>
<div
class=
"card-user-info-name text-hide"
>
{{userInfo.nickName}}
</div>
<div
class=
"card-user-info-time"
>
到期:{{userInfo.time}}
</div>
</div>
</div>
<div
class=
"card-No"
>
NO:{{userInfo.cardNo}}
</div>
</div>
</div>
<div
class=
"content"
v-show=
"false"
>
<van-notice-bar
color=
"#2C2C2C"
background=
"#fff"
:left-icon=
"icon"
@
replay=
"updataNotice"
speed=
"30"
@
click=
"jumpLink({id:54})"
>
{{notice}}
</van-notice-bar>
<div
class=
"box"
>
<div
class=
"title"
>
出行特权
<div
class=
"more"
@
click=
"jumpMore"
>
更多
<div
class=
"sprite-icon icon-more"
></div>
</div>
</div>
<div
class=
"items"
>
<
template
v-for=
"(i,index) in travelList"
>
<div
class=
"item"
:key=
"index"
@
click=
"jumpLink(i)"
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div>
{{
i
.
description
}}
</div>
</div>
</
template
>
</div>
</div>
<div
class=
"box"
>
<div
class=
"title"
>
餐饮特权
<div
class=
"more"
@
click=
"jumpMore"
>
更多
<div
class=
"sprite-icon icon-more"
></div>
</div>
</div>
<div
class=
"scroll-items"
>
<
template
v-for=
"(i,index) in cateringList"
>
<div
class=
"item"
:key=
"index"
@
click=
"jumpLink(i)"
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div
class=
"item-description"
>
{{
i
.
description
}}
</div>
</div>
</
template
>
</div>
</div>
<div
class=
"box"
>
<div
class=
"title"
>
酒店旅游特权
<div
class=
"more"
@
click=
"jumpHotel"
>
更多
<div
class=
"sprite-icon icon-more"
></div>
</div>
</div>
<div
class=
"items"
>
<
template
v-for=
"(i,index) in hotelList"
>
<div
class=
"item"
:key=
"index"
@
click=
"jumpHotel"
>
<div
:class=
"['sprite-icon',`icon-$
{i.icon}`]">
</div>
<div
class=
"item-name"
>
{{
i
.
name
}}
</div>
<div>
{{
i
.
description
}}
</div>
</div>
</
template
>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -295,6 +192,7 @@ export default {
...
@@ -295,6 +192,7 @@ export default {
})
})
const
urlObj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'URL_PARAM'
))
const
urlObj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'URL_PARAM'
))
console
.
log
(
urlObj
)
if
(
urlObj
&&
urlObj
.
merchantId
)
{
if
(
urlObj
&&
urlObj
.
merchantId
)
{
equity
.
getFissionInfo
({
merchantId
:
urlObj
.
merchantId
}).
then
(
res
=>
{
equity
.
getFissionInfo
({
merchantId
:
urlObj
.
merchantId
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
...
@@ -403,6 +301,10 @@ body {
...
@@ -403,6 +301,10 @@ body {
align-items
:
center
;
align-items
:
center
;
flex
:
1
;
flex
:
1
;
align-self
:
flex-start
;
align-self
:
flex-start
;
.user_img{
width
:
50px
;
height
:
50px
;
}
.user_name
{
.user_name
{
padding
:
0
10px
;
padding
:
0
10px
;
font-size
:
16px
;
font-size
:
16px
;
...
...
vue.config.js
View file @
495b60c
...
@@ -93,6 +93,7 @@ module.exports = {
...
@@ -93,6 +93,7 @@ module.exports = {
args
[
0
].
cdn
=
CDN
args
[
0
].
cdn
=
CDN
return
args
return
args
})
})
config
.
devtool
=
"source-map"
;
}
}
// 修复HMR
// 修复HMR
config
.
resolve
.
symlinks
(
true
);
config
.
resolve
.
symlinks
(
true
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment