scrollview.prefab 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "asyncLoadAssets": false
  12. },
  13. {
  14. "__type__": "cc.Node",
  15. "_name": "scrollview",
  16. "_objFlags": 0,
  17. "_parent": null,
  18. "_children": [
  19. {
  20. "__id__": 2
  21. },
  22. {
  23. "__id__": 9
  24. }
  25. ],
  26. "_active": true,
  27. "_level": 1,
  28. "_components": [
  29. {
  30. "__id__": 19
  31. },
  32. {
  33. "__id__": 7
  34. }
  35. ],
  36. "_prefab": {
  37. "__id__": 20
  38. },
  39. "_opacity": 255,
  40. "_color": {
  41. "__type__": "cc.Color",
  42. "r": 255,
  43. "g": 255,
  44. "b": 255,
  45. "a": 255
  46. },
  47. "_contentSize": {
  48. "__type__": "cc.Size",
  49. "width": 240,
  50. "height": 250
  51. },
  52. "_anchorPoint": {
  53. "__type__": "cc.Vec2",
  54. "x": 0.5,
  55. "y": 0.5
  56. },
  57. "_position": {
  58. "__type__": "cc.Vec3",
  59. "x": 0,
  60. "y": 0,
  61. "z": 0
  62. },
  63. "_scale": {
  64. "__type__": "cc.Vec3",
  65. "x": 1,
  66. "y": 1,
  67. "z": 1
  68. },
  69. "_skewX": 0,
  70. "_skewY": 0,
  71. "_localZOrder": 35,
  72. "groupIndex": 0,
  73. "_id": "",
  74. "_eulerAngles": {
  75. "__type__": "cc.Vec3",
  76. "x": 0,
  77. "y": 0,
  78. "z": 0
  79. }
  80. },
  81. {
  82. "__type__": "cc.Node",
  83. "_name": "scrollBar",
  84. "_objFlags": 0,
  85. "_parent": {
  86. "__id__": 1
  87. },
  88. "_children": [
  89. {
  90. "__id__": 3
  91. }
  92. ],
  93. "_active": true,
  94. "_level": 0,
  95. "_components": [
  96. {
  97. "__id__": 6
  98. },
  99. {
  100. "__id__": 16
  101. },
  102. {
  103. "__id__": 17
  104. }
  105. ],
  106. "_prefab": {
  107. "__id__": 18
  108. },
  109. "_opacity": 255,
  110. "_color": {
  111. "__type__": "cc.Color",
  112. "r": 255,
  113. "g": 255,
  114. "b": 255,
  115. "a": 255
  116. },
  117. "_contentSize": {
  118. "__type__": "cc.Size",
  119. "width": 12,
  120. "height": 250
  121. },
  122. "_anchorPoint": {
  123. "__type__": "cc.Vec2",
  124. "x": 1,
  125. "y": 0.5
  126. },
  127. "_position": {
  128. "__type__": "cc.Vec3",
  129. "x": 120,
  130. "y": 0,
  131. "z": 0
  132. },
  133. "_scale": {
  134. "__type__": "cc.Vec3",
  135. "x": 1,
  136. "y": 1,
  137. "z": 1
  138. },
  139. "_skewX": 0,
  140. "_skewY": 0,
  141. "_localZOrder": 0,
  142. "groupIndex": 0,
  143. "_id": "",
  144. "_eulerAngles": {
  145. "__type__": "cc.Vec3",
  146. "x": 0,
  147. "y": 0,
  148. "z": 0
  149. }
  150. },
  151. {
  152. "__type__": "cc.Node",
  153. "_name": "bar",
  154. "_objFlags": 0,
  155. "_parent": {
  156. "__id__": 2
  157. },
  158. "_children": [],
  159. "_active": true,
  160. "_level": 0,
  161. "_components": [
  162. {
  163. "__id__": 4
  164. }
  165. ],
  166. "_prefab": {
  167. "__id__": 5
  168. },
  169. "_opacity": 255,
  170. "_color": {
  171. "__type__": "cc.Color",
  172. "r": 255,
  173. "g": 255,
  174. "b": 255,
  175. "a": 255
  176. },
  177. "_contentSize": {
  178. "__type__": "cc.Size",
  179. "width": 10,
  180. "height": 30
  181. },
  182. "_anchorPoint": {
  183. "__type__": "cc.Vec2",
  184. "x": 1,
  185. "y": 0
  186. },
  187. "_position": {
  188. "__type__": "cc.Vec3",
  189. "x": -1,
  190. "y": 0,
  191. "z": 0
  192. },
  193. "_scale": {
  194. "__type__": "cc.Vec3",
  195. "x": 1,
  196. "y": 1,
  197. "z": 1
  198. },
  199. "_skewX": 0,
  200. "_skewY": 0,
  201. "_localZOrder": 0,
  202. "groupIndex": 0,
  203. "_id": "",
  204. "_eulerAngles": {
  205. "__type__": "cc.Vec3",
  206. "x": 0,
  207. "y": 0,
  208. "z": 0
  209. }
  210. },
  211. {
  212. "__type__": "cc.Sprite",
  213. "_name": "",
  214. "_objFlags": 0,
  215. "node": {
  216. "__id__": 3
  217. },
  218. "_enabled": true,
  219. "_srcBlendFactor": 770,
  220. "_dstBlendFactor": 771,
  221. "_spriteFrame": {
  222. "__uuid__": "5c3bb932-6c3c-468f-88a9-c8c61d458641"
  223. },
  224. "_type": 1,
  225. "_sizeMode": 0,
  226. "_fillType": 0,
  227. "_fillCenter": {
  228. "__type__": "cc.Vec2",
  229. "x": 0,
  230. "y": 0
  231. },
  232. "_fillStart": 0,
  233. "_fillRange": 0,
  234. "_isTrimmedMode": true,
  235. "_state": 0,
  236. "_atlas": null,
  237. "_id": "7chebcLkhBEYwy3yZYVBmB"
  238. },
  239. {
  240. "__type__": "cc.PrefabInfo",
  241. "root": {
  242. "__id__": 1
  243. },
  244. "asset": {
  245. "__uuid__": "32044bd2-481f-4cf1-a656-e2b2fb1594eb"
  246. },
  247. "fileId": "b1f27kt1ClHyJvwBLxrEfQY",
  248. "sync": false
  249. },
  250. {
  251. "__type__": "cc.Scrollbar",
  252. "_name": "",
  253. "_objFlags": 0,
  254. "node": {
  255. "__id__": 2
  256. },
  257. "_enabled": true,
  258. "_scrollView": {
  259. "__id__": 7
  260. },
  261. "_touching": false,
  262. "_opacity": 255,
  263. "enableAutoHide": true,
  264. "autoHideTime": 1,
  265. "_N$handle": {
  266. "__id__": 4
  267. },
  268. "_N$direction": 1,
  269. "_id": "04ENwaekVFCa8LJNKzTX/j"
  270. },
  271. {
  272. "__type__": "cc.ScrollView",
  273. "_name": "",
  274. "_objFlags": 0,
  275. "node": {
  276. "__id__": 1
  277. },
  278. "_enabled": true,
  279. "content": {
  280. "__id__": 8
  281. },
  282. "horizontal": false,
  283. "vertical": true,
  284. "inertia": true,
  285. "brake": 0.75,
  286. "elastic": true,
  287. "bounceDuration": 0.23,
  288. "scrollEvents": [],
  289. "cancelInnerEvents": true,
  290. "_N$horizontalScrollBar": null,
  291. "_N$verticalScrollBar": {
  292. "__id__": 6
  293. },
  294. "_id": "0e67rZL6ZNaL0fYGjpzN8W"
  295. },
  296. {
  297. "__type__": "cc.Node",
  298. "_name": "content",
  299. "_objFlags": 0,
  300. "_parent": {
  301. "__id__": 9
  302. },
  303. "_children": [
  304. {
  305. "__id__": 12
  306. }
  307. ],
  308. "_active": true,
  309. "_level": 0,
  310. "_components": [],
  311. "_prefab": {
  312. "__id__": 15
  313. },
  314. "_opacity": 255,
  315. "_color": {
  316. "__type__": "cc.Color",
  317. "r": 255,
  318. "g": 255,
  319. "b": 255,
  320. "a": 255
  321. },
  322. "_contentSize": {
  323. "__type__": "cc.Size",
  324. "width": 220,
  325. "height": 400
  326. },
  327. "_anchorPoint": {
  328. "__type__": "cc.Vec2",
  329. "x": 0.5,
  330. "y": 1
  331. },
  332. "_position": {
  333. "__type__": "cc.Vec3",
  334. "x": 0,
  335. "y": 115.31,
  336. "z": 0
  337. },
  338. "_scale": {
  339. "__type__": "cc.Vec3",
  340. "x": 1,
  341. "y": 1,
  342. "z": 1
  343. },
  344. "_skewX": 0,
  345. "_skewY": 0,
  346. "_localZOrder": 0,
  347. "groupIndex": 0,
  348. "_id": "",
  349. "_eulerAngles": {
  350. "__type__": "cc.Vec3",
  351. "x": 0,
  352. "y": 0,
  353. "z": 0
  354. }
  355. },
  356. {
  357. "__type__": "cc.Node",
  358. "_name": "view",
  359. "_objFlags": 0,
  360. "_parent": {
  361. "__id__": 1
  362. },
  363. "_children": [
  364. {
  365. "__id__": 8
  366. }
  367. ],
  368. "_active": true,
  369. "_level": 0,
  370. "_components": [
  371. {
  372. "__id__": 10
  373. }
  374. ],
  375. "_prefab": {
  376. "__id__": 11
  377. },
  378. "_opacity": 255,
  379. "_color": {
  380. "__type__": "cc.Color",
  381. "r": 255,
  382. "g": 255,
  383. "b": 255,
  384. "a": 255
  385. },
  386. "_contentSize": {
  387. "__type__": "cc.Size",
  388. "width": 240,
  389. "height": 250
  390. },
  391. "_anchorPoint": {
  392. "__type__": "cc.Vec2",
  393. "x": 0.5,
  394. "y": 0.5
  395. },
  396. "_position": {
  397. "__type__": "cc.Vec3",
  398. "x": 0,
  399. "y": 0,
  400. "z": 0
  401. },
  402. "_scale": {
  403. "__type__": "cc.Vec3",
  404. "x": 1,
  405. "y": 1,
  406. "z": 1
  407. },
  408. "_skewX": 0,
  409. "_skewY": 0,
  410. "_localZOrder": 0,
  411. "groupIndex": 0,
  412. "_id": "",
  413. "_eulerAngles": {
  414. "__type__": "cc.Vec3",
  415. "x": 0,
  416. "y": 0,
  417. "z": 0
  418. }
  419. },
  420. {
  421. "__type__": "cc.Mask",
  422. "_name": "",
  423. "_objFlags": 0,
  424. "node": {
  425. "__id__": 9
  426. },
  427. "_enabled": true,
  428. "_srcBlendFactor": 770,
  429. "_dstBlendFactor": 771,
  430. "_spriteFrame": null,
  431. "_type": 0,
  432. "_segments": 64,
  433. "_N$alphaThreshold": 0,
  434. "_N$inverted": false,
  435. "_id": "545wBwY+VGl6AAQFW+cpxQ"
  436. },
  437. {
  438. "__type__": "cc.PrefabInfo",
  439. "root": {
  440. "__id__": 1
  441. },
  442. "asset": {
  443. "__uuid__": "32044bd2-481f-4cf1-a656-e2b2fb1594eb"
  444. },
  445. "fileId": "c1dc9Kk/CRJqaNnBOP4YGDS",
  446. "sync": false
  447. },
  448. {
  449. "__type__": "cc.Node",
  450. "_name": "item",
  451. "_objFlags": 0,
  452. "_parent": {
  453. "__id__": 8
  454. },
  455. "_children": [],
  456. "_active": true,
  457. "_level": 0,
  458. "_components": [
  459. {
  460. "__id__": 13
  461. }
  462. ],
  463. "_prefab": {
  464. "__id__": 14
  465. },
  466. "_opacity": 255,
  467. "_color": {
  468. "__type__": "cc.Color",
  469. "r": 0,
  470. "g": 0,
  471. "b": 0,
  472. "a": 255
  473. },
  474. "_contentSize": {
  475. "__type__": "cc.Size",
  476. "width": 131.33,
  477. "height": 60
  478. },
  479. "_anchorPoint": {
  480. "__type__": "cc.Vec2",
  481. "x": 0,
  482. "y": 1
  483. },
  484. "_position": {
  485. "__type__": "cc.Vec3",
  486. "x": -102.2,
  487. "y": -10.15,
  488. "z": 0
  489. },
  490. "_scale": {
  491. "__type__": "cc.Vec3",
  492. "x": 1,
  493. "y": 1,
  494. "z": 1
  495. },
  496. "_skewX": 0,
  497. "_skewY": 0,
  498. "_localZOrder": 0,
  499. "groupIndex": 0,
  500. "_id": "",
  501. "_eulerAngles": {
  502. "__type__": "cc.Vec3",
  503. "x": 0,
  504. "y": 0,
  505. "z": 0
  506. }
  507. },
  508. {
  509. "__type__": "cc.Label",
  510. "_name": "",
  511. "_objFlags": 0,
  512. "node": {
  513. "__id__": 12
  514. },
  515. "_enabled": true,
  516. "_srcBlendFactor": 1,
  517. "_dstBlendFactor": 771,
  518. "_useOriginalSize": false,
  519. "_string": "ScrollView content\n\n",
  520. "_N$string": "ScrollView content\n\n",
  521. "_fontSize": 16,
  522. "_lineHeight": 20,
  523. "_enableWrapText": true,
  524. "_N$file": null,
  525. "_isSystemFontUsed": true,
  526. "_spacingX": 0,
  527. "_N$horizontalAlign": 1,
  528. "_N$verticalAlign": 0,
  529. "_N$fontFamily": "Arial",
  530. "_N$overflow": 0,
  531. "_id": "9cMFCGwgFHo7PCWUl4Y9Y1"
  532. },
  533. {
  534. "__type__": "cc.PrefabInfo",
  535. "root": {
  536. "__id__": 1
  537. },
  538. "asset": {
  539. "__uuid__": "32044bd2-481f-4cf1-a656-e2b2fb1594eb"
  540. },
  541. "fileId": "5280bTjVfhISb/ztQTswOuX",
  542. "sync": false
  543. },
  544. {
  545. "__type__": "cc.PrefabInfo",
  546. "root": {
  547. "__id__": 1
  548. },
  549. "asset": {
  550. "__uuid__": "32044bd2-481f-4cf1-a656-e2b2fb1594eb"
  551. },
  552. "fileId": "036a4WKD5hBcbQJmMrbqoW8",
  553. "sync": false
  554. },
  555. {
  556. "__type__": "cc.Widget",
  557. "_name": "",
  558. "_objFlags": 0,
  559. "node": {
  560. "__id__": 2
  561. },
  562. "_enabled": true,
  563. "alignMode": 0,
  564. "_target": null,
  565. "_alignFlags": 37,
  566. "_left": 350.07654921020657,
  567. "_right": 0,
  568. "_top": 0,
  569. "_bottom": 0,
  570. "_verticalCenter": 0,
  571. "_horizontalCenter": 0,
  572. "_isAbsLeft": true,
  573. "_isAbsRight": true,
  574. "_isAbsTop": true,
  575. "_isAbsBottom": true,
  576. "_isAbsHorizontalCenter": true,
  577. "_isAbsVerticalCenter": true,
  578. "_originalWidth": 0,
  579. "_originalHeight": 237,
  580. "_id": "10vSkbkwhF07EjuNqrfOP5"
  581. },
  582. {
  583. "__type__": "cc.Sprite",
  584. "_name": "",
  585. "_objFlags": 0,
  586. "node": {
  587. "__id__": 2
  588. },
  589. "_enabled": true,
  590. "_srcBlendFactor": 770,
  591. "_dstBlendFactor": 771,
  592. "_spriteFrame": {
  593. "__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159"
  594. },
  595. "_type": 1,
  596. "_sizeMode": 0,
  597. "_fillType": 0,
  598. "_fillCenter": {
  599. "__type__": "cc.Vec2",
  600. "x": 0,
  601. "y": 0
  602. },
  603. "_fillStart": 0,
  604. "_fillRange": 0,
  605. "_isTrimmedMode": true,
  606. "_state": 0,
  607. "_atlas": null,
  608. "_id": "4e/Thez9BJFruFutM+KfqL"
  609. },
  610. {
  611. "__type__": "cc.PrefabInfo",
  612. "root": {
  613. "__id__": 1
  614. },
  615. "asset": {
  616. "__uuid__": "32044bd2-481f-4cf1-a656-e2b2fb1594eb"
  617. },
  618. "fileId": "f8b835eFHxKj4uMGeoBGz+U",
  619. "sync": false
  620. },
  621. {
  622. "__type__": "cc.Sprite",
  623. "_name": "",
  624. "_objFlags": 0,
  625. "node": {
  626. "__id__": 1
  627. },
  628. "_enabled": true,
  629. "_srcBlendFactor": 770,
  630. "_dstBlendFactor": 771,
  631. "_spriteFrame": {
  632. "__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69"
  633. },
  634. "_type": 1,
  635. "_sizeMode": 0,
  636. "_fillType": 0,
  637. "_fillCenter": {
  638. "__type__": "cc.Vec2",
  639. "x": 0,
  640. "y": 0
  641. },
  642. "_fillStart": 0,
  643. "_fillRange": 0,
  644. "_isTrimmedMode": true,
  645. "_state": 0,
  646. "_atlas": null,
  647. "_id": "13DjrPNQRJvLu1Lr62BVqE"
  648. },
  649. {
  650. "__type__": "cc.PrefabInfo",
  651. "root": {
  652. "__id__": 1
  653. },
  654. "asset": {
  655. "__uuid__": "32044bd2-481f-4cf1-a656-e2b2fb1594eb"
  656. },
  657. "fileId": "2bb72ntvphNH4HtVfnSNUVp",
  658. "sync": false
  659. }
  660. ]