Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-weapp-mp-main
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 ce1164b5
authored
Aug 22, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去除腾讯地图mapkey
1 parent
96ef0c29
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
app.js
pages/index/index.wxml
project.config.json
project.private.config.json
utils/restapi.js
app.js
View file @
ce1164b
...
...
@@ -210,7 +210,7 @@ App({
this
.
app
.
login
();
},
systemInfo
:
null
,
mapKey
:
'
ZEJBZ-LVNRG-EXMQH-I74N6-EHNIS-WHF6E'
,
mapKey
:
'
'
,
// 先去除掉腾讯的,后续需要再改造成高德
sceneData
:
null
,
appId
:
null
,
isFullSucreen
:
false
...
...
pages/index/index.wxml
View file @
ce1164b
...
...
@@ -3,16 +3,15 @@
</view>
<view class="login x-center {{agree?'agree':''}}">
<view>登录</view>
<button bindtap="getUserProfile" hidden="{{!agree}}">登录</button>
<!-- <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">登录</button> -->
<!-- <authorization-component
<!-- <button bindtap="getUserProfile" hidden="{{!agree}}">登录</button> -->
<authorization-component
args="{{args}}"
custom-class="aaaa"
bind:success="onSuccess"
bind:fail="onFail"
>
<button class="test">登录</button>
</authorization-component>
-->
<button class="test"
hidden="{{!agree}}"
>登录</button>
</authorization-component>
</view>
<view class='tips'>
<view class='choose-box' bindtap="choose" />
...
...
project.config.json
View file @
ce1164b
...
...
@@ -34,7 +34,8 @@
"minifyWXML"
:
true
,
"showES6CompileOption"
:
false
,
"useCompilerPlugins"
:
false
,
"ignoreUploadUnusedFiles"
:
true
"ignoreUploadUnusedFiles"
:
true
,
"condition"
:
false
},
"compileType"
:
"miniprogram"
,
"simulatorType"
:
"wechat"
,
...
...
project.private.config.json
View file @
ce1164b
...
...
@@ -231,5 +231,5 @@
}
},
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
,
"libVersion"
:
"2.
12
.3"
"libVersion"
:
"2.
30
.3"
}
\ No newline at end of file
utils/restapi.js
View file @
ce1164b
// env:single
// const domain = 'http://192.168.2.59:8660';
// env:dev
// const domain = 'https://dj.dev.glsx.com.cn';
// env:uat
...
...
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