Commit db33be67 by zujiaozhang

'肺癌靶向测添加浮动菜单,后端统一了图片数据类型为数组'

parent 8253e619
......@@ -274,3 +274,35 @@ body {
width:0.96rem;
height:0.96rem;
}
/* 底部右侧 浮动按钮 */
.more,
.my-text,
.release,
.close {
position: fixed;
right: 0.32rem;
top: 9.82rem;
height: .96rem;
width: .96rem;
}
/* my-text 我的贴子 */
.my-text {
right: 0.32rem;
top: 7.04rem;
display: none;
}
.close {
display: none;
}
.release {
display: none;
right: 0.32rem;
top: 8.46rem;
}
.close img,
.more img,
.release img,
.my-text img {
width: 100%;
height: 100%;
}
\ No newline at end of file
......@@ -13,16 +13,14 @@ body {
font-size: 0.3rem;
width: 100%;
margin-top:0.3rem;
display: flex;
justify-content: space-around;
}
.silder_tap .silder_tap_item {
float: left;
height: 0.8rem;
line-height: 0.8rem;
width: .78125rem;
text-align: center;
box-sizing: border-box;
margin-left: 1.56rem;
margin-right: 1.56rem;
}
.publish_user_info{
padding-left:0.32rem;
......
......@@ -82,9 +82,19 @@
<div class="content_mod">
</div>
<div class="add">
<!-- 浮动菜单 -->
<div class="my-text">
<img src="images/post_my_butten_bg@2x.png" >
</div>
<div class="release">
<img src="images/post_release_butten_bg@2x.png" >
</div>
<div class="close">
<img src="images/post_less_butten_bg@2x.png" >
</div>
<div class="more">
<img src="images/post_more_butten_bg@2x.png" >
</div>
</div>
</body>
<script type="text/javascript">
......
......@@ -41,10 +41,13 @@
<span class="publish_user_name"></span>
</div>
</div>
<div class="silder_tap clearfix">
<div class="silder_tap">
<div class="silder_tap_item on" id="my">
帖子
</div>
<div class="silder_tap_item" id="reply">
回复
</div>
<div class="silder_tap_item" id="collect">
收藏
</div>
......
......@@ -430,7 +430,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<div class="chat_message chat_message_send chat_nopadding">' +
// 图片消息
'<img src="' +
record[i].contentPic +
record[i].contentPic[0] +
'" />' +
'</div>' +
'</div>' +
......@@ -453,7 +453,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<div class="chat_message chat_message_from chat_nopadding">' +
// 图片消息
'<img src="' +
record[i].contentPic +
record[i].contentPic[0] +
'" />' +
'</div>' +
'</div>' +
......
......@@ -458,7 +458,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<div class="chat_message chat_message_send chat_nopadding">' +
// 图片消息
'<img src="' +
record[i].contentPic +
record[i].contentPic[0] +
'" />' +
'</div>' +
'</div>' +
......@@ -481,7 +481,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<div class="chat_message chat_message_from chat_nopadding">' +
// 图片消息
'<img src="' +
record[i].contentPic +
record[i].contentPic[0] +
'" />' +
'</div>' +
'</div>' +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment