diff --git a/api/monkDetail.js b/api/monkDetail.js
new file mode 100644
index 0000000..41e1c8a
--- /dev/null
+++ b/api/monkDetail.js
@@ -0,0 +1,76 @@
+/**
+ * 高僧详情相关API
+ */
+import { request } from '../utils/request.js';
+
+/**
+ * 获取高僧详情
+ * @param {string} monkId - 高僧ID
+ * @returns {Promise} 返回高僧详情数据
+ */
+export function getMonkDetail(monkId) {
+ return request({
+ url: '/app/monk/monkById',
+ method: 'GET',
+ params: { monkId }
+ });
+}
+
+/**
+ * 获取高僧列表
+ * @param {Object} params - 查询参数
+ * @param {number} params.pageNum - 页码
+ * @param {number} params.pageSize - 每页数量
+ * @param {string} params.name - 高僧姓名(可选)
+ * @returns {Promise} 返回高僧列表数据
+ */
+export function getMonkList(params = {}) {
+ return request({
+ url: '/app/monk/listMonk',
+ method: 'GET',
+ params: {
+ pageNum: 1,
+ pageSize: 10,
+ ...params
+ }
+ });
+}
+
+/**
+ * 创建高僧信息
+ * @param {Object} data - 高僧信息
+ * @returns {Promise} 返回创建结果
+ */
+export function createMonk(data) {
+ return request({
+ url: '/app/monk/createMonk',
+ method: 'POST',
+ data
+ });
+}
+
+/**
+ * 更新高僧信息
+ * @param {Object} data - 高僧信息
+ * @returns {Promise} 返回更新结果
+ */
+export function updateMonk(data) {
+ return request({
+ url: '/app/monk/updateMonk',
+ method: 'PUT',
+ data
+ });
+}
+
+/**
+ * 删除高僧信息
+ * @param {string} id - 高僧ID
+ * @returns {Promise} 返回删除结果
+ */
+export function deleteMonk(id) {
+ return request({
+ url: '/app/monk/deleteMonk',
+ method: 'DELETE',
+ params: { id }
+ });
+}
\ No newline at end of file
diff --git a/enum/monk.js b/enum/monk.js
index 8ee11d7..00d3088 100644
--- a/enum/monk.js
+++ b/enum/monk.js
@@ -2,6 +2,8 @@
export const MonkEnum = {
SEARCH: "https://api.ccttiot.com/image-1753769500465.png", //返回的按钮图像
+ MONK_IMAGE:"https://api.ccttiot.com/image-1753859218129.png"
+
};
export default MonkEnum;
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 5454509..881c5a5 100644
--- a/pages.json
+++ b/pages.json
@@ -3,7 +3,7 @@
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"lazyCodeLoading": "requiredComponents",
- "entryPagePath": "pages/nearbystores/index", // 专门指定登录页为初始页
+ "entryPagePath": "pages/monk/monkDetail",
"pages": [{
"path": "pages/nearbystores/index",
"style": {
@@ -11,14 +11,14 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- },{
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },{
+ }, {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ }, {
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页",
@@ -35,48 +35,60 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- },{
+ }, {
"path": "pages/tj",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- },{
+ }, {
"path": "pages/myorder/index",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- },{
+ }, {
"path": "pages/myorder/returned/index",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- },{
- "path": "pages/institutionalStructure/institutionalStructure",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
- {
- "path" : "pages/walkInto/walkInto",
- "style" :
- {
+ }, {
+ "path": "pages/institutionalStructure/institutionalStructure",
+ "style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
- "path" : "pages/Monk/Monk",
- "style" :
- {
+ "path": "pages/walkInto/walkInto",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/monk/monk",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "pages/monk/monkDetail",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "pages/future/future",
+ "style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
@@ -88,16 +100,14 @@
{
"root": "page_user",
- "pages": [
- {
- "path": "upload",
- "style": {
- "navigationBarTitleText": "上传",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
+ "pages": [{
+ "path": "upload",
+ "style": {
+ "navigationBarTitleText": "上传",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
}
- ]
+ }]
}
],
"tabBar": {
@@ -105,9 +115,8 @@
"color": "#7C7C7C",
"selectedColor": "#48893B",
"borderStyle": "white",
- "backgroundColor": "#ffffff",
- "list": [
- {
+ "backgroundColor": "#ffffff",
+ "list": [{
"selectedIconPath": "/static/tabbar/oneactive.png",
"iconPath": "/static/tabbar/one.png",
"pagePath": "pages/index/index",
diff --git a/pages/future/future.vue b/pages/future/future.vue
new file mode 100644
index 0000000..bb787c0
--- /dev/null
+++ b/pages/future/future.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/institutionalStructure/institutionalStructure.vue b/pages/institutionalStructure/institutionalStructure.vue
index 56d7c5c..757b6c8 100644
--- a/pages/institutionalStructure/institutionalStructure.vue
+++ b/pages/institutionalStructure/institutionalStructure.vue
@@ -8,7 +8,7 @@
-
+