diff --git a/App.vue b/App.vue index 6ccbc40..39c202d 100644 --- a/App.vue +++ b/App.vue @@ -18,7 +18,7 @@ //screen.orientation.type = ""; screen.orientation.lock('portrait'); // #endif - // #ifndef MP + // #ifdef MP console.error( `暂时不支持运行到小程序端` ); @@ -540,7 +540,7 @@ _this.checkUpdate(); }, fail(e){ - //console.log(e); + console.log(e); } }); } diff --git a/api/login.js b/api/login.js index 8011350..0579b81 100644 --- a/api/login.js +++ b/api/login.js @@ -132,7 +132,7 @@ export const upload = (files,data,onProgress) =>{ console.log(typeof files); return new Promise((resolve,reject)=>{ var u = uni.uploadFile({ - url: config.getRegisterUrl()+"/user/upload", // 仅为示例,非真实的接口地址 + url: config.getRegisterUrl()+(data?.url || "/user/upload"), filePath: files, //files:files.length > 1 ? files : files[0], name: "file", diff --git a/components/CacheImage/index.vue b/components/CacheImage/index.vue new file mode 100644 index 0000000..01fe16f --- /dev/null +++ b/components/CacheImage/index.vue @@ -0,0 +1,72 @@ + + + + + \ No newline at end of file diff --git a/main.js b/main.js index 4416fcf..f3c714a 100644 --- a/main.js +++ b/main.js @@ -58,6 +58,5 @@ app.REQUEST_TRACE = false; // 引入请求封装 import request from "./util/request/index"; request(app) -//require("./util/request/index")(app); app.$mount(); \ No newline at end of file diff --git a/manifest.json b/manifest.json index b59597d..08a25b4 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "瞬聊", "appid" : "__UNI__E41111F", "description" : "一款即时聊天软件", - "versionName" : "3.4.2", - "versionCode" : 342, + "versionName" : "3.4.3", + "versionCode" : 343, "transformPx" : false, "app-plus" : { "bounce" : "none", diff --git a/pages.json b/pages.json index 93f06dc..53e09a8 100644 --- a/pages.json +++ b/pages.json @@ -377,6 +377,12 @@ "style": { "navigationBarTitleText": "" } + }, + { + "path": "pages/conversation/groupAlbum/groupAlbum", + "style": { + "navigationBarTitleText": "" + } } ], "tabBar": { @@ -418,5 +424,11 @@ "app-plus": { "bounce": "none" } - } + }, + "easycom": { + "autoscan": true, + "custom": { + "^c-(.*)": "@/components/$1/index.vue" + } + } } \ No newline at end of file diff --git a/pages/conversation/chating/index.vue b/pages/conversation/chating/index.vue index 745206d..8af1f5a 100644 --- a/pages/conversation/chating/index.vue +++ b/pages/conversation/chating/index.vue @@ -89,6 +89,16 @@ console.log(r); this.updateCurrentMsg({}); }) + //console.log(this.storeCurrentConversation) + if(process.env.NODE_ENV == 'development'){ + // if(this.storeCurrentConversation.groupID){ + // setTimeout(()=>{ + // uni.navigateTo({ + // url:"/pages/conversation/groupAlbum/groupAlbum?groupID="+this.storeCurrentConversation.groupID + // }); + // },1000) + // } + } }, watch:{ storeCurrentMsgID(nv,ov){ diff --git a/pages/conversation/conversationList/index.vue b/pages/conversation/conversationList/index.vue index 69ba9cf..b9663b9 100644 --- a/pages/conversation/conversationList/index.vue +++ b/pages/conversation/conversationList/index.vue @@ -77,15 +77,15 @@ //console.log(this.storeConversationList); this.freshing = false; if(process.env.NODE_ENV == 'development'){ - // setTimeout(()=>{ - // // uni.switchTab({ - // // url:"/pages/user/index/index" - // // }) - // // uni.navigateTo({ - // // url:"/pages/user/vip/vip" - // // }); - // //prepareConversationState(this.storeConversationList[1]); - // },1000) + setTimeout(()=>{ + // uni.switchTab({ + // url:"/pages/user/index/index" + // }) + // uni.navigateTo({ + // url:"/pages/conversation/groupAlbum/groupAlbum?groupID=1731702760" + // }); + //prepareConversationState(this.storeConversationList[0]); + },1000) } }, methods: { diff --git a/pages/conversation/groupAlbum/groupAlbum.vue b/pages/conversation/groupAlbum/groupAlbum.vue new file mode 100644 index 0000000..d1533bf --- /dev/null +++ b/pages/conversation/groupAlbum/groupAlbum.vue @@ -0,0 +1,354 @@ + + + + + \ No newline at end of file diff --git a/pages/conversation/groupSettings/index.vue b/pages/conversation/groupSettings/index.vue index 45f6e91..cb6f3a1 100644 --- a/pages/conversation/groupSettings/index.vue +++ b/pages/conversation/groupSettings/index.vue @@ -13,7 +13,7 @@ - + @@ -21,6 +21,7 @@ + @@ -204,6 +205,8 @@ return this.storeCurrentGroup.status === GroupStatus.Muted; }, }, + onLoad() { + }, methods: { editGroupName(){ if(this.isOwner || this.isAdmin){ diff --git a/pages/find/friend-circle/components/circleItem.vue b/pages/find/friend-circle/components/circleItem.vue index 893e35a..2aa72be 100644 --- a/pages/find/friend-circle/components/circleItem.vue +++ b/pages/find/friend-circle/components/circleItem.vue @@ -6,7 +6,8 @@ {{ item.user.nickname || item.user.remark }} - + {{item.body}} + @@ -19,7 +20,7 @@ - + @@ -223,6 +224,9 @@ padding-top: 4rpx; //line-height: 36rpx; font-size: 32rpx; + uni-text{ + + } } &-img { @@ -298,8 +302,8 @@ &-content { word-break: break-all; - } } + } } } } diff --git a/pages/find/friend-circle/friend-circle.vue b/pages/find/friend-circle/friend-circle.vue index a7d9ba7..16c278e 100644 --- a/pages/find/friend-circle/friend-circle.vue +++ b/pages/find/friend-circle/friend-circle.vue @@ -42,18 +42,18 @@ - -