scrollview.prefab 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_rawFiles": null,
  7. "data": {
  8. "__id__": 1
  9. }
  10. },
  11. {
  12. "__type__": "cc.Node",
  13. "_name": "scrollview",
  14. "_objFlags": 0,
  15. "_parent": null,
  16. "_children": [
  17. {
  18. "__id__": 2
  19. },
  20. {
  21. "__id__": 9
  22. }
  23. ],
  24. "_tag": -1,
  25. "_active": true,
  26. "_components": [
  27. {
  28. "__id__": 17
  29. },
  30. {
  31. "__id__": 7
  32. },
  33. {
  34. "__id__": 18
  35. }
  36. ],
  37. "_prefab": {
  38. "__id__": 19
  39. },
  40. "_id": "",
  41. "_opacity": 255,
  42. "_color": {
  43. "__type__": "cc.Color",
  44. "r": 184,
  45. "g": 184,
  46. "b": 184,
  47. "a": 255
  48. },
  49. "_cascadeOpacityEnabled": true,
  50. "_anchorPoint": {
  51. "__type__": "cc.Vec2",
  52. "x": 0.5,
  53. "y": 0.5
  54. },
  55. "_contentSize": {
  56. "__type__": "cc.Size",
  57. "width": 682,
  58. "height": 250
  59. },
  60. "_rotationX": 0,
  61. "_rotationY": 0,
  62. "_scaleX": 1,
  63. "_scaleY": 1,
  64. "_position": {
  65. "__type__": "cc.Vec2",
  66. "x": 360,
  67. "y": 133
  68. },
  69. "_skewX": 0,
  70. "_skewY": 0,
  71. "_localZOrder": 0,
  72. "_globalZOrder": 0,
  73. "_opacityModifyRGB": false,
  74. "groupIndex": 0
  75. },
  76. {
  77. "__type__": "cc.Node",
  78. "_name": "scrollBar",
  79. "_objFlags": 0,
  80. "_parent": {
  81. "__id__": 1
  82. },
  83. "_children": [
  84. {
  85. "__id__": 3
  86. }
  87. ],
  88. "_tag": -1,
  89. "_active": true,
  90. "_components": [
  91. {
  92. "__id__": 6
  93. },
  94. {
  95. "__id__": 14
  96. },
  97. {
  98. "__id__": 15
  99. }
  100. ],
  101. "_prefab": {
  102. "__id__": 16
  103. },
  104. "_id": "",
  105. "_opacity": 255,
  106. "_color": {
  107. "__type__": "cc.Color",
  108. "r": 238,
  109. "g": 217,
  110. "b": 227,
  111. "a": 255
  112. },
  113. "_cascadeOpacityEnabled": true,
  114. "_anchorPoint": {
  115. "__type__": "cc.Vec2",
  116. "x": 1,
  117. "y": 0.5
  118. },
  119. "_contentSize": {
  120. "__type__": "cc.Size",
  121. "width": 12,
  122. "height": 250
  123. },
  124. "_rotationX": 0,
  125. "_rotationY": 0,
  126. "_scaleX": 1,
  127. "_scaleY": 1,
  128. "_position": {
  129. "__type__": "cc.Vec2",
  130. "x": 341,
  131. "y": 0
  132. },
  133. "_skewX": 0,
  134. "_skewY": 0,
  135. "_localZOrder": 0,
  136. "_globalZOrder": 0,
  137. "_opacityModifyRGB": false,
  138. "groupIndex": 0
  139. },
  140. {
  141. "__type__": "cc.Node",
  142. "_name": "bar",
  143. "_objFlags": 0,
  144. "_parent": {
  145. "__id__": 2
  146. },
  147. "_children": [],
  148. "_tag": -1,
  149. "_active": true,
  150. "_components": [
  151. {
  152. "__id__": 4
  153. }
  154. ],
  155. "_prefab": {
  156. "__id__": 5
  157. },
  158. "_id": "",
  159. "_opacity": 255,
  160. "_color": {
  161. "__type__": "cc.Color",
  162. "r": 236,
  163. "g": 241,
  164. "b": 245,
  165. "a": 255
  166. },
  167. "_cascadeOpacityEnabled": true,
  168. "_anchorPoint": {
  169. "__type__": "cc.Vec2",
  170. "x": 1,
  171. "y": 0
  172. },
  173. "_contentSize": {
  174. "__type__": "cc.Size",
  175. "width": 10,
  176. "height": 30
  177. },
  178. "_rotationX": 0,
  179. "_rotationY": 0,
  180. "_scaleX": 1,
  181. "_scaleY": 1,
  182. "_position": {
  183. "__type__": "cc.Vec2",
  184. "x": -1,
  185. "y": 0
  186. },
  187. "_skewX": 0,
  188. "_skewY": 0,
  189. "_localZOrder": 0,
  190. "_globalZOrder": 0,
  191. "_opacityModifyRGB": false,
  192. "groupIndex": 0
  193. },
  194. {
  195. "__type__": "cc.Sprite",
  196. "_name": "",
  197. "_objFlags": 0,
  198. "node": {
  199. "__id__": 3
  200. },
  201. "_enabled": true,
  202. "_spriteFrame": {
  203. "__uuid__": "5c3bb932-6c3c-468f-88a9-c8c61d458641"
  204. },
  205. "_type": 1,
  206. "_sizeMode": 0,
  207. "_fillType": 0,
  208. "_fillCenter": {
  209. "__type__": "cc.Vec2",
  210. "x": 0,
  211. "y": 0
  212. },
  213. "_fillStart": 0,
  214. "_fillRange": 0,
  215. "_isTrimmedMode": true,
  216. "_srcBlendFactor": 770,
  217. "_dstBlendFactor": 771,
  218. "_atlas": null
  219. },
  220. {
  221. "__type__": "cc.PrefabInfo",
  222. "root": {
  223. "__id__": 1
  224. },
  225. "asset": {
  226. "__id__": 0
  227. },
  228. "fileId": "104wHRyVxOjp4G3cJ9Jy5K",
  229. "sync": false
  230. },
  231. {
  232. "__type__": "cc.Scrollbar",
  233. "_name": "",
  234. "_objFlags": 0,
  235. "node": {
  236. "__id__": 2
  237. },
  238. "_enabled": true,
  239. "_scrollView": {
  240. "__id__": 7
  241. },
  242. "_touching": false,
  243. "_opacity": 255,
  244. "enableAutoHide": true,
  245. "autoHideTime": 1,
  246. "_N$handle": {
  247. "__id__": 4
  248. },
  249. "_N$direction": 1
  250. },
  251. {
  252. "__type__": "cc.ScrollView",
  253. "_name": "",
  254. "_objFlags": 0,
  255. "node": {
  256. "__id__": 1
  257. },
  258. "_enabled": true,
  259. "content": {
  260. "__id__": 8
  261. },
  262. "horizontal": false,
  263. "vertical": true,
  264. "inertia": true,
  265. "brake": 0.75,
  266. "elastic": true,
  267. "bounceDuration": 0.23,
  268. "scrollEvents": [],
  269. "cancelInnerEvents": true,
  270. "_N$horizontalScrollBar": null,
  271. "_N$verticalScrollBar": {
  272. "__id__": 6
  273. }
  274. },
  275. {
  276. "__type__": "cc.Node",
  277. "_name": "content",
  278. "_objFlags": 0,
  279. "_parent": {
  280. "__id__": 9
  281. },
  282. "_children": [],
  283. "_tag": -1,
  284. "_active": true,
  285. "_components": [
  286. {
  287. "__id__": 12
  288. }
  289. ],
  290. "_prefab": {
  291. "__id__": 13
  292. },
  293. "_id": "",
  294. "_opacity": 255,
  295. "_color": {
  296. "__type__": "cc.Color",
  297. "r": 255,
  298. "g": 255,
  299. "b": 255,
  300. "a": 255
  301. },
  302. "_cascadeOpacityEnabled": true,
  303. "_anchorPoint": {
  304. "__type__": "cc.Vec2",
  305. "x": 0.5,
  306. "y": 1
  307. },
  308. "_contentSize": {
  309. "__type__": "cc.Size",
  310. "width": 660,
  311. "height": 60
  312. },
  313. "_rotationX": 0,
  314. "_rotationY": 0,
  315. "_scaleX": 1,
  316. "_scaleY": 1,
  317. "_position": {
  318. "__type__": "cc.Vec2",
  319. "x": -329,
  320. "y": 115
  321. },
  322. "_skewX": 0,
  323. "_skewY": 0,
  324. "_localZOrder": 0,
  325. "_globalZOrder": 0,
  326. "_opacityModifyRGB": false,
  327. "groupIndex": 0
  328. },
  329. {
  330. "__type__": "cc.Node",
  331. "_name": "view",
  332. "_objFlags": 0,
  333. "_parent": {
  334. "__id__": 1
  335. },
  336. "_children": [
  337. {
  338. "__id__": 8
  339. }
  340. ],
  341. "_tag": -1,
  342. "_active": true,
  343. "_components": [
  344. {
  345. "__id__": 10
  346. }
  347. ],
  348. "_prefab": {
  349. "__id__": 11
  350. },
  351. "_id": "",
  352. "_opacity": 255,
  353. "_color": {
  354. "__type__": "cc.Color",
  355. "r": 255,
  356. "g": 255,
  357. "b": 255,
  358. "a": 255
  359. },
  360. "_cascadeOpacityEnabled": true,
  361. "_anchorPoint": {
  362. "__type__": "cc.Vec2",
  363. "x": 0.5,
  364. "y": 0.5
  365. },
  366. "_contentSize": {
  367. "__type__": "cc.Size",
  368. "width": 660,
  369. "height": 250
  370. },
  371. "_rotationX": 0,
  372. "_rotationY": 0,
  373. "_scaleX": 1,
  374. "_scaleY": 1,
  375. "_position": {
  376. "__type__": "cc.Vec2",
  377. "x": 0,
  378. "y": 0
  379. },
  380. "_skewX": 0,
  381. "_skewY": 0,
  382. "_localZOrder": 0,
  383. "_globalZOrder": 0,
  384. "_opacityModifyRGB": false,
  385. "groupIndex": 0
  386. },
  387. {
  388. "__type__": "cc.Mask",
  389. "_name": "",
  390. "_objFlags": 0,
  391. "node": {
  392. "__id__": 9
  393. },
  394. "_enabled": true,
  395. "_type": 0,
  396. "_segements": 64,
  397. "_N$spriteFrame": null,
  398. "_N$alphaThreshold": 1,
  399. "_N$inverted": false
  400. },
  401. {
  402. "__type__": "cc.PrefabInfo",
  403. "root": {
  404. "__id__": 1
  405. },
  406. "asset": {
  407. "__id__": 0
  408. },
  409. "fileId": "749LuaN99Jh4XTion7xVyH",
  410. "sync": false
  411. },
  412. {
  413. "__type__": "cc.Layout",
  414. "_name": "",
  415. "_objFlags": 0,
  416. "node": {
  417. "__id__": 8
  418. },
  419. "_enabled": true,
  420. "_layoutSize": {
  421. "__type__": "cc.Size",
  422. "width": 660,
  423. "height": 60
  424. },
  425. "_resize": 1,
  426. "_N$layoutType": 2,
  427. "_N$padding": 0,
  428. "_N$cellSize": {
  429. "__type__": "cc.Size",
  430. "width": 40,
  431. "height": 40
  432. },
  433. "_N$startAxis": 0,
  434. "_N$paddingLeft": 0,
  435. "_N$paddingRight": 0,
  436. "_N$paddingTop": 0,
  437. "_N$paddingBottom": 0,
  438. "_N$spacingX": 0,
  439. "_N$spacingY": 0,
  440. "_N$verticalDirection": 1,
  441. "_N$horizontalDirection": 0
  442. },
  443. {
  444. "__type__": "cc.PrefabInfo",
  445. "root": {
  446. "__id__": 1
  447. },
  448. "asset": {
  449. "__id__": 0
  450. },
  451. "fileId": "83U8XeF7VOcKmrBTzeRWsf",
  452. "sync": false
  453. },
  454. {
  455. "__type__": "cc.Widget",
  456. "_name": "",
  457. "_objFlags": 0,
  458. "node": {
  459. "__id__": 2
  460. },
  461. "_enabled": true,
  462. "isAlignOnce": true,
  463. "_target": null,
  464. "_alignFlags": 37,
  465. "_left": 350.07654921020657,
  466. "_right": 0,
  467. "_top": 0,
  468. "_bottom": 0,
  469. "_verticalCenter": 0,
  470. "_horizontalCenter": 0,
  471. "_isAbsLeft": true,
  472. "_isAbsRight": true,
  473. "_isAbsTop": true,
  474. "_isAbsBottom": true,
  475. "_isAbsHorizontalCenter": true,
  476. "_isAbsVerticalCenter": true,
  477. "_originalWidth": 0,
  478. "_originalHeight": 237
  479. },
  480. {
  481. "__type__": "cc.Sprite",
  482. "_name": "",
  483. "_objFlags": 0,
  484. "node": {
  485. "__id__": 2
  486. },
  487. "_enabled": true,
  488. "_spriteFrame": {
  489. "__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159"
  490. },
  491. "_type": 1,
  492. "_sizeMode": 0,
  493. "_fillType": 0,
  494. "_fillCenter": {
  495. "__type__": "cc.Vec2",
  496. "x": 0,
  497. "y": 0
  498. },
  499. "_fillStart": 0,
  500. "_fillRange": 0,
  501. "_isTrimmedMode": true,
  502. "_srcBlendFactor": 770,
  503. "_dstBlendFactor": 771,
  504. "_atlas": null
  505. },
  506. {
  507. "__type__": "cc.PrefabInfo",
  508. "root": {
  509. "__id__": 1
  510. },
  511. "asset": {
  512. "__id__": 0
  513. },
  514. "fileId": "cey3b/hkdEEKz3TgSmqy1f",
  515. "sync": false
  516. },
  517. {
  518. "__type__": "cc.Sprite",
  519. "_name": "",
  520. "_objFlags": 0,
  521. "node": {
  522. "__id__": 1
  523. },
  524. "_enabled": true,
  525. "_spriteFrame": {
  526. "__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69"
  527. },
  528. "_type": 1,
  529. "_sizeMode": 0,
  530. "_fillType": 0,
  531. "_fillCenter": {
  532. "__type__": "cc.Vec2",
  533. "x": 0,
  534. "y": 0
  535. },
  536. "_fillStart": 0,
  537. "_fillRange": 0,
  538. "_isTrimmedMode": true,
  539. "_srcBlendFactor": 770,
  540. "_dstBlendFactor": 771,
  541. "_atlas": null
  542. },
  543. {
  544. "__type__": "5de86WIH+tHf6CyNvSkWsmf",
  545. "_name": "",
  546. "_objFlags": 0,
  547. "node": {
  548. "__id__": 1
  549. },
  550. "_enabled": true,
  551. "scrollItem": {
  552. "__uuid__": "f5ef5790-91ff-4701-9f84-527a8b5f5b90"
  553. },
  554. "scrollContent": {
  555. "__id__": 8
  556. },
  557. "isCloseLog": false
  558. },
  559. {
  560. "__type__": "cc.PrefabInfo",
  561. "root": {
  562. "__id__": 1
  563. },
  564. "asset": {
  565. "__id__": 0
  566. },
  567. "fileId": "a6o4SE+G9I8KIpMcvpE6rK",
  568. "sync": false
  569. }
  570. ]