Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
home-with-kids-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f7adddd2
authored
2019-12-16 16:09:18 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
c84a0a75
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
4 deletions
src/app.scss
src/component/shortcut/shortcut.js
src/component/shortcut/shortcut.scss
src/component/shortcut/shortcut.wxml
src/pages/detail/detail.scss
src/pages/detail/detail.wxml
src/pages/personal-list/personal-list.wxml
src/pages/reward-completed/reward-completed.wxml
src/app.scss
View file @
f7adddd
...
...
@@ -39,7 +39,8 @@ button::after {
}
button
{
background-color
:
#fff
;
// background-color: #fff;
background-color
:
transparent
;
border-radius
:
0
;
}
...
...
src/component/shortcut/shortcut.js
View file @
f7adddd
...
...
@@ -20,6 +20,10 @@ Component({
pics
:
{
type
:
Array
,
value
:
[]
},
contact
:
{
type
:
Boolean
,
value
:
true
}
},
data
:
{
...
...
@@ -60,6 +64,12 @@ Component({
default
:
break
;
}
},
// 客服消息
handleContact
(
e
)
{
console
.
log
(
"handleContact"
);
console
.
log
(
e
.
detail
.
path
)
console
.
log
(
e
.
detail
.
query
)
}
}
})
...
...
src/component/shortcut/shortcut.scss
View file @
f7adddd
...
...
@@ -28,4 +28,8 @@
.point
{
background-color
:
rgba
(
$color
:
#000000
,
$alpha
:
0
.6
);
}
.contact
{
color
:
#ffffff
;
}
}
...
...
src/component/shortcut/shortcut.wxml
View file @
f7adddd
...
...
@@ -5,4 +5,7 @@
<view wx:for="{{pics}}" wx:key="{{index}}" data-data="{{item}}" bindtap="onTapHandler" class="btn">
<image mode="aspectFit" src="{{'../../image/shortcut/'+item+'.png'}}" class="pics ani-tada" />
</view>
<button class="btn point" wx:if="{{contact}}" open-type="contact" bindcontact="handleContact">
<span class="iconfont iconicon-test3 contact"></span>
</button>
</view>
...
...
src/pages/detail/detail.scss
View file @
f7adddd
...
...
@@ -32,6 +32,7 @@
width
:
100%
;
margin
:
0
auto
;
// padding: 10px;
max-height
:
800px
;
.vid
{
text-align
:
center
;
...
...
src/pages/detail/detail.wxml
View file @
f7adddd
...
...
@@ -81,4 +81,4 @@
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<shortcut class="red-p" types="{{[]}}" pics="{{['red-package']}}"></shortcut>
<
shortcut></shortcut
>
<
!-- <shortcut></shortcut> --
>
...
...
src/pages/personal-list/personal-list.wxml
View file @
f7adddd
...
...
@@ -36,4 +36,4 @@
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<
shortcut></shortcut
>
<
!-- <shortcut></shortcut> --
>
...
...
src/pages/reward-completed/reward-completed.wxml
View file @
f7adddd
...
...
@@ -57,4 +57,4 @@
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<
shortcut></shortcut
>
<
!-- <shortcut></shortcut> --
>
...
...
Please
register
or
sign in
to post a comment