img-model
v0.0.25
Published
``` npm install img-model ```
Downloads
4
Readme
img-model
图片模拟3D 360°旋转
安装
npm install img-model
使用
必须开启 "enableSkia": "true"
- json
{
"usingComponents": {
"img-model": "img-model/img-model"
}
}
- mini.project.json
{
"node_modules_es6_whitelist": [
"common-game"
]
}
- js
Page({
data: {
gameSource: ({
name: "白色",
speed: 2,//值越大,速度越慢
direction: -1,
// openScale: true,//是否开启缩放
// imgBaseWidth: 800,//图片尺寸(解决手机兼容)
showWidth: 750,
showHeight: 640,
x: 375,
y: 760,
// scaleLmd: 2000,//值越小越灵敏
// scaleRange: { min: 950 / 2000 * (2000 / 800), max: 1 * (2000 / 800) },//缩放范围
movelmd: 2,//移动超过此值才算移动成功
sensitivity: 3,//移动成功一次增加多少下标
// noLoadImg: true,//组件初始化时不渲染图片
// renderVal: 15,//资源显示时,渲染当前显示图片的前后各15张图片
// startIdx: 10,//初始渲染下标,默认为0
imgs: [
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01te8llC1EUdMbDsh2s_!!2185320355.png", "name": "旋转_0.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01ZUOCrr1EUdMWuFLRG_!!2185320355.png", "name": "旋转_1.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01frPUUF1EUdMbDq4tE_!!2185320355.png", "name": "旋转_2.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN018hU3yl1EUdMbDpCo4_!!2185320355.png", "name": "旋转_3.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01X5wKqX1EUdMVMiCql_!!2185320355.png", "name": "旋转_4.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01rmjKdO1EUdMdCOxHl_!!2185320355.png", "name": "旋转_5.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN018mBJKG1EUdMZyQ66W_!!2185320355.png", "name": "旋转_6.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01tjezdB1EUdMRUrrIP_!!2185320355.png", "name": "旋转_7.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01pfUt691EUdMVMkQ3C_!!2185320355.png", "name": "旋转_8.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01NS5K3x1EUdMRUreo3_!!2185320355.png", "name": "旋转_9.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01HL71nv1EUdMPv13Ud_!!2185320355.png", "name": "旋转_10.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01xSCzdD1EUdMPv1j4i_!!2185320355.png", "name": "旋转_11.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01MWkuOy1EUdMWS0wed_!!2185320355.png", "name": "旋转_12.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01XwvkVA1EUdML2PoS4_!!2185320355.png", "name": "旋转_13.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01GWcOAw1EUdMWRzny3_!!2185320355.png", "name": "旋转_14.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01Wn2FRE1EUdMRUt47a_!!2185320355.png", "name": "旋转_15.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01YaYLGC1EUdMVMjXz7_!!2185320355.png", "name": "旋转_16.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01MJfdwi1EUdMWuEfqH_!!2185320355.png", "name": "旋转_17.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01dYagAF1EUdMZyO1Bz_!!2185320355.png", "name": "旋转_18.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01ac0upC1EUdMbDpGxQ_!!2185320355.png", "name": "旋转_19.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01mveTVP1EUdMRUsfBN_!!2185320355.png", "name": "旋转_20.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN014pafIr1EUdMWS0kAz_!!2185320355.png", "name": "旋转_21.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01qkhTc41EUdMbDspOE_!!2185320355.png", "name": "旋转_22.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01zavv2U1EUdMe2gXqa_!!2185320355.png", "name": "旋转_23.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01hk7baI1EUdMbDscuK_!!2185320355.png", "name": "旋转_24.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01MXjZ181EUdMWRzfem_!!2185320355.png", "name": "旋转_25.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01hSElcL1EUdMbzY9mp_!!2185320355.png", "name": "旋转_26.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01EjlKoG1EUdMSD51bK_!!2185320355.png", "name": "旋转_27.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01HFT4KU1EUdMe2hoqW_!!2185320355.png", "name": "旋转_28.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01EathtW1EUdMRUszyQ_!!2185320355.png", "name": "旋转_29.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01c3R4fN1EUdMZyQQud_!!2185320355.png", "name": "旋转_30.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01rnDn5l1EUdMSD4M1y_!!2185320355.png", "name": "旋转_31.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01godi3l1EUdMYDHgVC_!!2185320355.png", "name": "旋转_32.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01iE7nJQ1EUdMSD45O7_!!2185320355.png", "name": "旋转_33.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01EkzwDW1EUdMSD2sYv_!!2185320355.png", "name": "旋转_34.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01i1ZfNR1EUdMPuzupd_!!2185320355.png", "name": "旋转_35.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01ox0Kfn1EUdMVMkp0y_!!2185320355.png", "name": "旋转_36.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01hWRDTx1EUdMZyMsVI_!!2185320355.png", "name": "旋转_37.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01jUJHgw1EUdMe2fsIF_!!2185320355.png", "name": "旋转_38.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01SSKBMV1EUdMbzYxiW_!!2185320355.png", "name": "旋转_39.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01oCEQEp1EUdMPv0aP7_!!2185320355.png", "name": "旋转_40.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01jGkS2b1EUdMZyOxQK_!!2185320355.png", "name": "旋转_41.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01P023m21EUdMe2itPC_!!2185320355.png", "name": "旋转_42.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01F3MBSe1EUdMUgMiC3_!!2185320355.png", "name": "旋转_43.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01swXh541EUdMUZz16t_!!2185320355.png", "name": "旋转_44.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01MF4c4O1EUdMWS0sWU_!!2185320355.png", "name": "旋转_45.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01rqCcsF1EUdMUa0MFw_!!2185320355.png", "name": "旋转_46.png", "width": "750", "height": "640" },
],
animations: [
{
name: "open",
aniType: "aniType1",
width: 750,
height: 640,
x: 0,
y: 440,
alpha: 0,
boomSpeed: 0.3,//速度
srcArr: [
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01yYrW4K1EUdMZyZEKD_!!2185320355.png", "name": "开盖子_0.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN015qBCcx1EUdMRV4D7f_!!2185320355.png", "name": "开盖子_1.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01edcfQF1EUdMUaA1ex_!!2185320355.png", "name": "开盖子_2.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN0157Zy9l1EUdMRV3Clx_!!2185320355.png", "name": "开盖子_3.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01TBS9851EUdMbE6Jyg_!!2185320355.png", "name": "开盖子_4.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01CZAhek1EUdMbE579q_!!2185320355.png", "name": "开盖子_5.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01U8lDMC1EUdMbzkydn_!!2185320355.png", "name": "开盖子_6.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01p24cvq1EUdMSDGREq_!!2185320355.png", "name": "开盖子_7.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01BUFISX1EUdMUaBZIe_!!2185320355.png", "name": "开盖子_8.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01UtO1bF1EUdMVMvy67_!!2185320355.png", "name": "开盖子_9.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01C0QWvI1EUdMe2rYYT_!!2185320355.png", "name": "开盖子_10.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN019Sjs8M1EUdMPvC048_!!2185320355.png", "name": "开盖子_11.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN0154kl001EUdMPvFgnU_!!2185320355.png", "name": "开盖子_12.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01cpi7rr1EUdMUaAtjc_!!2185320355.png", "name": "开盖子_13.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01N1zG4S1EUdMPvE4zR_!!2185320355.png", "name": "开盖子_14.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01NLe3ct1EUdMWSClJm_!!2185320355.png", "name": "开盖子_15.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01RB83CE1EUdMRV5gc2_!!2185320355.png", "name": "开盖子_16.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN014l3Yq51EUdMRV3XZX_!!2185320355.png", "name": "开盖子_17.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01jH31zt1EUdMbzjdXm_!!2185320355.png", "name": "开盖子_18.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01OfuOj61EUdMYDQkYJ_!!2185320355.png", "name": "开盖子_19.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01sRqyrh1EUdMZAqolA_!!2185320355.png", "name": "开盖子_20.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01Rlcg0L1EUdMRV5xFl_!!2185320355.png", "name": "开盖子_21.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01s2qWfb1EUdMZAsE5u_!!2185320355.png", "name": "开盖子_22.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01vhaAK31EUdMdCX9H0_!!2185320355.png", "name": "开盖子_23.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01WDHZFt1EUdMSDFlgF_!!2185320355.png", "name": "开盖子_24.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01cOaAfw1EUdMZAqsvf_!!2185320355.png", "name": "开盖子_25.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01Ocu7Yt1EUdMbE2dHt_!!2185320355.png", "name": "开盖子_26.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01IdQvLX1EUdMWuPcI2_!!2185320355.png", "name": "开盖子_27.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01IlITm91EUdMPvCP1d_!!2185320355.png", "name": "开盖子_28.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01XeKtzd1EUdMZApg4X_!!2185320355.png", "name": "开盖子_29.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01oRmi481EUdMZArp9f_!!2185320355.png", "name": "开盖子_30.png", "width": "750", "height": "640" },
]
}, {
name: "chouti",
aniType: "aniType1",
width: 750,
height: 640,
x: 0,
y: 440,
alpha: 0,
boomSpeed: 0.3,//速度
srcArr: [
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN010NqQq71EUdMPvAOBJ_!!2185320355.png", "name": "开抽屉_0.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01iMqttu1EUdMYDOfW1_!!2185320355.png", "name": "开抽屉_1.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01eRXYaG1EUdMZyZEFU_!!2185320355.png", "name": "开抽屉_2.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01whw94a1EUdMRV3TJr_!!2185320355.png", "name": "开抽屉_3.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01FUdFLo1EUdMUgYKAe_!!2185320355.png", "name": "开抽屉_4.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01rONzZK1EUdMbzjdR7_!!2185320355.png", "name": "开抽屉_5.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN010c7uyp1EUdMdCXkZy_!!2185320355.png", "name": "开抽屉_6.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01j8FzGv1EUdMbE0t4g_!!2185320355.png", "name": "开抽屉_7.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01JliHad1EUdMWuQYP7_!!2185320355.png", "name": "开抽屉_8.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01kfxFiG1EUdMbE2tpY_!!2185320355.png", "name": "开抽屉_9.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01hgufn81EUdMYDR9Oh_!!2185320355.png", "name": "开抽屉_10.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN017mnbfE1EUdMWuPPhw_!!2185320355.png", "name": "开抽屉_11.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01kSQvWY1EUdMZAqDEY_!!2185320355.png", "name": "开抽屉_12.png", "width": "750", "height": "640" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01CuR9OF1EUdMbzkZcN_!!2185320355.png", "name": "开抽屉_13.png", "width": "750", "height": "640" },
]
}, {
name: "liuti",
aniType: "aniType2",
width: 750,
height: 1000,
x: 0,
y: 0,
alpha: 0,
boomSpeed: 0.3,//速度
srcArr: [
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01QMQE941EUdMWurwkh_!!2185320355.png", "name": "流体_00.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01JyzhxR1EUdMZBHjsx_!!2185320355.png", "name": "流体_01.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01JKOnyV1EUdMUahj31_!!2185320355.png", "name": "流体_2.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01BSUjGJ1EUdMWSexZ1_!!2185320355.png", "name": "流体_3.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01GVY9xN1EUdMUaeyYw_!!2185320355.png", "name": "流体_4.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01pxLVjs1EUdMWut5ST_!!2185320355.png", "name": "流体_5.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01vU6pT61EUdMWurPUO_!!2185320355.png", "name": "流体_6.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01jHieHG1EUdMSDj2Mv_!!2185320355.png", "name": "流体_7.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01aMxkWq1EUdMPviDk3_!!2185320355.png", "name": "流体_8.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01nIndCm1EUdMRVV016_!!2185320355.png", "name": "流体_9.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01sjLzGt1EUdMdD1I2m_!!2185320355.png", "name": "流体_10.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01KFb4fy1EUdMUagr0F_!!2185320355.png", "name": "流体_11.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01GnaQar1EUdMSDhhBs_!!2185320355.png", "name": "流体_12.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN0149yzLL1EUdMbEVlin_!!2185320355.png", "name": "流体_13.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01hBiLUQ1EUdMdD014L_!!2185320355.png", "name": "流体_14.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01CtkegN1EUdMVNQVn8_!!2185320355.png", "name": "流体_15.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01EhFntf1EUdMYDxEua_!!2185320355.png", "name": "流体_16.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01F4JAMT1EUdMZz1hF4_!!2185320355.png", "name": "流体_17.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01Z5v2iD1EUdMUagS36_!!2185320355.png", "name": "流体_18.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01KrR3qP1EUdMPvhgVm_!!2185320355.png", "name": "流体_19.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01BBrvoG1EUdMdD2MZr_!!2185320355.png", "name": "流体_20.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01LrPyzJ1EUdML33l7x_!!2185320355.png", "name": "流体_21.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01OAgkTS1EUdMUaf2kD_!!2185320355.png", "name": "流体_22.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01WCODRF1EUdMdCzwvl_!!2185320355.png", "name": "流体_23.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01wBlDpm1EUdMZBGw1N_!!2185320355.png", "name": "流体_24.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01qTPTwB1EUdML32cS1_!!2185320355.png", "name": "流体_25.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01BBjOwR1EUdMc0DNJb_!!2185320355.png", "name": "流体_26.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01NZo6TF1EUdMdD25xL_!!2185320355.png", "name": "流体_27.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN0142SRtX1EUdMZz2yFk_!!2185320355.png", "name": "流体_28.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01iJ7RlN1EUdMe3KQJl_!!2185320355.png", "name": "流体_29.png", "width": "750", "height": "1000" },
],
nextAni: {
name: "流体下半段",
width: 750,
height: 1000,
x: 0,
y: 0,
boomSpeed: 0.3,
srcArr: [
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01SiOzJW1EUdMc0CEdr_!!2185320355.png", "name": "流体_30.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01Nn6yri1EUdMbEYRzT_!!2185320355.png", "name": "流体_31.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01NHpbBk1EUdMVNQFCQ_!!2185320355.png", "name": "流体_32.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01scQeO31EUdMSDggqY_!!2185320355.png", "name": "流体_33.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01MabgAR1EUdMUh2T32_!!2185320355.png", "name": "流体_34.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01KijFik1EUdMZz3dpv_!!2185320355.png", "name": "流体_35.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN014oRKrX1EUdMUh2jhK_!!2185320355.png", "name": "流体_36.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01seAjke1EUdMZz5WGy_!!2185320355.png", "name": "流体_37.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01ocozdu1EUdMZz1lPi_!!2185320355.png", "name": "流体_38.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01LobHmV1EUdMbEYJh2_!!2185320355.png", "name": "流体_39.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01rzTk7l1EUdMdD2MbU_!!2185320355.png", "name": "流体_40.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01REekMH1EUdMe3Ld8Z_!!2185320355.png", "name": "流体_41.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN014HDwjr1EUdMYDwIjB_!!2185320355.png", "name": "流体_42.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01hrLTQL1EUdMdD0Q2w_!!2185320355.png", "name": "流体_43.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01omYlUc1EUdMWSg28X_!!2185320355.png", "name": "流体_44.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01Fd5Jye1EUdMYDuYcM_!!2185320355.png", "name": "流体_45.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01IUnZyz1EUdMSDhpYo_!!2185320355.png", "name": "流体_46.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01FgWuew1EUdMdD1csm_!!2185320355.png", "name": "流体_47.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01DILBXu1EUdMZz4qhf_!!2185320355.png", "name": "流体_48.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN011Ob39U1EUdMbEY7Ec_!!2185320355.png", "name": "流体_49.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01RXC37X1EUdMRVYtHI_!!2185320355.png", "name": "流体_50.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01oUgFAF1EUdMe3M6Ep_!!2185320355.png", "name": "流体_51.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01jKLdBG1EUdMdD36My_!!2185320355.png", "name": "流体_52.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN011EqMyb1EUdMWuuYz4_!!2185320355.png", "name": "流体_53.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN018tBERo1EUdMUh0iwZ_!!2185320355.png", "name": "流体_54.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01XjxMqU1EUdMVNPqH6_!!2185320355.png", "name": "流体_55.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01Yrx5eO1EUdMZz5FfW_!!2185320355.png", "name": "流体_56.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01YdzGqu1EUdMWusPwD_!!2185320355.png", "name": "流体_57.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01Jh3H2j1EUdMWut9fp_!!2185320355.png", "name": "流体_58.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01i120gD1EUdMe3Mhgn_!!2185320355.png", "name": "流体_59.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01VxiNAB1EUdMVNQRgm_!!2185320355.png", "name": "流体_60.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01uJEASf1EUdMWuroWL_!!2185320355.png", "name": "流体_61.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01YeP43t1EUdMc0CAVl_!!2185320355.png", "name": "流体_62.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN019kaFES1EUdMRVZQXg_!!2185320355.png", "name": "流体_63.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01lKsenz1EUdMc0EBEt_!!2185320355.png", "name": "流体_64.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN016gvXYv1EUdMPvhU6U_!!2185320355.png", "name": "流体_65.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01XnVvFw1EUdMZBI8vH_!!2185320355.png", "name": "流体_66.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN013XuvRG1EUdMVNQeB2_!!2185320355.png", "name": "流体_67.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01euwPH71EUdMc0ENjJ_!!2185320355.png", "name": "流体_68.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01nGV2Qr1EUdMYDwMuY_!!2185320355.png", "name": "流体_69.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01pnfvPH1EUdMSDhtkG_!!2185320355.png", "name": "流体_70.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01ttza0F1EUdMdD0xJy_!!2185320355.png", "name": "流体_71.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN011pW2Nl1EUdMRVZteo_!!2185320355.png", "name": "流体_72.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN016tQcYP1EUdMVNOZJD_!!2185320355.png", "name": "流体_73.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01adChX51EUdMWut5YW_!!2185320355.png", "name": "流体_74.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01Y7jz8r1EUdMSDjNDQ_!!2185320355.png", "name": "流体_75.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01zWxQgV1EUdMbEXJNc_!!2185320355.png", "name": "流体_76.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN0199w3e21EUdMdD1lCu_!!2185320355.png", "name": "流体_77.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01Clamof1EUdMUh1jNJ_!!2185320355.png", "name": "流体_78.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01ctIcuY1EUdMYDxNJZ_!!2185320355.png", "name": "流体_79.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01bXr2ow1EUdMZBJopt_!!2185320355.png", "name": "流体_80.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01ehQWSP1EUdMPvhLnM_!!2185320355.png", "name": "流体_81.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01K8s8ut1EUdMPvjZ0Y_!!2185320355.png", "name": "流体_82.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01iGw2Rx1EUdMc0E2x0_!!2185320355.png", "name": "流体_83.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01x9WQyo1EUdMUahBsV_!!2185320355.png", "name": "流体_84.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN012MyMbM1EUdML35hk7_!!2185320355.png", "name": "流体_85.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01UmD6EV1EUdMdD2plw_!!2185320355.png", "name": "流体_86.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01n824zu1EUdMWSiRoW_!!2185320355.png", "name": "流体_87.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01gM0Fy31EUdMe3LEEg_!!2185320355.png", "name": "流体_88.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01znMaC71EUdMZz4a87_!!2185320355.png", "name": "流体_89.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN013Be7lv1EUdMUh3fyv_!!2185320355.png", "name": "流体_90.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01boBl7V1EUdMUajXPQ_!!2185320355.png", "name": "流体_91.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01XFIFtu1EUdMRVYxUq_!!2185320355.png", "name": "流体_92.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN018LSniw1EUdMbEY37h_!!2185320355.png", "name": "流体_93.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01f85AVC1EUdMWusDUb_!!2185320355.png", "name": "流体_94.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN013r11qX1EUdMWSi72T_!!2185320355.png", "name": "流体_95.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01dCv0cC1EUdMPvgD82_!!2185320355.png", "name": "流体_96.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01BzAYSg1EUdMUahaqW_!!2185320355.png", "name": "流体_97.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01AQyMYy1EUdMVNQNZe_!!2185320355.png", "name": "流体_98.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN012v54Wr1EUdMWusYIB_!!2185320355.png", "name": "流体_99.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01df0Ses1EUdMZBKUPj_!!2185320355.png", "name": "流体_100.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN015iI7BQ1EUdMe3L1nF_!!2185320355.png", "name": "流体_101.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01jtNk0g1EUdMWSiqmh_!!2185320355.png", "name": "流体_102.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01nF30Dh1EUdMZz5Fj0_!!2185320355.png", "name": "流体_103.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01WT4uka1EUdMYDvMaL_!!2185320355.png", "name": "流体_104.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01Q7H2XU1EUdMUaj8U5_!!2185320355.png", "name": "流体_105.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01BbWxAt1EUdMYDvtqN_!!2185320355.png", "name": "流体_106.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01NeBbpC1EUdML32p0R_!!2185320355.png", "name": "流体_107.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01M1R83J1EUdMSDjmBw_!!2185320355.png", "name": "流体_108.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01dQ2RXb1EUdMRVYUOL_!!2185320355.png", "name": "流体_109.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01wbznFK1EUdMc0D2cZ_!!2185320355.png", "name": "流体_110.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01gqWzQj1EUdMbEX6xk_!!2185320355.png", "name": "流体_111.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01kWHo951EUdMUahG47_!!2185320355.png", "name": "流体_112.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01HzRutw1EUdMUajTHG_!!2185320355.png", "name": "流体_113.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01yQDeQB1EUdMYDyW3i_!!2185320355.png", "name": "流体_114.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01ostTpo1EUdMdD3N4l_!!2185320355.png", "name": "流体_115.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01s5t8OU1EUdMWutpIp_!!2185320355.png", "name": "流体_116.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01j23a8E1EUdMUh6ICO_!!2185320355.png", "name": "流体_117.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01CWZ36S1EUdMe3MuEp_!!2185320355.png", "name": "流体_118.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01EzFSg31EUdMbEXiMb_!!2185320355.png", "name": "流体_119.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01Bkaxeq1EUdMUagr8z_!!2185320355.png", "name": "流体_120.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01WCqN6m1EUdMYDwIon_!!2185320355.png", "name": "流体_121.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN01nafsQe1EUdMWuuZ3s_!!2185320355.png", "name": "流体_122.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN018QFgcO1EUdMZBIc37_!!2185320355.png", "name": "流体_123.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01RjmT911EUdMZBJoso_!!2185320355.png", "name": "流体_124.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01kUnTNP1EUdMUajfll_!!2185320355.png", "name": "流体_125.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i1/2185320355/O1CN010J1O4d1EUdMPvhYJL_!!2185320355.png", "name": "流体_126.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN019KpT2j1EUdMbEYBTj_!!2185320355.png", "name": "流体_127.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01sq7EUU1EUdMZBIXtq_!!2185320355.png", "name": "流体_128.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i4/2185320355/O1CN01GEHMak1EUdMdD3VOh_!!2185320355.png", "name": "流体_129.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01nN0sQT1EUdMZBIgEC_!!2185320355.png", "name": "流体_130.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01dDUx2L1EUdMYDxZqq_!!2185320355.png", "name": "流体_131.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i2/2185320355/O1CN01yDTkjD1EUdMYDx6jj_!!2185320355.png", "name": "流体_132.png", "width": "750", "height": "1000" },
{ "src": "https://img.alicdn.com/imgextra/i3/2185320355/O1CN01K36GQ51EUdMc0FrFg_!!2185320355.png", "name": "流体_133.png", "width": "750", "height": "1000" },
]
}
}
]
}),
showGame: true,
},
triggerBoxFun() {
this.gameComponent.onEvent("resetBase", {
callback: () => {
this.gameComponent.onEvent("showAniType", {
aniType: "aniType1",
callback: () => {
this.gameComponent.onEvent("playFun", {
name: "open", callback: () => {
}
});
}
})
}
});
},
triggerChouTiFun() {
this.gameComponent.onEvent("resetBase", {
callback: () => {
this.gameComponent.onEvent("showAniType", {
aniType: "aniType1",
callback: () => {
this.gameComponent.onEvent("playFun", {
name: "chouti", callback: () => {
}
});
}
})
}
});
},
triggerLiuTiFun() {
this.gameComponent.onEvent("resetBase", {
callback: () => {
this.gameComponent.onEvent("showAniType", {
aniType: "aniType2",
callback: () => {
this.gameComponent.onEvent("playFun", {
name: "liuti", callback: () => {
}
});
}
})
}
});
},
changeFun() {
this.setData({
showGame: !this.data.showGame
})
},
onUnmount(e) {
console.error("onUnmount:", e)
},
onImgInitDone(e) {
this.gameComponent = e.ref;
this.gameComponent.onEvent("start");
},
onResetCallback() {
console.log("还原完毕...")
},
onAniCallback(e) {
console.log("动画播放完毕", e)
}
})
- xaml
<view class="page">
<view class="base">
<img-model onInitDone="onImgInitDone" onResetCallback="onResetCallback" onAniCallback="onAniCallback" onUnmount="onUnmount"
gameSource="{{gameSource}}" a:if="{{gameSource && showGame}}"></img-model>
<view style="position:absolute;left:0;bottom:0rpx;" onTap="changeFun">切换</view>
<view style="position:absolute;left:0;bottom:-50rpx;" onTap="triggerBoxFun">(开/关)盒子</view>
<view style="position:absolute;left:200rpx;bottom:-50rpx;" onTap="triggerChouTiFun">(开/关)抽屉</view>
<view style="position:absolute;left:400rpx;bottom:-50rpx;" onTap="triggerLiuTiFun">(开/关)流体</view>
</view>
</view>
.page{
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
background: url("https://img.alicdn.com/imgextra/i1/1080040467/O1CN015sdUHe1FJvhXhFxD7_!!1080040467.png") no-repeat center top;
background-size: 100% auto;
}
.base{
position: absolute;
left: 0;
top: 400rpx;
width: 100%;
height: 1080rpx;
}
.open{
position: absolute;
left: 0;
top: 750rpx;
width: 100%;
height: 750rpx;
}