diff --git a/pages.json b/pages.json
index b37721f..fb84de3 100644
--- a/pages.json
+++ b/pages.json
@@ -557,6 +557,20 @@
"enablePullDownRefresh": false
}
},
+ {
+ "path": "pages/medicaldes/zhuanzhuchuban",
+ "style": {
+ "navigationBarTitleText": "专著出版",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/medicaldes/xueshugongxianDetail",
+ "style": {
+ "navigationBarTitleText": "学术贡献详情",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/medicaldes/medicaldesDetail",
"style": {
diff --git a/pages/medicaldes/medicaldes.vue b/pages/medicaldes/medicaldes.vue
index f492b58..3146484 100644
--- a/pages/medicaldes/medicaldes.vue
+++ b/pages/medicaldes/medicaldes.vue
@@ -48,6 +48,20 @@
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
+
@@ -115,7 +129,7 @@
playData: {},
searchValue: '',
oneCateList: [{
- title: "专著出版",
+ title: "学术贡献",
type: 'medicaldesBookType'
}, {
title: "学术传承",
@@ -193,7 +207,7 @@
if (this.curOneCateIndex == 0) {
uni.navigateTo({
// url: '../bookShop/commodityDetail?id=' + item.id
- url: '../eBook/bookContent?Id=' + item.id
+ url: './xueshugongxianDetail?id=' + item.id
})
return
}
@@ -222,21 +236,28 @@
getTitles(dictType) {
console.log('dictType', dictType)
if (this.curOneCateIndex == 0) {
+ if(dictType == 2){
+ uni.navigateTo({
+ url: './zhuanzhuchuban'
+ })
+ return
+ }
$http.request({
- url: "book/medicaldes/bookListByType?type=" + dictType,
+ url: "book/generalArticle/articleByPage",
method: "POST",
data: {
// loadAnimate: 'none', // 请求加载动画
+ "type": dictType==1?'1':'2',
"limit": 1000,
- "page": 1,
+ "current": 1,
},
header: { //默认 无 说明:请求头
'Content-Type': 'application/json'
},
}).then(res => {
console.log(res, '内容获取成功')
- if (res.code == 0 && res.result.length > 0) {
- this.titleList = res.result
+ if (res.code == 0 && res.result && res.result.records.length > 0) {
+ this.titleList = res.result.records
} else {
this.titleList = []
}
@@ -377,6 +398,18 @@
console.log(res, '二级分类获取成功')
if (res.code == 0 && res.result.length >= 0) {
this.twoCateList = res.result
+ if (this.curOneCateIndex == 0) {
+ this.twoCateList = [{
+ 'dictType': "1",
+ "dictValue": "学术思想"
+ }, {
+ 'dictType': "2",
+ "dictValue": "出版专著"
+ }, {
+ 'dictType': "3",
+ "dictValue": "学术平台"
+ }]
+ }
if (this.curOneCateIndex == 2) {
this.twoCateList = [{
'dictType': "1",
diff --git a/pages/medicaldes/xueshugongxianDetail.vue b/pages/medicaldes/xueshugongxianDetail.vue
new file mode 100644
index 0000000..0a0c60a
--- /dev/null
+++ b/pages/medicaldes/xueshugongxianDetail.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/medicaldes/zhuanzhuchuban.vue b/pages/medicaldes/zhuanzhuchuban.vue
new file mode 100644
index 0000000..b5ace45
--- /dev/null
+++ b/pages/medicaldes/zhuanzhuchuban.vue
@@ -0,0 +1,726 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.dictValue}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file