1.在app.json中創建詳情界面comment

2.給按鈕綁定事件處理函數
```
< button bindtap = "gotoComment" data-movieid = "{{item.id}}" class = "movie-comment" > 評價 < /button>
```

3.在moive.js中書寫跳轉詳情函數
```
/**
* 跳轉詳情函數
*/
gotoComment: function (event) {
wx.navigateTo({
url: '../comment/comment?movieid='+event.target.dataset.movieid,
});
},
```
4.在comment.js中獲取傳過來的參數
```
/**
* 生命周期函數--監聽頁面加載
*/
onLoad: function(options) {
console.log(options);
},
```
5.點擊電影評價進入詳情,即可以看到已經獲取到了參數
