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

feat(API): add storage

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