|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
- <view class="app-container" :style="{'height' : !content ? '100%' : ''}">
|
|
|
- <view v-if="content" class="ql-snow">
|
|
|
+ <view class="app-container">
|
|
|
+ <view v-if="content" class="ql-container">
|
|
|
<rich-text class="ql-editor" :nodes="content" />
|
|
|
</view>
|
|
|
<noData v-else>
|
|
@@ -34,3 +34,21 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.app-container {
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.ql-container {
|
|
|
+ height: calc(100% - 106rpx);
|
|
|
+ overflow-y: scroll;
|
|
|
+}
|
|
|
+
|
|
|
+button {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 32rpx;
|
|
|
+ left: 32rpx;
|
|
|
+ width: calc(100% - 64rpx);
|
|
|
+}
|
|
|
+</style>
|