Kaynağa Gözat

```
feat(pages): 更新页面登录验证配置并添加视频权益子包

- 修改选座页面为需要登录访问
- 修改电影首页为无需登录访问
- 修改订单页面为需要登录访问
- 添加视频权益子包及其相关页面配置
- 更新页面类型定义文件以包含新的视频权益页面路径

fix(pay): 暂时禁用微信支付功能并添加提示信息

- 注释掉微信支付相关调用代码
- 添加积分支付限制提示,显示"当前只支持积分支付"

chore(manifest): 修复manifest.json文件格式错误

- 移除多余的逗号以修正JSON格式问题
```

wenjie 5 gün önce
ebeveyn
işleme
46416a5162

+ 25 - 3
src/pages.json

@@ -304,7 +304,7 @@
         {
           "path": "choose-seat/index",
           "name": "film-choose-seat",
-          "islogin": false,
+          "islogin": true,
           "style": {
             "navigationBarTitleText": "座次选择",
             "backgroundColorBottom": "#fff"
@@ -313,7 +313,7 @@
         {
           "path": "index/index",
           "name": "film-index",
-          "islogin": true,
+          "islogin": false,
           "style": {
             "navigationBarTitleText": "电影演出",
             "backgroundColorBottom": "#fff"
@@ -351,7 +351,7 @@
         {
           "path": "order/index",
           "name": "film-order",
-          "islogin": false,
+          "islogin": true,
           "style": {
             "navigationBarTitleText": "我的订单",
             "backgroundColorBottom": "#fff"
@@ -472,6 +472,28 @@
           }
         }
       ]
+    },
+    {
+      "root": "subPack-videoRights",
+      "pages": [
+        {
+          "path": "commonTab/index",
+          "name": "video-rights-tabbar",
+          "islogin": false,
+          "style": {
+            "navigationBarTitleText": "",
+            "navigationStyle": "custom"
+          }
+        },
+        {
+          "path": "videoRightsDetail/videoRightsDetail",
+          "name": "video-rights-detail",
+          "islogin": false,
+          "style": {
+            "navigationBarTitleText": "详情"
+          }
+        }
+      ]
     }
   ]
 }

+ 1 - 1
src/subPack-film/choose-seat/index.vue

@@ -11,7 +11,7 @@ import router from '@/router'
 
 definePage({
   name: 'film-choose-seat',
-  islogin: false,
+  islogin: true,
   style: {
     navigationBarTitleText: '座次选择',
     backgroundColorBottom: '#fff',

+ 1 - 1
src/subPack-film/index/index.vue

@@ -4,7 +4,7 @@ import router from '@/router'
 
 definePage({
   name: 'film-index',
-  islogin: true,
+  islogin: false,
   style: {
     navigationBarTitleText: '电影演出',
     backgroundColorBottom: '#fff',

+ 1 - 1
src/subPack-film/order/index.vue

@@ -9,7 +9,7 @@ import router from '@/router'
 
 definePage({
   name: 'film-order',
-  islogin: false,
+  islogin: true,
   style: {
     navigationBarTitleText: '我的订单',
     backgroundColorBottom: '#fff',

+ 8 - 3
src/subPack-film/submit-order/index.vue

@@ -1,5 +1,5 @@
 <script setup lang="ts">
-import { getWxCommonPayment, handleCommonPayMent, paySuccess } from '../utils/confirm-order'
+import { handleCommonPayMent, paySuccess } from '../utils/confirm-order'
 import { getArrayFieldMax, isWithin45Minutes, timeFormat } from '../utils/index'
 import router from '@/router'
 import { StaticUrl } from '@/config'
@@ -110,8 +110,13 @@ async function pay() {
   const res = await handleCommonPayMent(orderNumber)
   loading.value = false
   if (res.payType !== 1) {
-    await getWxCommonPayment(res)
-    await paySuccess()
+    // await getWxCommonPayment(res)
+    // await paySuccess()
+    uni.showToast({
+      title: '当前只支持积分支付',
+      icon: 'none',
+      duration: 2000,
+    })
   }
   else {
     await paySuccess()

+ 3 - 1
src/uni-pages.d.ts

@@ -43,7 +43,9 @@ interface NavigateToOptions {
        "/subPack-charge/chargeSearchList/chargeSearchList" |
        "/subPack-charge/chargeSiteDetail/chargeSiteDetail" |
        "/subPack-charge/chargeStart/chargeStart" |
-       "/subPack-charge/index/index";
+       "/subPack-charge/index/index" |
+       "/subPack-videoRights/commonTab/index" |
+       "/subPack-videoRights/videoRightsDetail/videoRightsDetail";
 }
 interface RedirectToOptions extends NavigateToOptions {}