Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eefaf1a1
authored
Feb 29, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'hotfix_SAAS+V4.34.2-0228' into 'develop'
上线合并 See merge request
!221
2 parents
5b45a692
befa27b1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
113 additions
and
43 deletions
components/TabMine/TabMine.js
components/TabMine/TabMine.wxml
components/TabMine/TabMine.wxss
pages/tabMine/pages/index/index.js
pages/tabMine/pages/index/index.wxml
pages/tabMine/pages/index/index.wxss
components/TabMine/TabMine.js
View file @
eefaf1a
...
@@ -53,6 +53,14 @@ Component({
...
@@ -53,6 +53,14 @@ Component({
* 组件的方法列表
* 组件的方法列表
*/
*/
methods
:
{
methods
:
{
jump
(
e
)
{
let
{
url
}
=
e
.
currentTarget
.
dataset
const
baseUrl
=
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/html/'
const
path
=
`
${
baseUrl
}${
url
}
.html`
wx
.
navigateTo
({
url
:
`/pages/webView/webView?url=
${
encodeURIComponent
(
path
)}
`
})
},
// 跳转到商学院
// 跳转到商学院
goCollegeScene
()
{
goCollegeScene
()
{
wx
.
$router
.
go
(
'packageEquity.collegeScene'
)
wx
.
$router
.
go
(
'packageEquity.collegeScene'
)
...
...
components/TabMine/TabMine.wxml
View file @
eefaf1a
...
@@ -45,4 +45,10 @@
...
@@ -45,4 +45,10 @@
</view>
</view>
</view>
</view>
<view class="logout text-center" bindtap="logout">退出账号</view>
<view class="logout text-center" bindtap="logout">退出账号</view>
<view class="message-box">
<!-- <view class="message">为保障你的合法权益,请阅读并同意</view> -->
<text catchtap="jump" data-url="privacy">《隐私协议》</text>
和
<text catchtap="jump" data-url="agreement">《用户协议》</text>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
components/TabMine/TabMine.wxss
View file @
eefaf1a
...
@@ -349,4 +349,32 @@ page {
...
@@ -349,4 +349,32 @@ page {
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
}
.logout {
position: absolute;
bottom: 50rpx;
left: 50%;
transform: translateX(-50%);
width: 326rpx;
height: 80rpx;
background: #FFFFFF;
border: 2rpx solid #DCDEE0;
border-radius: 12rpx;
color: #6C6C70;
font-size: 28rpx;
display: flex;
align-items: center;
justify-content: center;
}
.message-box {
position: absolute;
bottom: 0rpx;
left: 50%;
transform: translateX(-50%);
}
.message-box text {
color: #5092FF;
}
}
\ No newline at end of file
\ No newline at end of file
pages/tabMine/pages/index/index.js
View file @
eefaf1a
...
@@ -12,35 +12,35 @@ Page({
...
@@ -12,35 +12,35 @@ Page({
navStyle
:
'background-color: rgba(0,0,0,0);box-shadow:none;'
,
navStyle
:
'background-color: rgba(0,0,0,0);box-shadow:none;'
,
workCount
:
0
,
workCount
:
0
,
workItem
:
[{
workItem
:
[{
label
:
'上午 09:00-10:30'
,
label
:
'上午 09:00-10:30'
,
startTime
:
'09:00'
,
startTime
:
'09:00'
,
endTime
:
'10:30'
,
endTime
:
'10:30'
,
maxCount
:
0
maxCount
:
0
},
},
{
{
label
:
'上午 10:30-12:00'
,
label
:
'上午 10:30-12:00'
,
startTime
:
'10:30'
,
startTime
:
'10:30'
,
endTime
:
'12:00'
,
endTime
:
'12:00'
,
maxCount
:
0
maxCount
:
0
},
},
{
{
label
:
'下午 13:00-14:30'
,
label
:
'下午 13:00-14:30'
,
startTime
:
'13:00'
,
startTime
:
'13:00'
,
endTime
:
'14:30'
,
endTime
:
'14:30'
,
maxCount
:
0
maxCount
:
0
},
},
{
{
label
:
'下午 14:30-16:00'
,
label
:
'下午 14:30-16:00'
,
startTime
:
'14:30'
,
startTime
:
'14:30'
,
endTime
:
'16:00'
,
endTime
:
'16:00'
,
maxCount
:
0
maxCount
:
0
},
},
{
{
label
:
'下午 16:00-17:30'
,
label
:
'下午 16:00-17:30'
,
startTime
:
'16:00'
,
startTime
:
'16:00'
,
endTime
:
'17:30'
,
endTime
:
'17:30'
,
maxCount
:
0
maxCount
:
0
}
}
],
],
grassNum
:
''
,
grassNum
:
''
,
showMerchantPop
:
false
,
showMerchantPop
:
false
,
...
@@ -60,14 +60,22 @@ Page({
...
@@ -60,14 +60,22 @@ Page({
selectedSceneDesc
:
''
,
selectedSceneDesc
:
''
,
versionData
:
{}
versionData
:
{}
},
},
jump
(
e
)
{
let
{
url
}
=
e
.
currentTarget
.
dataset
const
baseUrl
=
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/html/'
const
path
=
`
${
baseUrl
}${
url
}
.html`
wx
.
navigateTo
({
url
:
`/pages/webView/webView?url=
${
encodeURIComponent
(
path
)}
`
})
},
getByYqShop
()
{
getByYqShop
()
{
let
{
sceneType
,
merchantId
}
=
wx
.
$util
.
getUserInfo
()
let
{
sceneType
,
merchantId
}
=
wx
.
$util
.
getUserInfo
()
api
.
queryPartnersByYqShop
({
scene
:
sceneType
,
merchantId
}).
then
(
res
=>
{
api
.
queryPartnersByYqShop
({
scene
:
sceneType
,
merchantId
}).
then
(
res
=>
{
const
merchantInfo
=
(
res
.
data
||
[]).
slice
(
0
,
3
)
const
merchantInfo
=
(
res
.
data
||
[]).
slice
(
0
,
3
)
console
.
log
(
merchantInfo
,
'merchantInfo'
)
console
.
log
(
merchantInfo
,
'merchantInfo'
)
this
.
setData
({
this
.
setData
({
merchantInfo
merchantInfo
})
})
})
})
},
},
goReservationCouponPage
()
{
goReservationCouponPage
()
{
...
@@ -97,7 +105,7 @@ Page({
...
@@ -97,7 +105,7 @@ Page({
navBarHeight
navBarHeight
})
})
},
},
noScroll
()
{},
noScroll
()
{
},
showWork
()
{
showWork
()
{
let
{
let
{
showWorkBox
showWorkBox
...
@@ -335,12 +343,12 @@ Page({
...
@@ -335,12 +343,12 @@ Page({
this
.
getByYqShop
()
this
.
getByYqShop
()
// console.log(app.globalData.isYqdSuper)
// console.log(app.globalData.isYqdSuper)
},
},
jump
:
e
=>
wx
.
$router
.
jump
(
e
),
//
jump: e => wx.$router.jump(e),
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
:
function
()
{},
onReady
:
function
()
{
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
...
@@ -352,22 +360,22 @@ Page({
...
@@ -352,22 +360,22 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
:
function
()
{},
onHide
:
function
()
{
},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
*/
*/
onUnload
:
function
()
{},
onUnload
:
function
()
{
},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
:
function
()
{},
onPullDownRefresh
:
function
()
{
},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom
:
function
()
{},
onReachBottom
:
function
()
{
},
/**
/**
* 查看我的种草
* 查看我的种草
...
...
pages/tabMine/pages/index/index.wxml
View file @
eefaf1a
...
@@ -147,6 +147,12 @@
...
@@ -147,6 +147,12 @@
</view>
</view>
<view class="logout-box">
<view class="logout-box">
<view class="logout text-center" bindtap="logout">退出账号</view>
<view class="logout text-center" bindtap="logout">退出账号</view>
<view class="message-box">
<!-- <view class="message">为保障你的合法权益,请阅读并同意</view> -->
<text catchtap="jump" data-url="privacy">《隐私协议》</text>
和
<text catchtap="jump" data-url="agreement">《用户协议》</text>
</view>
</view>
</view>
</view>
</view>
...
...
pages/tabMine/pages/index/index.wxss
View file @
eefaf1a
...
@@ -429,6 +429,7 @@ page {
...
@@ -429,6 +429,7 @@ page {
}
}
.logout-box {
.logout-box {
position: relative;
display: flex;
display: flex;
justify-content: center;
justify-content: center;
}
}
...
@@ -457,4 +458,17 @@ page {
...
@@ -457,4 +458,17 @@ page {
.m-t-0 {
.m-t-0 {
margin-top: 20rpx;
margin-top: 20rpx;
}
.message-box {
font-size: 24rpx;
position: absolute;
bottom: -55rpx;
left: 50%;
transform: translateX(-50%);
}
.message-box text {
color: #5092FF;
}
}
\ 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