diff --git a/src/App.vue b/src/App.vue index ecfcc74..f0a14b5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -37,6 +37,8 @@ export default { '/service-protocol', '/address-list', '/video-detail', + '/scan', + '/face-to-face', '', ]; const toDepth = routeDeep.indexOf(to.path) diff --git a/src/assets/scss/color.scss b/src/assets/scss/color.scss index ae19bd5..ee52f34 100644 --- a/src/assets/scss/color.scss +++ b/src/assets/scss/color.scss @@ -2,6 +2,7 @@ $main-bg: rgb(22, 26, 37); $active-main-bg: rgb(31, 37, 52); $second-text-color: rgb(143, 143, 158); $second-btn-color: rgb(58, 58, 70); +$second-btn-color-tran: rgba(58, 58, 70, .4); $line-color: rgb(37, 45, 66); diff --git a/src/pages/home/Message.vue b/src/pages/home/Message.vue index 967f39a..4004b44 100644 --- a/src/pages/home/Message.vue +++ b/src/pages/home/Message.vue @@ -1,15 +1,15 @@ @@ -131,8 +136,96 @@ export default { padding-bottom: 60px; color: white; + .create-chat { + padding: 10px 10px 0 10px; + z-index: 9; + position: fixed; + width: 100%; + max-height: 50vh; + overflow: auto; + bottom: 0; + background: $main-bg; + box-sizing: border-box; + border-radius: 5px 5px 0 0; + + .heng-gang { + display: flex; + justify-content: center; + + .content { + border-radius: 2px; + height: 4px; + width: 30px; + background: $second-btn-color; + margin-bottom: 5px; + } + } + + .collection { + margin: 10px 0; + background: white; + width: 100%; + border-radius: 6px; + display: flex; + align-items: center; + font-size: 1.6rem; + font-weight: bold; + padding: 10px; + box-sizing: border-box; + + img { + background: white; + width: 35px; + height: 35px; + margin-right: 10px; + } + + } + + .friends { + background: white; + border-radius: 6px 6px 0 0; + + width: 100%; + + .friend { + box-sizing: border-box; + padding: 10px; + width: 100%; + display: flex; + align-items: center; + //border-bottom: 1px solid ghostwhite; + border-bottom: 1px solid gainsboro; + + img { + border-radius: 50%; + width: 40px; + height: 40px; + } + + .right { + margin: 0 5px 0 15px; + font-size: 1.6rem; + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; + + .share-btn { + font-size: 1.4rem; + color: white; + padding: 5px 20px; + background: $primary-btn-color; + border-radius: 2px; + } + } + } + } + } .header { + margin-top: 2rem; + .title { font-size: 1.8rem; position: relative; @@ -140,7 +233,7 @@ export default { span { font-size: 1.6rem; position: absolute; - right: 10px; + right: 2rem; top: 0; } } diff --git a/src/pages/people/FaceToFace.vue b/src/pages/people/FaceToFace.vue new file mode 100644 index 0000000..5d2cb4a --- /dev/null +++ b/src/pages/people/FaceToFace.vue @@ -0,0 +1,43 @@ + + + + diff --git a/src/pages/people/FindAcquaintance.vue b/src/pages/people/FindAcquaintance.vue index e3c0516..466c2ee 100644 --- a/src/pages/people/FindAcquaintance.vue +++ b/src/pages/people/FindAcquaintance.vue @@ -10,7 +10,7 @@ - +
我的好友(互相关注)
@@ -20,7 +20,7 @@
- +
@@ -54,37 +54,37 @@ -
-
-
-
- -
- 发现通讯录好友 - - 授权通讯录,看看哪些好友在使用抖音。具体使用场景及撤回授权方式详见 - 《隐私政策》 - -
-