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 472e2dc5
authored
Jul 31, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
5fa3d3db
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
154 additions
and
99 deletions
login/index/components/authSetting/authSetting.wxss
login/lib/index.js
packageOutput/components/staff/staff.scss
packageOutput/components/staff/staff.wxml
packagesList/outDetail/components/OutputWork/components/OutputBar/OutputBar.wxml
packagesList/outDetail/components/OutputWork/components/OutputLine/OutputLine.wxml
packagesList/outDetail/components/OutputWork/index.scss
packagesList/outDetail/components/WorktableEntrance/index.scss
packagesList/outDetail/components/activityOverview/activityOverview.js
packagesList/outDetail/components/activityTab/activityTab.scss
packagesList/outDetail/components/activityTop/activityTop.scss
packagesList/outDetail/components/activitying/index.scss
packagesList/outDetail/components/activitying/index.wxml
packagesList/outDetail/components/menu/index.wxml
packagesList/outDetail/index.scss
packagesList/outDetail/index.wxml
packagesList/packageOutput/pages/monthReport/monthReport.js
packagesList/packageOutput/pages/monthReport/monthReport.scss
packagesList/packageOutput/pages/monthReport/monthReport.wxml
pages/tab/mine/mine.js
pages/tab/output/components/BusiCard/BusiCard.scss
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.scss
pages/tab/output/components/sortTab/sortTab.scss
pages/tab/output/output.js
pages/tab/output/output.wxml
login/index/components/authSetting/authSetting.wxss
View file @
472e2dc
...
...
@@ -8,7 +8,6 @@
font-size: 24rpx;
color: #999;
letter-spacing: 2rpx;
padding-left: 28rpx;
box-sizing: border-box;
display: flex;
align-items: center;
...
...
@@ -37,7 +36,7 @@
}
.tips .choose-box {
width:
80
rpx;
height:
80
rpx;
width:
64
rpx;
height:
64
rpx;
position: relative;
}
\ No newline at end of file
login/lib/index.js
View file @
472e2dc
...
...
@@ -4,6 +4,8 @@ import {
setSubMerchant
}
from
'~/utils/cache/storageApi'
import
USERAPI
from
'~/api/usersApi/index'
import
outputApi
from
'~/api/outputApi/index'
import
{
IMG_URL
}
from
'~/utils/constantData'
const
setRouteData
=
targetPath
=>
{
let
[
url
,
query
]
=
targetPath
.
split
(
'?'
),
obj
=
{}
...
...
@@ -38,22 +40,22 @@ const selectAccountLogin = ({
})
}
/**获取门店号下的全部门店 */
const
findSubordinateListByPage
=
(
userInfo
)
=>
{
return
new
Promise
(
resolve
=>
{
USERAPI
.
findSubordinateListByPage
({
pageSize
:
10000
,
pageNum
:
1
,
merchantId
:
userInfo
.
merchantId
,
apiProjectName
:
'rop-merchants'
}).
then
(
res
=>
{
const
list
=
res
.
data
||
[]
const
merchant
=
list
.
map
(
i
=>
i
.
merchantNo
)
const
findSubordinateListByPage
=
(
userInfo
)
=>
{
return
new
Promise
(
resolve
=>
{
USERAPI
.
findSubordinateListByPage
({
pageSize
:
10000
,
pageNum
:
1
,
merchantId
:
userInfo
.
merchantId
,
apiProjectName
:
'rop-merchants'
}).
then
(
res
=>
{
const
list
=
res
.
data
||
[]
const
merchant
=
list
.
map
(
i
=>
i
.
merchantNo
)
resolve
(
merchant
)
})
})
}
/**查找二级流量方商户 */
const
secondFlow
=
(
userInfo
)
=>
{
return
new
Promise
(
resolve
=>
{
USERAPI
.
secondFlow
({
merchantId
:
userInfo
.
merchantId
}).
then
(
res
=>
{
const
list
=
res
||
{}
const
merchant
=
list
.
merchantNoList
||
[]
const
secondFlow
=
(
userInfo
)
=>
{
return
new
Promise
(
resolve
=>
{
USERAPI
.
secondFlow
({
merchantId
:
userInfo
.
merchantId
}).
then
(
res
=>
{
const
list
=
res
||
{}
const
merchant
=
list
.
merchantNoList
||
[]
resolve
(
merchant
)
})
})
...
...
@@ -69,7 +71,7 @@ const setLoginInfo = async (userInfo, sessionId) => {
setUserInfo
(
userInfo
)
setSessionId
(
sessionId
)
try
{
const
merchant
=
await
Promise
.
all
([
findSubordinateListByPage
(
userInfo
),
secondFlow
(
userInfo
)])
const
merchant
=
await
Promise
.
all
([
findSubordinateListByPage
(
userInfo
),
secondFlow
(
userInfo
)])
setSubMerchant
(
merchant
.
flat
())
}
catch
(
error
)
{
}
...
...
@@ -80,19 +82,40 @@ const initServiceCenter = () => {
}
/**成功跳转 */
const
loginSuccess
=
()
=>
{
const
{
options
:
{
targetPath
let
{
subMerchant
}
=
wx
.
$storage
.
get
()
let
params
=
{
merchantIds
:
subMerchant
,
}
}
=
wx
.
$router
.
getPageInstance
()
wx
.
setStorageSync
(
'first_enter'
,
true
)
if
(
targetPath
)
{
const
{
url
,
obj
}
=
setRouteData
(
targetPath
)
wx
.
$router
.
reLaunch
(
url
,
obj
)
}
else
wx
.
reLaunch
({
url
:
"/pages/tab/output/output"
})
outputApi
.
getBusiStatistics
(
params
).
then
(
res
=>
{
// 0:全部-1;1:精品升级SC002;2:售后众筹SC004;3:会员权益/升级SC001
let
_openList
=
[{
code
:
'SC002'
,
name
:
'boutiqueUpgrade'
,
type
:
1
,
},
{
code
:
'SC004'
,
name
:
'afterSalesCrowdfunding'
,
type
:
0
,
},
{
code
:
'SC001'
,
name
:
'vdUpgrade'
,
type
:
2
,
}]
let
type
=
null
;
let
_list
=
[]
_list
=
res
.
merchantList
||
[]
_openList
.
forEach
(
k
=>
{
if
(
_list
[
0
].
sceneCodes
&&
_list
[
0
].
sceneCodes
.
includes
(
k
.
code
))
{
type
=
k
.
type
return
}
})
if
(
_list
.
length
==
1
&&
type
!==
null
)
{
wx
.
reLaunch
({
url
:
`/pages/tab/output/output?merchantId=
${
_list
[
0
].
merchantId4s
}
&type=
${
type
}
&merchantName=
${
_list
[
0
].
merchantName4s
}
`
,
})
}
else
wx
.
reLaunch
({
url
:
"/pages/tab/output/output"
})
})
}
const
loginModal
=
async
({
message
,
...
...
packageOutput/components/staff/staff.scss
View file @
472e2dc
...
...
@@ -97,6 +97,9 @@
height
:
64rpx
;
line-height
:
64rpx
;
margin-left
:
15rpx
;
&
:
:
placeholder
{
color
:
red
;
}
}
}
}
...
...
@@ -106,7 +109,7 @@
}
.table_left_column
{
min-width
:
1
5
0rpx
;
min-width
:
1
0
0rpx
;
height
:
auto
;
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -114,13 +117,14 @@
.left_col_item
{
width
:
100%
;
height
:
63
rpx
;
height
:
72
rpx
;
font-size
:
20rpx
;
display
:
flex
;
align-items
:
center
;
color
:
#1B233D
;
// background: #F9F9F9;
background
:
#F5F9FE
;
padding-left
:
18rpx
;
&
:first-child
{
font-weight
:
600
;
...
...
@@ -160,14 +164,14 @@
}
.flex_direction_column_item
{
min-width
:
20
0rpx
;
min-width
:
15
0rpx
;
display
:
inline-block
;
/* border: 1px solid #000; */
}
.item_name
{
min-width
:
20
0rpx
;
height
:
63
rpx
;
min-width
:
12
0rpx
;
height
:
72
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
...
...
packageOutput/components/staff/staff.wxml
View file @
472e2dc
...
...
@@ -17,7 +17,7 @@
</view>
<view class="staff-input">
<icon class="icon-small" type="search" size="14"></icon>
<input placeholder="输入员工名称" value="{{empName}}" bind:blur="hanldBlur"/>
<input placeholder="输入员工名称"
placeholder-style="color:#cdcdd1"
value="{{empName}}" bind:blur="hanldBlur"/>
</view>
<blokc wx:if="{{sfaff[0].list.length}}">
<view class='table'>
...
...
packagesList/outDetail/components/OutputWork/components/OutputBar/OutputBar.wxml
View file @
472e2dc
<view class="bar-wrap">
<view class="searchList">
<block wx:for="{{opts.barList}}" wx:for-item="item" wx:key="index">
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-unit">单位:{{opts.barList.length == 3?'元':'张'}}</view>
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view>
</block>
<view class="search-unit">单位:{{(dataType == 3&&opts.barList.length == 3) || (opts.barList.length == 2&&dataType==1) ?'元':'张'}}</view>
</view>
<view class="container">
...
...
packagesList/outDetail/components/OutputWork/components/OutputLine/OutputLine.wxml
View file @
472e2dc
...
...
@@ -2,7 +2,7 @@
<view class="searchList">
<block wx:for="{{opts.lineList}}" wx:for-item="item" wx:key="index">
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-unit">单位:
元
</view>
<view class="search-unit">单位:
{{dataType==1?'元':'单'}}
</view>
</view>
<view class="searchTime">
<block wx:for="{{dimension}}" wx:for-item="item" wx:key="index">
...
...
packagesList/outDetail/components/OutputWork/index.scss
View file @
472e2dc
...
...
@@ -111,7 +111,7 @@
}
.icon
{
width
:
56rpx
;
height
:
48
rpx
;
height
:
56
rpx
;
// margin-left: 6rpx;
}
}
...
...
packagesList/outDetail/components/WorktableEntrance/index.scss
View file @
472e2dc
...
...
@@ -7,7 +7,7 @@
.searchInput
{
width
:
100%
;
background
:
#fff
;
padding
:
24
rpx
0
;
padding
:
18
rpx
0
;
}
...
...
packagesList/outDetail/components/activityOverview/activityOverview.js
View file @
472e2dc
...
...
@@ -20,7 +20,7 @@ Component({
all
:
{
title
:
'总访客(人)'
,
num
:
s
.
visitCount
},
},
shareData
:
{
all
:
{
title
:
'
产值
值(元)'
,
num
:
this
.
priceFormat
(
s
.
realAmount
||
0
),
unit
:
'¥'
}
all
:
{
title
:
'
总产
值(元)'
,
num
:
this
.
priceFormat
(
s
.
realAmount
||
0
),
unit
:
'¥'
}
},
}
...
...
packagesList/outDetail/components/activityTab/activityTab.scss
View file @
472e2dc
...
...
@@ -5,6 +5,7 @@
// height: 78rpx;
// line-height: 78rpx;
justify-content
:
space-around
;
padding-bottom
:
12rpx
;
.tab-item
{
color
:
#666666
;
...
...
packagesList/outDetail/components/activityTop/activityTop.scss
View file @
472e2dc
/* pages/tab/index/components/activityTop/activityTop.wxss */
.active-top
{
.active-top
{
display
:
flex
;
.active-img
{
.active-img
{
flex-shrink
:
0
;
position
:
relative
;
width
:
160rpx
;
height
:
160rpx
;
margin-right
:
24rpx
;
.thum-icon
{
.thum-icon
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
...
...
@@ -15,11 +17,13 @@
overflow
:
hidden
;
top
:
0
;
left
:
0
;
image
{
height
:
100%
;
}
}
.active-type
{
.active-type
{
position
:
absolute
;
top
:
0
;
left
:
0
;
...
...
@@ -32,50 +36,59 @@
text-align
:
center
;
}
}
.active-title
{
.active-title
{
flex
:
1
;
display
:
flex
;
flex-flow
:
column
;
justify-content
:
space-between
;
padding
:
8rpx
0
;
.name
{
.name
{
// display: flex;
// align-items: center;
.name-left
{
.name-left
{
font-weight
:
600
;
font-size
:
36
rpx
;
font-size
:
28
rpx
;
color
:
#1B233D
;
line-height
:
48rpx
;
word-break
:
break-all
;
.activity-type
{
.activity-type
{
float
:
right
;
line-height
:
44rpx
;
font-size
:
28rpx
;
font-weight
:
400
;
color
:
#FE5662
;
margin-top
:
4rpx
;
image
{
image
{
margin-top
:
4rpx
;
width
:
32rpx
;
height
:
32rpx
;
}
}
}
.right
{
.right
{
display
:
flex
;
flex-flow
:
1
;
font-size
:
28rpx
;
align-items
:
center
;
image
{
image
{
width
:
32rpx
;
height
:
32rpx
;
}
}
}
.time
{
.time
{
color
:
#7A8299
;
font-size
:
28rpx
;
text
{
font-size
:
24rpx
;
text
{
color
:
#1B233D
;
}
}
...
...
packagesList/outDetail/components/activitying/index.scss
View file @
472e2dc
...
...
@@ -39,6 +39,7 @@
}
.end
{
color
:
#6E6E7A
;
margin-left
:
8rpx
;
}
.un-start-class
{
width
:
32rpx
;
...
...
packagesList/outDetail/components/activitying/index.wxml
View file @
472e2dc
...
...
@@ -6,7 +6,7 @@
<!-- 活动top信息 -->
<activity-top tabType="{{tabType}}" data="{{item}}" widthStyle="flex: 0 0 62%;">
<block wx:if="{{item.activityStatus==2}}">
<glsx-image webp src="store-assistant/hot-icon.png"></glsx-image>
<glsx-image
class="un-start-class"
webp src="store-assistant/hot-icon.png"></glsx-image>
<text class="hot">火热进行中</text>
</block>
<block wx:if="{{item.activityStatus==1}}">
...
...
packagesList/outDetail/components/menu/index.wxml
View file @
472e2dc
...
...
@@ -3,7 +3,7 @@
<view class="title">场景切换</view>
<block wx:for="{{menus}}" wx:key="index">
<view catch:tap="selectMenu" data-index="{{item.serviceType}}" class="element {{item.serviceType==current?'active':''}}">
<glsx-image class="logo" webp src="store-assistant-assemble/menu/{{item.logo}}.png"></glsx-image>
<glsx-image class="logo" webp src="store-assistant-assemble/menu/{{item.logo}}
{{item.serviceType==current?'-o':''}}
.png"></glsx-image>
<view class="label">{{item.title}}</view>
<view wx:if="{{totals&&item.serviceType==0}}" class="num_pannel">{{totals}}</view>
</view>
...
...
packagesList/outDetail/index.scss
View file @
472e2dc
...
...
@@ -20,7 +20,7 @@ page {
.layout
{
box-sizing
:
border-box
;
position
:
relative
;
padding-
top
:
40
0rpx
;
padding-
bottom
:
6
0rpx
;
// background-color: #fff;
&
:
:
after
{
...
...
packagesList/outDetail/index.wxml
View file @
472e2dc
...
...
@@ -10,7 +10,7 @@
</navigation-bar>
</view>
<block wx:if="{{navHeight}}">
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height:
calc(100vh - {{navHeight*2}}rpx)
">
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height:
100vh
">
<!-- 背景图 -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
<view class="bg">
...
...
packagesList/packageOutput/pages/monthReport/monthReport.js
View file @
472e2dc
...
...
@@ -14,17 +14,17 @@ Page({
timeValue
:
new
Date
().
format
(
'yyyy-MM-dd'
),
outputView
:
{
outputValue
:
[{
label
:
'报价量'
,
label
:
'报价量
(单)
'
,
name
:
'quotationCount'
,
unit
:
''
,
iconUrl
:
'store-assistant-assemble/output/icon02.png'
},
{
label
:
'成交量'
,
label
:
'成交量
(单)
'
,
name
:
'successCount'
,
unit
:
''
,
iconUrl
:
'store-assistant-assemble/output/icon07.png'
},
{
label
:
'产值'
,
label
:
'产值
(元)
'
,
name
:
'outputValue'
,
_unit
:
'¥'
,
iconUrl
:
'store-assistant-assemble/output/icon05.png'
...
...
packagesList/packageOutput/pages/monthReport/monthReport.scss
View file @
472e2dc
...
...
@@ -61,6 +61,7 @@
}
.store-desc
{
margin-top
:
6rpx
;
font-size
:
24rpx
;
color
:
#1b233d
a8
;
line-height
:
32rpx
;
...
...
@@ -167,7 +168,7 @@
display
:
flex
;
justify-content
:
space-between
;
// align-items: center;
font-size
:
2
4
rpx
;
font-size
:
2
2
rpx
;
color
:
#6E6E7A
;
// line-height: 36rpx;
...
...
@@ -236,8 +237,9 @@
// background: #F4F8FE;
// border-radius: 32rpx;
background
:
#FFFFFF
;
margin
:
16rpx
;
margin
-top
:
16rpx
;
padding
:
24rpx
;
min-height
:
calc
(
100%
-
500rpx
);
.billboard-title
{
font-weight
:
600
;
...
...
@@ -263,18 +265,18 @@
position
:
relative
;
.billboard-item
{
width
:
2
09
.54
rpx
;
height
:
3
21
.3
rpx
;
width
:
2
16
rpx
;
height
:
3
68
rpx
;
position
:
absolute
;
&
:first-child
{
top
:
5
5rpx
;
left
:
22
0
rpx
;
top
:
2
5rpx
;
left
:
22
8
rpx
;
z-index
:
10
;
.bill-bg
{
width
:
2
33
.52rpx
!
important
;
height
:
3
58
.06rpx
!
important
;
width
:
2
16rpx
;
height
:
3
68rpx
;
}
.bill-num
,
...
...
@@ -285,23 +287,31 @@
&
:nth-child
(
2
)
{
left
:
0rpx
;
top
:
125rpx
;
width
:
233
.52rpx
;
height
:
358
.06rpx
;
top
:
65rpx
;
width
:
216rpx
;
height
:
336rpx
;
image
{
width
:
216rpx
;
height
:
336rpx
;
}
}
&
:nth-child
(
3
)
{
z-index
:
20
;
top
:
1
80rpx
;
top
:
80rpx
;
right
:
0rpx
;
width
:
216rpx
;
height
:
304rpx
;
image
{
width
:
216rpx
;
height
:
304rpx
;
}
}
.billboard-item-bar
{
position
:
relative
;
.bill-bg
{
width
:
209
.54rpx
;
height
:
321
.3rpx
;
position
:
absolute
;
top
:
0
;
left
:
0
;
...
...
packagesList/packageOutput/pages/monthReport/monthReport.wxml
View file @
472e2dc
...
...
@@ -9,7 +9,7 @@
<glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
</view>
</view> -->
<scroll-view scroll-y class="content" class="content" refresher-triggered="{{triggered}}" refresher-enabled bindrefresherrefresh="getReport" bindscroll="scrollIng" style="{{'height:
calc(100% - 22rpx);
'}}">
<scroll-view scroll-y class="content" class="content" refresher-triggered="{{triggered}}" refresher-enabled bindrefresherrefresh="getReport" bindscroll="scrollIng" style="{{'height:
100%
'}}">
<view class="store-box">
<view class="store-item">
<view class="store-logo">
...
...
@@ -65,8 +65,8 @@
<view class="billboard-item" wx:for="{{billboard}}" wx:key="index">
<view class="billboard-item-bar">
<view class="bill-border">
<view class="bill-name"
style="transform:translate({{index==1?-20:0}}rpx,0rpx)"
>{{item.name}}</view>
<view class="bill-num" wx:if="{{item.name}}"
style="transform:translate({{index==1?-20:0}}rpx,0rpx)"
><text class="unit">¥</text>{{item.value}}</view>
<view class="bill-name">{{item.name}}</view>
<view class="bill-num" wx:if="{{item.name}}"><text class="unit">¥</text>{{item.value}}</view>
</view>
<glsx-image webp custom-class="bill-bg" src="store-assistant-assemble/output/bill0{{item.sort}}.png"></glsx-image>
</view>
...
...
pages/tab/mine/mine.js
View file @
472e2dc
...
...
@@ -66,6 +66,8 @@ Page({
*/
onLoad
:
async
function
(
options
)
{
let
{
userInfo
}
=
wx
.
$storage
.
get
()
if
(
userInfo
.
subLoginUser
&&
userInfo
.
subLoginUser
.
phone
)
userInfo
.
subLoginUser
.
phone
=
userInfo
.
subLoginUser
.
phone
.
replace
(
/
\B(?=(\d{4})
+
(?!\d))
/g
,
' '
);
this
.
setData
({
userInfo
:
userInfo
.
subLoginUser
})
...
...
pages/tab/output/components/BusiCard/BusiCard.scss
View file @
472e2dc
...
...
@@ -15,8 +15,7 @@
width
:
40rpx
;
height
:
40rpx
;
margin-right
:
8rpx
;
padding-bottom
:
14rpx
;
border-radius
:
50%
;
margin-top
:
-4rpx
;
}
.title
{
...
...
pages/tab/output/components/client/client.js
View file @
472e2dc
...
...
@@ -126,14 +126,6 @@ Component({
item
[
k
.
name
]
=
'未开通'
}
else
if
(
item
.
sceneCodes
&&
!
item
.
sceneCodes
.
includes
(
k
.
code
))
{
item
[
k
.
name
]
=
'未开通'
}
else
{
if
(
_list
.
length
==
1
&&
wx
.
getStorageSync
(
'first_enter'
)){
wx
.
setStorageSync
(
'first_enter'
,
false
)
wx
.
navigateTo
({
url
:
`/packagesList/outDetail/index?merchantId=
${
_list
[
0
].
merchantId4s
}
&type=
${
k
.
type
}
&merchantName=
${
_list
[
0
].
merchantName4s
}
`
,
})
}
}
})
})
...
...
pages/tab/output/components/client/client.scss
View file @
472e2dc
...
...
@@ -214,6 +214,7 @@
font-size
:
24rpx
;
text-align
:
center
;
color
:
#CCCED1
;
margin-top
:
16rpx
;
padding-bottom
:
60rpx
;
}
...
...
pages/tab/output/components/sortTab/sortTab.scss
View file @
472e2dc
...
...
@@ -2,7 +2,6 @@
.sort-tab
{
display
:
flex
;
box-sizing
:
border-box
;
width
:
calc
(
100vw
-
32rpx
);
height
:
86rpx
;
line-height
:
86rpx
;
background-color
:
#FFFFFF
;
...
...
@@ -15,6 +14,7 @@
font-weight
:
600
;
font-size
:
30rpx
;
width
:
196rpx
;
padding-left
:
8rpx
;
flex-shrink
:
0
;
}
...
...
@@ -32,6 +32,7 @@
justify-content
:
center
;
align-items
:
center
;
margin-right
:
20rpx
;
color
:
#5a6066
;
}
.icon
{
...
...
pages/tab/output/output.js
View file @
472e2dc
...
...
@@ -9,6 +9,7 @@ Page({
*/
data
:
{
IMG_URL
,
isShow
:
true
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
loginType
:
0
,
agree
:
true
,
...
...
@@ -128,6 +129,18 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
const
{
merchantId
,
type
,
merchantName
}
=
options
if
(
merchantId
)
{
wx
.
navigateTo
({
url
:
`/packagesList/outDetail/index?merchantId=
${
merchantId
}
&type=
${
type
}
&merchantName=
${
merchantName
}
`
,
})
this
.
setData
({
isShow
:
false
},
()
=>
{
setTimeout
(()
=>
{
this
.
setData
({
isShow
:
true
})
},
1000
)
})
}
this
.
init
()
},
...
...
pages/tab/output/output.wxml
View file @
472e2dc
<!-- pages/tab/output/output.wxml -->
<block wx:if="{{isShow}}">
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">看产值</navigation-bar>
<!-- <view class="layout" style="padding-top:{{tabBarStyle}}px;">
<client id="client" />
</view> -->
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh - 150rpx)">
<!-- 背景图 -->
<!-- <glsx-image webp src="store-assistant/index_bg.webp"></glsx-image> -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight+16}}px">
<view class="bg">
<glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
</view>
</view> -->
<client id="client" />
</view>
\ No newline at end of file
</view>
</block>
\ 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