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
bfae5901
Commit
bfae5901
authored
Apr 18, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2b4ab23e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
2235 additions
and
1355 deletions
+2235
-1355
newinfo.js
business/pages/organizationalmgt/newinfo.js
+1
-2
qxknow.js
business/pages/organizationalmgt/qxknow.js
+3
-8
qxknow.wxml
business/pages/organizationalmgt/qxknow.wxml
+4
-1
index.js
business/pages/websiteindex/index.js
+725
-542
index.wxml
business/pages/websiteindex/index.wxml
+392
-140
index.wxss
business/pages/websiteindex/index.wxss
+1086
-638
index.js
src/pages/websiteindex/index.js
+11
-1
index.wxml
src/pages/websiteindex/index.wxml
+3
-21
onlineclassroomplay.wxml
src/pages/websiteindex/onlineclassroomplay.wxml
+1
-1
teacherdetail.wxss
src/pages/websiteindex/teacherdetail.wxss
+4
-0
teacherlist.wxss
src/pages/websiteindex/teacherlist.wxss
+5
-1
No files found.
business/pages/organizationalmgt/newinfo.js
View file @
bfae5901
...
...
@@ -523,8 +523,7 @@ Page({
if
(
res
.
code
==
200
)
{
// 成功的操作
if
(
this
.
data
.
sid
==
0
)
{
// 新增的操作
wx
.
redirectTo
({
url
:
`/business/pages/deskcenter/themetemplate?sid=
${
res
.
data
.
id
}
`
// url: `/business/pages/organizationalmgt/qxknow?sid=${res.data.id}`
url
:
`/business/pages/organizationalmgt/qxknow?sid=
${
res
.
data
.
id
}
`
});
}
else
{
wx
.
showToast
({
...
...
business/pages/organizationalmgt/qxknow.js
View file @
bfae5901
...
...
@@ -4,14 +4,9 @@ import {
var
app
=
getApp
();
Page
({
data
:
{
imgList
:
[
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif1.gif"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/code.png"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/idea.png"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif2.gif"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/gif3.gif"
,
"https://cdn.img.shangjiadao.cn/qingxiao/bargain/images/case/pic_03.png"
],
imageRoot
:
app
.
globalData
.
imageRoot
,
localImageRoot
:
"../../../images/"
,
imageVersion
:
app
.
globalData
.
imageVersion
,
sid
:
0
},
...
...
business/pages/organizationalmgt/qxknow.wxml
View file @
bfae5901
<view class="container">
<view class="btn-jump" bindtap="bindJumpEvent">跳过</view>
<view class="desc-box">
<image class="desc-img" wx:for="{{imgList}}" wx:key="index" src="{{item}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_01.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_02.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_03.png?{{imageVersion}}" mode="widthFix"></image>
<image class="desc-img" wx:key="index" src="{{imageRoot}}qxknow/img_04.png?{{imageVersion}}" mode="widthFix"></image>
</view>
<view class="submitbtn-box">
<view class="submitbtn" bindtap="toCreate">创建作业打卡</view>
...
...
business/pages/websiteindex/index.js
View file @
bfae5901
This diff is collapsed.
Click to expand it.
business/pages/websiteindex/index.wxml
View file @
bfae5901
This diff is collapsed.
Click to expand it.
business/pages/websiteindex/index.wxss
View file @
bfae5901
This diff is collapsed.
Click to expand it.
src/pages/websiteindex/index.js
View file @
bfae5901
...
...
@@ -42,7 +42,8 @@ import {
wxChooseLocation
,
wxOpenSetting
,
wxGetImageInfo
,
wxLogin
wxLogin
,
wxOpenLocation
,
}
from
'../../../utilities/wxApi.js'
;
var
app
=
getApp
();
Page
({
...
...
@@ -1544,5 +1545,14 @@ Page({
default
:
break
;
}
},
makenavigate
(){
let
addressInfo
=
this
.
data
.
schoolInfo
?
this
.
data
.
schoolInfo
:
this
.
data
.
schoolDetail
;
wxOpenLocation
({
latitude
:
Number
(
addressInfo
.
latitude
),
longitude
:
Number
(
addressInfo
.
longitude
),
address
:
addressInfo
.
location_address
,
name
:
addressInfo
.
address
})
}
})
\ No newline at end of file
src/pages/websiteindex/index.wxml
View file @
bfae5901
...
...
@@ -88,7 +88,7 @@
<view class="icon-box">
<image class="icon" src="{{imageRoot}}2c/websiteindex/website_address.png?{{imageVersion}}"></image>
</view>
<view class="address" wx:if="{{schoolInfo.longitude}}">
<view class="address" wx:if="{{schoolInfo.longitude}}"
bindtap="makenavigate"
>
<view class="main">{{schoolInfo.location_address}}</view>
<view class="other" wx:if="{{schoolInfo.address}}">{{schoolInfo.address}}</view>
</view>
...
...
@@ -387,7 +387,7 @@
<image class="info-logo" src="{{filter.imagify(schoolDetail.logo, 'image/resize,w_160/format,jpg')}}" wx:if="{{schoolDetail.logo}}"></image>
<image class="info-logo" src="{{imageRoot}}2c/common/logologo.png?{{imageVersion}}" wx:else></image>
<view class="info-r">
<view class="info-title">{{school
Info.title?schoolInfo.title: schoolDetail.title
}}</view>
<view class="info-title">{{school
Detail.title? schoolDetail.title: '此处显示学校名称'
}}</view>
<view class="info-num-box">
<view class="num-item" wx:for="{{egTag}}" wx:key="index">{{item}}</view>
</view>
...
...
@@ -425,9 +425,6 @@
<view class="section-wrap business-instro">
<view class="box-title">
<view class="title">学校介绍</view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="desc-box">
...
...
@@ -455,9 +452,6 @@
<view class="section-wrap section-teacher">
<view class="box-title">
<view class="title">名师风采<view class="text">(12)</view></view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="teacher-list">
<view class="item" wx:for="{{12}}" wx:key="index">
...
...
@@ -472,10 +466,7 @@
<!-- 学生动态 -->
<view class="section-wrap student-clock-box">
<view class="box-title">
<view class="title">学生动态<view class="text"></view></view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
<view class="title">学生动态</view>
</view>
<view class="clock-list clock-list-disabled" style="padding-bottom: 0;">
<view class="clock-item" wx:for="{{egClockList}}" wx:key="index" >
...
...
@@ -496,9 +487,6 @@
<view class="section-wrap section-brick">
<view class="box-title">
<view class="title">课堂瞬间</view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="brick-list">
<brick-layout
...
...
@@ -511,9 +499,6 @@
<view class="section-wrap online-classroom">
<view class="box-title">
<view class="title">在线课堂</view>
<view class="right">
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="content-box">
<view class="online-item" wx:for="{{4}}" wx:key="index">
...
...
@@ -533,9 +518,6 @@
<view class="section-wrap section-subject">
<view class="box-title">
<view class="title">一起打卡</view>
<view class="right" >
更多<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="subject-list">
<view class="list-item" wx:for="{{3}}" wx:key="index">
...
...
src/pages/websiteindex/onlineclassroomplay.wxml
View file @
bfae5901
...
...
@@ -91,7 +91,7 @@
<view class="coursecounttext">已更新{{coursesDetail.type==1?'1': coursesDetail.sub_courses_count}}期</view>
</view>
</view>
<image class="shareicon" bindtap="ShowShareDailog" src="{{imageRoot}}2c/onlineclass/shareicon.png?{{imageVersion}}"></image>
<image class="shareicon" bindtap="ShowShareDailog" src="{{imageRoot}}2c/onlineclass/shareicon.png?{{imageVersion}}"
wx:if="{{coursesDetail.share_switch==1}}"
></image>
</view>
</view>
<view class="divideline"></view>
...
...
src/pages/websiteindex/teacherdetail.wxss
View file @
bfae5901
...
...
@@ -18,6 +18,7 @@
}
.list-box .list-item .avatar {
width: 88rpx;
min-width: 88rpx;
height: 88rpx;
margin-right: 14rpx;
border-radius: 50%;
...
...
@@ -48,7 +49,10 @@
padding: 0 10rpx;
margin-left: 14rpx;
border-radius: 6rpx;
max-width: 150rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-box .list-item .main .line .bg {
font-size: 22rpx;
...
...
src/pages/websiteindex/teacherlist.wxss
View file @
bfae5901
...
...
@@ -23,6 +23,7 @@ page {
}
.list-box .list-item .avatar {
width: 88rpx;
min-width: 88rpx;
height: 88rpx;
margin-right: 14rpx;
border-radius: 50%;
...
...
@@ -40,7 +41,7 @@ page {
font-size: 32rpx;
color: #222;
line-height: 1;
max-width:
3
00rpx;
max-width:
2
00rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
...
...
@@ -53,7 +54,10 @@ page {
padding: 0 10rpx;
margin-left: 14rpx;
border-radius: 6rpx;
max-width: 150rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-box .list-item .main .line .bg {
font-size: 22rpx;
...
...
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