Commit 03befc0a by 李嘉林

个人资料原生也

parent a8290443
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
"pages/changeAdr/main", "pages/changeAdr/main",
"pages/downFile/main", "pages/downFile/main",
"pages/wxArticle/main", "pages/wxArticle/main",
"pages/userInfo/main",
"pages/memberCode/main" "pages/memberCode/main"
], ],
"subPackages": [ "subPackages": [
......
import Vue from 'vue'
import App from './index'
const app = new Vue(App)
app.$mount()
{
"usingComponents": {
"van-popup": "/static/vant/popup/index",
"van-picker": "/static/vant/picker/index",
"van-field": "/static/vant/field/index",
"van-datetime-picker": "/static/vant/datetime-picker/index",
"van-cell": "/static/vant/cell/index",
"van-icon": "/static/vant/icon/index"
},
"backgroundColor": "#f5f5f5"
}
\ No newline at end of file
...@@ -15,3 +15,13 @@ ...@@ -15,3 +15,13 @@
.flex { .flex {
display: flex; display: flex;
} }
.flex-btw {
justify-content: space-between;
align-items: center;
}
.flex-cen {
justify-content: center;
align-items: center;
}
.text-overflow{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text-overflow2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.flex{display:flex} .text-overflow{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text-overflow2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.flex{display:flex}.flex-btw{justify-content:space-between;align-items:center}.flex-cen{justify-content:center;align-items:center}
...@@ -15,6 +15,16 @@ ...@@ -15,6 +15,16 @@
display: flex; display: flex;
} }
.flex-btw {
justify-content: space-between;
align-items: center;
}
.flex-cen {
justify-content: center;
align-items: center;
}
@mixin btn { @mixin btn {
width: 148px; width: 148px;
height: 40px; height: 40px;
......
{
"component": true,
"usingComponents": {
"van-picker": "../picker/index"
}
}
<van-picker
class="van-datetime-picker"
active-class="active-class"
toolbar-class="toolbar-class"
column-class="column-class"
title="{{ title }}"
columns="{{ columns }}"
item-height="{{ itemHeight }}"
show-toolbar="{{ showToolbar }}"
visible-item-count="{{ visibleItemCount }}"
confirm-button-text="{{ confirmButtonText }}"
cancel-button-text="{{ cancelButtonText }}"
bind:change="onChange"
bind:confirm="onConfirm"
bind:cancel="onCancel"
/>
@import '../common/index.wxss';
\ No newline at end of file
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