Commit 6474716a by 前端

Merge branch 'hotfix_4.28.2' into 'master'

上线合并

See merge request !28
2 parents 7cf94dc8 1277432e
......@@ -14,7 +14,7 @@ const target = ["ip", "dev", "uat", "beta", "prod"];
3预发布
4生产
*/
const index = 4;
const index = 2;
const secretKey = {
ip: {},
dev: {
......
......@@ -123,8 +123,9 @@ class Request {
return projectName
}
getMock() {
let url = 'https://oss-config.dev.glsx.com.cn/mock/6264ff4760f415276f6dfe62/aicard-config'
if (index == 4 || index == 3) url = 'https://oss-config.test.glsx.com.cn/mock/6274e3050da5034a58680aa6/aicard-config'
let url = 'https://oss-config.test.glsx.com.cn/mock/6274e3050da5034a58680aa6/aicard-config'
// let url = 'https://oss-config.dev.glsx.com.cn/mock/6264ff4760f415276f6dfe62/aicard-config'
// if (index == 4 || index == 3) url = 'https://oss-config.test.glsx.com.cn/mock/6274e3050da5034a58680aa6/aicard-config'
return new Promise((resolve) => {
wx.request({
url,
......
......@@ -4,7 +4,8 @@ module.exports = {
/**wx.login登录 */
jsCodeLogin(data) {
return api.post({
method: `${path}jscode.getOpenId`,
// method: `${path}jscode.getOpenId`,
method: 'scrm.api.sso.weapp.jscode.getOpenIdAndLogin',
...data
}, true)
},
......
/* components/loadding/loadding.wxss */
.loadding {
height: 100vh;
font-weight: 500;
font-size: 48rpx;
font-size: 28rpx;
color: #2D2D33;
text-align: center;
margin-top: 340rpx;
padding-top: 320rpx;
background-color: #fff;
&-img {
width: 432rpx;
width: 300rpx;
height: 300rpx;
margin-bottom: 50rpx;
}
}
\ No newline at end of file
<!--components/loadding/loadding.wxml-->
<view class="loadding">
<glsx-image custom-class="loadding-img" src="home/loadding.webp" />
<view>努力加载中</view>
<glsx-image custom-class="loadding-img" src="home/loadding.gif" />
<view>努力加载中...</view>
</view>
{
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useIsolateContext": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"ignoreUploadUnusedFiles": true,
"useCompilerPlugins": [
"sass"
]
},
"compileType": "miniprogram",
"libVersion": "2.25.4",
"appid": "wx1bd947039419e6ce",
"projectname": "%E5%B9%BF%E8%81%94%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%A8%A1%E7%89%88",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"condition": {
"miniprogram": {
"list": [
{
"name": "分享组件",
"pathName": "tabComponents/pages/share/share",
"query": "",
"scene": null
},
{
"name": "授权组件",
"pathName": "tabComponents/pages/authorize/authorize",
"query": "",
"scene": null
},
{
"name": "时间范围选择器",
"pathName": "tabComponents/pages/time-horizon/time-horizon",
"query": "",
"scene": null
},
{
"name": "cell",
"pathName": "tabComponents/pages/gl-cell/gl-cell",
"query": "",
"scene": null
},
{
"name": "日历",
"pathName": "tabComponents/pages/calendar/calendar",
"query": "",
"scene": null
}
]
}
}
{
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useIsolateContext": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"ignoreUploadUnusedFiles": true,
"useCompilerPlugins": [
"sass"
]
},
"compileType": "miniprogram",
"libVersion": "2.25.4",
"appid": "wx1bd947039419e6ce",
"projectname": "%E5%B9%BF%E8%81%94%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%A8%A1%E7%89%88",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"condition": {
"miniprogram": {
"list": [
{
"name": "分享组件",
"pathName": "tabComponents/pages/share/share",
"query": "",
"scene": null
},
{
"name": "授权组件",
"pathName": "tabComponents/pages/authorize/authorize",
"query": "",
"scene": null
},
{
"name": "时间范围选择器",
"pathName": "tabComponents/pages/time-horizon/time-horizon",
"query": "",
"scene": null
},
{
"name": "cell",
"pathName": "tabComponents/pages/gl-cell/gl-cell",
"query": "",
"scene": null
},
{
"name": "日历",
"pathName": "tabComponents/pages/calendar/calendar",
"query": "",
"scene": null
}
]
}
}
}
\ No newline at end of file
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"condition": {
"miniprogram": {
"list": [
{
"name": "分享组件",
"pathName": "tabComponents/pages/share/share",
"query": "",
"scene": null
},
{
"name": "授权组件",
"pathName": "tabComponents/pages/authorize/authorize",
"query": "",
"scene": null
},
{
"name": "时间范围选择器",
"pathName": "tabComponents/pages/time-horizon/time-horizon",
"query": "",
"scene": null
},
{
"name": "cell",
"pathName": "tabComponents/pages/gl-cell/gl-cell",
"query": "",
"scene": null
},
{
"name": "日历",
"pathName": "tabComponents/pages/calendar/calendar",
"query": "",
"scene": null
},
{
"name": "测试",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3275",
"launchMode": "default",
"scene": null
},
{
"name": "活动详情",
"pathName": "packagesList/pages/activityDetail/activityDetail",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "访问记录",
"pathName": "packagesList/pages/accessRecord/accessRecord",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "packagesList/pages/productDetail/productDetail",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3856",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/productDetail/changingFilm/changingFilm",
"query": "cardId=38&merchant=44210895",
"launchMode": "default",
"scene": null
},
{
"name": "预发布",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D408",
"launchMode": "default",
"scene": null
},
{
"name": "生产",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D5116",
"launchMode": "default",
"scene": null
}
]
}
},
"setting": {
"urlCheck": true,
"compileHotReLoad": false,
"autoAudits": true
},
"libVersion": "3.2.5",
"projectname": "ai-card"
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"condition": {
"miniprogram": {
"list": [
{
"name": "分享组件",
"pathName": "tabComponents/pages/share/share",
"query": "",
"scene": null
},
{
"name": "授权组件",
"pathName": "tabComponents/pages/authorize/authorize",
"query": "",
"scene": null
},
{
"name": "时间范围选择器",
"pathName": "tabComponents/pages/time-horizon/time-horizon",
"query": "",
"scene": null
},
{
"name": "cell",
"pathName": "tabComponents/pages/gl-cell/gl-cell",
"query": "",
"scene": null
},
{
"name": "日历",
"pathName": "tabComponents/pages/calendar/calendar",
"query": "",
"scene": null
},
{
"name": "测试",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3275",
"launchMode": "default",
"scene": null
},
{
"name": "活动详情",
"pathName": "packagesList/pages/activityDetail/activityDetail",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "访问记录",
"pathName": "packagesList/pages/accessRecord/accessRecord",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "packagesList/pages/productDetail/productDetail",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3856",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/productDetail/changingFilm/changingFilm",
"query": "cardId=38&merchant=44210895",
"launchMode": "default",
"scene": null
},
{
"name": "预发布",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D408",
"launchMode": "default",
"scene": null
},
{
"name": "生产",
"pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D5116",
"launchMode": "default",
"scene": null
}
]
}
},
"setting": {
"urlCheck": true,
"compileHotReLoad": false,
"autoAudits": true
},
"libVersion": "3.2.5",
"projectname": "ai-card"
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!