askbot-dragon 1.3.58 → 1.3.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.3.58",
3
+ "version": "1.3.60",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -165,6 +165,11 @@ export default {
165
165
  url: url
166
166
  },"*");
167
167
  } else {
168
+ if (isMobile()) {
169
+ this.$refs.previewPdf.previewShowPopup = false;
170
+ } else {
171
+ this.$refs.previewPdf.drawer = false;
172
+ }
168
173
  let index = url.lastIndexOf('?')
169
174
  let type = ''
170
175
  let httpUrl = '/knowledge-api/knowledge/getTemporaryCertificate'
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="pdf_view" ref="pdfView" @scroll="pdfScroll">
3
- <div class="btn_footer">
3
+ <div class="btn_footer" v-if="tagIds.length > 1">
4
4
  <div class="prev" @click="prev">上一段</div>
5
5
  <div class="next" @click="next">下一段</div>
6
6
  </div>
@@ -963,11 +963,12 @@ export default {
963
963
  <style lang="less" scoped>
964
964
  .pdf_view {
965
965
  width: 100%;
966
- height: 100%;
966
+ height: calc(100% - 51px);
967
967
  overflow: auto;
968
968
  background-color: #f5f7fb;
969
- padding-bottom: 50px;
970
- position: relative;
969
+ padding-bottom: 60px;
970
+ box-sizing: border-box;
971
+ // position: relative;
971
972
  // > div {
972
973
  // width: 100%;
973
974
  // height: 100%;
@@ -981,13 +982,15 @@ export default {
981
982
  }
982
983
  .btn_footer {
983
984
  width: 100%;
984
- height: 50px;
985
+ height: 60px;
985
986
  display: flex;
986
987
  align-items: center;
987
988
  justify-content: space-around;
988
989
  position: absolute;
989
- bottom: 50px;
990
+ bottom: 0px;
990
991
  left: 0;
992
+ z-index: 999;
993
+ background: #ffffff;
991
994
  .prev, .next {
992
995
  width: 35%;
993
996
  height: 40px;