提交 1ed51d45 编写于 作者: Y yurj26

feat(API): add storage

上级 b8bc87b0
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding-left: 30rpx; padding-left: 30rpx;
border-bottom: 1px solid #c8c7cc;
} }
.uni-list-cell { .uni-list-cell {
...@@ -68,8 +69,7 @@ ...@@ -68,8 +69,7 @@
} }
.uni-list-cell-left { .uni-list-cell-left {
font-size: 28rpx; padding: 0 30rpx 0 20rpx;
padding: 0 30rpx;
} }
.uni-list-cell-db, .uni-list-cell-db,
...@@ -78,19 +78,21 @@ ...@@ -78,19 +78,21 @@
} }
.uni-label { .uni-label {
width: 210rpx; width: 210rpx;
/* word-wrap: break-word; font-size: 28rpx;
word-break: break-all; /* word-wrap: break-word;
text-indent:20rpx; */ word-break: break-all;
text-indent:20rpx; */
} }
.uni-input { .uni-input {
height: 50rpx; height: 50rpx;
padding: 15rpx 25rpx; padding: 15rpx 25rpx;
line-height:50rpx; line-height: 50rpx;
font-size:28rpx; font-size: 28rpx;
background:#FFF; background: #FFF;
flex: 1; flex: 1;
box-sizing: content-box;
} }
.uni-flex { .uni-flex {
......
{ {
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/tabBar/component/component", "path": "pages/tabBar/component/component",
"style": { "style": {
...@@ -19,7 +18,6 @@ ...@@ -19,7 +18,6 @@
"navigationBarTitleText": "scroll-view" "navigationBarTitleText": "scroll-view"
} }
}, },
{ {
"path": "pages/component/text/text", "path": "pages/component/text/text",
"style": { "style": {
...@@ -81,7 +79,6 @@ ...@@ -81,7 +79,6 @@
"navigationBarTitleText": "页面跳转" "navigationBarTitleText": "页面跳转"
} }
}, },
{ {
"path": "pages/API/navigator/new-page/new-uvue-page-1", "path": "pages/API/navigator/new-page/new-uvue-page-1",
"style": { "style": {
...@@ -93,8 +90,13 @@ ...@@ -93,8 +90,13 @@
"style": { "style": {
"navigationBarTitleText": "新UVUE页面2" "navigationBarTitleText": "新UVUE页面2"
} }
},
{
"path": "pages/API/storage/storage",
"style": {
"navigationBarTitleText": "数据存储"
}
} }
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-common-mt"> <view class="uni-common-mt">
<view class="uni-list"> <view class="uni-list">
<view class="uni-list-cell"> <view class="uni-list-cell uni-list-cell-line">
<view class="uni-list-cell-left"> <view class="uni-list-cell-left">
<view class="uni-label">key</view> <view class="uni-label">key</view>
</view> </view>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
.button-sp-area { .button-sp-area {
margin: 0 auto; margin: 0 auto;
width: 60%; width: 70%;
} }
.mini-btn { .mini-btn {
......
...@@ -317,7 +317,8 @@ ...@@ -317,7 +317,8 @@
pages: [ pages: [
{ {
name: "数据存储(key-value)", name: "数据存储(key-value)",
url: "storage", url: "storage",
enable: true
}, },
// #ifdef APP-PLUS // #ifdef APP-PLUS
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册