tijiao
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<view class='toolbar' @tap="format">
|
||||
<!-- <view class="iconfont icon-undo" @tap="undo"></view>
|
||||
<view class="iconfont icon-redo" @tap="redo"></view> -->
|
||||
<view class="iconfont icon-charutupian" @tap="insertImage"></view>
|
||||
<!-- <view class="iconfont icon-charutupian" @tap="insertImage"></view> -->
|
||||
<!-- <view :class="formats.fontSize === '24px' ? 'ql-active' : ''" class="iconfont icon-font-size"
|
||||
data-name="fontSize" data-value="24px"></view> -->
|
||||
<view :class="formats.color? 'ql-active' : ''" class="iconfont icon-zitiyanse" data-name="color" :data-value="formats.color">
|
||||
@@ -393,11 +393,18 @@
|
||||
.toolbar {
|
||||
box-sizing: border-box;
|
||||
border-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
position: fixed;
|
||||
margin-bottom: 10rpx;
|
||||
padding-bottom: 4rpx;
|
||||
position: -webkit-sticky; /* Safari */
|
||||
position: sticky;
|
||||
top: -1px; /* 距离顶部的距离 */
|
||||
z-index: 10; /* 确保在其他内容之上 */
|
||||
background-color: #d8e6ff;
|
||||
border-bottom: 1rpx solid #5188e5;
|
||||
/* position: fixed;
|
||||
bottom: 10upx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
right: 0; */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user