Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
4ef328ec
Commit
4ef328ec
authored
Feb 12, 2020
by
sujie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lvtz_home' of git.server:wangxuelai/wechatapp.shangjiadao.com into lvtz_home
parents
322b4237
c6b3715d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
69 additions
and
8 deletions
+69
-8
index.js
components/sjdbottombar/index.js
+10
-1
index.wxml
components/sjdbottombar/index.wxml
+1
-1
activityconfig.js
constants/activityconfig.js
+5
-4
index.wxml
src/pages/sharemoretheme/index.wxml
+1
-1
index.wxss
src/pages/sharemoretheme/index.wxss
+3
-0
onlineclassroomindex.js
src/pages/websiteindex/onlineclassroomindex.js
+3
-0
onlineclassroomplay.js
src/pages/websiteindex/onlineclassroomplay.js
+6
-0
index.js
ucenter/index.js
+36
-1
index.wxml
ucenter/index.wxml
+4
-0
No files found.
components/sjdbottombar/index.js
View file @
4ef328ec
...
...
@@ -46,9 +46,13 @@ Component({
type
:
String
,
value
:
'/ucenter/index'
},
newpath
:
{
//来源路径
type
:
String
,
value
:
''
},
},
ready
()
{
console
.
log
(
this
.
data
.
newpath
,
'this'
)
},
methods
:
{
goUserBusiness
()
{
...
...
@@ -96,9 +100,14 @@ Component({
})
},
bindContactDialog
(){
this
.
triggerEvent
(
'opendia'
);
this
.
setData
({
showModal
:
!
this
.
data
.
showModal
})
},
godialog
()
{
console
.
log
(
this
.
data
.
path
,
'dddd'
);
this
.
triggerEvent
(
'godialog'
);
}
}
})
\ No newline at end of file
components/sjdbottombar/index.wxml
View file @
4ef328ec
...
...
@@ -10,6 +10,6 @@
<image class="icon-close" src="{{imageRoot}}2b/common/closeicon.png?{{imageVersion}}" bindtap="bindContactDialog"></image>
<view class="modal-title">进入客服消息,点击右下角,获取公众号二维码。</view>
<image class="pic" src="{{imageRoot}}service/service_enter.png?{{imageVersion}}"></image>
<button class="btn-open" open-type='contact' keyword="{{keyword}}" show-message-card="true" send-message-title="{{sharetitle}}" send-message-path="{{path}}" send-message-img="{{imageRoot}}{{coverimg}}?{{imageVersion}}">点击获取</button>
<button class="btn-open"
bindtap="godialog"
open-type='contact' keyword="{{keyword}}" show-message-card="true" send-message-title="{{sharetitle}}" send-message-path="{{path}}" send-message-img="{{imageRoot}}{{coverimg}}?{{imageVersion}}">点击获取</button>
</view>
</view>
\ No newline at end of file
constants/activityconfig.js
View file @
4ef328ec
...
...
@@ -14,9 +14,10 @@ export default {
posterbg
:
'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/2c/dailyposter2/bg825.png'
},
{
sid
:
807
,
posterbg
:
'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/2c/dailyposter2/bg807.png'
},
// 20200210 去掉该校区
// {
// sid: 807,
// posterbg:'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/2c/dailyposter2/bg807.png'
// },
]
}
\ No newline at end of file
src/pages/sharemoretheme/index.wxml
View file @
4ef328ec
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="container
{{infogetShow? 'containerDisabledScroll': ''}}
">
<btn-drag bind:btnDragEvent='goqrcode' tobottomDis='300' width='60' height="60" catchtouchmove="ture">
<view class="sharebtn" slot="dragcontent">
<image src="{{imageRoot}}2c/sharemoretheme/sharer.png" class="sharericon" alt="Image" />
...
...
src/pages/sharemoretheme/index.wxss
View file @
4ef328ec
page{
height: 100%;
}
.sharemoretheme-box{
min-height: 100vh;
padding-bottom: 200rpx;
...
...
src/pages/websiteindex/onlineclassroomindex.js
View file @
4ef328ec
...
...
@@ -208,6 +208,9 @@ Page({
try
{
content
=
JSON
.
parse
(
data
.
intro
)
||
[];
data
.
intro
=
content
;
if
(
data
.
share_switch
==
2
)
{
wx
.
hideShareMenu
();
}
}
catch
(
error
)
{
}
Object
.
assign
(
data
,
{
...
...
src/pages/websiteindex/onlineclassroomplay.js
View file @
4ef328ec
...
...
@@ -137,6 +137,9 @@ Page({
}).
then
((
res
)
=>
{
const
{
code
,
data
,
datetime
}
=
res
;
if
(
code
==
200
){
if
(
data
.
share_switch
==
2
)
{
wx
.
hideShareMenu
();
}
}
else
{
wx
.
showModal
({
title
:
'提示'
,
...
...
@@ -274,6 +277,9 @@ Page({
content
=
JSON
.
parse
(
data
.
intro
)
||
[];
data
.
content
=
data
.
content
?
JSON
.
parse
(
data
.
content
)
:
''
data
.
intro
=
content
;
if
(
data
.
share_switch
==
2
)
{
wx
.
hideShareMenu
();
}
}
catch
(
error
)
{
}
Object
.
assign
(
data
,
{
...
...
ucenter/index.js
View file @
4ef328ec
...
...
@@ -53,6 +53,7 @@ Page({
schoolTotal
:
0
,
cSchoolList
:
[],
cSchoolTotal
:
0
,
sendpath
:
'/ucenter/index'
,
waitJob
:
{},
noticecount
:
{
1
:
0
,
2
:
0
,
3
:
0
,
4
:
0
},
sid
:
0
,
...
...
@@ -214,8 +215,10 @@ Page({
class_times
:
data
.
class_times
,
clock_days
:
data
.
clock_days
,
integral_balance
:
data
.
integral_balance
,
}
},
sendpath
:
`/ucenter/index?id=
${
data
.
student_id
}
`
})
// console.log(this.data.userInfo, 'userInfo')
this
.
noticecountGet
();
this
.
viewlistGet
();
//获取看客列表5条数据
this
.
getIdentitylist
();
...
...
@@ -585,6 +588,38 @@ Page({
})
})
},
opendia
()
{
// 点击我也要用小程序
const
{
originParams
,
originScene
,
}
=
app
.
globalData
;
behaviorLog
({
source_path
:
`ucenter/index:useqxt`
,
source_id
:
this
.
data
.
sid
,
source_type_model
:
1
,
scene
:
originScene
||
''
,
param
:
JSON
.
stringify
({
from
:
originParams
,
source
:
this
.
data
.
options
,
})
})
},
godialog
()
{
// 点击进入客服消息
const
{
originParams
,
originScene
,
}
=
app
.
globalData
;
behaviorLog
({
source_path
:
`ucenter/index:gogetqxt`
,
source_id
:
this
.
data
.
sid
,
source_type_model
:
1
,
scene
:
originScene
||
''
,
param
:
JSON
.
stringify
({
from
:
originParams
,
source
:
this
.
data
.
options
,
})
})
},
true
(){}
})
\ No newline at end of file
ucenter/index.wxml
View file @
4ef328ec
...
...
@@ -181,6 +181,10 @@
pagetitle="我也要用小程序 > "
pagetitletip="立即使用"
sharetitle="校区管理,打卡作业招生"
bind:opendia="opendia"
bind:godialog="godialog"
newpath="/ucenter/index"
path="{{sendpath}}"
coverimg="service/tosue.png"
></sjdbottombar>
<view class="modal modalUsers {{modelUsersAnimate? 'hide': ''}}" hidden="{{!modalUsers}}">
...
...
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