From aaf9870b8939ceae5c60e78da682cc5edb08156f Mon Sep 17 00:00:00 2001
From: lihan <3398341942@qq.com>
Date: Thu, 8 Nov 2018 10:15:25 +0800
Subject: [PATCH] 赠送积分和角色管理

---
 app/friendship/controller/FriendController.php           |  10 ++++++++++
 public/themes/simpleboot3/friendship/enter_password.html | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 public/themes/simpleboot3/friendship/sure_password.html  |  93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 205 insertions(+), 0 deletions(-)
 create mode 100644 public/themes/simpleboot3/friendship/enter_password.html
 create mode 100644 public/themes/simpleboot3/friendship/sure_password.html

diff --git a/app/friendship/controller/FriendController.php b/app/friendship/controller/FriendController.php
index 674624d..14ae592 100644
--- a/app/friendship/controller/FriendController.php
+++ b/app/friendship/controller/FriendController.php
@@ -174,4 +174,14 @@ class FriendController extends HomeBaseController
         return $this->fetch(':password_manager');
     }
 
+    //输入密码
+    public function enterPassword() {
+        return $this->fetch(':enter_password');
+    }
+
+    //确认密码
+    public function surePassword() {
+        return $this->fetch(':sure_password');
+    }
+
 }
\ No newline at end of file
diff --git a/public/themes/simpleboot3/friendship/enter_password.html b/public/themes/simpleboot3/friendship/enter_password.html
new file mode 100644
index 0000000..321edf7
--- /dev/null
+++ b/public/themes/simpleboot3/friendship/enter_password.html
@@ -0,0 +1,102 @@
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <link rel="stylesheet" href="https://at.alicdn.com/t/font_834805_0ml90wdq5hzm.css">
+    <link rel="stylesheet" href="__INDEX__/css/base.css">
+    <link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
+    <script type="text/javascript" src="__INDEX__/js/base.js"></script>
+    <title>输入密码</title>
+    <style>
+        body,html{
+            width:100%;
+            height:100%;
+            background:#F5F6FA;
+        }
+        .passwordnum{
+            color:#1A1A1A;
+            font-size: 0.36rem;
+            font-weight: bold;
+            margin: 2.16rem 3.02rem;
+        }
+        .nextstep{
+            width:2.4rem;
+            height:0.88rem;
+            background:#FE0A01;
+            color:#fff;
+            font-size: 0.32rem;
+            text-align: center;
+            line-height: 0.88rem;
+            border-radius: 0.44rem;
+            box-shadow:0px 15px 30px 0px rgba(254,10,1,0.24);
+            margin: 0.66rem 2.55rem 0 2.55rem;
+        }
+        .enterpassword{
+            width:4.8rem;
+            margin: 0 auto;
+            display:flex;
+            justify-content: space-between;
+            align-items: center;
+            font-size: 0;
+            margin-top: 0.48rem;
+        }
+        .enterpassword li{
+            width:0.8rem;
+            height:0.8rem;
+            list-style: none;
+            border:1px solid rgba(153,153,153,1);
+            text-align: center;
+            border-right:0;
+            background: #fff;
+        }
+        .enterpassword li:last-child{
+            border-right:1px solid rgba(153,153,153,1) ;
+        }
+        .enterpassword li input{
+            width:0.67rem;
+            height:0.76rem;
+            list-style: none;
+            text-align: center;
+            border:none;
+
+        }
+
+    </style>
+
+
+</head>
+<body>
+<div class="container">
+    <p class="passwordnum">输入密码</p>
+    <ul class="enterpassword">
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+    </ul>
+    <p class="nextstep">下一步</p>
+</div>
+</body>
+<script src="__INDEX__/js/jquery.min.js"></script>
+<script>
+    $(".nextstep").click(function(){
+        window.location.href="{:url('friendship/Friend/surePassword')}"
+    })
+</script>
+</html>
diff --git a/public/themes/simpleboot3/friendship/sure_password.html b/public/themes/simpleboot3/friendship/sure_password.html
new file mode 100644
index 0000000..8716efa
--- /dev/null
+++ b/public/themes/simpleboot3/friendship/sure_password.html
@@ -0,0 +1,93 @@
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <link rel="stylesheet" href="https://at.alicdn.com/t/font_834805_0ml90wdq5hzm.css">
+    <link rel="stylesheet" href="__INDEX__/css/base.css">
+    <link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
+    <script type="text/javascript" src="__INDEX__/js/base.js"></script>
+    <title>输入密码</title>
+    <style>
+        body,html{
+            width:100%;
+            height:100%;
+            background:#F5F6FA;
+        }
+        .passwordnum{
+            color:#1A1A1A;
+            font-size: 0.36rem;
+            font-weight: bold;
+            margin: 2.16rem 3.02rem;
+        }
+        .nextstep{
+            width:2.4rem;
+            height:0.88rem;
+            background:#FE0A01;
+            color:#fff;
+            font-size: 0.32rem;
+            text-align: center;
+            line-height: 0.88rem;
+            border-radius: 0.44rem;
+            box-shadow:0px 15px 30px 0px rgba(254,10,1,0.24);
+            margin: 0.66rem 2.55rem 0 2.55rem;
+        }
+        .enterpassword{
+            width:4.8rem;
+            margin: 0 auto;
+            display:flex;
+            justify-content: space-between;
+            align-items: center;
+            font-size: 0;
+            margin-top: 0.48rem;
+        }
+        .enterpassword li{
+            width:0.8rem;
+            height:0.8rem;
+            list-style: none;
+            border:1px solid rgba(153,153,153,1);
+            text-align: center;
+            border-right:0;
+            background: #fff;
+        }
+        .enterpassword li:last-child{
+            border-right:1px solid rgba(153,153,153,1) ;
+        }
+        .enterpassword li input{
+            width:0.67rem;
+            height:0.76rem;
+            list-style: none;
+            text-align: center;
+            border:none;
+
+        }
+    </style>
+</head>
+<body>
+<div class="container">
+    <p class="passwordnum">确认密码</p>
+    <ul class="enterpassword">
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+        <li>
+            <input type="text">
+        </li>
+    </ul>
+    <p class="nextstep">确认</p>
+</div>
+</body>
+</html>
--
libgit2 0.24.0