Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
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 8f95fb57
authored
Feb 28, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
隐私协议
1 parent
c10a814e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
23 deletions
app.js
packageOutput/components/invertAnalyse/invertAnalyse.wxml
packagesList/outDetail/components/OutputWork/index.wxml
pages/tab/mine/mine.js
pages/tab/mine/mine.scss
pages/tab/mine/mine.wxml
app.js
View file @
8f95fb5
...
@@ -84,6 +84,7 @@ App({
...
@@ -84,6 +84,7 @@ App({
versionData
:
null
versionData
:
null
},
},
onShow
(
options
)
{
onShow
(
options
)
{
console
.
log
(
1111
)
getUpdateManager
()
getUpdateManager
()
},
},
// 获取公共数据
// 获取公共数据
...
...
packageOutput/components/invertAnalyse/invertAnalyse.wxml
View file @
8f95fb5
<view class="funnel-box">
<view class="funnel-bg">
<glsx-image webp src="store-assistant/activity_funnel.webp"></glsx-image>
</view>
<view class="funnel-content">
<view class="left">
<view wx:for="{{data.numList}}" wx:key="index">{{item.title}}<text>{{item.num}}</text></view>
</view>
<view class="right">
<view class="sort-box" wx:for="{{data.sortList}}" wx:key="index">
<view>{{item.title}}</view>
<view class="sort">{{item.sort}}%</view>
</view>
</view>
</view>
</view>
packagesList/outDetail/components/OutputWork/index.wxml
View file @
8f95fb5
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</veiw>
</veiw>
</view>
</view>
<view class="item otherItem">
<view class="item otherItem">
<view class="label">总产值(
员
)</view>
<view class="label">总产值(
元
)</view>
<veiw class="number">
<veiw class="number">
<text class="unit">¥</text>{{fn.accMul(outputData['totalOutputValue'], 1)||0}}
<text class="unit">¥</text>{{fn.accMul(outputData['totalOutputValue'], 1)||0}}
</veiw>
</veiw>
...
...
pages/tab/mine/mine.js
View file @
8f95fb5
...
@@ -9,7 +9,7 @@ import USERAPI from '~/api/usersApi/index'
...
@@ -9,7 +9,7 @@ import USERAPI from '~/api/usersApi/index'
import
util
from
'~/utils/util'
import
util
from
'~/utils/util'
import
{
import
{
wyMerchantId
wyMerchantId
}
from
'~/utils/request/environment'
}
from
'~/utils/request/environment'
Page
({
Page
({
/**
/**
* 页面的初始数据
* 页面的初始数据
...
@@ -23,6 +23,16 @@ Page({
...
@@ -23,6 +23,16 @@ Page({
url
:
'/pages/tab/logout/logout'
,
url
:
'/pages/tab/logout/logout'
,
})
})
},
},
jump
(
e
)
{
console
.
log
(
e
)
let
{
url
}
=
e
.
currentTarget
.
dataset
const
baseUrl
=
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/html/'
const
path
=
`
${
baseUrl
}${
url
}
.html`
// private user
wx
.
navigateTo
({
url
:
`/pages/webView/webView?url=
${
encodeURIComponent
(
path
)}
`
})
},
logout
()
{
logout
()
{
let
_this
=
this
let
_this
=
this
wx
.
showModal
({
wx
.
showModal
({
...
@@ -70,7 +80,7 @@ Page({
...
@@ -70,7 +80,7 @@ Page({
*/
*/
onLoad
:
async
function
(
options
)
{
onLoad
:
async
function
(
options
)
{
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
if
(
userInfo
.
subLoginUser
&&
userInfo
.
subLoginUser
.
phone
)
if
(
userInfo
.
subLoginUser
&&
userInfo
.
subLoginUser
.
phone
)
userInfo
.
subLoginUser
.
phone
=
userInfo
.
subLoginUser
.
phone
.
replace
(
/
\B(?=(\d{4})
+
(?!\d))
/g
,
' '
);
userInfo
.
subLoginUser
.
phone
=
userInfo
.
subLoginUser
.
phone
.
replace
(
/
\B(?=(\d{4})
+
(?!\d))
/g
,
' '
);
this
.
setData
({
this
.
setData
({
userInfo
:
userInfo
.
subLoginUser
userInfo
:
userInfo
.
subLoginUser
...
@@ -84,8 +94,8 @@ Page({
...
@@ -84,8 +94,8 @@ Page({
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
onShow
:
function
()
{
onShow
:
function
()
{
if
(
typeof
this
.
getTabBar
===
'function'
)
{
if
(
typeof
this
.
getTabBar
===
'function'
)
{
this
.
getTabBar
((
tabBar
)
=>
{
this
.
getTabBar
((
tabBar
)
=>
{
const
list
=
util
.
deepClone
(
tabBar
.
data
.
initList
)
const
list
=
util
.
deepClone
(
tabBar
.
data
.
initList
)
...
...
pages/tab/mine/mine.scss
View file @
8f95fb5
...
@@ -12,7 +12,15 @@
...
@@ -12,7 +12,15 @@
page
{
page
{
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.tips
{
position
:
fixed
;
bottom
:
200rpx
;
left
:
50%
;
transform
:
translateX
(
-50%
);
text
{
color
:
#4466F0
;
}
}
.testfont
{
.testfont
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
30rpx
;
font-size
:
30rpx
;
...
@@ -146,7 +154,7 @@ page {
...
@@ -146,7 +154,7 @@ page {
.logoutBtn
{
.logoutBtn
{
position
:
fixed
;
position
:
fixed
;
bottom
:
2
4
6rpx
;
bottom
:
2
8
6rpx
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
font-size
:
32rpx
!
important
;
font-size
:
32rpx
!
important
;
...
...
pages/tab/mine/mine.wxml
View file @
8f95fb5
...
@@ -14,6 +14,10 @@
...
@@ -14,6 +14,10 @@
<button class="logoutBtn" size="default" type="default" isabled="{{false}}" loading="{{false}}" bindtap="logout" hover-class="button-hover">
<button class="logoutBtn" size="default" type="default" isabled="{{false}}" loading="{{false}}" bindtap="logout" hover-class="button-hover">
退出登录
退出登录
</button>
</button>
<view class="tips">
<text catchtap="jump" data-url="privacy">《隐私协议》</text>
<text catchtap="jump" data-url="agreement">《用户协议》</text>
</view>
<!-- <view class="logot">
<!-- <view class="logot">
<glsx-image class="logot" webp src="store-assistant-assemble/login/arrow-left.png"></glsx-image>
<glsx-image class="logot" webp src="store-assistant-assemble/login/arrow-left.png"></glsx-image>
</view> -->
</view> -->
...
...
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