diff --git a/README.md b/README.md
index 2ecd4e1..a457719 100644
--- a/README.md
+++ b/README.md
@@ -37,3 +37,6 @@
- pages/chooseaddr/chooseaddr 选择地址
- chooseaddr/address 地址列表(单个)
- chooseaddr/addradd 添加按钮
+
+- pages/addaddress/addaddress 选择地址
+ - addaddress/shuru 添加地址的输入的每一项
\ No newline at end of file
diff --git a/app.json b/app.json
index d3d2319..cde0584 100644
--- a/app.json
+++ b/app.json
@@ -1,5 +1,6 @@
{
"pages": [
+ "pages/addaddress/addaddress",
"pages/chooseaddr/chooseaddr",
"pages/orderconfirm/orderconfirm",
"pages/message/message",
@@ -9,6 +10,7 @@
"pages/shopping/shopping",
"pages/search/search",
"pages/index/index"
+
],
"window": {
"backgroundTextStyle": "light",
diff --git a/components/addaddress/shuru/shuru.js b/components/addaddress/shuru/shuru.js
new file mode 100644
index 0000000..e37e8bc
--- /dev/null
+++ b/components/addaddress/shuru/shuru.js
@@ -0,0 +1,25 @@
+// components/addaddress/shuru/shuru.js
+Component({
+ /**
+ * 组件的属性列表
+ */
+ properties: {
+ left: String,
+ right: String,
+ ifarrow: Boolean
+ },
+
+ /**
+ * 组件的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 组件的方法列表
+ */
+ methods: {
+
+ }
+})
\ No newline at end of file
diff --git a/components/addaddress/shuru/shuru.json b/components/addaddress/shuru/shuru.json
new file mode 100644
index 0000000..e8cfaaf
--- /dev/null
+++ b/components/addaddress/shuru/shuru.json
@@ -0,0 +1,4 @@
+{
+ "component": true,
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/components/addaddress/shuru/shuru.scss b/components/addaddress/shuru/shuru.scss
new file mode 100644
index 0000000..fc757f7
--- /dev/null
+++ b/components/addaddress/shuru/shuru.scss
@@ -0,0 +1,32 @@
+.shuru {
+ width: 670rpx;
+ height: 100rpx;
+ border-bottom: 2rpx solid #E8E8E8;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ line-height: 100rpx;
+ font-size: 28rpx;
+ .left {
+ color: #333333;
+ }
+ .right {
+ margin: auto 0;
+ display: flex;
+ .shuru1 {
+ width: 280rpx;
+ text-align: right;
+ }
+ .shurupla {
+ color: #999999;
+ font-size: 28rpx;
+ }
+ .arrow {
+ width: 14rpx;
+ height: 25rpx;
+ background-color: #999999;
+ margin: auto 0;
+ margin-left: 27rpx;
+ }
+ }
+}
\ No newline at end of file
diff --git a/components/addaddress/shuru/shuru.wxml b/components/addaddress/shuru/shuru.wxml
new file mode 100644
index 0000000..0cd64da
--- /dev/null
+++ b/components/addaddress/shuru/shuru.wxml
@@ -0,0 +1,11 @@
+
+ {{left}}
+
+ {{right}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/addaddress/shuru/shuru.wxss b/components/addaddress/shuru/shuru.wxss
new file mode 100644
index 0000000..ed30fdb
--- /dev/null
+++ b/components/addaddress/shuru/shuru.wxss
@@ -0,0 +1,37 @@
+.shuru {
+ width: 670rpx;
+ height: 100rpx;
+ border-bottom: 2rpx solid #E8E8E8;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ line-height: 100rpx;
+ font-size: 28rpx;
+}
+
+.shuru .left {
+ color: #333333;
+}
+
+.shuru .right {
+ margin: auto 0;
+ display: flex;
+}
+
+.shuru .right .shuru1 {
+ width: 280rpx;
+ text-align: right;
+}
+
+.shuru .right .shurupla {
+ color: #999999;
+ font-size: 28rpx;
+}
+
+.shuru .right .arrow {
+ width: 14rpx;
+ height: 25rpx;
+ background-color: #999999;
+ margin: auto 0;
+ margin-left: 27rpx;
+}
diff --git a/components/chooseaddr/addradd/addradd.js b/components/chooseaddr/addradd/addradd.js
index 5ffe64e..683e157 100644
--- a/components/chooseaddr/addradd/addradd.js
+++ b/components/chooseaddr/addradd/addradd.js
@@ -1,23 +1,23 @@
// components/chooseaddr/addradd/addradd.js
Component({
- /**
- * 组件的属性列表
- */
- properties: {
+ /**
+ * 组件的属性列表
+ */
+ properties: {
+ text: String
+ },
- },
+ /**
+ * 组件的初始数据
+ */
+ data: {
- /**
- * 组件的初始数据
- */
- data: {
+ },
- },
+ /**
+ * 组件的方法列表
+ */
+ methods: {
- /**
- * 组件的方法列表
- */
- methods: {
-
- }
-})
+ }
+})
\ No newline at end of file
diff --git a/components/chooseaddr/addradd/addradd.wxml b/components/chooseaddr/addradd/addradd.wxml
index aaf3911..f5afff4 100644
--- a/components/chooseaddr/addradd/addradd.wxml
+++ b/components/chooseaddr/addradd/addradd.wxml
@@ -1 +1 @@
-添加地址
\ No newline at end of file
+{{text}}
\ No newline at end of file
diff --git a/components/chooseaddr/addradd/addradd.wxss b/components/chooseaddr/addradd/addradd.wxss
index 5815f93..fa3e6b6 100644
--- a/components/chooseaddr/addradd/addradd.wxss
+++ b/components/chooseaddr/addradd/addradd.wxss
@@ -1,8 +1,8 @@
.btn {
width: 650rpx;
height: 98rpx;
- background: rgba(69, 199, 120, 1);
- border-radius: 49rpx;
+ background: #09BB07;
+ border-radius: 10rpx;
margin: 0 auto;
font-size: 36rpx;
color: white;
diff --git a/pages/addaddress/addaddress.js b/pages/addaddress/addaddress.js
new file mode 100644
index 0000000..40bbebd
--- /dev/null
+++ b/pages/addaddress/addaddress.js
@@ -0,0 +1,66 @@
+// pages/addaddress/addaddress.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/addaddress/addaddress.json b/pages/addaddress/addaddress.json
new file mode 100644
index 0000000..32a1c58
--- /dev/null
+++ b/pages/addaddress/addaddress.json
@@ -0,0 +1,6 @@
+{
+ "usingComponents": {
+ "shuru": "/components/addaddress/shuru/shuru",
+ "addradd": "/components/chooseaddr/addradd/addradd"
+ }
+}
\ No newline at end of file
diff --git a/pages/addaddress/addaddress.scss b/pages/addaddress/addaddress.scss
new file mode 100644
index 0000000..d519b6e
--- /dev/null
+++ b/pages/addaddress/addaddress.scss
@@ -0,0 +1,8 @@
+.addaddress {
+ background-color: white;
+ .btn1 {
+ position: fixed;
+ bottom: 102rpx;
+ left: 50rpx;
+ }
+}
\ No newline at end of file
diff --git a/pages/addaddress/addaddress.wxml b/pages/addaddress/addaddress.wxml
new file mode 100644
index 0000000..5ad208b
--- /dev/null
+++ b/pages/addaddress/addaddress.wxml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/addaddress/addaddress.wxss b/pages/addaddress/addaddress.wxss
new file mode 100644
index 0000000..d41eb9f
--- /dev/null
+++ b/pages/addaddress/addaddress.wxss
@@ -0,0 +1,9 @@
+.addaddress {
+ background-color: white;
+}
+
+.addaddress .btn1 {
+ position: fixed;
+ bottom: 102rpx;
+ left: 50rpx;
+}
diff --git a/pages/chooseaddr/chooseaddr.wxml b/pages/chooseaddr/chooseaddr.wxml
index 9243819..5a4d12c 100644
--- a/pages/chooseaddr/chooseaddr.wxml
+++ b/pages/chooseaddr/chooseaddr.wxml
@@ -9,6 +9,6 @@
-
+
\ No newline at end of file