Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
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
wangxuelai
wechatapp.shangjiadao.com
Commits
26b459ef
Commit
26b459ef
authored
Oct 17, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
3ed682cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
index.js
components/guidecollection/index.js
+3
-0
index.wxml
components/guidecollection/index.wxml
+4
-4
index.wxss
components/guidecollection/index.wxss
+1
-1
No files found.
components/guidecollection/index.js
View file @
26b459ef
...
...
@@ -22,6 +22,9 @@ Component({
imageRoot
:
app
.
globalData
.
imageRoot
,
imageVersion
:
app
.
globalData
.
imageVersion
,
localImageRoot
:
'../../images/'
,
titleBarHeight
:
Number
(
app
.
globalData
.
titleBarHeight
),
statusBarHeight
:
Number
(
app
.
globalData
.
statusBarHeight
),
top
:
Number
(
app
.
globalData
.
titleBarHeight
)
+
Number
(
app
.
globalData
.
statusBarHeight
)
},
ready
(){
this
.
setData
({
...
...
components/guidecollection/index.wxml
View file @
26b459ef
<!--components/guidecollection/index.wxml-->
<cover-view class="guidecollection-box {{custom? 'custom': ''}}" wx:if="{{isShow}}">
<cover-image class="finger" src="{{imageRoot}}2c/collectioncomponents/finger.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<cover-image class="line" src="{{imageRoot}}2c/collectioncomponents/line.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<cover-view class="first">1. 点击右上角 <cover-image class="dot" src="{{imageRoot}}2c/collectioncomponents/dot.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /></cover-view>
<cover-view class="guidecollection-box {{custom? 'custom': ''}}"
style="{{custom ? 'padding-top:'+top+'px' :''}}"
wx:if="{{isShow}}">
<cover-image class="finger" s
tyle="{{custom ? 'top:'+top+'px' :''}}" s
rc="{{imageRoot}}2c/collectioncomponents/finger.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<cover-image class="line" s
tyle="{{custom ? 'top:'+(top+36)+'px' :''}}" s
rc="{{imageRoot}}2c/collectioncomponents/line.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<cover-view class="first">1. 点击右上角 <cover-image class="dot"
src="{{imageRoot}}2c/collectioncomponents/dot.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /></cover-view>
<cover-view class="second">
<cover-view class="text">2. 选择“添加到我的小程序”</cover-view>
<cover-image class="img1" src="{{imageRoot}}2c/collectioncomponents/img1.png" bindload="" binderror=""></cover-image>
...
...
components/guidecollection/index.wxss
View file @
26b459ef
...
...
@@ -89,7 +89,7 @@
text-align: center;
}
.custom{
padding-top: 110rpx;
/* padding-top: 110rpx; */
}
.custom .finger{
top: 110rpx;
...
...
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