xiaol 3 тижнів тому
батько
коміт
19bd87ee1b

+ 0 - 1
components/gaoyia-parse/components/wxParseImg.vue

@@ -21,7 +21,6 @@ export default {
 		};
 	},
 	inject: ['parseWidth'],
-	mounted() {},
 	props: {
 		node: {
 			type: Object,

+ 0 - 2
components/gaoyia-parse/components/wxParseTemplate0.vue

@@ -39,7 +39,6 @@
 	
 		<!--img类型-->
 		<wx-parse-img :node="node" v-else-if="node.tag == 'img'" :style="node.styleStr"/>
-	
 		<!--其他标签-->
 		<view v-else :class="node.classStr" :style="node.styleStr">
 			<block v-for="(node, index) of node.nodes" :key="index">
@@ -47,7 +46,6 @@
 			</block>
 		</view>
 	</block>
-	
 	<!--判断是否是文本节点-->
 	<block v-else-if="node.node == 'text'">{{node.text}}</block>
 </template>

+ 1 - 1
components/gaoyia-parse/parse.vue

@@ -140,7 +140,7 @@ import wxParseTemplate from './components/wxParseTemplate0';
 				this.nodes = [];
 				results.nodes.forEach((item) => {
 					setTimeout(() => {
-						this.nodes.push(item)
+						this.nodes.push(item);
 					}, 0);
 				})
 			},

+ 1 - 1
pages/guild/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<image src="/static/img/img04.png" style="width: 750rpx;height: 100%;" mode="widthFix"></image>
+		<image src="https://apps.yiqucbb.cn/h5/tipImg.png" style="width: 750rpx;height: 100%;" mode="widthFix"></image>
 		<!-- <view class="app-bg">
 			<image src="/static/img/tream_bg.png"></image>
 		</view>

+ 6 - 2
pages/news/index.vue

@@ -28,7 +28,6 @@
 					.request
 					.post("getContent",{id : this.id})
 					.then(res=>{
-						console.log(res);
 						if(res.code == 200) {
 							this.content = res.data.content;
 							uni.setNavigationBarTitle({
@@ -45,11 +44,16 @@
 	}
 </script>
 
-<style>
+<style  lang="scss">
 	@import url("/components/gaoyia-parse/parse.css");
 	
 	#box {
 		z-index: -1;
 		padding: 15px;
 	}
+	/deep/ {
+		.img{
+			display: block !important;
+		}
+	}
 </style>

BIN
static/img/img04.png