zhengjei #13

Manually merged
asd merged 2 commits from zhengjei into master 2019-12-14 10:15:40 +08:00
8 changed files with 55 additions and 1 deletions

View File

@ -0,0 +1,23 @@
// components/chooseaddr/addradd/addradd.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="btn">添加地址</view>

View File

@ -0,0 +1,11 @@
.btn {
width: 650rpx;
height: 98rpx;
background: rgba(69, 199, 120, 1);
border-radius: 49rpx;
margin: 0 auto;
font-size: 36rpx;
color: white;
line-height: 98rpx;
text-align: center;
}

View File

@ -1,5 +1,6 @@
{ {
"usingComponents": { "usingComponents": {
"address": "/components/chooseaddr/address/address" "address": "/components/chooseaddr/address/address",
"addradd": "/components/chooseaddr/addradd/addradd"
} }
} }

View File

@ -2,4 +2,9 @@
.addr { .addr {
margin-left: 30rpx; margin-left: 30rpx;
} }
.btn1 {
position: fixed;
bottom: 149rpx;
left: 50rpx;
}
} }

View File

@ -8,4 +8,7 @@
<view class="addr"> <view class="addr">
<address></address> <address></address>
</view> </view>
<view class="btn1">
<addradd></addradd>
</view>
</view> </view>

View File

@ -1,3 +1,9 @@
.chooseaddress .addr { .chooseaddress .addr {
margin-left: 30rpx; margin-left: 30rpx;
} }
.chooseaddress .btn1 {
position: fixed;
bottom: 149rpx;
left: 50rpx;
}