diff --git a/pages.json b/pages.json index 241876e..53eefc4 100644 --- a/pages.json +++ b/pages.json @@ -1,5 +1,11 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path" : "pages/show/show", + "style": { + "navigationBarTitleText": "数字新视窗" + } + }, { "path": "pages/index/index", "style": { @@ -14,10 +20,6 @@ "path" : "pages/bind/bind", "style" : {} }, - { - "path" : "pages/show/show", - "style" : {} - }, { "path" : "pages/show/show2", "style" : {} diff --git a/pages/show/show.js b/pages/show/show.js index 6222b68..2e46b2b 100644 --- a/pages/show/show.js +++ b/pages/show/show.js @@ -1,210 +1,183 @@ let data = { - "code": 200, - "msg": "操作成功", - "data": [ + 'code': 200, + 'msg': '操作成功', + 'data': [ { - "relaase_id": "4028e3d47fd34b5d017fd34c08e60003", - "relaase_name": "fsfsdf", - "bgm_name": "res_01", - "bgm_main": "yuekan-BGM31.mp3", - "release_start": "2022-03-30 00:00:00.0", - "release_end": "2022-04-24 00:00:00.0", - "show_materials": [ + 'relaase_id': '4028e3d47fd34b5d017fd34c08e60003', + 'relaase_name': 'fsfsdf', + 'bgm_name': '主-res_01', + 'bgm_main': 'https://qiniu.aiyxlib.com/kejibgm001.mp3', + 'release_start': '2022-03-30 00:00:00.0', + 'release_end': '2022-04-24 00:00:00.0', + 'show_materials': [ { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "bg-index.jpg", - "material_type": "0", - "deposit_url": "yuekan-4-content-background@2x.png", - "img_path": "yuekan-4-content-background@2x.png", - "device_direction": "1", - "duration": "4", - "effect": "animate__fadeInTopRight", - "bgm_name": "1-1", - "bgm_url": '', - "ranking": "1" + 'release_id': '4028e3d47fd34b5d017fd34c08e60003', + 'material_name': 'bg-index.jpg', + 'material_type': '0', + 'deposit_url': '1.jpg', + 'img_path': '1.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__fadeInTopRight', + 'bgm_name': 'img-1-1', + 'bgm_url': '', + 'ranking': '1' }, { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "s-j1.png", - "material_type": "0", - "deposit_url": "yuekan-6-shiguangji@2x.png", - "img_path": "yuekan-6-shiguangji@2x.png", - "device_direction": "1", - "duration": "3", - "effect": "animate__backInLeft", - "bgm_name": '1-2', - "bgm_url": 'yuekan-BGM27.mp3', - "ranking": "2" + 'release_id': '4028e3d47fd34b5d017fd34c08e60003', + 'material_name': 's-j1.png', + 'material_type': '0', + 'deposit_url': '4.png', + 'img_path': '4.png', + 'device_direction': '1', + + 'duration': '15', + 'effect': 'animate__backInLeft', + 'bgm_name': 'img-1-2', + 'bgm_url': '', + 'ranking': '2' }, { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "Atlas跑酷的成功与失败|2021【Boston Dynamics】.mp4", - "material_type": "1", - "deposit_url": "1608277325000.mp4", - "img_path": "", - "device_direction": "1", - "duration": "0", - "effect": "false", - "bgm_name": null, - "bgm_url": null, - "ranking": "4" - } - ] - }, - { - "relaase_id": "4028e3d47fcfa36c017fd0063c4d001a", - "relaase_name": "111", - "bgm_name": "res_02", - "bgm_main": "yuekan-BGM31.mp3", - "release_start": "2022-03-28 00:00:00.0", - "release_end": "2022-03-28 00:00:00.0", - "show_materials": [{ - "release_id": "4028e3d47fcfa36c017fd0063c4d001a", - "material_name": "s-j3.png", - "material_type": "0", - "deposit_url": "bj45_1@2x.png", - "img_path": "bj45_1@2x.png", - "device_direction": "1", - "duration": "3", - "effect": "animate__flip", - "bgm_name": '2-1', - "bgm_url": null, - "ranking": "1" - }, - { - "release_id": "4028e3d47fcfa36c017fd0063c4d001a", - "material_name": "s-t3.png", - "material_type": "0", - "deposit_url": "yuekan-1-read.jpg", - "img_path": "yuekan-1-read.jpg", - "device_direction": "1", - "duration": "10", - "effect": "animate__rotateInUpRight", - "bgm_name": '2-2', - "bgm_url": null, - "ranking": "2" - }, - { - "release_id": "4028e3d47fcfa36c017fd0063c4d001a", - "material_name": "s-j1.png", - "material_type": "0", - "deposit_url": "bj_15@2x.png", - "img_path": "bj_15@2x.png", - "device_direction": "1", - "duration": "5", - "effect": "animate__jackInTheBox", - "bgm_name": '2-3', - "bgm_url": 'yuekan-BGM27.mp3', - "ranking": "3" - }, - { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "bg-index.jpg", - "material_type": "0", - "deposit_url": "yuekan-6-shiguangji@2x.png", - "img_path": "yuekan-6-shiguangji@2x.png", - "device_direction": "1", - "duration": "2", - "effect": "animate__zoomInDown", - "bgm_name": '2-4', - "bgm_url": null, - "ranking": "1" + 'release_id': '4028e3d47fd34b5d017fd34c08e60003', + 'material_name': 's-j1.png', + 'material_type': '0', + 'deposit_url': '7.jpg', + 'img_path': '7.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__backInDown', + 'bgm_name': 'img-1-2', + 'bgm_url': '', + 'ranking': '2' }, { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "s-j1.png", - "material_type": "0", - "deposit_url": "yuekan-4-content-background@2x.png", - "img_path": "yuekan-4-content-background@2x.png", - "device_direction": "1", - "duration": "2", - "effect": "animate__slideInLeft", - "bgm_name": '2-5', - "bgm_url": null, - "ranking": "2" + 'release_id': '4028e3d47fd34b5d017fd34c08e60003', + 'material_name': 's-j1.png', + 'material_type': '0', + 'deposit_url': '3.jpg', + 'img_path': '3.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__rotateInDownLeft', + 'bgm_name': 'img-1-2', + 'bgm_url': '', + 'ranking': '2' }, { - "release_id": "4028e3d47fcfa36c017fd0063c4d001a", - "material_name": "Atlas跑酷的成功与失败|2021【Boston Dynamics】.mp4", - "material_type": "1", - "deposit_url": "1608277325000.mp4", - "img_path": "", - "device_direction": "1", - "duration": "0", - "effect": "false", - "bgm_name": null, - "bgm_url": null, - "ranking": "4" + 'release_id': '4028e3d47fd34b5d017fd34c08e60003', + 'material_name': 's-j1.png', + 'material_type': '0', + 'deposit_url': '5.jpg', + 'img_path': '5.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__zoomInDown', + 'bgm_name': 'img-1-2', + 'bgm_url': '', + 'ranking': '2' }, { - "release_id": "4028e3d47fcfa36c017fd0063c4d001a", - "material_name": "s-j1.png", - "material_type": "0", - "deposit_url": "bj_15@2x.png", - "img_path": "bj_15@2x.png", - "device_direction": "1", - "duration": "5", - "effect": "animate__jackInTheBox", - "bgm_name": '2-7', - "bgm_url": 'yuekan-BGM27.mp3', - "ranking": "3" + 'release_id': '4028e3d47fd34b5d017fd34c08e60003', + 'material_name': 'Atlas跑酷的成功与失败|2021【Boston Dynamics】.mp4', + 'material_type': '1', + 'deposit_url': '20220414085212.mp4', + 'img_path': '', + 'device_direction': '1', + 'duration': '0', + 'effect': 'false', + 'bgm_name': null, + 'bgm_url': null, + 'ranking': '4' } ] }, { - "relaase_id": "4028e3d47fd34b5d017fd34c08e60003", - "relaase_name": "fsfsdf", - "bgm_name": "res_03", - "bgm_main": "yuekan-BGM31.mp3", - "release_start": "2022-03-30 00:00:00.0", - "release_end": "2022-04-24 00:00:00.0", - "show_materials": [ - + 'relaase_id': '4028e3d47fcfa36c017fd0063c4d001a', + 'relaase_name': '111', + 'bgm_name': '主-res_02', + 'bgm_main': 'https://qiniu.aiyxlib.com/aiguobgm001.mp3', + 'release_start': '2022-03-28 00:00:00.0', + 'release_end': '2022-03-28 00:00:00.0', + 'show_materials': [{ + 'release_id': '4028e3d47fcfa36c017fd0063c4d001a', + 'material_name': 's-j3.png', + 'material_type': '0', + 'deposit_url': '2.jpg', + 'img_path': '2.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__flip', + 'bgm_name': 'img-2-1', + 'bgm_url': null, + 'ranking': '1' + }, { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "bg-index.jpg", - "material_type": "0", - "deposit_url": "yuekan-6-shiguangji@2x.png", - "img_path": "yuekan-6-shiguangji@2x.png", - "device_direction": "1", - "duration": "6", - "effect": "animate__fadeInTopRight", - "bgm_name": "3-1", - "bgm_url": '', - "ranking": "1" + 'release_id': '4028e3d47fcfa36c017fd0063c4d001a', + 'material_name': 's-t3.png', + 'material_type': '0', + 'deposit_url': '6.jpg', + 'img_path': '6.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__rotateInUpRight', + 'bgm_name': 'img-2-2', + 'bgm_url': null, + 'ranking': '2' }, { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "s-j1.png", - "material_type": "0", - "deposit_url": "bj45_1@2x.png", - "img_path": "bj45_1@2x.png", - "device_direction": "1", - "duration": "3", - "effect": "animate__backInLeft", - "bgm_name": '3-2', - "bgm_url": 'yuekan-BGM27.mp3', - "ranking": "2" + 'release_id': '4028e3d47fcfa36c017fd0063c4d001a', + 'material_name': 's-j1.png', + 'material_type': '0', + 'deposit_url': '8.jpg', + 'img_path': '8.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__jackInTheBox', + 'bgm_name': 'img-2-3', + 'bgm_url': '', + 'ranking': '3' }, { - "release_id": "4028e3d47fd34b5d017fd34c08e60003", - "material_name": "Atlas跑酷的成功与失败|2021【Boston Dynamics】.mp4", - "material_type": "1", - "deposit_url": "1608277325000.mp4", - "img_path": "", - "device_direction": "1", - "duration": "0", - "effect": "false", - "bgm_name": null, - "bgm_url": null, - "ranking": "4" + 'release_id': '4028e3d47fd34b5d017fd34c08e60003', + 'material_name': 'bg-index.jpg', + 'material_type': '0', + 'deposit_url': '9.jpg', + 'img_path': '9.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__lightSpeedInRight', + 'bgm_name': 'img-2-4', + 'bgm_url': null, + 'ranking': '1' } ] }, + { + 'relaase_id': '4028e3d47fcfa36c017fd0063c4d001a', + 'relaase_name': '111', + 'bgm_name': '主-res_02', + 'bgm_main': 'https://qiniu.aiyxlib.com/01a.mp3', + 'release_start': '2022-03-28 00:00:00.0', + 'release_end': '2022-03-28 00:00:00.0', + 'show_materials': [{ + 'release_id': '4028e3d47fcfa36c017fd0063c4d001a', + 'material_name': 's-j3.png', + 'material_type': '0', + 'deposit_url': '10.jpg', + 'img_path': '10.jpg', + 'device_direction': '1', + 'duration': '15', + 'effect': 'animate__fadeInTopLeft', + 'bgm_name': 'img-2-1', + 'bgm_url': null, + 'ranking': '1' + } + ] + } ] -} +}; module.exports = { data -} +}; diff --git a/pages/show/show.vue b/pages/show/show.vue index ca003d5..3e11ebb 100644 --- a/pages/show/show.vue +++ b/pages/show/show.vue @@ -2,16 +2,22 @@ - --> + - - - {{ infoTxt }}--{{ audioName }} + + + + +