diff --git a/README.md b/README.md index a289bdf..e96024d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Huiqitong -惠企通 \ No newline at end of file +惠企帮 \ No newline at end of file diff --git a/src/api/learningCenter.ts b/src/api/learningCenter.ts index bef21e9..151d597 100644 --- a/src/api/learningCenter.ts +++ b/src/api/learningCenter.ts @@ -60,3 +60,12 @@ export function studyRecord(data:any) { }) } +//是否收藏 +export function isCollect(data:any) { + return request.http({ + url: '/api/huiqitong/is_collect', + method: 'POST', + data + }) +} + diff --git a/src/api/mine.ts b/src/api/mine.ts index beefd1c..7c5c53c 100644 --- a/src/api/mine.ts +++ b/src/api/mine.ts @@ -7,6 +7,14 @@ export function modifyField(field:string,value:string) { method: 'PUT' }) } +//修改用户信息(单项) +export function modifyField1(field:string,data:any) { + return request.http({ + url: '/api/huiqitong/modify/'+ field, + method: 'PUT', + data + }) +} //图片上传 export function updataImage(data:any) { diff --git a/src/components/zh-scroll/zh-scroll.vue b/src/components/zh-scroll/zh-scroll.vue index 708c5b2..14cb0b7 100644 --- a/src/components/zh-scroll/zh-scroll.vue +++ b/src/components/zh-scroll/zh-scroll.vue @@ -144,7 +144,7 @@ sizeCalcState.value = true } - const goxdbdetail = (id) => { + const goxdbdetail = (id: string) => { uni.navigateTo({ url: '/pages/index/shoppage/shophelpDetail?id='+id }) diff --git a/src/manifest.json b/src/manifest.json index 05e431a..27b2f63 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,5 +1,5 @@ { - "name" : "惠企通", + "name" : "惠企帮", "appid" : "__UNI__4CC99EE", "description" : "v3+ts+uniapp模版", "versionName" : "1.0.68", @@ -106,7 +106,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx4f9dae5cc37dd9f4", + "appid" : "wx6b2c38d29724b0ea", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/src/pages.json b/src/pages.json index 6d4ed84..598c96a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -19,14 +19,22 @@ "path": "pages/memberCenter/index", "style": { "navigationBarTitleText": "会员中心", - "enablePullDownRefresh": true + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, + { + "path": "pages/memberCenter/inpart", + "style": { + "navigationBarTitleText": "申请入会", + "enablePullDownRefresh": false } }, { "path": "pages/learningCenter/index", "style": { "navigationBarTitleText": "学习中心", - "enablePullDownRefresh": true + "enablePullDownRefresh": false } }, { @@ -34,7 +42,7 @@ "path": "pages/mine/index", "style": { "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": true + "enablePullDownRefresh": false } }, { diff --git a/src/pages/index/ChatDialog.vue b/src/pages/index/ChatDialog.vue index 4121e63..594d7b4 100644 --- a/src/pages/index/ChatDialog.vue +++ b/src/pages/index/ChatDialog.vue @@ -1,7 +1,10 @@