购物车案例
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="./js/vue.js"></script>
</head>
<body>
<div id="d1">
<h1>购物车</h1>
<table>
<thead>
<tr>
<th>商品id</th>
<th>商品名</th>
<th>商品价格</th>
<th>商品数量</th>
<th>全选/全不选<input type="checkbox" v-model="checkAll" @change="handleCheckAll"></th>
</tr>
</thead>
<tbody>
<tr v-for="goods in goodsList">
<th>{{goods.id}}</th>
<td>{{goods.name}}</td>
<td>{{goods.price}}</td>
<td>
<span @click="handleJian(goods)">-</span>
<input type="text" v-model="goods.count">
<span @click="handleAdd(goods)">+</span>
</td>
<td>
<input type="checkbox" v-model="checkGoodList" :value="goods" @change="handleCheckOne">
</td>
</tr>
</tbody>
</table>
<h3>选中的商品:{{checkGoodList}}</h3>
<h3>是否全选:{{checkAll}}</h3>
<h3> 总价格:{{getPrice()}}</h3>
</div>
</body>
<script>
new Vue({
el:'#d1',
data:{
goodsList: [
{id: 1, name: '短袖', price: 99, count: 2},
{id: 2, name: '短裤', price: 39, count: 1},
{id: 3, name: '短裙', price: 189, count: 6},
{id: 4, name: '短袜', price: 8, count: 8},
{id: 5, name: '长筒袜', price: 4, count: 88},
{id: 6, name: '过膝袜', price: 5, count: 90},
],
checkGoodList:[],
checkAll:false
},
methods:{
getPrice(){
var total=0
for (var item of this.checkGoodList){
total+=item.price * item.count
}
return total
},
handleCheckAll(){
if (this.checkAll){
this.checkGoodList=this.goodsList
}else {
this.checkGoodList = []
}
},
handleCheckOne(){
if (this.checkGoodList.length==this.goodsList.length){
this.checkAll=true
}else {
this.checkAll=false
}
},
handleAdd(goods) {
goods.count++
},
handleJian(goods) {
if (goods.count > 1) {
goods.count--
} else {
alert('宝贝不能再少了')
}
}
}
})
</script>
</html>
v-model 之 lazy、number、trim
lazy:等待input框的数据绑定失去焦点之后再变化
number:数字开头,只保留数字,后面的字母不保留;字母开头,都保留
trim:去除首位的空格
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="./js/vue.js"></script>
</head>
<body>
<div id="app">
<h1>input 和v-model</h1>
<input type="text" v-model="name">
<h1>v-model修饰符:lazy、number、trim</h1>
<input type="text" v-model.lazy="s1">--->{{s1}}
<br>
<input type="text" v-model.number="s2">--->{{s2}}
<br>
<input type="text" v-model.trim="s3">--->{{s3}}
</div>
</body>
<script>
var vm = new Vue({
el: '#app',
data: {
name: '彭于晏',
s1: '',
s2: '',
s3: '',
},
})
</script>
</html>
与后端交互
# 1 使用jq的ajax ===》不好---》引入了jq框架,好多功能用不到
# 2 原生js fetch
提供了一个 JavaScript 接口,用于访问和操纵 HTTP 管道的一些具体部分
fetch('http://127.0.0.1:5000/userinfo')
.then(response => {
return response.json();
}).then(data => {
this.username = data.username
this.age = data.age
});
# 3 axios 第三方ajax,只有ajax,没有别的,小--》底层还是基于XMLHttpRequest
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
jq发送
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="./js/vue.js"></script>
<script src="./js/jq.js"></script>
</head>
<body>
<div id="app">
<h1>与后端交互</h1>
<button @click="handleLoad">加载用户信息</button>
<p>用户名:{{username}}</p>
<p>年龄:{{age}}</p>
</div>
</body>
<script>
var vm = new Vue({
el: '#app',
data: {
username: '',
age: ''
},
methods: {
handleLoad() {
// 后端发送请求,拿到数据,赋值给 username和age 页面就有了
// 1 发送请求方式1 使用 jq的ajax
$.ajax({
url: 'http://127.0.0.1:5000/userinfo',
method: 'get',
success: data => {
// CORS policy 跨域问题---》解决---》后端响应头中加入:Access-Control-Allow-Origin
console.log(typeof data)
data = JSON.parse(data)
this.username = data.username
this.age = data.age
}
})
}
}
})
</script>
</html>
原生js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="./js/vue.js"></script>
<script src="./js/jq.js"></script>
</head>
<body>
<div id="app">
<h1>与后端交互</h1>
<button @click="handleLoad">加载用户信息</button>
<p>用户名:{{username}}</p>
<p>年龄:{{age}}</p>
</div>
</body>
<script>
var vm = new Vue({
el: '#app',
data: {
username: '',
age: ''
},
methods: {
handleLoad() {
// 后端发送请求,拿到数据,赋值给 username和age 页面就有了
// 1 原生fetch发送请求
fetch('http://127.0.0.1:5000/userinfo')
.then(response => {
return response.json();
}).then(data => {
this.username = data.username
this.age = data.age
});
}
}
})
</script>
</html>
axios
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="./js/vue.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
<div id="app">
<h1>与后端交互</h1>
<button @click="handleLoad">加载用户信息</button>
<p>用户名:{{username}}</p>
<p>年龄:{{age}}</p>
</div>
</body>
<script>
var vm = new Vue({
el: '#app',
data: {
username: '',
age: ''
},
methods: {
handleLoad() {
// 后端发送请求,拿到数据,赋值给 username和age 页面就有了
// 1 axios发送请求
axios.get('http://127.0.0.1:5000/userinfo')
.then(res => {
console.log(res.data); //真正的响应体的数据在res.data
this.username = res.data.username
this.age = res.data.age
})
.catch(error => {
console.log(error);
});
}
}
})
</script>
</html>
小电影案例
前端
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="./js/vue.js"></script>
<script src="./js/axios.js"></script>
</head>
<body>
<div id="d1">
<h1>点击显示小电影案例</h1>
<button @click="handleLoad">加载</button>
<div v-for="film in filmList">
<img :src="film.poster" alt="" height="200px" width="150px">
<div>
<h3>{{film.name}}</h3>
<p>主演:
<span v-for="item in film.actors">
{{item.name}}
</span>
</p>
<p>{{film.nation}}|{{film.runtime}}</p>
</div>
</div>
</div>
</body>
<script>
var vm = new Vue({
el: '#d1',
data: {
filmList: []
},
methods: {
handleLoad() {
axios.get('http://127.0.0.1:5000/film').then(res => {
if (res.data.code == 100) {
this.filmList = res.data.results
} else {
alert(res.data.msg)
}
})
}
}
})
</script>
</html>
后端
from flask import Flask, jsonify
import json
app = Flask(__name__)
@app.route('/film', methods=['GET'])
def film():
with open('./film.json', 'rt', encoding='utf-8') as f:
res = json.load(f)
res=jsonify(res)
res.headers['Access-Control-Allow-Origin']='*'
return res
if __name__ == '__main__':
app.run()
film.json
{
"code":100,
"results":[
{
"filmId":6664,
"name":"年会不能停!",
"poster":"https://pic.maizuo.com/usr/movie/6b59b017d4dc427551d8ad530c009f5c.jpg",
"actors":[
{
"name":"董润年",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/ed9a520f233f9fe5dd01e0afea67b890.jpg"
},
{
"name":"大鹏",
"role":"胡建林",
"avatarAddress":"https://pic.maizuo.com/usr/movie/75741ac19a8019deccf3a9ba8709dc49.jpg"
},
{
"name":"白客",
"role":"马杰",
"avatarAddress":"https://pic.maizuo.com/usr/movie/bd23f041d10ca51f4d6bc2060ecdf196.jpg"
},
{
"name":"庄达菲",
"role":"潘怡然",
"avatarAddress":"https://pic.maizuo.com/usr/movie/eb34beaaac4ed83e016bde7eed9c7549.jpg"
},
{
"name":"王迅",
"role":"庄正直",
"avatarAddress":"https://pic.maizuo.com/usr/movie/e6d3df29a73643f18e142ffcf029a8bd.jpg"
}
],
"director":"董润年",
"category":"喜剧|剧情",
"synopsis":"犒劳辛苦一年的自己,来影院大笑解压跨年!国民级喜剧人年底大聚会,真实还原打工人精神状态!钳工胡建林 (大鹏 饰)在集团裁员之际阴差阳错被调入总部,裹挟在“错调”事件中的人事经理马杰 (白客 饰) 为保饭碗被迫为其隐瞒四处周旋。从“工厂”到“大厂”,从“蓝领”变“金领”,胡建林因与大厂环境格格不入而笑料百出,也像一面“职场照妖镜”照出职场众生相......胡建林为何能在裁员之际一路升职加薪制霸大厂?马杰又能否在“错调”事件中全身而退?这场离谱的“错调”背后又隐藏着什么惊天大瓜……",
"filmType":{
"name":"4D",
"value":13
},
"nation":"中国大陆",
"language":"",
"videoId":"",
"premiereAt":1703808000,
"timeType":3,
"runtime":117,
"grade":"7.2",
"item":{
"name":"4D",
"type":13
},
"isPresale":true,
"isSale":false
},
{
"filmId":6661,
"name":"金手指",
"poster":"https://pic.maizuo.com/usr/movie/7c6fc744ab6efc08696fd1a8db5ede3b.jpg",
"actors":[
{
"name":"庄文强",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/c8a01acf59a22446204480d4f182997c.jpg"
},
{
"name":"梁朝伟",
"role":"程一言",
"avatarAddress":"https://pic.maizuo.com/usr/movie/dde9116fbb432a327cc2f71e9603da58.jpg"
},
{
"name":"刘德华",
"role":"刘启源",
"avatarAddress":"https://pic.maizuo.com/usr/movie/a5fc45490b819cda18057b127816b7a3.jpg"
},
{
"name":"蔡卓妍",
"role":"张嘉文",
"avatarAddress":"https://pic.maizuo.com/usr/movie/6ee9dac0b4426320f7f820c82cdb29f4.jpg"
},
{
"name":"任达华",
"role":"曾剑桥",
"avatarAddress":"https://pic.maizuo.com/usr/movie/63f8acdb408dd7836eda9a442cdb556e.jpg"
}
],
"director":"庄文强",
"category":"剧情|犯罪",
"synopsis":"偷渡穷光蛋惊天逆袭,用100块赚到100亿?比爽文还刺激!梁朝伟刘德华二十年后再合体,极致演绎跨年档最受期待现实主义“暴富”大片!揭秘轰动全球的真实“发财传奇”!看《金手指》,狂享奢华逆袭,一起暴富跨年!上市公司嘉文集团在短短几年间从默默无名到风生水起,再到没落清盘,市值蒸发超过一百亿。幕后老板程一言(梁朝伟 饰)也从万众瞩目的股民偶像变成人人喊打的过街老鼠。高级调查主任刘启源(刘德华 饰)长达十五年锲而不舍地搜证和跨境调查,消耗超过两亿诉讼费,竟发现局中有局案中有案,牵涉数条人命并波及香港整个上流社会,究竟谁在幕后?谁能逃脱?谁会出局?",
"filmType":{
"name":"2D",
"value":1
},
"nation":"中国大陆,中国香港",
"language":"",
"videoId":"",
"premiereAt":1703894400,
"timeType":3,
"runtime":125,
"grade":"7.5",
"item":{
"name":"2D",
"type":1
},
"isPresale":true,
"isSale":false
},
{
"filmId":6677,
"name":"潜行",
"poster":"https://pic.maizuo.com/usr/movie/7e2625801ed632f56d8ede5325ff73dd.jpg",
"actors":[
{
"name":"关智耀",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/1a447bd802546aaf91169a32d1145248.jpg"
},
{
"name":"刘德华",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/a5fc45490b819cda18057b127816b7a3.jpg"
},
{
"name":"林家栋",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/8c48d0deacebd51850d1e7f1750225d7.jpg"
},
{
"name":"彭于晏",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/275a877d692f42246469d39d910b2c2e.jpg"
},
{
"name":"刘雅瑟",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/b04fb03af43c87854fe63d045387efe3.jpg"
}
],
"director":"关智耀",
"category":"剧情|犯罪",
"synopsis":"年度犯罪动作巨制,刘德华十六年后再演反派!隐蔽的暗网成为新型贩毒的温床,一批重达数吨的毒品秘密抵达香港。形势紧迫,警方将动用一切手段,抓捕代号“老板”的幕后毒枭。更惊人的巨额交易,更难测的诡秘行踪,警方将如何面对史上最强劲的对手…",
"filmType":{
"name":"4D",
"value":13
},
"nation":"中国大陆",
"language":"",
"videoId":"",
"premiereAt":1703808000,
"timeType":3,
"runtime":114,
"grade":"7.6",
"item":{
"name":"4D",
"type":13
},
"isPresale":true,
"isSale":false
},
{
"filmId":6666,
"name":"一闪一闪亮星星",
"poster":"https://pic.maizuo.com/usr/movie/b5ef931e6d7f3419dbc2e196afaf1fc7.jpg",
"actors":[
{
"name":"陈小明",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/1344414485c7f694a815c16f305bd234.jpg"
},
{
"name":"章攀",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/36f40652ea04bb77dc1cddfb33ff5b72.jpg"
},
{
"name":"屈楚萧",
"role":"张万森",
"avatarAddress":"https://pic.maizuo.com/usr/movie/4b52f56805599eafcdb33e84ff8b1d17.jpg"
},
{
"name":"张佳宁",
"role":"林北星",
"avatarAddress":"https://pic.maizuo.com/usr/movie/4c04863d11d0d5eadb31ed9517b8f4b7.jpg"
},
{
"name":"傅菁",
"role":"高歌",
"avatarAddress":"https://pic.maizuo.com/usr/movie/987deda7f7f3b9f5a7f5f4c3dfe380dd.jpg"
}
],
"director":"陈小明|章攀",
"category":"爱情|奇幻",
"synopsis":"现象级爆款剧集同名电影《一闪一闪亮星星》,原班人马再续纯爱故事,令无数观众翘首以盼的纯爱时空再启,奔赴甜虐暗恋!张万森(屈楚萧 饰)计划在高考后向暗恋已久的女生林北星(张佳宁 饰) 表白,突如其来的演唱会事故却让一切变成了一场无可挽回的悲剧,没想到的是,痛苦无助的张万森竟意外重启了这个夏天,再次回到悲剧发生前的林北星身边,而重启夏天的秘密,仿佛没有想象中那么简单……这一次,拼尽全力的张万森能否成功守护林北星,让所有刻骨铭心的遗憾都得以圆满?星河流转中的某个瞬间,青春里的那场绵绵大雪,能不能落在相爱的两人身上?",
"filmType":{
"name":"4D",
"value":13
},
"nation":"中国大陆",
"language":"",
"videoId":"",
"premiereAt":1703894400,
"timeType":3,
"runtime":107,
"grade":"7",
"item":{
"name":"4D",
"type":13
},
"isPresale":true,
"isSale":false
},
{
"filmId":6681,
"name":"海王2:失落的王国",
"poster":"https://pic.maizuo.com/usr/movie/94d069d3e037bb221d7b4b581ccaff51.jpg",
"actors":[
{
"name":"温子仁",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/92ffc5d6b92f8b0056c40f36e870058a.jpg"
},
{
"name":"杰森·莫玛",
"role":" 海王 / 亚瑟·库瑞 Aquaman / Arthur Curry",
"avatarAddress":"https://pic.maizuo.com/usr/movie/09387c9db47d1c5281122cf0f0d8e564.jpg"
},
{
"name":"帕特里克·威尔森",
"role":" 奥姆王 / 海洋领主 Orm / Ocean Master",
"avatarAddress":"https://pic.maizuo.com/usr/movie/702e000b260107ac3c1f91a587826489.jpg"
},
{
"name":"安柏·赫德",
"role":" 湄拉 Mera",
"avatarAddress":"https://pic.maizuo.com/usr/movie/e0dcf92b6ba1fb04dc25bcbd47978d8b.jpg"
},
{
"name":"叶海亚·阿卜杜勒-迈丁",
"role":" 黑蝠鲼 Black Manta",
"avatarAddress":"https://pic.maizuo.com/usr/movie/0306404ed5846e8e15706173ce175168.jpg"
}
],
"director":"温子仁",
"category":"动作|冒险|奇幻",
"synopsis":"惊涛再起,王者归来!《海王2:失落的王国》讲述了海王的全新传奇。在上一次试图击败海王未果后,黑蝠鲼依然不甘放弃为父报仇,誓要消灭海王。这一次,他找到了传说中的黑暗三叉戟,释放出古老的邪恶力量,比以往更来势汹汹。为了与之抗衡,海王向被囚禁狱中的弟弟奥姆(也是前亚特兰蒂斯国王)求助,组成了出乎意料的联盟。他俩必须抛弃前仇旧怨,携手并肩作战,才能从即将到来的灾难中保卫王国,拯救家人,拯救世界。",
"filmType":{
"name":"3D",
"value":2
},
"nation":"美国",
"language":"",
"videoId":"",
"premiereAt":1703030400,
"timeType":3,
"runtime":125,
"grade":"7.1",
"item":{
"name":"3D",
"type":2
},
"isPresale":true,
"isSale":false
},
{
"filmId":6660,
"name":"三大队",
"poster":"https://pic.maizuo.com/usr/movie/88ea8dff563db98b06efcfc07acf5283.jpg",
"actors":[
{
"name":"戴墨",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/7d35c5ad443c64db177b335dc52d8726.jpg"
},
{
"name":"张译",
"role":" 程兵",
"avatarAddress":"https://pic.maizuo.com/usr/movie/ff9aafa8c6033a1277d5ecd65822f8ae.jpg"
},
{
"name":"李晨",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/ed4778a23fdcb6bab9c5a6e6e333f92f.jpg"
},
{
"name":"魏晨",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/2f21cf0e9f19dd93c25a53252e149b81.png"
},
{
"name":"曹炳琨",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/4ebf2d26239818c2fe24f530587aaad8.jpg"
}
],
"director":"戴墨",
"category":"剧情|犯罪",
"synopsis":"电影《三大队》根据真实事件改编,原载于“网易人间工作室”,原作名为《请转告局长,三大队任务完成了》(作者深蓝)。刑侦大队队长程兵(张译 饰)带领的三大队在办理一起恶性案件的过程中导致嫌犯之一意外死亡,被判入狱。出狱后依然坚持以普通人身份追踪在逃嫌犯的故事。",
"filmType":{
"name":"4D",
"value":13
},
"nation":"中国大陆",
"language":"",
"videoId":"",
"premiereAt":1702598400,
"timeType":3,
"runtime":132,
"grade":"7.4",
"item":{
"name":"4D",
"type":13
},
"isPresale":true,
"isSale":false
},
{
"filmId":6713,
"name":"大雨",
"poster":"https://pic.maizuo.com/usr/movie/d686dcb6d31361bea1a5a539ca617183.jpg",
"actors":[
{
"name":"不思凡",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/ad4489f1d473cf26b2965a69cba59dc1.jpg"
},
{
"name":"陈浩",
"role":"大谷子",
"avatarAddress":"https://pic.maizuo.com/usr/movie/cb55fd265e16d6bde26f9e55d6cce4d0.jpg"
},
{
"name":"何梓骞",
"role":"馒头",
"avatarAddress":"https://pic.maizuo.com/usr/movie/1064ae6850d00b5ac7c4c62c5d3b3f21.jpg"
},
{
"name":"杏林儿",
"role":"柳子彦",
"avatarAddress":"https://pic.maizuo.com/usr/movie/a57cdbcc7939f414174769deca08621a.jpg"
}
],
"director":"不思凡",
"category":"冒险|动画|奇幻",
"synopsis":"重生大戏即将上演!沉没多年古船离奇现世,男孩馒头意外闯入,却发现船上聚集着诸多亡魂.... 一场大雨过后,“蝼蚁”重生,命运会有改变吗?",
"filmType":{
"name":"2D",
"value":1
},
"nation":"中国大陆",
"language":"",
"videoId":"",
"premiereAt":1705017600,
"timeType":3,
"runtime":101,
"item":{
"name":"2D",
"type":1
},
"isPresale":true,
"isSale":false
},
{
"filmId":6690,
"name":"非诚勿扰3",
"poster":"https://pic.maizuo.com/usr/movie/009afc35e675c79ea43f3ba637bff015.jpg",
"actors":[
{
"name":"冯小刚",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/8412ec8377d454f980c54149d48f9051.jpg"
},
{
"name":"葛优",
"role":" 秦奋",
"avatarAddress":"https://pic.maizuo.com/usr/movie/5ae58b3ddff7b4046c65d69a353a03d2.jpg"
},
{
"name":"舒淇",
"role":" 梁笑笑 / 智能人梁笑笑",
"avatarAddress":"https://pic.maizuo.com/usr/movie/c95b4ff9858887d1f9492119cb1c8e68.jpg"
},
{
"name":"范伟",
"role":" 老范",
"avatarAddress":"https://pic.maizuo.com/usr/movie/a56e70a02d707abb0d4137fceb580671.jpg"
},
{
"name":"虞书欣",
"role":" 朱迪",
"avatarAddress":"https://pic.maizuo.com/usr/movie/c6fc41a32cbf93d1e4b952431bf76596.jpg"
}
],
"director":"冯小刚",
"category":"喜剧|爱情",
"synopsis":"秦奋与梁笑笑,老狐狸与比目鱼,爱情故事万千,取其一对展开。两人结婚十年,梁笑笑找到心之所向,开始四海为家。一别之后,两地相悬。以为是三四月,又谁知五六七八九十年。好友老范,见其思念难解,忧其岁月蹉跎,故赠予一仿生智能人,模样若笑笑,伴其左右。岁月时而静好,时而吵闹,时而苦中有笑,智能人也日渐有了曾经佳人的味道。本是良辰美景,故事突发变故,又一笑笑开锁入门,一笑笑莞尔一笑,一笑笑笑里藏刀,一切如梦如幻,如真似假。秦奋射出的箭,如今正中自己的靶心。谁去谁留?且在跨年揭晓。",
"filmType":{
"name":"2D",
"value":1
},
"nation":"中国大陆",
"language":"",
"videoId":"",
"premiereAt":1703894400,
"timeType":3,
"runtime":119,
"grade":"7.2",
"item":{
"name":"2D",
"type":1
},
"isPresale":true,
"isSale":false
},
{
"filmId":6700,
"name":"泰勒·斯威夫特:时代巡回演唱会",
"poster":"https://pic.maizuo.com/usr/movie/b4d2198fef7758eb3565a0db4eaa93dd.jpg",
"actors":[
{
"name":"萨姆·伦奇",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/f056a7a5b31ca6898193e832973c2d53.jpg"
},
{
"name":"泰勒·斯威夫特",
"role":"演员",
"avatarAddress":"https://pic.maizuo.com/usr/movie/8a92e5918e2a69baffb71f30aa9e22b1.jpg"
}
],
"director":"萨姆·伦奇",
"category":"音乐|纪录片",
"synopsis":"革新观影释放无限音乐魅力,影院嗨唱体验盛大跨年狂欢!电影《泰勒·斯威夫特:时代巡回演唱会》由知名导演萨姆·伦奇执导,展现了全球流行音乐天后泰勒·斯威夫特2023年时代巡回演唱会的魅力音乐现场,极致呈现泰勒音乐生涯10张创作专辑内40余首歌曲的音乐能量,同时更以超强品质还原出巡回演出现场盛况,以电影视角缔造出2023最后一场狂欢盛宴。",
"filmType":{
"name":"2D",
"value":1
},
"nation":"美国",
"language":"",
"videoId":"",
"premiereAt":1703980800,
"timeType":3,
"runtime":169,
"grade":"7.1",
"item":{
"name":"2D",
"type":1
},
"isPresale":true,
"isSale":false
},
{
"filmId":6714,
"name":"临时劫案",
"poster":"https://pic.maizuo.com/usr/movie/768920ba2e0ffad2d2e257a86de8037d.jpg",
"actors":[
{
"name":"郭富城",
"role":" 梅蓝天",
"avatarAddress":"https://pic.maizuo.com/usr/movie/bcb5b34461bff36771f7f7201090f057.jpg"
},
{
"name":"林家栋",
"role":"阿怂",
"avatarAddress":"https://pic.maizuo.com/usr/movie/8c48d0deacebd51850d1e7f1750225d7.jpg"
},
{
"name":"麦启光",
"role":"导演",
"avatarAddress":"https://pic.maizuo.com/usr/movie/89e46feada9580d690ba2882ecceb0f7.jpg"
},
{
"name":"任贤齐",
"role":"慕容辉",
"avatarAddress":"https://pic.maizuo.com/usr/movie/64bf91459a63b384bdc6617a3677e511.jpg"
},
{
"name":"张可颐",
"role":" 姜姐",
"avatarAddress":"https://pic.maizuo.com/usr/movie/73af7d02e867c4fc4efdd0845ae820cf.jpg"
}
],
"director":"麦启光",
"category":"犯罪|喜剧",
"synopsis":"2024开年莽片,郭富城、林家栋、任贤齐兄弟联手,上演“匪废组合”的荒诞抢劫故事!颓废中年难兄难弟阿怂(林家栋 饰)、慕容辉(任贤齐 饰)计划抢劫却意外被悍匪梅蓝天(郭富城 饰)搅局,阴差阳错间三人临时组队,巨款眼看到手,却被他人捷足先登,与此同时女警探姜姐(张可颐 饰)也将三人锁定,一时间匪徒各怀鬼胎,在“我打劫,你打劫我”的江湖规则下,一袋钱引发连续偶然事件......",
"filmType":{
"name":"2D",
"value":1
},
"nation":"中国大陆,中国香港",
"language":"",
"videoId":"",
"premiereAt":1705622400,
"timeType":3,
"runtime":97,
"item":{
"name":"2D",
"type":1
},
"isPresale":true,
"isSale":false
}
],
"msg":"ok"
}