From 2a5b7596d3cfdd8279fc16e60cfac6d049e7862c Mon Sep 17 00:00:00 2001
From: asd <374367073@qq.com>
Date: Sat, 14 Dec 2019 11:53:14 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9C=B0=E5=9D=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 3 +
app.json | 2 +
components/addaddress/shuru/shuru.js | 25 ++++++++
components/addaddress/shuru/shuru.json | 4 ++
components/addaddress/shuru/shuru.scss | 32 +++++++++++
components/addaddress/shuru/shuru.wxml | 11 ++++
components/addaddress/shuru/shuru.wxss | 37 ++++++++++++
components/chooseaddr/addradd/addradd.js | 34 +++++------
components/chooseaddr/addradd/addradd.wxml | 2 +-
components/chooseaddr/addradd/addradd.wxss | 4 +-
pages/addaddress/addaddress.js | 66 ++++++++++++++++++++++
pages/addaddress/addaddress.json | 6 ++
pages/addaddress/addaddress.scss | 8 +++
pages/addaddress/addaddress.wxml | 10 ++++
pages/addaddress/addaddress.wxss | 9 +++
pages/chooseaddr/chooseaddr.wxml | 2 +-
16 files changed, 234 insertions(+), 21 deletions(-)
create mode 100644 components/addaddress/shuru/shuru.js
create mode 100644 components/addaddress/shuru/shuru.json
create mode 100644 components/addaddress/shuru/shuru.scss
create mode 100644 components/addaddress/shuru/shuru.wxml
create mode 100644 components/addaddress/shuru/shuru.wxss
create mode 100644 pages/addaddress/addaddress.js
create mode 100644 pages/addaddress/addaddress.json
create mode 100644 pages/addaddress/addaddress.scss
create mode 100644 pages/addaddress/addaddress.wxml
create mode 100644 pages/addaddress/addaddress.wxss
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 @@
+