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
9c4165d4
Commit
9c4165d4
authored
Apr 26, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7d0f79d8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
9 deletions
+16
-9
classdetail.wxml
business/pages/classservice/classdetail.wxml
+2
-3
classranklist.js
business/pages/classservice/classranklist.js
+0
-3
classranklist.wxml
business/pages/classservice/classranklist.wxml
+1
-1
rankList.js
src/pages/themeindex/rankList.js
+1
-0
index.js
src/pages/websiteindex/index.js
+11
-1
index.wxml
src/pages/websiteindex/index.wxml
+1
-1
No files found.
business/pages/classservice/classdetail.wxml
View file @
9c4165d4
...
...
@@ -34,13 +34,12 @@
<image class="icon" src="{{imageRoot}}2b/circleindex/icon_clock.png?{{imageVersion}}"></image>
<view class="title">作业打卡</view>
</view>
<
!-- <
permission-box>
<permission-box>
<view class="opt-btnitem" bindtap="bindRankingList" slot="menubtn">
<view class="opt-btnitem" bindtap="bindRankingList" slot="menubtn">
<image class="icon" src="{{imageRoot}}2b/circleindex/icon_rank.png?{{imageVersion}}"></image>
<view class="title">排行榜</view>
</view>
</permission-box>
-->
</permission-box>
</view>
<view class="devided-line"></view>
...
...
business/pages/classservice/classranklist.js
View file @
9c4165d4
...
...
@@ -211,7 +211,6 @@ Page({
perPage
:
this
.
data
.
perPage
,
class_id
:
this
.
data
.
id
,
type
:
Number
(
this
.
data
.
timeType
),
consumer_id
:
visitor
&&
visitor
.
id
}).
then
((
res
)
=>
{
const
{
code
,
...
...
@@ -316,7 +315,6 @@ Page({
perPage
:
this
.
data
.
perPage
,
class_id
:
this
.
data
.
id
,
type
:
Number
(
this
.
data
.
timeType
),
consumer_id
:
visitor
&&
visitor
.
id
}).
then
((
res
)
=>
{
const
{
code
,
...
...
@@ -423,7 +421,6 @@ Page({
perPage
:
this
.
data
.
perPage
,
school_id
:
this
.
data
.
sid
,
type
:
Number
(
this
.
data
.
timeType
),
consumer_id
:
visitor
&&
visitor
.
id
,
class_id
:
this
.
data
.
id
}).
then
((
res
)
=>
{
const
{
...
...
business/pages/classservice/classranklist.wxml
View file @
9c4165d4
...
...
@@ -3,7 +3,7 @@
<view class="container">
<view class="content-topbox">
<view class="tab-box">
<view class="tab-item {{item.rankingType == rankingType?'active':''}}" data-rankingtype="{{item.rankingType}}" wx:for="{{rankingTab}}" bindtap="rankingStatusShift" wx:key="">
<view class="tab-item {{item.rankingType == rankingType?'active':''}}" data-rankingtype="{{item.rankingType}}" wx:for="{{rankingTab}}" bindtap="rankingStatusShift" wx:key="
index
">
<view class="tab-itemname">{{item.tabname}}</view>
</view>
</view>
...
...
src/pages/themeindex/rankList.js
View file @
9c4165d4
...
...
@@ -320,6 +320,7 @@ Page({
// consumer_id: visitor && visitor.id,
student_id
:
app
.
globalData
.
currentSchoolStudentId
,
subject_id
:
this
.
data
.
tid
,
school_id
:
this
.
data
.
sid
}).
then
((
res
)
=>
{
const
{
code
,
...
...
src/pages/websiteindex/index.js
View file @
9c4165d4
...
...
@@ -44,6 +44,7 @@ import {
wxGetImageInfo
,
wxLogin
,
wxOpenLocation
,
wxPreviewImage
}
from
'../../../utilities/wxApi.js'
;
var
app
=
getApp
();
Page
({
...
...
@@ -1613,5 +1614,14 @@ Page({
wx
.
navigateTo
({
url
:
'/'
+
url
})
}
},
// banner图片预览
prevImg
(
e
)
{
const
{
url
}
=
e
.
currentTarget
.
dataset
;
const
banner
=
this
.
data
.
schoolInfo
.
banner
.
src
;
wxPreviewImage
({
urls
:
banner
,
current
:
url
})
},
})
\ No newline at end of file
src/pages/websiteindex/index.wxml
View file @
9c4165d4
...
...
@@ -23,7 +23,7 @@
</view>
<swiper indicator-dots="{{false}}" autoplay="{{true}}" circular="{{true}}" style="height:420rpx;" bindchange="swiperChange" wx:else>
<swiper-item wx:for="{{schoolInfo.banner.src}}" wx:key="index">
<image src="{{filter.imagify(item)}}" class="slide-image" mode="widthFix"/>
<image src="{{filter.imagify(item)}}" class="slide-image" mode="widthFix"
bindtap="prevImg" data-url="{{item}}"
/>
</swiper-item>
</swiper>
<view class="banner-numbox {{schoolInfo.notice?'':'setPos'}}" wx:if="{{schoolInfo.banner.type =='img' && schoolInfo.banner.src.length>1}}">
...
...
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