File tree Expand file tree Collapse file tree 4 files changed +21
-11
lines changed
packageAPI/pages/chattool Expand file tree Collapse file tree 4 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 515515 "materialType" : " image/*" ,
516516 "name" : " 用${nickname}打开" ,
517517 "desc" : " 聊天内容长按打开" ,
518- "path" : " pages/chattool/material_open/material_open"
518+ "path" : " packageAPI/ pages/chattool/material_open/material_open"
519519 }
520520 ],
521521 "multiSelectSupportedMaterials" : [
522522 {
523523 "materialType" : [" image/*" , " text/message" ],
524524 "desc" : " 聊天内容长按多选打开" ,
525- "path" : " pages/chattool/material_open/material_open" ,
525+ "path" : " packageAPI/ pages/chattool/material_open/material_open" ,
526526 "scopes" : []
527527 }
528528 ]
Original file line number Diff line number Diff line change 1+ const util = require ( '../../../../util/util' )
2+ const systemInfo = wx . getSystemInfoSync ( )
13Page ( {
24 data : {
35 activityList : [ ] ,
@@ -17,6 +19,15 @@ Page({
1719 } ,
1820
1921 onLoad ( ) {
22+ if ( util . compareVersion ( systemInfo . SDKVersion , '3.7.8' ) < 0 ) {
23+ wx . showModal ( {
24+ title : '需升级微信到新版本体验' ,
25+ showCancel : false ,
26+ content : '' ,
27+ } )
28+ return
29+ }
30+
2031 wx . cloud . init ( {
2132 // env 参数说明:
2233 // env 参数决定接下来小程序发起的云开发调用(wx.cloud.xxx)会默认请求到哪个云环境的资源
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ export function getGroupEnterInfo() {
2424 roomid : opengid || openSingleRoomID ,
2525 chatType : groupInfo . data . chat_type
2626 }
27- console . info ( '@@@ groupInfo: ' , data )
2827 resolve ( data )
2928 } else {
3029 reject ( )
@@ -37,7 +36,7 @@ export function getGroupEnterInfo() {
3736 reject ( res )
3837 } ,
3938 complete ( res ) {
40- console . info ( '@@@ getGroupEnterInfo complete: ' , res )
39+ console . info ( 'getGroupEnterInfo complete: ' , res )
4140 }
4241 } )
4342 } )
Original file line number Diff line number Diff line change 1111 "condition" : {
1212 "miniprogram" : {
1313 "list" : [
14+ {
15+ "name" : " 聊天工具-签到助手" ,
16+ "pathName" : " packageAPI/pages/chattool/activity_assist/activity_assist" ,
17+ "query" : " " ,
18+ "launchMode" : " default" ,
19+ "scene" : null
20+ },
1421 {
1522 "name" : " packageAPI/pages/chattool/material_view/material_view" ,
1623 "pathName" : " packageAPI/pages/chattool/material_view/material_view" ,
3946 "launchMode" : " default" ,
4047 "scene" : null
4148 },
42- {
43- "name" : " 聊天工具-签到助手" ,
44- "pathName" : " packageAPI/pages/chattool/open-chattool/open-chattool" ,
45- "query" : " " ,
46- "launchMode" : " default" ,
47- "scene" : null
48- },
4949 {
5050 "name" : " gaussian-splatting-ar" ,
5151 "pathName" : " packageAPI/pages/ar/gaussian-splatting/gaussian-splatting-ar" ,
You can’t perform that action at this time.
0 commit comments