feat: 修改scrollTop 单位
parent
38d1199989
commit
86a192e36b
|
@ -9,9 +9,9 @@ Page({
|
|||
bgColor: '#ffffff',
|
||||
bgColorTop: '#333333',
|
||||
bgColorBottom: '#999999',
|
||||
scrollTop: '200px',
|
||||
scrollTop: '100rpx',
|
||||
duration: 200,
|
||||
fontSize: '20px',
|
||||
fontSize: '30px',
|
||||
pageStyle: 'color: red',
|
||||
navigationTitle: '初始化navigation-bar文档',
|
||||
navigationBgColor: '#000000',
|
||||
|
@ -34,6 +34,7 @@ Page({
|
|||
bgColorBottom: '#333333',
|
||||
fontSize: '30px',
|
||||
pageStyle: 'color: blue',
|
||||
scrollTop: '500rpx'
|
||||
|
||||
})
|
||||
},
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
background-color='{{bgColor}}'
|
||||
background-color-top="{{bgColorTop}}"
|
||||
background-color-bottom="{{bgColorBottom}}"
|
||||
scroll-top="{{scrollTop}}}"
|
||||
scroll-top="{{scrollTop}}"
|
||||
scrollDuration="{{duration}}"
|
||||
root-font-size='{{fontSize}}'
|
||||
page-style='{{pageStyle}}'
|
||||
|
@ -22,7 +22,6 @@
|
|||
color-animation-timing-func='{{func}}'
|
||||
></navigation-bar>
|
||||
</page-meta>
|
||||
|
||||
<view class="container">
|
||||
<template is="head" data="{{title: 'page-meta'}}"/>
|
||||
<view class="page-body">
|
||||
|
|
Loading…
Reference in New Issue