Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
25696d55
Commit
25696d55
authored
Oct 28, 2019
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联系我放到个人中心去
parent
7196b3ed
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
52 additions
and
10 deletions
+52
-10
my.js
src/pages/my/my.js
+14
-1
my.json
src/pages/my/my.json
+3
-1
my.wxml
src/pages/my/my.wxml
+13
-0
my.wxss
src/pages/my/my.wxss
+7
-0
userCenter.js
src/pages/userCenter/userCenter.js
+11
-4
userCenter.wxml
src/pages/userCenter/userCenter.wxml
+2
-3
welcomGuider.json
src/shoppingGuid/page/pages/welcomGuider/welcomGuider.json
+2
-1
No files found.
src/pages/my/my.js
View file @
25696d55
...
...
@@ -29,12 +29,15 @@ wxService.page({
pageBackgroundColor
:
0
,
guidePageModalShow
:
false
,
currHomePageId
:
''
,
skuVOList
:
[]
skuVOList
:
[],
isQiye
:
false
,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
()
{
// 判断环境是不是企业微信
let
env
=
wx
.
getStorageSync
(
'_qyWeChat'
);
// 设置 导航栏背景颜色
// wxService.getNavBarBackGroundColor('#000000', '#ff0000')
this
.
setData
(
...
...
@@ -47,6 +50,7 @@ wxService.page({
renderPageOver
:
false
,
// 渲染页面结束
// isAuthorization: true,
outoHeigth
:
500
,
isQiye
:
env
?
true
:
false
},
()
=>
{
// this.loadMore()
...
...
@@ -70,6 +74,15 @@ wxService.page({
// })
wxService
.
router
(
`/subPackage/page/pages/subPage/subPage`
).
search
({
pageId
})
},
//联系我方法
startmessage
(
e
)
{
console
.
log
(
'联系我插件信息startmessage----'
,
e
)
// console.log('startmessage', e)
},
completemessage
(
e
)
{
console
.
log
(
'联系我插件信息completemessage----'
,
e
)
// console.log('completemessage', e)
},
/**
* 生命周期函数--监听页面显示
*/
...
...
src/pages/my/my.json
View file @
25696d55
...
...
@@ -13,6 +13,7 @@
"guide-page-modal"
:
"/component/guidePageModal/guidePageModal"
,
"bottom-tabs"
:
"/component/bottomTabs/bottomTabs"
,
"authorization-modal"
:
"/component/authorization-modal/authorization-modal"
,
"plus"
:
"/component/plus/plus"
"plus"
:
"/component/plus/plus"
,
"cell"
:
"plugin://contactPlugin/cell"
}
}
\ No newline at end of file
src/pages/my/my.wxml
View file @
25696d55
...
...
@@ -35,3 +35,16 @@
<!-- 底部补充高度 防止被遮盖 -->
<view class="bottom-fixed" style="padding-bottom:{{paddingBottom}}"></view>
<share-benefit-modal show="{{shareBenefitModalShow}}" benefit-data="{{benefitData}}"/>
<!-- 联系我 -->
<view class="cell-me" wx:if="{{!isQiye}}">
<cell
bind:startmessage='startmessage'
isMask="0"
styleType="2"
blockStyle="bubble"
buttonStyle="light"
buttonText="0"
bubbleColor="cb3c3c"
bind:completemessage="completemessage"
plugid='766c50920993bf9c41c6c3d2761a2df5' />
</view>
src/pages/my/my.wxss
View file @
25696d55
/* pages/my/my.wxss */
@import './../../base/base.wxss';
.cell-me {
position: fixed;
right: 10rpx;
top: 76%;
z-index: 2;
}
.bottom-fixed{
padding-bottom: 40rpx;
}
...
...
src/pages/userCenter/userCenter.js
View file @
25696d55
...
...
@@ -33,13 +33,20 @@ wxService.page({
shareBenefitModalShow
:
false
,
currHomePageId
:
''
,
skuVOList
:
[],
benefitData
:
''
benefitData
:
''
,
isQiye
:
false
,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
this
.
initPage
()
this
.
initPage
();
// 判断环境是不是企业微信
let
env
=
wx
.
getStorageSync
(
'_qyWeChat'
);
this
.
setData
({
isQiye
:
env
?
true
:
false
});
let
memberId
=
options
.
memberId
;
if
(
memberId
)
{
...
...
@@ -68,10 +75,10 @@ wxService.page({
},
startmessage
(
e
){
// console.log('startmessage
', e)
console
.
log
(
'联系我插件信息startmessage----
'
,
e
)
},
completemessage
(
e
){
// console.log('completemessage
', e)
console
.
log
(
'联系我插件信息completemessage----
'
,
e
)
},
// 获取邀请奖励图片
getShareImg
()
{
...
...
src/pages/userCenter/userCenter.wxml
View file @
25696d55
...
...
@@ -39,7 +39,7 @@
</view>
</block>
<view class="cell-me">
<view class="cell-me"
wx:if="{{!isQiye}}"
>
<cell
bind:startmessage='startmessage'
isMask="0"
...
...
@@ -49,9 +49,8 @@
buttonText="0"
bubbleColor="cb3c3c"
bind:completemessage="completemessage"
plugid='
c9918b9af349c100b285d1b9a4d19ec6
' />
plugid='
766c50920993bf9c41c6c3d2761a2df5
' />
</view>
</view>
<guide-page-modal show="{{guidePageModalShow}}" />
<share-benefit-modal show="{{shareBenefitModalShow}}" benefit-data="{{benefitData}}"/>
...
...
src/shoppingGuid/page/pages/welcomGuider/welcomGuider.json
View file @
25696d55
{
"navigationBarTitleText"
:
"欢迎你"
,
"navigationBarTitleText"
:
"欢迎你
,导购
"
,
"usingComponents"
:
{}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment