diff --git a/manifest.json b/manifest.json index da85bd2..fdcaf37 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "daoyous", - "appid" : "__UNI__6D52A89", + "appid" : "__UNI__75250B8", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", diff --git a/subPackages/daoyou/detail.vue b/subPackages/daoyou/detail.vue index 7fab1b2..9ae7a97 100644 --- a/subPackages/daoyou/detail.vue +++ b/subPackages/daoyou/detail.vue @@ -11,7 +11,7 @@ - diff --git a/subPackages/onlineService/detail.vue b/subPackages/onlineService/detail.vue index 1e6b389..4896908 100644 --- a/subPackages/onlineService/detail.vue +++ b/subPackages/onlineService/detail.vue @@ -3,7 +3,7 @@ {{detail.issue}} - + @@ -82,7 +82,7 @@ export default { // }) }, goBattle() { - window.open('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzg5NTU1MzE2NQ==#wechat_redirect'); + window.open('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzUzNDc5ODIxNQ==#wechat_redirect'); }, } } diff --git a/subPackages/onlineService/index.vue b/subPackages/onlineService/index.vue index 614bbe0..d340abd 100644 --- a/subPackages/onlineService/index.vue +++ b/subPackages/onlineService/index.vue @@ -99,7 +99,7 @@ export default { }) }, goBattle() { - window.open('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzg5NTU1MzE2NQ==#wechat_redirect'); + window.open('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzUzNDc5ODIxNQ==#wechat_redirect'); }, } } diff --git a/subPackages/onlineService/search.vue b/subPackages/onlineService/search.vue index 71c8d33..90fe66d 100644 --- a/subPackages/onlineService/search.vue +++ b/subPackages/onlineService/search.vue @@ -76,7 +76,7 @@ }) }, goBattle() { - window.open('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzg5NTU1MzE2NQ==#wechat_redirect'); + window.open('https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzUzNDc5ODIxNQ==#wechat_redirect'); }, diff --git a/subPackages/user/infoFilling.vue b/subPackages/user/infoFilling.vue index 6986fbd..a5d2fc5 100644 --- a/subPackages/user/infoFilling.vue +++ b/subPackages/user/infoFilling.vue @@ -515,7 +515,6 @@ url: url, filePath: tempFilePath, name: 'file', - header: {"token": '7e4bd097-8298-4cbe-8c75-535874a5c0e0'}, success: (uploadFileRes) => { uni.hideLoading() try { @@ -553,9 +552,8 @@ }, playVideo (file) { - let url = encodeURIComponent(file) uni.navigateTo({ - url: `/subPackages/video/index?url=${url}` + url: '/subPackages/video/video?item=' + encodeURIComponent(JSON.stringify(file)) }) }, changeDeleteMode (value) { @@ -603,6 +601,11 @@ // 亮点 if (this.valueType == 'sparkle_text') { + this.speakText.forEach(v=>{ + if (v.text &&v.text.trim) { + v.text = v.text.trim() + } + }) if (!this.speakText[0].text) { uni.showToast({ title: '主亮点必填', @@ -647,6 +650,10 @@ let res = this.handleSubmitData() if (res) return + try { + this.inputValue = this.inputValue.trim() + } catch(e) {} + uni.$emit("updateInfo", { msgType: 'registerInfo', data: { diff --git a/subPackages/user/profile.vue b/subPackages/user/profile.vue index 8360012..5224918 100644 --- a/subPackages/user/profile.vue +++ b/subPackages/user/profile.vue @@ -24,10 +24,10 @@ - + 生日 @@ -37,12 +37,12 @@ - + diff --git a/subPackages/user/register.vue b/subPackages/user/register.vue index 98493ff..ebe1309 100644 --- a/subPackages/user/register.vue +++ b/subPackages/user/register.vue @@ -231,7 +231,6 @@ url: url, filePath: tempFilePaths[0], name: 'file', - header: {"token": '7e4bd097-8298-4cbe-8c75-535874a5c0e0'}, success: (uploadFileRes) => { try { let res = JSON.parse(uploadFileRes.data) @@ -396,7 +395,7 @@ console.log(this.info) let param = { - ...this.info, + ...this.info,guide_id: this.info.id, lingo_image_list: this.info.lingo_idsFileList.join(','), video_list: this.info.video_list.join(','), sparkle_text: JSON.stringify(this.info.sparkle_text) diff --git a/subPackages/video/video.vue b/subPackages/video/video.vue index 28dff70..d75c536 100644 --- a/subPackages/video/video.vue +++ b/subPackages/video/video.vue @@ -1,6 +1,6 @@