apeng vor 4 Jahren
Ursprung
Commit
49e718abeb

+ 3 - 0
assets/css/learn/detail/_id.scss

@@ -653,6 +653,7 @@
             background: #f4f4f4;
             color: #bbb;
             display: inline-block;
+            max-width: inherit;
           }
           .text {
             vertical-align:top;
@@ -788,6 +789,8 @@
         font-weight: 400;
         color: #222;
         line-height: 0.48rem;
+        word-wrap:break-word;
+        word-break:normal; 
       }
     }
     .common-title {

+ 1 - 1
components/learn/dealSeoDetail.js

@@ -40,7 +40,7 @@ export default class DealSeoData {
     async _getLearnDetail (sale_id="999") {
       let res = await this.$axios.$post('/sapi/learn/info', { sale_id })
       let learnDetail = {}
-      console.log(res)
+      // console.log(res)
       if (Number(res.status) === 1) {
           learnDetail = res.data
       } else if (Number(res.status) === 40001) {

+ 3 - 2
pages/frontend/learn/detail/_id.vue

@@ -398,12 +398,13 @@ export default {
     async asyncData ({...params}) {
         let dealDataObj = new DealSeoDetail(params)
         let result = await dealDataObj.dealData()
-        // console.log('打印异步数据看看',result)
+        
         return {
             ...result
         }
     },
     mounted () {
+      // console.log('打印异步数据看看',this)
       this.baseUrl = this.$store.state.domainConfig.siteUrl
       this.isWeixinApp = navigator.userAgent.indexOf("miniProgram") > -1
     },
@@ -412,7 +413,7 @@ export default {
        * 初始化播放器
        */
       _initPlayer (item_id, playAuth) {
-        console.log("dddd:",item_id+"______"+playAuth)
+        // console.log("dddd:",item_id+"______"+playAuth)
         const player = new Aliplayer({
           id: "player",
           width: "100%",