Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6474716a
authored
Aug 13, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'hotfix_4.28.2' into 'master'
上线合并 See merge request
!28
2 parents
7cf94dc8
1277432e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
205 additions
and
204 deletions
api/environment.js
api/request.js
api/ssoApi.js
components/loadding/loadding.scss
components/loadding/loadding.wxml
project.config.json
project.private.config.json
api/environment.js
View file @
6474716
...
...
@@ -14,7 +14,7 @@ const target = ["ip", "dev", "uat", "beta", "prod"];
3预发布
4生产
*/
const
index
=
4
;
const
index
=
2
;
const
secretKey
=
{
ip
:
{},
dev
:
{
...
...
api/request.js
View file @
6474716
...
...
@@ -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
,
...
...
api/ssoApi.js
View file @
6474716
...
...
@@ -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.scss
View file @
6474716
/* 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
:
432
rpx
;
width
:
300
rpx
;
height
:
300rpx
;
margin-bottom
:
50rpx
;
}
}
\ No newline at end of file
components/loadding/loadding.wxml
View file @
6474716
<!--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>
project.config.json
View file @
6474716
{
"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
project.private.config.json
View file @
6474716
{
"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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment