From a81a27f08e0337a5f6aa09c7ad1c04a9aab473d0 Mon Sep 17 00:00:00 2001
From: Apcallover <1503963513@qq.com>
Date: Tue, 5 Mar 2024 09:23:02 +0800
Subject: [PATCH] flat: 3.4
---
api/content.js | 16 ++
pageMy/setUserBase/mailbox.vue | 101 +++++++++++
pageMy/setUserBase/subPage/mailboxDetail.vue | 178 +++++++++++++++++++
pages.json | 17 ++
pages/my/my.vue | 2 +-
uni.scss | 15 +-
vue.config.js | 3 +-
7 files changed, 329 insertions(+), 3 deletions(-)
create mode 100644 api/content.js
create mode 100644 pageMy/setUserBase/mailbox.vue
create mode 100644 pageMy/setUserBase/subPage/mailboxDetail.vue
diff --git a/api/content.js b/api/content.js
new file mode 100644
index 0000000..743a872
--- /dev/null
+++ b/api/content.js
@@ -0,0 +1,16 @@
+import {
+ request
+} from '@/untils/AxiosUtils.js';
+
+//轮播图
+export const getConsultMailboxInfo = (type) => request({
+ url: '/api/jobslink-api/content/consultMailboxInfo/list',
+ method: 'get',
+});
+
+export const consultMailboxInfoQueryById = (params) => request({
+ url: 'api/jobslink-api/content/consultMailboxInfo/queryById',
+ method: 'get',
+ params: params
+});
+
diff --git a/pageMy/setUserBase/mailbox.vue b/pageMy/setUserBase/mailbox.vue
new file mode 100644
index 0000000..9789c7b
--- /dev/null
+++ b/pageMy/setUserBase/mailbox.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+ {{item.consultTopic}}
+ {{item.consultContent}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pageMy/setUserBase/subPage/mailboxDetail.vue b/pageMy/setUserBase/subPage/mailboxDetail.vue
new file mode 100644
index 0000000..b521c6b
--- /dev/null
+++ b/pageMy/setUserBase/subPage/mailboxDetail.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{model.consultTime && dateFormat(model.consultTime )}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 4c0aada..94b370e 100644
--- a/pages.json
+++ b/pages.json
@@ -469,6 +469,23 @@
}
},
+ {
+ "path": "setUserBase/mailbox",
+ "style": {
+ "navigationBarTitleText": "信箱列表",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path" : "setUserBase/subPage/mailboxDetail",
+ "style" :
+ {
+ "navigationBarTitleText" : "信件详情",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "enablePullDownRefresh" : true
+ }
+ },
{
"path": "apply/rights",
"style": {
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 42b17a6..a788723 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -47,7 +47,7 @@
认证信息
-
+
咨询信箱
diff --git a/uni.scss b/uni.scss
index 8d01a96..67b37a3 100644
--- a/uni.scss
+++ b/uni.scss
@@ -74,4 +74,17 @@ $uni-font-size-title:40upx;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle:36upx;
$uni-color-paragraph: #3F536E; // 文章段落颜色
-$uni-font-size-paragraph:30upx;
\ No newline at end of file
+$uni-font-size-paragraph:30upx;
+
+.pro_warp{
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+.pro_warp2{
+ text-overflow: ellipsis;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 2; /* 设置行数 */
+ -webkit-box-orient: vertical;
+}
diff --git a/vue.config.js b/vue.config.js
index 1aab719..18d146d 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -3,9 +3,10 @@ module.exports = {
port: 1887,
proxy: {
'/api': {
- target: 'http://192.168.3.104:8000', // 本地服务接口地址
+ // target: 'http://192.168.3.104:8000', // 本地服务接口地址
// target: "http://39.98.184.58:8000", // 阿里云后台地址
// target: "http://192.168.0.101:8000", // 本地网关
+ target: 'http://192.168.3.111:8000', // 本地服务接口地址
ws: true,
pathRewrite: {
'^/api': '/'