Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
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 e9c491a0
authored
Aug 29, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
a54f8e82
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
11 additions
and
99 deletions
src/assets/css/crowdfunding.scss
src/assets/css/index.scss
src/views/crowdfunding/components/Action.vue → src/components/Action.vue
src/views/crowdfunding/components/CountDown.vue → src/components/CountDown.vue
src/views/crowdfunding/components/KfModal.vue → src/components/KfModal.vue
src/views/crowdfunding/components/MoveGroup.vue → src/components/MoveGroup.vue
src/views/crowdfunding/components/PayModal.vue → src/components/PayModal.vue
src/views/crowdfunding/components/Serve.vue → src/components/Serve.vue
src/views/crowdfunding/components/ServeModal.vue → src/components/ServeModal.vue
src/components/TabBar.vue
src/views/crowdfunding/components/createOrderImg.vue → src/components/createOrderImg.vue
src/components/index.js
src/views/crowdfunding/components/index.js
src/views/crowdfunding/index.vue
src/views/crowdfunding/orderList.vue
src/views/crowdfunding/success.vue
src/assets/css/crowdfunding.scss
View file @
e9c491a
...
...
@@ -77,7 +77,7 @@
position
:
relative
;
width
:
100%
;
overflow
:
hidden
;
margin-bottom
:
10px
;
img
{
object-fit
:
contain
;
height
:
auto
;
...
...
@@ -184,7 +184,7 @@
.onlyone
{
.item
{
width
:
343px
;
width
:
100%
;
height
:
192px
;
margin
:
0
auto
!
important
;
...
...
src/assets/css/index.scss
View file @
e9c491a
...
...
@@ -10,12 +10,12 @@ body .app {
height
:
100%
;
// overflow: hidden;
--themeColor
:
#3975C6
;
-webkit-font-smoothing
:
antialiased
;
}
*
{
margin
:
0
;
padding
:
0
;
-webkit-font-smoothing
:
antialiased
;
}
img
{
...
...
src/
views/crowdfunding/
components/Action.vue
→
src/components/Action.vue
View file @
e9c491a
...
...
@@ -65,10 +65,8 @@
<
script
type=
'text/ecmascript-6'
>
import
{
shopmallApi
,
wxConfig
}
from
'@/api'
import
{
util
}
from
'@/utils'
import
PayModal
from
'./PayModal.vue'
export
default
{
name
:
'Action'
,
components
:
{
PayModal
},
props
:
[
'detail'
,
'updata'
],
watch
:
{
'detail'
:
function
(
n
)
{
...
...
src/
views/crowdfunding/
components/CountDown.vue
→
src/components/CountDown.vue
View file @
e9c491a
File moved
src/
views/crowdfunding/
components/KfModal.vue
→
src/components/KfModal.vue
View file @
e9c491a
File moved
src/
views/crowdfunding/
components/MoveGroup.vue
→
src/components/MoveGroup.vue
View file @
e9c491a
File moved
src/
views/crowdfunding/
components/PayModal.vue
→
src/components/PayModal.vue
View file @
e9c491a
File moved
src/
views/crowdfunding/
components/Serve.vue
→
src/components/Serve.vue
View file @
e9c491a
...
...
@@ -61,6 +61,8 @@ export default {
color
:
#999999
;
font-size
:
12px
;
font-weight
:
400
;
border-radius
:
4px
;
line-height
:
17px
;
.serve-text
{
width
:
254px
;
color
:
#2c2c2c
;
...
...
src/
views/crowdfunding/
components/ServeModal.vue
→
src/components/ServeModal.vue
View file @
e9c491a
...
...
@@ -36,7 +36,6 @@ export default {
},
watch
:
{
value
(
n
)
{
console
.
log
(
n
)
this
.
showBox
=
n
}
},
...
...
src/components/TabBar.vue
deleted
100644 → 0
View file @
a54f8e8
<
template
>
<van-tabbar
route
@
change=
"change"
v-model=
"value"
:border=
"false"
:safe-area-inset-bottom=
"true"
>
<template
v-for=
"(i,index) in data"
>
<van-tabbar-item
:key=
"index"
replace
:to=
"`/$
{i.name}`"
:name="i.name"
>
{{
i
.
title
}}
<template
#
icon=
"props"
>
<img
:src=
"props.active ? i.active : i.inactive"
/>
</
template
>
</van-tabbar-item>
</template>
</van-tabbar>
</template>
<
script
>
export
default
{
name
:
'TabBar'
,
props
:
{
data
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
}
},
data
()
{
return
{
value
:
''
}
},
methods
:
{
change
(
value
)
{
this
.
$emit
(
'change'
,
value
)
}
}
}
</
script
>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<
style
scoped
lang=
'scss'
>
.van-tabbar
{
box-shadow
:
0px
-2px
4px
0px
rgba
(
0
,
0
,
0
,
0.1
),
0px
0px
0px
0px
#e5e5e5
;
.van-tabbar-item--active
{
color
:
var
(
--themeColor
);
}
.van-tabbar-item__icon
img
{
width
:
20px
;
height
:
20px
;
}
}
</
style
>
src/
views/crowdfunding/
components/createOrderImg.vue
→
src/components/createOrderImg.vue
View file @
e9c491a
File moved
src/components/index.js
View file @
e9c491a
/*
* @Descripttion:
* @version:
* @Author: limin
* @Date: 2021-06-08 19:20:13
* @LastEditors: limin
* @LastEditTime: 2021-06-25 18:09:28
*/
import
Vue
from
'vue'
const
componentsFiles
=
require
.
context
(
`./`
,
true
,
/.vue$/
)
componentsFiles
.
keys
().
forEach
(
path
=>
{
const
component
=
componentsFiles
(
path
).
default
Vue
.
component
(
component
.
name
,
component
)
})
// export default [Icon, NavBar, TabBar, Organization, CustomerList, CustomerDetail, OrderList, OrderDetail, TimerTabs, CarType, RadioCell, CheckBoxCell, ValidateField]
\ No newline at end of file
const
component
=
componentsFiles
(
path
).
default
console
.
log
(
component
)
Vue
.
component
(
component
.
name
,
component
)
})
\ No newline at end of file
src/views/crowdfunding/components/index.js
deleted
100644 → 0
View file @
a54f8e8
import
MoveGroup
from
'./MoveGroup.vue'
import
CountDown
from
'./CountDown.vue'
import
Action
from
'./Action.vue'
import
KfModal
from
'./KfModal.vue'
import
createOrderImg
from
'./createOrderImg.vue'
import
Serve
from
'./Serve.vue'
export
{
MoveGroup
,
CountDown
,
Action
,
KfModal
,
createOrderImg
,
Serve
}
\ No newline at end of file
src/views/crowdfunding/index.vue
View file @
e9c491a
...
...
@@ -159,6 +159,8 @@
</template>
<!-- 👇 服务说明 -->
<serve
/>
<!-- 👇 玩家心得&商品答疑 -->
<!-- <share-user-info /> -->
<!--👇 活动视频 -->
<
template
v-if=
"detail.activityVideos && detail.activityVideos.length"
>
<div
:class=
"['video-box flex',
{ onlyone: detail.activityVideos.length == 1 }, { onlytwo: detail.activityVideos.length == 2 }]">
...
...
@@ -271,10 +273,8 @@
<
script
type=
"text/ecmascript-6"
>
import
{
shopmallApi
,
wxConfig
,
mapApi
,
bigdatautilApi
}
from
'@/api'
import
{
MoveGroup
,
CountDown
,
KfModal
,
Action
,
Serve
}
from
'./components/index'
import
{
Audio
}
from
'@/utils/audio'
export
default
{
components
:
{
MoveGroup
,
CountDown
,
KfModal
,
Action
,
Serve
},
name
:
'index'
,
data
()
{
return
{
...
...
src/views/crowdfunding/orderList.vue
View file @
e9c491a
...
...
@@ -53,10 +53,8 @@
<
script
type=
'text/ecmascript-6'
>
import
{
shopmallApi
}
from
'@/api'
import
{
createOrderImg
}
from
'./components/index'
const
swipeStyle
=
'padding-left: 9px;'
export
default
{
components
:
{
createOrderImg
},
name
:
'orderList'
,
data
()
{
return
{
...
...
src/views/crowdfunding/success.vue
View file @
e9c491a
...
...
@@ -24,10 +24,8 @@
</template>
<
script
type=
'text/ecmascript-6'
>
import
{
createOrderImg
}
from
'./components/index'
export
default
{
components
:
{
createOrderImg
},
name
:
'success'
,
data
()
{
return
{
...
...
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