选择地址添加按钮
This commit is contained in:
parent
8ab73e64ef
commit
3651ca5385
23
components/chooseaddr/addradd/addradd.js
Normal file
23
components/chooseaddr/addradd/addradd.js
Normal file
@ -0,0 +1,23 @@
|
||||
// components/chooseaddr/addradd/addradd.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
4
components/chooseaddr/addradd/addradd.json
Normal file
4
components/chooseaddr/addradd/addradd.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
1
components/chooseaddr/addradd/addradd.wxml
Normal file
1
components/chooseaddr/addradd/addradd.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view class="btn">添加地址</view>
|
11
components/chooseaddr/addradd/addradd.wxss
Normal file
11
components/chooseaddr/addradd/addradd.wxss
Normal 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;
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"address": "/components/chooseaddr/address/address"
|
||||
"address": "/components/chooseaddr/address/address",
|
||||
"addradd": "/components/chooseaddr/addradd/addradd"
|
||||
}
|
||||
}
|
@ -2,4 +2,9 @@
|
||||
.addr {
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.btn1 {
|
||||
position: fixed;
|
||||
bottom: 149rpx;
|
||||
left: 50rpx;
|
||||
}
|
||||
}
|
@ -8,4 +8,7 @@
|
||||
<view class="addr">
|
||||
<address></address>
|
||||
</view>
|
||||
<view class="btn1">
|
||||
<addradd></addradd>
|
||||
</view>
|
||||
</view>
|
@ -1,3 +1,9 @@
|
||||
.chooseaddress .addr {
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
|
||||
.chooseaddress .btn1 {
|
||||
position: fixed;
|
||||
bottom: 149rpx;
|
||||
left: 50rpx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user