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 d9b190ba
authored
Nov 14, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉昵称授权
1 parent
07e35ef3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
19 deletions
pages/tab/index/index.js
pages/tab/index/index.wxml
utils/shareData.js
pages/tab/index/index.js
View file @
d9b190b
...
@@ -47,8 +47,6 @@ Page({
...
@@ -47,8 +47,6 @@ Page({
curTabIndex
:
0
,
curTabIndex
:
0
,
// 0-员工,1-代理商
// 0-员工,1-代理商
customerType
:
0
,
customerType
:
0
,
// 是否授权昵称
hasUserInfo
:
false
,
// 是否授权手机号
// 是否授权手机号
hasPhoneNumber
:
false
,
hasPhoneNumber
:
false
,
curTab
:
[
trackData
.
COMPANY
,
trackData
.
CUBE
],
curTab
:
[
trackData
.
COMPANY
,
trackData
.
CUBE
],
...
@@ -184,16 +182,6 @@ Page({
...
@@ -184,16 +182,6 @@ Page({
getApp
()
getApp
()
.
login
()
.
login
()
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
if
(
data
&&
data
.
nickName
)
{
this
.
setData
({
hasUserInfo
:
true
,
});
}
else
{
this
.
setData
({
hasUserInfo
:
false
})
}
if
(
data
&&
data
.
phone
)
{
if
(
data
&&
data
.
phone
)
{
this
.
setData
({
this
.
setData
({
hasPhoneNumber
:
true
,
hasPhoneNumber
:
true
,
...
...
pages/tab/index/index.wxml
View file @
d9b190b
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
</block>
</block>
</view>
</view>
<view wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></view>
<!-- 服务咨询 -->
<!-- 服务咨询 -->
<view class="floating-box">
<view class="floating-box">
<image class="floating-icon" style="margin-bottom: 10rpx;" webp bindtap="handleOpen" data-name="store" src="{{IMGURL}}home/icon-store.png?v={{img_version}}"></image>
<image class="floating-icon" style="margin-bottom: 10rpx;" webp bindtap="handleOpen" data-name="store" src="{{IMGURL}}home/icon-store.png?v={{img_version}}"></image>
...
...
utils/shareData.js
deleted
100644 → 0
View file @
07e35ef
const
shareType
=
{
FIRST
:
1
,
SHARE_HOME
:
2
,
SHARE_D
:
3
}
export
default
shareType
\ No newline at end of file
\ 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