diff --git a/assets/Scripts/chat18x/ui/components/ChatContentsLayout.ts b/assets/Scripts/chat18x/ui/components/ChatContentsLayout.ts index 490e4a6c..aa7efa78 100644 --- a/assets/Scripts/chat18x/ui/components/ChatContentsLayout.ts +++ b/assets/Scripts/chat18x/ui/components/ChatContentsLayout.ts @@ -3,7 +3,10 @@ import { Component, instantiate, Node, + NodeEventType, ScrollView, + Tween, + UIOpacity, UITransform, Vec3, view, @@ -34,6 +37,13 @@ export class ChatContentsLayout extends Component { @property(ScrollView) private scrollView: ScrollView = null; + // 内容透明度组件 + private contentOpacity: UIOpacity = null; + // 是否正在按下 + private isPressing: boolean = false; + // 长按计时器 + private longPressTimer: number = null; + fixMaxWidth: number; protected start(): void { @@ -41,7 +51,15 @@ export class ChatContentsLayout extends Component { this.rBubble.node.active = false; this.fixMaxWidth = 730; - // 获取父节点的ScrollView组件 + // 获取或添加UIOpacity组件到content节点 + this.contentOpacity = this.node.getComponent(UIOpacity) || this.node.addComponent(UIOpacity); + + // 注册触摸事件 + if (this.scrollView && this.scrollView.node) { + this.scrollView.node.on(NodeEventType.TOUCH_START, this.onTouchStart, this); + this.scrollView.node.on(NodeEventType.TOUCH_END, this.onTouchEnd, this); + this.scrollView.node.on(NodeEventType.TOUCH_CANCEL, this.onTouchEnd, this); + } } protected onEnable(): void { @@ -251,4 +269,70 @@ export class ChatContentsLayout extends Component { this.bubbles.push(bubble); } } + + /** + * 触摸开始事件 + */ + private onTouchStart(): void { + // 清除之前的计时器 + if (this.longPressTimer) { + clearTimeout(this.longPressTimer); + } + + // 设置长按计时器(300ms后触发) + this.longPressTimer = setTimeout(() => { + this.isPressing = true; + // 使用Tween动画平滑调整透明度 + Tween.stopAllByTarget(this.contentOpacity); + new Tween(this.contentOpacity) + .to(0.2, { opacity: 50 }) // 调整到约20%透明度 + .start(); + }, 300); + } + + /** + * 触摸结束事件 + */ + private onTouchEnd(): void { + // 清除计时器 + if (this.longPressTimer) { + clearTimeout(this.longPressTimer); + this.longPressTimer = null; + } + + // 如果已经按下,恢复透明度 + if (this.isPressing) { + this.isPressing = false; + Tween.stopAllByTarget(this.contentOpacity); + new Tween(this.contentOpacity) + .to(0.2, { opacity: 255 }) // 恢复到100%透明度 + .start(); + } + } + + /** + * 组件销毁时清理资源 + */ + protected onDestroy(): void { + // 清理事件监听 + if (this.scrollView && this.scrollView.node) { + this.scrollView.node.off(NodeEventType.TOUCH_START, this.onTouchStart, this); + this.scrollView.node.off(NodeEventType.TOUCH_END, this.onTouchEnd, this); + this.scrollView.node.off(NodeEventType.TOUCH_CANCEL, this.onTouchEnd, this); + } + + // 清理计时器 + if (this.longPressTimer) { + clearTimeout(this.longPressTimer); + this.longPressTimer = null; + } + + // 清理延时任务 + this.clearDelayedTasks(); + + // 停止所有动画 + if (this.contentOpacity) { + Tween.stopAllByTarget(this.contentOpacity); + } + } } diff --git a/assets/bundles/Chat18x/ChatPanel.prefab b/assets/bundles/Chat18x/ChatPanel.prefab index 50ad52d1..eff333e2 100644 --- a/assets/bundles/Chat18x/ChatPanel.prefab +++ b/assets/bundles/Chat18x/ChatPanel.prefab @@ -22,7 +22,7 @@ "__id__": 2 }, { - "__id__": 251 + "__id__": 253 }, { "__id__": 72 @@ -31,23 +31,23 @@ "__id__": 112 }, { - "__id__": 329 + "__id__": 331 } ], "_active": true, "_components": [ - { - "__id__": 359 - }, { "__id__": 361 }, { "__id__": 363 + }, + { + "__id__": 365 } ], "_prefab": { - "__id__": 365 + "__id__": 367 }, "_lpos": { "__type__": "cc.Vec3", @@ -100,26 +100,26 @@ "__id__": 56 }, { - "__id__": 168 + "__id__": 170 }, { - "__id__": 180 + "__id__": 182 } ], "_active": true, "_components": [ - { - "__id__": 244 - }, { "__id__": 246 }, { "__id__": 248 + }, + { + "__id__": 250 } ], "_prefab": { - "__id__": 250 + "__id__": 252 }, "_lpos": { "__type__": "cc.Vec3", @@ -1383,20 +1383,20 @@ "_active": true, "_components": [ { - "__id__": 161 + "__id__": 163 }, { - "__id__": 163 + "__id__": 165 }, { "__id__": 151 }, { - "__id__": 165 + "__id__": 167 } ], "_prefab": { - "__id__": 167 + "__id__": 169 }, "_lpos": { "__type__": "cc.Vec3", @@ -1569,18 +1569,18 @@ ], "_active": true, "_components": [ - { - "__id__": 154 - }, { "__id__": 156 }, { "__id__": 158 + }, + { + "__id__": 160 } ], "_prefab": { - "__id__": 160 + "__id__": 162 }, "_lpos": { "__type__": "cc.Vec3", @@ -1630,10 +1630,13 @@ }, { "__id__": 69 + }, + { + "__id__": 153 } ], "_prefab": { - "__id__": 153 + "__id__": 155 }, "_lpos": { "__type__": "cc.Vec3", @@ -3556,6 +3559,25 @@ "__type__": "cc.CompPrefabInfo", "fileId": "75j3BczQdPJZs5ea27MqKN" }, + { + "__type__": "cc.UIOpacity", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 154 + }, + "_opacity": 255, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b9SWrosg5N7r3pa6oDFIys" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -3579,7 +3601,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 155 + "__id__": 157 }, "_contentSize": { "__type__": "cc.Size", @@ -3607,7 +3629,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 157 + "__id__": 159 }, "_type": 0, "_inverted": false, @@ -3629,7 +3651,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 159 + "__id__": 161 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3688,7 +3710,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 162 + "__id__": 164 }, "_contentSize": { "__type__": "cc.Size", @@ -3716,7 +3738,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 164 + "__id__": 166 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3758,7 +3780,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 166 + "__id__": 168 }, "_alignFlags": 1, "_target": null, @@ -3807,20 +3829,20 @@ }, "_children": [ { - "__id__": 169 + "__id__": 171 } ], "_active": true, "_components": [ { - "__id__": 175 + "__id__": 177 }, { - "__id__": 177 + "__id__": 179 } ], "_prefab": { - "__id__": 179 + "__id__": 181 }, "_lpos": { "__type__": "cc.Vec3", @@ -3857,20 +3879,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 168 + "__id__": 170 }, "_children": [], "_active": false, "_components": [ { - "__id__": 170 + "__id__": 172 }, { - "__id__": 172 + "__id__": 174 } ], "_prefab": { - "__id__": 174 + "__id__": 176 }, "_lpos": { "__type__": "cc.Vec3", @@ -3907,11 +3929,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 169 + "__id__": 171 }, "_enabled": true, "__prefab": { - "__id__": 171 + "__id__": 173 }, "_contentSize": { "__type__": "cc.Size", @@ -3935,11 +3957,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 169 + "__id__": 171 }, "_enabled": true, "__prefab": { - "__id__": 173 + "__id__": 175 }, "_resourceType": 1, "_remoteURL": "", @@ -3978,11 +4000,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 168 + "__id__": 170 }, "_enabled": true, "__prefab": { - "__id__": 176 + "__id__": 178 }, "_contentSize": { "__type__": "cc.Size", @@ -4006,11 +4028,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 168 + "__id__": 170 }, "_enabled": true, "__prefab": { - "__id__": 178 + "__id__": 180 }, "_alignFlags": 45, "_target": null, @@ -4059,32 +4081,32 @@ }, "_children": [ { - "__id__": 181 + "__id__": 183 }, { - "__id__": 189 + "__id__": 191 }, { - "__id__": 197 + "__id__": 199 }, { - "__id__": 222 + "__id__": 224 } ], "_active": true, "_components": [ - { - "__id__": 237 - }, { "__id__": 239 }, { "__id__": 241 + }, + { + "__id__": 243 } ], "_prefab": { - "__id__": 243 + "__id__": 245 }, "_lpos": { "__type__": "cc.Vec3", @@ -4121,23 +4143,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 182 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 182 - }, { "__id__": 184 }, { "__id__": 186 + }, + { + "__id__": 188 } ], "_prefab": { - "__id__": 188 + "__id__": 190 }, "_lpos": { "__type__": "cc.Vec3", @@ -4174,11 +4196,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 183 + "__id__": 185 }, "_contentSize": { "__type__": "cc.Size", @@ -4202,11 +4224,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 185 + "__id__": 187 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4247,11 +4269,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 187 + "__id__": 189 }, "_alignFlags": 40, "_target": null, @@ -4296,23 +4318,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 182 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 190 - }, { "__id__": 192 }, { "__id__": 194 + }, + { + "__id__": 196 } ], "_prefab": { - "__id__": 196 + "__id__": 198 }, "_lpos": { "__type__": "cc.Vec3", @@ -4349,11 +4371,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 189 + "__id__": 191 }, "_enabled": true, "__prefab": { - "__id__": 191 + "__id__": 193 }, "_contentSize": { "__type__": "cc.Size", @@ -4377,11 +4399,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 189 + "__id__": 191 }, "_enabled": true, "__prefab": { - "__id__": 193 + "__id__": 195 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4422,11 +4444,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 189 + "__id__": 191 }, "_enabled": true, "__prefab": { - "__id__": 195 + "__id__": 197 }, "_alignFlags": 40, "_target": null, @@ -4471,21 +4493,18 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 182 }, "_children": [ { - "__id__": 198 + "__id__": 200 }, { - "__id__": 204 + "__id__": 206 } ], "_active": true, "_components": [ - { - "__id__": 212 - }, { "__id__": 214 }, @@ -4493,11 +4512,14 @@ "__id__": 216 }, { - "__id__": 219 + "__id__": 218 + }, + { + "__id__": 221 } ], "_prefab": { - "__id__": 221 + "__id__": 223 }, "_lpos": { "__type__": "cc.Vec3", @@ -4534,20 +4556,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 197 + "__id__": 199 }, "_children": [], "_active": false, "_components": [ { - "__id__": 199 + "__id__": 201 }, { - "__id__": 201 + "__id__": 203 } ], "_prefab": { - "__id__": 203 + "__id__": 205 }, "_lpos": { "__type__": "cc.Vec3", @@ -4584,11 +4606,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 200 }, "_enabled": true, "__prefab": { - "__id__": 200 + "__id__": 202 }, "_contentSize": { "__type__": "cc.Size", @@ -4612,11 +4634,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 200 }, "_enabled": true, "__prefab": { - "__id__": 202 + "__id__": 204 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4693,23 +4715,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 197 + "__id__": 199 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 205 - }, { "__id__": 207 }, { "__id__": 209 + }, + { + "__id__": 211 } ], "_prefab": { - "__id__": 211 + "__id__": 213 }, "_lpos": { "__type__": "cc.Vec3", @@ -4746,11 +4768,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 204 + "__id__": 206 }, "_enabled": true, "__prefab": { - "__id__": 206 + "__id__": 208 }, "_contentSize": { "__type__": "cc.Size", @@ -4774,11 +4796,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 204 + "__id__": 206 }, "_enabled": true, "__prefab": { - "__id__": 208 + "__id__": 210 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4842,11 +4864,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 204 + "__id__": 206 }, "_enabled": true, "__prefab": { - "__id__": 210 + "__id__": 212 }, "languageKey": "chatpanel.inputplaceholder", "defaultText": "", @@ -4876,11 +4898,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 213 + "__id__": 215 }, "_contentSize": { "__type__": "cc.Size", @@ -4904,11 +4926,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 199 }, "_enabled": false, "__prefab": { - "__id__": 215 + "__id__": 217 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4946,25 +4968,25 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 217 + "__id__": 219 }, "editingDidBegan": [], "textChanged": [], "editingDidEnded": [], "editingReturn": [ { - "__id__": 218 + "__id__": 220 } ], "_textLabel": { - "__id__": 201 + "__id__": 203 }, "_placeholderLabel": { - "__id__": 207 + "__id__": 209 }, "_returnType": 0, "_string": "", @@ -4995,11 +5017,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 220 + "__id__": 222 }, "_alignFlags": 44, "_target": null, @@ -5044,27 +5066,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 182 }, "_children": [ { - "__id__": 223 + "__id__": 225 } ], "_active": true, "_components": [ - { - "__id__": 229 - }, { "__id__": 231 }, { "__id__": 233 + }, + { + "__id__": 235 } ], "_prefab": { - "__id__": 236 + "__id__": 238 }, "_lpos": { "__type__": "cc.Vec3", @@ -5101,20 +5123,20 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 222 + "__id__": 224 }, "_children": [], "_active": true, "_components": [ { - "__id__": 224 + "__id__": 226 }, { - "__id__": 226 + "__id__": 228 } ], "_prefab": { - "__id__": 228 + "__id__": 230 }, "_lpos": { "__type__": "cc.Vec3", @@ -5151,11 +5173,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 225 }, "_enabled": true, "__prefab": { - "__id__": 225 + "__id__": 227 }, "_contentSize": { "__type__": "cc.Size", @@ -5179,11 +5201,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 225 }, "_enabled": true, "__prefab": { - "__id__": 227 + "__id__": 229 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5263,11 +5285,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 222 + "__id__": 224 }, "_enabled": true, "__prefab": { - "__id__": 230 + "__id__": 232 }, "_contentSize": { "__type__": "cc.Size", @@ -5291,11 +5313,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 222 + "__id__": 224 }, "_enabled": true, "__prefab": { - "__id__": 232 + "__id__": 234 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5336,15 +5358,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 222 + "__id__": 224 }, "_enabled": true, "__prefab": { - "__id__": 234 + "__id__": 236 }, "clickEvents": [ { - "__id__": 235 + "__id__": 237 } ], "_interactable": true, @@ -5396,7 +5418,7 @@ "_duration": 0.1, "_zoomScale": 0.9, "_target": { - "__id__": 222 + "__id__": 224 }, "_id": "" }, @@ -5433,11 +5455,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 238 + "__id__": 240 }, "_contentSize": { "__type__": "cc.Size", @@ -5461,11 +5483,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 182 }, "_enabled": false, "__prefab": { - "__id__": 240 + "__id__": 242 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5506,11 +5528,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 242 + "__id__": 244 }, "_alignFlags": 44, "_target": null, @@ -5559,7 +5581,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 245 + "__id__": 247 }, "_contentSize": { "__type__": "cc.Size", @@ -5587,7 +5609,7 @@ }, "_enabled": false, "__prefab": { - "__id__": 247 + "__id__": 249 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5629,7 +5651,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 249 + "__id__": 251 }, "_alignFlags": 45, "_target": null, @@ -5678,20 +5700,17 @@ }, "_children": [ { - "__id__": 252 + "__id__": 254 }, { - "__id__": 260 + "__id__": 262 }, { - "__id__": 289 + "__id__": 291 } ], "_active": true, "_components": [ - { - "__id__": 318 - }, { "__id__": 320 }, @@ -5703,10 +5722,13 @@ }, { "__id__": 326 + }, + { + "__id__": 328 } ], "_prefab": { - "__id__": 328 + "__id__": 330 }, "_lpos": { "__type__": "cc.Vec3", @@ -5743,23 +5765,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 251 + "__id__": 253 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 253 - }, { "__id__": 255 }, { "__id__": 257 + }, + { + "__id__": 259 } ], "_prefab": { - "__id__": 259 + "__id__": 261 }, "_lpos": { "__type__": "cc.Vec3", @@ -5796,11 +5818,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 252 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 254 + "__id__": 256 }, "_contentSize": { "__type__": "cc.Size", @@ -5824,11 +5846,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 252 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 256 + "__id__": 258 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5892,11 +5914,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 252 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 258 + "__id__": 260 }, "languageKey": "chatpanel.paytotalk.desc", "defaultText": "", @@ -5926,24 +5948,21 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 251 + "__id__": 253 }, "_children": [ { - "__id__": 261 + "__id__": 263 }, { - "__id__": 267 + "__id__": 269 }, { - "__id__": 273 + "__id__": 275 } ], "_active": true, "_components": [ - { - "__id__": 279 - }, { "__id__": 281 }, @@ -5951,11 +5970,14 @@ "__id__": 283 }, { - "__id__": 286 + "__id__": 285 + }, + { + "__id__": 288 } ], "_prefab": { - "__id__": 288 + "__id__": 290 }, "_lpos": { "__type__": "cc.Vec3", @@ -5992,20 +6014,20 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 260 + "__id__": 262 }, "_children": [], "_active": true, "_components": [ { - "__id__": 262 + "__id__": 264 }, { - "__id__": 264 + "__id__": 266 } ], "_prefab": { - "__id__": 266 + "__id__": 268 }, "_lpos": { "__type__": "cc.Vec3", @@ -6042,11 +6064,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 261 + "__id__": 263 }, "_enabled": true, "__prefab": { - "__id__": 263 + "__id__": 265 }, "_contentSize": { "__type__": "cc.Size", @@ -6070,11 +6092,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 261 + "__id__": 263 }, "_enabled": true, "__prefab": { - "__id__": 265 + "__id__": 267 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6154,20 +6176,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 260 + "__id__": 262 }, "_children": [], "_active": true, "_components": [ { - "__id__": 268 + "__id__": 270 }, { - "__id__": 270 + "__id__": 272 } ], "_prefab": { - "__id__": 272 + "__id__": 274 }, "_lpos": { "__type__": "cc.Vec3", @@ -6204,11 +6226,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 267 + "__id__": 269 }, "_enabled": true, "__prefab": { - "__id__": 269 + "__id__": 271 }, "_contentSize": { "__type__": "cc.Size", @@ -6232,11 +6254,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 267 + "__id__": 269 }, "_enabled": true, "__prefab": { - "__id__": 271 + "__id__": 273 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6290,20 +6312,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 260 + "__id__": 262 }, "_children": [], "_active": true, "_components": [ { - "__id__": 274 + "__id__": 276 }, { - "__id__": 276 + "__id__": 278 } ], "_prefab": { - "__id__": 278 + "__id__": 280 }, "_lpos": { "__type__": "cc.Vec3", @@ -6340,11 +6362,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 275 }, "_enabled": true, "__prefab": { - "__id__": 275 + "__id__": 277 }, "_contentSize": { "__type__": "cc.Size", @@ -6368,11 +6390,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 275 }, "_enabled": true, "__prefab": { - "__id__": 277 + "__id__": 279 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6452,11 +6474,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 260 + "__id__": 262 }, "_enabled": true, "__prefab": { - "__id__": 280 + "__id__": 282 }, "_contentSize": { "__type__": "cc.Size", @@ -6480,11 +6502,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 260 + "__id__": 262 }, "_enabled": true, "__prefab": { - "__id__": 282 + "__id__": 284 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6525,15 +6547,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 260 + "__id__": 262 }, "_enabled": true, "__prefab": { - "__id__": 284 + "__id__": 286 }, "clickEvents": [ { - "__id__": 285 + "__id__": 287 } ], "_interactable": true, @@ -6573,7 +6595,7 @@ "_duration": 0.1, "_zoomScale": 0.9, "_target": { - "__id__": 260 + "__id__": 262 }, "_id": "" }, @@ -6584,7 +6606,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 251 + "__id__": 253 }, "component": "", "_componentId": "06f47u6codPJodunp6ofax0", @@ -6597,11 +6619,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 260 + "__id__": 262 }, "_enabled": true, "__prefab": { - "__id__": 287 + "__id__": 289 }, "_alignFlags": 16, "_target": null, @@ -6646,24 +6668,21 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 251 + "__id__": 253 }, "_children": [ { - "__id__": 290 + "__id__": 292 }, { - "__id__": 296 + "__id__": 298 }, { - "__id__": 302 + "__id__": 304 } ], "_active": true, "_components": [ - { - "__id__": 308 - }, { "__id__": 310 }, @@ -6671,11 +6690,14 @@ "__id__": 312 }, { - "__id__": 315 + "__id__": 314 + }, + { + "__id__": 317 } ], "_prefab": { - "__id__": 317 + "__id__": 319 }, "_lpos": { "__type__": "cc.Vec3", @@ -6712,20 +6734,20 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 289 + "__id__": 291 }, "_children": [], "_active": true, "_components": [ { - "__id__": 291 + "__id__": 293 }, { - "__id__": 293 + "__id__": 295 } ], "_prefab": { - "__id__": 295 + "__id__": 297 }, "_lpos": { "__type__": "cc.Vec3", @@ -6762,11 +6784,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 290 + "__id__": 292 }, "_enabled": true, "__prefab": { - "__id__": 292 + "__id__": 294 }, "_contentSize": { "__type__": "cc.Size", @@ -6790,11 +6812,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 290 + "__id__": 292 }, "_enabled": true, "__prefab": { - "__id__": 294 + "__id__": 296 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6874,20 +6896,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 289 + "__id__": 291 }, "_children": [], "_active": true, "_components": [ { - "__id__": 297 + "__id__": 299 }, { - "__id__": 299 + "__id__": 301 } ], "_prefab": { - "__id__": 301 + "__id__": 303 }, "_lpos": { "__type__": "cc.Vec3", @@ -6924,11 +6946,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 296 + "__id__": 298 }, "_enabled": true, "__prefab": { - "__id__": 298 + "__id__": 300 }, "_contentSize": { "__type__": "cc.Size", @@ -6952,11 +6974,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 296 + "__id__": 298 }, "_enabled": true, "__prefab": { - "__id__": 300 + "__id__": 302 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7036,20 +7058,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 289 + "__id__": 291 }, "_children": [], "_active": true, "_components": [ { - "__id__": 303 + "__id__": 305 }, { - "__id__": 305 + "__id__": 307 } ], "_prefab": { - "__id__": 307 + "__id__": 309 }, "_lpos": { "__type__": "cc.Vec3", @@ -7086,11 +7108,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 302 + "__id__": 304 }, "_enabled": true, "__prefab": { - "__id__": 304 + "__id__": 306 }, "_contentSize": { "__type__": "cc.Size", @@ -7114,11 +7136,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 302 + "__id__": 304 }, "_enabled": true, "__prefab": { - "__id__": 306 + "__id__": 308 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7172,11 +7194,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 289 + "__id__": 291 }, "_enabled": true, "__prefab": { - "__id__": 309 + "__id__": 311 }, "_contentSize": { "__type__": "cc.Size", @@ -7200,11 +7222,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 289 + "__id__": 291 }, "_enabled": true, "__prefab": { - "__id__": 311 + "__id__": 313 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7245,15 +7267,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 289 + "__id__": 291 }, "_enabled": true, "__prefab": { - "__id__": 313 + "__id__": 315 }, "clickEvents": [ { - "__id__": 314 + "__id__": 316 } ], "_interactable": true, @@ -7293,7 +7315,7 @@ "_duration": 0.1, "_zoomScale": 0.9, "_target": { - "__id__": 289 + "__id__": 291 }, "_id": "" }, @@ -7304,7 +7326,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 251 + "__id__": 253 }, "component": "", "_componentId": "06f47u6codPJodunp6ofax0", @@ -7317,11 +7339,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 289 + "__id__": 291 }, "_enabled": true, "__prefab": { - "__id__": 316 + "__id__": 318 }, "_alignFlags": 16, "_target": null, @@ -7366,11 +7388,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 251 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 319 + "__id__": 321 }, "_contentSize": { "__type__": "cc.Size", @@ -7394,11 +7416,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 251 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 321 + "__id__": 323 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7439,11 +7461,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 251 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 323 + "__id__": 325 }, "_alignFlags": 40, "_target": null, @@ -7475,23 +7497,23 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 251 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 325 + "__id__": 327 }, "timeLabel": { - "__id__": 264 + "__id__": 266 }, "timeBtnLabel": { - "__id__": 276 + "__id__": 278 }, "vipLabel": { - "__id__": 293 + "__id__": 295 }, "vipBtnLabel": { - "__id__": 299 + "__id__": 301 }, "_id": "" }, @@ -7505,11 +7527,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 251 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 327 + "__id__": 329 }, "_opacity": 255, "_id": "" @@ -7541,20 +7563,20 @@ }, "_children": [ { - "__id__": 330 + "__id__": 332 } ], "_active": true, "_components": [ { - "__id__": 354 + "__id__": 356 }, { - "__id__": 356 + "__id__": 358 } ], "_prefab": { - "__id__": 358 + "__id__": 360 }, "_lpos": { "__type__": "cc.Vec3", @@ -7591,24 +7613,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 329 + "__id__": 331 }, "_children": [ { - "__id__": 331 + "__id__": 333 } ], "_active": true, "_components": [ { - "__id__": 349 + "__id__": 351 }, { - "__id__": 351 + "__id__": 353 } ], "_prefab": { - "__id__": 353 + "__id__": 355 }, "_lpos": { "__type__": "cc.Vec3", @@ -7645,27 +7667,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 330 + "__id__": 332 }, "_children": [ { - "__id__": 332 + "__id__": 334 } ], "_active": true, "_components": [ - { - "__id__": 342 - }, { "__id__": 344 }, { "__id__": 346 + }, + { + "__id__": 348 } ], "_prefab": { - "__id__": 348 + "__id__": 350 }, "_lpos": { "__type__": "cc.Vec3", @@ -7702,14 +7724,11 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 331 + "__id__": 333 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 333 - }, { "__id__": 335 }, @@ -7718,10 +7737,13 @@ }, { "__id__": 339 + }, + { + "__id__": 341 } ], "_prefab": { - "__id__": 341 + "__id__": 343 }, "_lpos": { "__type__": "cc.Vec3", @@ -7758,11 +7780,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 334 }, "_enabled": true, "__prefab": { - "__id__": 334 + "__id__": 336 }, "_contentSize": { "__type__": "cc.Size", @@ -7786,11 +7808,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 334 }, "_enabled": true, "__prefab": { - "__id__": 336 + "__id__": 338 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7828,11 +7850,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 334 }, "_enabled": true, "__prefab": { - "__id__": 338 + "__id__": 340 }, "_alignFlags": 12, "_target": null, @@ -7864,11 +7886,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 334 }, "_enabled": true, "__prefab": { - "__id__": 340 + "__id__": 342 }, "clickEvents": [], "_interactable": true, @@ -7933,11 +7955,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 331 + "__id__": 333 }, "_enabled": true, "__prefab": { - "__id__": 343 + "__id__": 345 }, "_contentSize": { "__type__": "cc.Size", @@ -7961,11 +7983,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 331 + "__id__": 333 }, "_enabled": true, "__prefab": { - "__id__": 345 + "__id__": 347 }, "_type": 3, "_inverted": false, @@ -7983,11 +8005,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 331 + "__id__": 333 }, "_enabled": true, "__prefab": { - "__id__": 347 + "__id__": 349 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -8041,11 +8063,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 330 + "__id__": 332 }, "_enabled": true, "__prefab": { - "__id__": 350 + "__id__": 352 }, "_contentSize": { "__type__": "cc.Size", @@ -8069,11 +8091,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 330 + "__id__": 332 }, "_enabled": true, "__prefab": { - "__id__": 352 + "__id__": 354 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -8127,11 +8149,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 329 + "__id__": 331 }, "_enabled": true, "__prefab": { - "__id__": 355 + "__id__": 357 }, "_contentSize": { "__type__": "cc.Size", @@ -8155,14 +8177,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 329 + "__id__": 331 }, "_enabled": true, "__prefab": { - "__id__": 357 + "__id__": 359 }, "image": { - "__id__": 335 + "__id__": 337 }, "_id": "" }, @@ -8193,7 +8215,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 360 + "__id__": 362 }, "_contentSize": { "__type__": "cc.Size", @@ -8221,7 +8243,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 362 + "__id__": 364 }, "_alignFlags": 45, "_target": null, @@ -8257,26 +8279,26 @@ }, "_enabled": true, "__prefab": { - "__id__": 364 + "__id__": 366 }, "m_rootNode": null, "payToTalkPanel": { - "__id__": 324 + "__id__": 326 }, "editBox": { - "__id__": 216 + "__id__": 218 }, "girlName": { "__id__": 44 }, "videoArea": { - "__id__": 175 + "__id__": 177 }, "layout": { "__id__": 69 }, "popUpImage": { - "__id__": 356 + "__id__": 358 }, "_id": "" },