Browse Source

修改格式错误的问题

zyh
Gao xiaosong 3 years ago
parent
commit
f49e88555b
  1. 4
      .hbuilderx/launch.json
  2. 606
      manifest.json

4
.hbuilderx/launch.json

@ -6,6 +6,10 @@
{ {
"launchtype" : "remote" "launchtype" : "remote"
}, },
"h5" :
{
"launchtype" : "remote"
},
"mp-weixin" : "mp-weixin" :
{ {
"launchtype" : "remote" "launchtype" : "remote"

606
manifest.json

@ -1,314 +1,296 @@
{ {
"name": "yshopmall", "name": "yshopmall",
"appid": "__UNI__C7A519E", "appid": "__UNI__C7A519E",
"description": "", "description": "",
"versionName": "1.0.1", "versionName": "1.0.1",
"versionCode": 1, "versionCode": 1,
"transformPx": false, "transformPx": false,
/* 5+App */ /* 5+App */
"app-plus": { "app-plus": {
"usingComponents": true, "usingComponents": true,
"nvueCompiler": "uni-app", "nvueCompiler": "uni-app",
"compilerVersion": 3, "compilerVersion": 3,
"splashscreen": { "splashscreen": {
"alwaysShowBeforeRender": true, "alwaysShowBeforeRender": true,
"waiting": false, "waiting": false,
"autoclose": true, "autoclose": true,
"delay": 0 "delay": 0
}, },
/* */ /* */
"modules": { "modules": {
"OAuth": {}, "OAuth": {},
"Payment": {}, "Payment": {},
"Share": {}, "Share": {},
"Geolocation": {} "Geolocation": {}
}, },
/* */ /* */
"distribute": { "distribute": {
/* android */ /* android */
"android": { "android": {
"permissions": [ "permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>", "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>", "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>", "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>", "<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>", "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>", "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>", "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>", "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
] ]
}, },
/* ios */ /* ios */
"ios": {}, "ios": {},
/* SDK */ /* SDK */
"sdkConfigs": { "sdkConfigs": {
"oauth": { "oauth": {
"weixin": { "weixin": {
"appid": "wx7c84ede33062d1e4", "appid": "wx7c84ede33062d1e4",
"appsecret": "c47ef66d3311194da44e60387d5c1abd", "appsecret": "c47ef66d3311194da44e60387d5c1abd",
"UniversalLinks": "https://yixiang.co/app/" "UniversalLinks": "https://yixiang.co/app/"
} }
}, },
"payment": { "payment": {
"weixin": { "weixin": {
"appid": "wx7c84ede33062d1e4", "appid": "wx7c84ede33062d1e4",
"UniversalLinks": "https://yixiang.co/app/" "UniversalLinks": "https://yixiang.co/app/"
} }
}, },
/* */ /* */
"distribute" : { "distribute": {
/* android */ /* android */
"android" : { "android": {
"permissions" : [ "permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>", "<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>", "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>", "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>", "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>" "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>"
] ]
}, },
/* ios */ /* ios */
"ios" : {}, "ios": {},
/* SDK */ /* SDK */
"sdkConfigs" : { "sdkConfigs": {
"oauth" : { "oauth": {
"weixin" : { "weixin": {
"appid" : "wx7c84ede33062d1e4", "appid": "wx7c84ede33062d1e4",
"appsecret" : "c47ef66d3311194da44e60387d5c1abd", "appsecret": "c47ef66d3311194da44e60387d5c1abd",
"UniversalLinks" : "https://yixiang.co/app/" "UniversalLinks": "https://yixiang.co/app/"
} }
}, },
"payment" : { "payment": {
"weixin" : { "weixin": {
"appid" : "wx7c84ede33062d1e4", "appid": "wx7c84ede33062d1e4",
"UniversalLinks" : "https://yixiang.co/app/" "UniversalLinks": "https://yixiang.co/app/"
} }
}, },
"share" : { "share": {
"weixin" : { "weixin": {
"appid" : "wx7c84ede33062d1e4", "appid": "wx7c84ede33062d1e4",
"UniversalLinks" : "https://yixiang.co/app/" "UniversalLinks": "https://yixiang.co/app/"
} }
}, },
"ad" : {}, "ad": {},
"geolocation" : {} "geolocation": {}
}, },
"splashscreen" : { "splashscreen": {
"ios" : { "ios": {
"iphone" : { "iphone": {
"portrait-896h@3x" : "splash/1242+2688.png", "portrait-896h@3x": "splash/1242+2688.png",
"portrait-896h@2x" : "splash/828+1792.png", "portrait-896h@2x": "splash/828+1792.png",
"iphonex" : "splash/1125+2436.png", "iphonex": "splash/1125+2436.png",
"retina55" : "splash/1142+2208.png", "retina55": "splash/1142+2208.png",
"retina47" : "splash/750+1334.png", "retina47": "splash/750+1334.png",
"retina40" : "splash/640+1136.png", "retina40": "splash/640+1136.png",
"retina35" : "splash/640+960.png" "retina35": "splash/640+960.png"
} }
}, },
"android" : { "android": {
"hdpi" : "splash/480+762.png", "hdpi": "splash/480+762.png",
"xhdpi" : "splash/720+1242.png", "xhdpi": "splash/720+1242.png",
"xxhdpi" : "splash/1080+1882.png" "xxhdpi": "splash/1080+1882.png"
}, },
"iosStyle" : "common" "iosStyle": "common"
}, },
"icons" : { "icons": {
"android" : { "android": {
"hdpi" : "icons/72x72.png", "hdpi": "icons/72x72.png",
"xhdpi" : "icons/96x96.png", "xhdpi": "icons/96x96.png",
"xxhdpi" : "icons/144x144.png", "xxhdpi": "icons/144x144.png",
"xxxhdpi" : "icons/192x192.png" "xxxhdpi": "icons/192x192.png"
}, },
"ios" : { "ios": {
"appstore" : "icons/1024x1024.png", "appstore": "icons/1024x1024.png",
"ipad" : { "ipad": {
"app" : "icons/76x76.png", "app": "icons/76x76.png",
"app@2x" : "icons/152x152.png", "app@2x": "icons/152x152.png",
"notification" : "icons/20x20.png", "notification": "icons/20x20.png",
"notification@2x" : "icons/40x40.png", "notification@2x": "icons/40x40.png",
"proapp@2x" : "icons/167x167.png", "proapp@2x": "icons/167x167.png",
"settings" : "icons/29x29.png", "settings": "icons/29x29.png",
"settings@2x" : "icons/58x58.png", "settings@2x": "icons/58x58.png",
"spotlight" : "icons/40x40.png", "spotlight": "icons/40x40.png",
"spotlight@2x" : "icons/80x80.png" "spotlight@2x": "icons/80x80.png"
}, },
"iphone" : { "iphone": {
"app@2x" : "icons/120x120.png", "app@2x": "icons/120x120.png",
"app@3x" : "icons/180x180.png", "app@3x": "icons/180x180.png",
"notification@2x" : "icons/40x40.png", "notification@2x": "icons/40x40.png",
"notification@3x" : "icons/60x60.png", "notification@3x": "icons/60x60.png",
"settings@2x" : "icons/58x58.png", "settings@2x": "icons/58x58.png",
"settings@3x" : "icons/87x87.png", "settings@3x": "icons/87x87.png",
"spotlight@2x" : "icons/80x80.png", "spotlight@2x": "icons/80x80.png",
"spotlight@3x" : "icons/120x120.png" "spotlight@3x": "icons/120x120.png"
} }
} }
} }
} }
}, },
"quickapp" : {}, "quickapp": {},
"mp-weixin" : { "mp-weixin": {
"appid" : "wx604d2ea4702620d2", "appid": "wx604d2ea4702620d2",
"setting" : { "setting": {
"urlCheck" : true, "urlCheck": true,
"postcss" : true, "postcss": true,
"minified" : true "minified": true
}, },
"ad": {}, "ad": {},
"geolocation": {} "geolocation": {}
}, },
"splashscreen": { "splashscreen": {
"ios": { "ios": {
"iphone": { "iphone": {
"portrait-896h@3x": "splash/1242+2688.png", "portrait-896h@3x": "splash/1242+2688.png",
"portrait-896h@2x": "splash/828+1792.png", "portrait-896h@2x": "splash/828+1792.png",
"iphonex": "splash/1125+2436.png", "iphonex": "splash/1125+2436.png",
"retina55": "splash/1142+2208.png", "retina55": "splash/1142+2208.png",
"retina47": "splash/750+1334.png", "retina47": "splash/750+1334.png",
"retina40": "splash/640+1136.png", "retina40": "splash/640+1136.png",
"retina35": "splash/640+960.png" "retina35": "splash/640+960.png"
} }
}, },
"android": { "android": {
"hdpi": "splash/480+762.png", "hdpi": "splash/480+762.png",
"xhdpi": "splash/720+1242.png", "xhdpi": "splash/720+1242.png",
"xxhdpi": "splash/1080+1882.png" "xxhdpi": "splash/1080+1882.png"
}, },
"iosStyle": "common" "iosStyle": "common"
}, },
"icons": { "icons": {
"android": { "android": {
"hdpi": "icons/72x72.png", "hdpi": "icons/72x72.png",
"xhdpi": "icons/96x96.png", "xhdpi": "icons/96x96.png",
"xxhdpi": "icons/144x144.png", "xxhdpi": "icons/144x144.png",
"xxxhdpi": "icons/192x192.png" "xxxhdpi": "icons/192x192.png"
}, },
"ios": { "ios": {
"appstore": "icons/1024x1024.png", "appstore": "icons/1024x1024.png",
"ipad": { "ipad": {
"app": "icons/76x76.png", "app": "icons/76x76.png",
"app@2x": "icons/152x152.png", "app@2x": "icons/152x152.png",
"notification": "icons/20x20.png", "notification": "icons/20x20.png",
"notification@2x": "icons/40x40.png", "notification@2x": "icons/40x40.png",
"proapp@2x": "icons/167x167.png", "proapp@2x": "icons/167x167.png",
"settings": "icons/29x29.png", "settings": "icons/29x29.png",
"settings@2x": "icons/58x58.png", "settings@2x": "icons/58x58.png",
"spotlight": "icons/40x40.png", "spotlight": "icons/40x40.png",
"spotlight@2x": "icons/80x80.png" "spotlight@2x": "icons/80x80.png"
}, },
"iphone": { "iphone": {
"app@2x": "icons/120x120.png", "app@2x": "icons/120x120.png",
"app@3x": "icons/180x180.png", "app@3x": "icons/180x180.png",
"notification@2x": "icons/40x40.png", "notification@2x": "icons/40x40.png",
"notification@3x": "icons/60x60.png", "notification@3x": "icons/60x60.png",
"settings@2x": "icons/58x58.png", "settings@2x": "icons/58x58.png",
"settings@3x": "icons/87x87.png", "settings@3x": "icons/87x87.png",
"spotlight@2x": "icons/80x80.png", "spotlight@2x": "icons/80x80.png",
"spotlight@3x": "icons/120x120.png" "spotlight@3x": "icons/120x120.png"
} }
} }
} }
} }
}, },
"quickapp": {}, "quickapp": {},
"mp-weixin": { "mp-weixin": {
"appid": "wx604d2ea4702620d2", "appid": "wx604d2ea4702620d2",
"setting": { "setting": {
"urlCheck": false "urlCheck": false
}, },
"usingComponents": true, "usingComponents": true,
"permission": { "permission": {
"scope.userLocation": { "scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示" "desc": "你的位置信息将用于小程序位置接口的效果展示"
} }
}, },
"plugins": { "plugins": {
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
"live-player-plugin": { "live-player-plugin": {
"version": "1.2.8", "version": "1.2.8",
"provider": "wx2b03c6e691cd7370" "provider": "wx2b03c6e691cd7370"
} }
} }
}, },
// #endif // #endif
"mp-alipay": { "mp-alipay": {
"usingComponents": true "usingComponents": true
}, },
"mp-baidu": { "mp-baidu": {
"usingComponents": true "usingComponents": true
}, },
"mp-toutiao": { "mp-toutiao": {
"usingComponents": true "usingComponents": true
}, },
"h5": { "h5": {
"title": "yshop", "title": "yshop",
"devServer": { "devServer": {
"disableHostCheck": true, "disableHostCheck": true,
"proxy": { "proxy": {
"^/api": { "^/api": {
"target": "https://wxapi.yixiang.co", "target": "https://wxapi.yixiang.co",
"changeOrigin": true, "changeOrigin": true,
"secure": true, "secure": true,
"pathRewrite": { "pathRewrite": {
"^/api": "/api" "^/api": "/api"
} }
} }
} }
}, },
"router": { "router": {
"mode": "history" "mode": "history"
}, },
"h5" : {
"title" : "yshop", "sdkConfigs": {
"devServer" : { "maps": {
"disableHostCheck" : true, "qqmap": {
"proxy" : { "key": ""
"/h5api" : { }
// }
"target" : "http://itxzz.51vip.biz/", },
"changeOrigin" : true, "domain": "h5.yixiang.co"
"secure" : false, }
"pathRewrite" : {
"^/h5api" : "/api"
}
}
}
},
"router" : {
"mode" : "history"
},
"sdkConfigs" : {
"maps" : {
"qqmap" : {
"key" : ""
}
}
},
"domain" : "h5.yixiang.co"
}
} }

Loading…
Cancel
Save