Browse Source

```
feat(select-time): 添加电影ID参数传递功能

在页面加载时从options中获取movieId并赋值给查询对象,
确保电影相关信息能够正确传递到后续逻辑中。

同时修复了manifest.json文件的格式问题。
```

wenjie 3 weeks ago
parent
commit
51b399d50d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/subPack-film/select-time/index.vue

+ 1 - 0
src/subPack-film/select-time/index.vue

@@ -101,6 +101,7 @@ onLoad((options) => {
   console.log('dadas', options)
   console.log('dadas', options)
   title.value = options?.title
   title.value = options?.title
   uni.setNavigationBarTitle({ title: options?.title })
   uni.setNavigationBarTitle({ title: options?.title })
+  query.value.movieId = options?.movieId
   query.value.cinemaId = options?.cinemaId
   query.value.cinemaId = options?.cinemaId
   currentTime.value = options?.time || timeFormat(new Date().getTime(), 'yyyy-MM-dd')
   currentTime.value = options?.time || timeFormat(new Date().getTime(), 'yyyy-MM-dd')
   getData().then(() => {
   getData().then(() => {