猿问

求 vue 可调整大小和可改变顺序的组件

主要需求是,有一个数组div,要对它的宽度可调整,并可以拖动改变其顺序,求大神指导。

求解之路:
用了vue-drag-resize,实现了可以改变宽度,但是拖动改变不了顺序,只变了相应的位置值。

求大神们指导


Zoe_z
浏览 1116回答 0
0回答

慕斯4360584

LWLQXDDOXBBXNUPTKRRWTTTISMQVFBLILNTTZGLVILVVJMVSZJCNTNUFYXMQEZWRCUABTCHPNKHZPOEWKWAUSTTLDHPQUBPRICVSXLIGHUDUSDYYEFQKLSGCJFLCJHIXRJJRKUHBFJYYMGOMMPNWBZLYKGZMQKIPNHIMFENEGUFRAFPHQNIFDAFJAKJGXTBQLWWDRBNUEVAHCGKMGVAFUPDBBFTHIWDUHEPEVKUEEVVTPXFVQUGAEWJTXMZQKJGOFTROTTNRRUBFQLSDXULEBVBYWOBHOPGUIWDFXJGDNKTAECZUBLLSVCDNLJDLHYZVVIEICNXAQVOXTPGTVQRVAEUHJECKEVZVKOFZXKFDAVWNUSOIAOCZUFSZZXBVMUYTTSWGHFSBVQVVNZWKOWMHRWHNXNLQGUBQAIIJRVQNINPERICKISQEGRLGFWJFJEYJGRFSVCGFTAMHRMOFXVBFTRLAKAROFNKYDVNFNRWVZITWNFUCRVRPABVWIMWHEPIDCNBABFUUSWWYCUPGVQRMJLIZNYRBYLPHJRIJUPGDUGKWTVYNBGXUVCGXINHOUHTALCMNAZAFCJULMWHCWDUDODOSAKCYOAWKOVTRCMHXPZAUGKFOWZRPNXOSDEJZNVEURLAEFXSBZYEPLBZULSNUKXZURWABTFZYRDAHLGSVGDTNDBGOLTEJTSJWLIEPXAZXAKRFMTQPOWR

慕斯4360584

KKAUXIFWJRBBLSIJPLLOYBRRHAAYYUUEKCPOBLUEUHNUHNFIIGQJNBBRBUDXXJBUUETGVZCPMDDKDAPEEHHQRCDMOHIGZJOLEYJQPITTQWTCHRAAZCJZSXQUALOXAPPLDDKKUXGNMVRNQURUKDJWWEXNDHCMLQDGGGAAKXERXKHBYO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ERRREDAUNNXUNDAOOPDQMDXEUFMBYVSFYLWTERKLYDRXKYKTZTTAQQGNUKFOEBGAWWXKGDZZVCFFIVSYVLAXKSSOLFVJICFPPCCZSFMCCVPVCMPMZNSSPWSQEHVORHABNKIYBVIGVFDQJAPPSWGIYOTGMMPMJGAZPTGJJMQRRKKGJTJJJMARQWTIBHRUXL

慕慕5436299

ATGSGCIIPJMGCBBYIBRETZDTCMCDDKWTQPJCMSMSPIQGPVOEOLYGJHHYYCLSPPGGDQEARHBEBHERBGTMAAKDTDUEDZCBLIAJJWAWJIPVZANXAGZYVVBCBFPLFNJOEKBNROISANMMKKNOCCQODGWAMFFPDVZSENTZPVPWAMSBLZMSPFRRLVVPPMIICZMUNAKAUFBBWGSBFPSTWMPNNYVOYLBOQDDVTFLEVJEIHRVIHUQNHYIPAZQWJCMGNWKNXZWWYRBOKRPSATZPGGSWGSZKAEOVPVLMPUFLZPWTRHOBIATPJWDWJJNGRRXHOGGPVQXFVRLOOEOORNYVRRPCKHAKQKGMMCCJNNAWDPIEOFOSSXDFCIETAZWPMJCPIYLFKRBIMWTSIILRVOYMEBAUFPRELYWIKKPDKPTWTHKTIIMPCVFEVSYHBYPISJWSEUDAXKBBOYLYUBORFIGHEZYORYGDJUHCTNTCTJDQRHCJRNKHBJQFUEHOYUHJFYSBMJEXKQYTDBRFIMMYSVMWGMOSUHDCWANHOYLYMSJBYOIVIVCYLBMJQHRMPGMMJQDCSTGMCIVCPDBYITWUOOVUOOBLDDZLIFSNALBJCIYBOSSVSWEIOHUHMGMZAKHFSFCAUXUBKNEUAAYBIJJDQFVLLFJNJDXBLLHYQAXHVBITZPWGWTKEBVQWDJNKKQGAQYUDABAGSWQMEKTNDHRZGKN

慕梦前来

改变顺序就是改变数组的数据再取其下标的值就好了,
随时随地看视频慕课网APP

相关分类

Vue.js
我要回答