隐藏页面特效

团队作业进度报告

今日任务:完成了个人收藏界面布局(数据尚未传递)

主要代码:

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
.picture_left {
    float:left;
    width:15%;
    height:300px;
    margin-left: 20px;
    margin-top: -30px;
    /*background-color: pink;*/
}
.instroction_left {
    float:left;
    width: 20%;
    height: 80px;
    margin-left: 0px;
    margin-top: 45px;
    font-family: myfont;
    text-align: left;
    /*background-color: pink;*/
    line-height: 27px;
}
.picture_right {
    float:left;
    width:15%;
    height:300px;
    margin-left: 120px;
    margin-top: -30px;
    /*background-color: pink;*/
}
.instroction_right {
    float:left;
    width: 20%;
    height: 80px;
    margin-left: 0px;
    margin-top: 45px;
    font-family: myfont;
    text-align: left;
    /*background-color: pink;*/
    line-height: 27px;
}

  usermain.html

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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<script>
    function btn_1(){
        var btn1 = document.getElementById("btn1")
        var btn2 = document.getElementById("btn2")
        var btn3 = document.getElementById("btn3")
        btn1.style.background="#1a682b"
        btn2.style.background="#6abb5c"
        btn3.style.background="#6abb5c"
    }
        function btn_2(){
         var btn1 = document.getElementById("btn1")
        var btn2 = document.getElementById("btn2")
        var btn3 = document.getElementById("btn3")
        btn2.style.background="#1a682b"
        btn1.style.background="#6abb5c"
        btn3.style.background="#6abb5c"
    }
        function btn_3(){
        var btn1 = document.getElementById("btn1")
        var btn2 = document.getElementById("btn2")
        var btn3 = document.getElementById("btn3")
        btn3.style.background="#1a682b"
        btn2.style.background="#6abb5c"
        btn1.style.background="#6abb5c"
    }
</script>
<html>
 
    <head>
        <meta charset="UTF-8">
        <title>个人中心</title>
        <link rel="stylesheet" type="text/css" href="../static/css/iconfont.css" />
        <link rel="stylesheet" type="text/css" href="../static/css/style.css" />
    </head>
 
    <body>
        <div class="header">
            <div class="bar">
                <div class="w1200">
                    <span class="l">树懒电影<font>个人中心</font></span>
                    <span class="r"><a href="http://localhost:8080/MovieTop/templates/login.html?_ijt=vg63h452m3c4eakcipm91kf2jq"><i class="icon iconfont icon-dianyuan"></i>退出</a></span>
                </div>
            </div>
            <div class="user-info">
                <div class="w1200">
                    <div class="user-headface">
                        <img src="../static/img/userpic.jpg"/>
                    </div>
                    <div class="user-account">
                        <p class="tip">你好,XXX</p>
                        <p class="account">
                            <span>昵称:章英杰</span>
                            <span>用户ID:2931890089</span>
                        </p>
                    </div>
                    <div class="user-modify">
                        <a href="http://localhost:63342/MovieTop/templates/revise.html?_ijt=7un76ve0cq6gedopm6vvsf6vmq">修改资料></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="main w1200">
            <div class="left">
                <ul>
                    <li>
                        <a href="#" class="active">
                            <i class="icon iconfont icon-lingdang"></i>
                            收藏
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <i class="icon iconfont icon-fangzidichan"></i>
                            消息
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <i class="icon iconfont icon-wenda"></i>
                            问答
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <i class="icon iconfont icon-pinglun"></i>
                            评论
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <i class="icon iconfont icon-geren"></i>
                            个人资料
                        </a>
                    </li>
                </ul>
            </div>
            <div class="right">
                <div class="tap">
                    <input id="btn1" type="button" value="在看" onclick=" btn_1()">
                    <input id="btn2" type="button" value="想看" onclick="btn_2()">
                    <input id="btn3" type="button" value="看过" onclick="btn_3()">
                </div>
                <div class="container" style=" height:400px;overflow:scroll">
                    <div class="no-doc">
                        <div class="picture_left"><img src="../static/img/qq.png" height='230px' width='100px' /></div>
                        <p class="instroction_left">
                            <a href="https://movie.douban.com/subject/1292052/" style="text-decoration:none;">肖申克的救赎</a>
                            <br>
                            导演: 弗兰克·德拉邦特  <br>
                            主演: 蒂姆·罗宾斯 <br>
                            1994 / 美国 <br>
                            犯罪 剧情<br>
                            1000000人评价
                       </p>
                        <div class="picture_right"><img src="../static/img/qq.png" height='230px' width='100px' /></div>
                        <p class="instroction_right">
                            <a href="https://movie.douban.com/subject/1292052/" style="text-decoration:none;">肖申克的救赎</a>
                            <br>
                            导演: 弗兰克·德拉邦特  <br>
                            主演: 蒂姆·罗宾斯 <br>
                            1994 / 美国 <br>
                            犯罪 剧情<br>
                            1000000人评价
                       </p>
                    </div>
                    <div class="no-doc">
                        <div class="picture_left"><img src="../static/img/qq.png" height='230px' width='100px' /></div>
                        <p class="instroction_left">
                            <a href="https://movie.douban.com/subject/1292052/" style="text-decoration:none;">肖申克的救赎</a>
                            <br>
                            导演: 弗兰克·德拉邦特  <br>
                            主演: 蒂姆·罗宾斯 <br>
                            1994 / 美国 <br>
                            犯罪 剧情<br>
                            1000000人评价
                       </p>
                        <div class="picture_right"><img src="../static/img/qq.png" height='230px' width='100px' /></div>
                        <p class="instroction_right">
                            <a href="https://movie.douban.com/subject/1292052/" style="text-decoration:none;">肖申克的救赎</a>
                            <br>
                            导演: 弗兰克·德拉邦特  <br>
                            主演: 蒂姆·罗宾斯 <br>
                            1994 / 美国 <br>
                            犯罪 剧情<br>
                            1000000人评价
                       </p>
                    </div>
                    <div class="no-doc">
                        <div class="picture_left"><img src="../static/img/qq.png" height='230px' width='100px' /></div>
                        <p class="instroction_left">
                            <a href="https://movie.douban.com/subject/1292052/" style="text-decoration:none;">肖申克的救赎</a>
                            <br>
                            导演: 弗兰克·德拉邦特  <br>
                            主演: 蒂姆·罗宾斯 <br>
                            1994 / 美国 <br>
                            犯罪 剧情<br>
                            1000000人评价
                       </p>
                        <div class="picture_right"><img src="../static/img/qq.png" height='230px' width='100px' /></div>
                        <p class="instroction_right">
                            <a href="https://movie.douban.com/subject/1292052/" style="text-decoration:none;">肖申克的救赎</a>
                            <br>
                            导演: 弗兰克·德拉邦特  <br>
                            主演: 蒂姆·罗宾斯 <br>
                            1994 / 美国 <br>
                            犯罪 剧情<br>
                            1000000人评价
                       </p>
                    </div>
                </div>
 
            </div>
        </div>
    </body>
</html>

  效果截图:

 

 

 


__EOF__

本文作者CherriesOvO
本文链接https://www.cnblogs.com/zyj3955/p/14807871.html
关于博主:评论和私信会在第一时间回复。或者直接私信我。
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
声援博主:如果您觉得文章对您有帮助,可以点击文章右下角推荐一下。您的鼓励是博主的最大动力!
posted @   CherriesOvO  阅读(59)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示