Explorar o código

资讯 法律下乡 惠民通 付费知识

qinhouyu hai 1 ano
pai
achega
d788d9c19b

+ 8 - 8
pages.json

@@ -125,7 +125,7 @@
 			}
 		},
 		{
-			"path": "pages/fuwu/fuwu",
+			"path": "pages/information/fuwu/fuwu",
 			"style": {
 				"usingComponents": {},
 				"onReachBottomDistance": 5,
@@ -151,7 +151,7 @@
 			}
 		},
 		{
-			"path": "pages/myPayKnow/myPayKnow",
+			"path": "pages/me/myPayKnow/myPayKnow",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -224,7 +224,7 @@
 			}
 		},
 		{
-			"path": "pages/informationAdd/informationAdd",
+			"path": "pages/information/informationAdd/informationAdd",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -233,7 +233,7 @@
 			}
 		},
 		{
-			"path": "pages/informationDetail/informationDetail",
+			"path": "pages/information/informationDetail/informationDetail",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -241,7 +241,7 @@
 				"navigationBarTitleText": "资讯详情"
 			}
 		},{
-			"path": "pages/myPayKnow/informationDetail",
+			"path": "pages/me/myPayKnow/informationDetail",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -333,7 +333,7 @@
 			}
 		},
 		{
-			"path": "pages/toGovernmentList/toGovernmentList",
+			"path": "pages/information/toGovernmentList/toGovernmentList",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -350,7 +350,7 @@
 			}
 		},
 		{
-			"path": "pages/toLegal/toLegal",
+			"path": "pages/information/toLegal/toLegal",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -610,7 +610,7 @@
 			},
 			{
 				"text": "资讯",
-				"pagePath": "pages/fuwu/fuwu",
+				"pagePath": "pages/information/fuwu/fuwu",
 				"iconPath": "static/pages/images/index2.png",
 				"selectedIconPath": "static/pages/images/index1.png"
 			},

+ 5 - 5
pages/index/index.vue

@@ -381,7 +381,7 @@
 				let id = e.id || ''
 				let type = 10
 				uni.navigateTo({
-					url: `../informationDetail/informationDetail?id=${id}&type=${type}`
+					url: `../information/informationDetail/informationDetail?id=${id}&type=${type}`
 				});
 			},
 			//封面与轮播图
@@ -409,19 +409,19 @@
 			},
 			toLegal() {
 				uni.navigateTo({
-					url: '/pages/toLegal/toLegal'
+					url: '/pages/information/toLegal/toLegal'
 				});
 			},
 			//政策推荐
 			toGovernmentList() {
 				uni.navigateTo({
-					url: '/pages/toGovernmentList/toGovernmentList'
+					url: '/pages/information/toGovernmentList/toGovernmentList'
 				});
 			},
 			//惠民通
 			toGovernmentList1() {
 				uni.navigateTo({
-					url: '/pages/toGovernmentList/toGovernmentList?type=10'
+					url: '/pages/information/toGovernmentList/toGovernmentList?type=10'
 				});
 			},
 			governmentListData() {
@@ -604,4 +604,4 @@
 </script>
 <style>
 	@import './index.css';
-</style>
+</style>

pages/fuwu/fuwu.css → pages/information/fuwu/fuwu.css


+ 6 - 6
pages/fuwu/fuwu.vue

@@ -18,7 +18,7 @@
 	        <view class="list" @tap.stop="goDetails(item)" v-for="(item, index1) in qbwd" :key="index1">
 				<span v-if="item.top == 1" style="color: red;">[置顶]</span>
 	            <span class="listTitle">{{ item.titleName }}</span>
-	
+
 	            <view class="onePic" v-if="item.top != 1  ? item.urls.length == 1 : false ">
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
@@ -27,12 +27,12 @@
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 	            </view>
-	
+
 	            <view class="threePic" v-if="item.top != 1 ? item.urls.length == 3 : false">
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 	            </view>
-	
+
 	           <view class="jlSj">
 	                <span class="jf">
 	                   {{ item.updateTime || item.createTime }}
@@ -53,7 +53,7 @@
 	                    </span>
 	                </view>
 	            </view>
-	
+
 			</view>
 	    </view>
 		<!-- 新增资讯按钮 -->
@@ -223,7 +223,7 @@ export default {
 };
 </script>
 <style lang="scss">
-@import './fuwu.css';
+@import 'fuwu.css';
 .container{
 	height: 100%;
 	content: '\e633';
@@ -234,6 +234,6 @@ export default {
 	}
 }
 .not-favorite{
-	
+
 }
 </style>

pages/informationAdd/informationAdd.css → pages/information/informationAdd/informationAdd.css


pages/informationAdd/informationAdd.vue → pages/information/informationAdd/informationAdd.vue


pages/informationDetail/informationDetail.css → pages/information/informationDetail/informationDetail.css


+ 1 - 1
pages/informationDetail/informationDetail.vue

@@ -134,7 +134,7 @@ export default {
 };
 </script>
 <style lang="scss">
-@import './informationDetail.css';
+@import 'informationDetail.css';
 
 .collect{
 	.icon-shoucang:before{

pages/toGovernmentList/index.css → pages/information/toGovernmentList/toGovernmentList.css


+ 1 - 1
pages/toGovernmentList/toGovernmentList.vue

@@ -233,7 +233,7 @@ export default {
 };
 </script>
 <style lang="scss">
-@import './index.css';
+@import 'toGovernmentList.css';
 .container{
 	height: 100%;
 	content: '\e633';

pages/toLegal/toLegal.css → pages/information/toLegal/toLegal.css


+ 4 - 4
pages/toLegal/toLegal.vue

@@ -26,7 +26,7 @@
 					<image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 				</view>
-					
+
 				<view class="threePic" v-if="item.top != 1 ? item.urls.length == 3 : false">
 					<image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
@@ -51,7 +51,7 @@
 	                    </span>
 	                </view>
 	            </view>
-	
+
 			</view>
 	    </view>
 		<!-- 新增资讯按钮 -->
@@ -220,7 +220,7 @@ export default {
 };
 </script>
 <style lang="scss">
-@import './toLegal.css';
+@import 'toLegal.css';
 .container{
 	height: 100%;
 }
@@ -234,6 +234,6 @@ export default {
 	}
 }
 .not-favorite{
-	
+
 }
 </style>

+ 1 - 1
pages/me/me.vue

@@ -55,7 +55,7 @@ export default {
 					open: false,
 				},
 				{
-					id: 'myPayKnow/myPayKnow',
+					id: 'me/myPayKnow/myPayKnow',
 					name: '我的付费知识',
 					open: false,
 				}

+ 1 - 1
pages/myPayKnow/informationDetail.vue

@@ -113,7 +113,7 @@ export default {
 };
 </script>
 <style lang="scss">
-@import './informationDetail.css';
+@import 'informationDetail.css';
 
 .collect{
 	.icon-shoucang:before{

pages/myPayKnow/myPayKnow.css → pages/me/myPayKnow/myPayKnow.css


+ 3 - 3
pages/myPayKnow/myPayKnow.vue

@@ -32,7 +32,7 @@
 
 <script>
 	import {myPayKnow} from '@/api/me/me.js'
-	
+
 export default {
     data() {
         return {
@@ -98,12 +98,12 @@ export default {
         goDetails(item) {
 			if(item==null) return;
             uni.navigateTo({
-                url: '/pages/myPayKnow/informationDetail?obj='+ encodeURIComponent(JSON.stringify(item))
+                url: '/pages/me/myPayKnow/informationDetail?obj='+ encodeURIComponent(JSON.stringify(item))
             });
         }
     }
 };
 </script>
 <style>
-@import './myPayKnow.css';
+@import 'myPayKnow.css';
 </style>