返回小米商城登陆页......登陆

小米商城登陆页面

阿坚2019-05-05 14:58:31298

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

<!DOCTYPE html>

<html>

<head>

   <title>小米商城-登录</title>

    <meta charset="utf-8">

    <link rel="shortcut icon" type="image/x-icon" href="static/images/footlogo.png" />

    <link rel="stylesheet" type="text/css" href="static/layui/css/layui.css">

    <link rel="stylesheet" type="text/css" href="static/css/login.css">

    <link rel="stylesheet" type="text/css" href="static/font-awesome/css/font-awesome.min.css">

   <script type="text/javascript" src="static/layui/layui.js"></script>

   <script src="static/js/jq_3.3.1_mi.js"></script>

</head>

<body>

 <div class="header">

   <a href="./index.html"><img src="static/images/5.png"></a>

 </div>

 <div class="content">

   <div  class="login_content">

      <div  class="login_form">

         <div class="login_form_main">

            <!--<p style="color: #ff6700;" id="regTabs_0" onclick=" ChangeReg('0','register_',1)">账号登录</p>-->

            <!--<span>|</span>-->

            <!--<p id="regTabs_1" onclick=" ChangeReg('1','register_',1)">扫码登录</p>-->

            <p style="color: #ff6700;" id="regTabs_0" >账号登录</p>

            <span>|</span>

            <p id="regTabs_1" >扫码登录</p>

         </div>

         <div class="clear"></div>

            <div class="login_form_content" id="register_0">

               <form>

                  <input type="text" name="username" placeholder="邮箱/ 手机号码/小米ID">

                  <input type="text" name="password" placeholder="密码">

                  <button>登录</button>

               </form>

               <h6><a href="" style="color: #ff6700;">手机短信登录/注册</a><span><a href="">立即注册</a>&nbsp; | &nbsp;<a href="">忘记密码?</a></span></h6>

               <div class="login_form_pic">

                       <p>其他方式登录</p>

                       <ul>

                         <li class="pic1" style="margin-right: 35px;"><i class="fa fa-qq"></i></li>

                         <li class="pic2" style="margin-right: 35px;"><i class="fa fa-weibo"></i></li>

                         <li class="pic3" style="margin-right: 35px;"><i class="fa fa-twitter-square"></i></li>

                         <li class="pic4"><i class="fa fa-weixin"></i></li>

                       </ul>

               </div>

              

            </div>

             

            <div class="login_form_content0" style="display: none;" id="register_1">

               <img src="static/images/下载.png">

               <p>使用<span style="color: #ff6700;">小米商城APP</span>扫一扫</p>

               <p>小米手机可打开「设置」>「小米帐号」扫码登录</p>

            </div>

      </div>

   </div>

 </div>

 <p style="margin-top: 60px;">简体<span>|</span>繁体<span>|</span>English<span>|</span> 常见问题<span>|</span> 隐私政策</p>

 <p>小米公司版权所有-京ICP备10046444-<img src="static/images/ghs.png"> 京公网安备11010802020134号-京ICP证110507号</p>

   

   <script type="text/javascript">

         //  function ChangeReg(divId,divName,Count) {

         //   for(var i=0;i<=Count;i++){

         //  document.getElementById(divName+i).style.display='none'

         //   }

         //     document.getElementById(divName+divId).style.display='block'

         //     if(divId==0){

         //      document.getElementById('regTabs_0').style.color='#ff6a00'

         //      document.getElementById('regTabs_1').style.color='#757575'

         //     }

         // if(divId==1){

         //      document.getElementById('regTabs_0').style.color='#757575'

         //      document.getElementById('regTabs_1').style.color='#ff6a00'

         //     }

       //

         //  }

$(function () {

   $('#regTabs_0').click(function () {

      $('#register_0').css('display','block');

        $('#register_1').css('display','none');

        $(this).css('color','#ff6a00');

        $('#regTabs_1').css('color','#757575');

 

    });

    $('#regTabs_1').click(function () {

        $('#register_0').css('display','none');

        $('#register_1').css('display','block');

      $(this).css('color','#ff6a00');

        $('#regTabs_0').css('color','#757575');

    });

});

 

 

   </script>

</body>

</html>

总结

用jquery改写 切换;

最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送