diff --git a/manifest.json b/manifest.json
index b3e514e..8bbda7a 100644
--- a/manifest.json
+++ b/manifest.json
@@ -77,21 +77,6 @@
"router" : {
"base" : ""
},
- "template" : "",
- "devServer" : {
- "port" : 80,
- "https" : false,
- "disableHostCheck" : true,
- "proxy" : {
- "/api" : {
- "target" : "http://192.168.3.130", //域名
- "changeOrigin" : true,
- "secure" : false,
- "pathRewrite" : {
- "^/api" : "/api"
- }
- }
- }
- }
+ "template" : ""
}
}
diff --git a/pages/packageA/info/policy.vue b/pages/packageA/info/policy.vue
index 9cbfd52..c783ba2 100644
--- a/pages/packageA/info/policy.vue
+++ b/pages/packageA/info/policy.vue
@@ -1,24 +1,27 @@
-
-
-
-
-
-
-
-
-
+
+
+
+ 惠企政策
+
+
+
{{item.name}}
+ @click="openUrl('/pages/packageA/info/policy_list?id='+item.id)">
+
+ {{item.name}}
+
+ {{item.category_count}}
+
+
@@ -81,6 +84,13 @@
}
-
+ .list {
+ &__right {
+ position: absolute;
+ right: 68rpx;
+ top: 48rpx;
+ }
+ }
+
\ No newline at end of file
diff --git a/pages/packageA/info/policy_list.vue b/pages/packageA/info/policy_list.vue
index 6e41ff5..9984961 100644
--- a/pages/packageA/info/policy_list.vue
+++ b/pages/packageA/info/policy_list.vue
@@ -1,26 +1,38 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ 惠企政策
+
+
+
-
+
+
+
+
+
+
+
+
+
+ {{item.article_title}}
+
+ 发布时间:{{formatTimestamp(item.create_time)}}
+
+
+
+
+
@@ -42,6 +54,13 @@
this.getArticlePolicyListAll();
},
methods: {
+ formatTimestamp(timestamp) {
+ const date = new Date(timestamp*1000);
+ const year = date.getFullYear();
+ const month = String(date.getMonth() + 1).padStart(2, "0"); // 补零
+ const day = String(date.getDate()).padStart(2, "0");
+ return `${year}.${month}.${day}`;
+ },
getArticlePolicyListAll() {
getArticlePolicyList({
cid: this.cid
@@ -87,4 +106,4 @@
+
\ No newline at end of file
diff --git a/pages/packageB/ask/add.vue b/pages/packageB/ask/add.vue
index 8824262..9e8b345 100644
--- a/pages/packageB/ask/add.vue
+++ b/pages/packageB/ask/add.vue
@@ -14,7 +14,7 @@
-
-
+
- 提交问题
+
+ 提交问题
\ No newline at end of file
diff --git a/static/hqzc_f.png b/static/hqzc_f.png
new file mode 100644
index 0000000..50948c1
Binary files /dev/null and b/static/hqzc_f.png differ
diff --git a/tuniao-ui/components/tn-list-cell/tn-list-cell.vue b/tuniao-ui/components/tn-list-cell/tn-list-cell.vue
index 514ebb5..5e2fc19 100644
--- a/tuniao-ui/components/tn-list-cell/tn-list-cell.vue
+++ b/tuniao-ui/components/tn-list-cell/tn-list-cell.vue
@@ -163,7 +163,7 @@
height: 20rpx;
margin-top: -12rpx;
border-width: 4rpx 4rpx 0 0;
- border-color: $tn-font-holder-color;
+ border-color: #000000;
border-style: solid;
transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
}
diff --git a/util/api.js b/util/api.js
index 31fdf97..0834db7 100644
--- a/util/api.js
+++ b/util/api.js
@@ -85,4 +85,12 @@ export const addWriteoff = data => request.post('/move/Writeoff/addWriteoff', da
export const getNoticeList = data => request.post('/move/notice', data, false);
-export const getNoticeInfo = data => request.post('/move/notice/find', data, false);
\ No newline at end of file
+export const getNoticeInfo = data => request.post('/move/notice/find', data, false);
+
+export const getNwwbList = data => request.post('/move/nwwb', data, false);
+
+export const getNwwbAdd = data => request.post('/move/nwwb/add', data, false);
+
+export const getNwwbInfo = data => request.post('/move/nwwb/find', data, false);
+
+export const getNwwbUser = data => request.post('/move/nwwb/memberfind', data, false);
\ No newline at end of file
diff --git a/util/request.js b/util/request.js
index c828e1a..5508c46 100644
--- a/util/request.js
+++ b/util/request.js
@@ -8,6 +8,7 @@ import store from '@/store/index.js'
import RequestManager from '@/util/requestManager.js'
let BASE_URL = store.state.apiUrl;
+//let BASE_URL = 'http://192.168.10.176/api';
// // #ifdef H5
// BASE_URL = process.env.NODE_ENV === 'production' ? BASE_URL : '/api';
// // #endif
diff --git a/vue.config.js b/vue.config.js
index 7c6d6c7..957065c 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1 +1,4 @@
+// 跨域配置
+
+// vue.config.js
module.exports = {}
\ No newline at end of file