zhaojs
2023-08-11 c6dd249695d14f4cdb6777ba01fcdfbe41dd09fb
no message
已修改3个文件
31 ■■■■■ 文件已修改
h5/apph5/manifest.json 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/apph5/pages/index/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/apph5/pages/wxkf/gzhAuthBack.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
h5/apph5/manifest.json
@@ -40,7 +40,8 @@
                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
                    "<uses-feature android:name=\"android.hardware.camera\"/>",
                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
                ]
                ],
                "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
            },
            /* ios打包配置 */
            "ios" : {},
@@ -86,12 +87,12 @@
            "public" : "0.0.0.0",
            "proxy" : {
                //配置代理服务器来解决跨域问题,uniapp不适用CORS方案和设置JSONP方案
                "/wxback/" : {
                    //映射域名
                    "target" : "http://wxkf.ushopvip.com", //测试环境
                    "changeOrigin" : true, //是否跨域
                    "secure" : false // 是否支持 https 协议的代理
                },
                "/wxback/" : {
                    //映射域名
                    "target" : "http://wxkf.ushopvip.com", //测试环境
                    "changeOrigin" : true, //是否跨域
                    "secure" : false // 是否支持 https 协议的代理
                },
                "/openwize/" : {
                    //映射域名
                    "target" : "http://vx8.cc", //测试环境
h5/apph5/pages/index/index.vue
@@ -1,8 +1,8 @@
<template>
    <view class="content">
        <view @click="openTuer()">点击跳转大返官</view>
        <!-- <view @click="openTuer()">点击跳转大返官</view> -->
        <a :href="tourl">test:</a>
        <a :href="tourl">点击跳转大返官</a>
    </view>
</template>
h5/apph5/pages/wxkf/gzhAuthBack.vue
@@ -1,6 +1,6 @@
<template>
    <view>
        {{txt}}
    </view>
</template>
@@ -9,7 +9,7 @@
    export default {
        data() {
            return {
                code: ''
                txt: ''
            }
        },
        onLoad(option) {
@@ -33,6 +33,14 @@
                }).then(e => {
                    console.log(e);
                    uni.hideLoading();
                    if (e == true)
                    {
                        this.txt = "授权成功,请关闭此页面"
                    }
                    else{
                        this.txt =e;
                    }
                }).catch(function(err) {
                    console.log(err);
                })