Commit 26b459ef authored by sujie@126.com's avatar sujie@126.com

dd

parent 3ed682cd
...@@ -22,6 +22,9 @@ Component({ ...@@ -22,6 +22,9 @@ Component({
imageRoot: app.globalData.imageRoot, imageRoot: app.globalData.imageRoot,
imageVersion: app.globalData.imageVersion, imageVersion: app.globalData.imageVersion,
localImageRoot: '../../images/', localImageRoot: '../../images/',
titleBarHeight: Number(app.globalData.titleBarHeight),
statusBarHeight: Number(app.globalData.statusBarHeight),
top: Number(app.globalData.titleBarHeight)+Number(app.globalData.statusBarHeight)
}, },
ready(){ ready(){
this.setData({ this.setData({
......
<!--components/guidecollection/index.wxml--> <!--components/guidecollection/index.wxml-->
<cover-view class="guidecollection-box {{custom? 'custom': ''}}" wx:if="{{isShow}}"> <cover-view class="guidecollection-box {{custom? 'custom': ''}}" style="{{custom ? 'padding-top:'+top+'px' :''}}" 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="finger" style="{{custom ? 'top:'+top+'px' :''}}" 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-image class="line" style="{{custom ? 'top:'+(top+36)+'px' :''}}" 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="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="second">
<cover-view class="text">2. 选择“添加到我的小程序”</cover-view> <cover-view class="text">2. 选择“添加到我的小程序”</cover-view>
<cover-image class="img1" src="{{imageRoot}}2c/collectioncomponents/img1.png" bindload="" binderror=""></cover-image> <cover-image class="img1" src="{{imageRoot}}2c/collectioncomponents/img1.png" bindload="" binderror=""></cover-image>
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
text-align: center; text-align: center;
} }
.custom{ .custom{
padding-top: 110rpx; /* padding-top: 110rpx; */
} }
.custom .finger{ .custom .finger{
top: 110rpx; top: 110rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment