xjc před 3 roky
rodič
revize
9bd58c49ee
3 změnil soubory, kde provedl 13 přidání a 4 odebrání
  1. 1 1
      pages/detail/detail.wxml
  2. 1 1
      pages/index/index.wxml
  3. 11 2
      project.config.json

+ 1 - 1
pages/detail/detail.wxml

@@ -1,5 +1,5 @@
 <view class='title'>{{info.name}}</view>
 <view class="date">{{info.ctime}}</view>
 <view class="content">
-  {{info.content}}
+  <rich-text nodes="{{info.content}}"></rich-text>
 </view>

+ 1 - 1
pages/index/index.wxml

@@ -147,7 +147,7 @@
                 </view>
                 <text>{{item.ctime}}</text>
              </view>
-             <image src="../../images/page1.png"></image>
+             <image src="{{item.img}}"></image>
           </navigator>
       </scroll-view>
   </swiper-item>

+ 11 - 2
project.config.json

@@ -10,11 +10,20 @@
 		"preloadBackgroundData": false,
 		"minified": true,
 		"newFeature": true,
-		"autoAudits": false,
 		"coverView": true,
+		"autoAudits": false,
 		"showShadowRootInWxmlPanel": true,
 		"scopeDataCheck": false,
-		"useCompilerModule": false
+		"checkInvalidKey": true,
+		"checkSiteMap": true,
+		"uploadWithSourceMap": true,
+		"babelSetting": {
+			"ignore": [],
+			"disablePlugins": [],
+			"outputPath": ""
+		},
+		"useCompilerModule": false,
+		"userConfirmedUseCompilerModuleSwitch": false
 	},
 	"compileType": "miniprogram",
 	"libVersion": "2.15.0",