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
8976af96
Commit
8976af96
authored
Dec 13, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
17965a18
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
11 deletions
+75
-11
classreviewindex.js
business/pages/classservice/classreviewindex.js
+1
-1
constants.js
constants/constants.js
+4
-4
staticlog.js
js/staticlog.js
+8
-5
index.wxml
src/pages/myinfluence/index.wxml
+57
-0
index.wxss
src/pages/myinfluence/index.wxss
+5
-1
No files found.
business/pages/classservice/classreviewindex.js
View file @
8976af96
...
...
@@ -189,7 +189,7 @@ Page({
getClassList
()
{
erpClassListGet
({
page
:
this
.
data
.
page
,
perPage
:
this
.
data
.
perPage
,
perPage
:
999
,
school_id
:
this
.
data
.
sid
,
my
:
this
.
data
.
my
}).
then
((
res
)
=>
{
...
...
constants/constants.js
View file @
8976af96
export
default
{
imageRoot
:
'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/'
,
host
:
'https://qxapi.qingxiao.online/daka'
,
host2
:
'https://wx.m.shangjiadao.cn'
,
//
host: 'https://qxapi.qingxiao.online/daka',
//
host2: 'https://wx.m.shangjiadao.cn',
storageVersion
:
'4.0'
,
imageVersion
:
'20191104'
,
//
host: 'https://clock.wp53.cn',
//
host2: 'https://test.wp53.cn',
host
:
'https://clock.wp53.cn'
,
host2
:
'https://test.wp53.cn'
,
appId
:
'wxc1246ea029394785'
,
miniProgram
:
{
clock
:
'wxdeee20e52a1fd7ee'
...
...
js/staticlog.js
View file @
8976af96
...
...
@@ -86,11 +86,14 @@ const staticLog = function () {
};
e
[
0
].
onShow
=
function
(
options
)
{
let
currentPages
=
getCurrentPages
();
let
currentPage
=
currentPages
.
length
>
0
?
currentPages
[
currentPages
.
length
-
1
].
route
:
""
;
r
&&
r
.
apply
(
this
,
[].
slice
.
call
(
arguments
));
if
(
wx
.
hideHomeButton
){
wx
.
hideHomeButton
()
}
let
currentPages
=
getCurrentPages
();
let
currentPage
=
currentPages
.
length
>
0
?
currentPages
[
currentPages
.
length
-
1
].
route
:
""
;
r
&&
r
.
apply
(
this
,
[].
slice
.
call
(
arguments
));
};
e
[
0
].
onHide
=
function
(
options
)
{
t
&&
t
.
apply
(
this
,
[].
slice
.
call
(
arguments
));
...
...
src/pages/myinfluence/index.wxml
View file @
8976af96
...
...
@@ -34,6 +34,62 @@
</view> -->
</view>
</view>
<view class="staticbox today" hover-class="none" hover-stop-propagation="false">
<view class="boxheader" hover-class="none" hover-stop-propagation="false">
<text class="boxheadertitle">今日影响力</text>
<!-- <view class="questionicon">?</view> -->
</view>
<view class="innerbox">
<view class="innerboxitem border-right border-bottom" data-tab="0" bindtap="goInfluenceDetail">
<view class="itemtitle">好友查看</view>
<view class="staticline">
<text class="static">{{view.today}}</text>
<text class="staticend">人</text>
</view>
<view class="trendline" hover-class="none" hover-stop-propagation="false">
<text class="trendlinetitle">比上周</text>
<image class="trendicon" src="{{imageRoot}}2c/myinfluence/{{view.today < view.yestday ? 'down': 'up'}}.png"></image>
<text class="trendlinestatic {{view.today < view.yestday ? 'down': 'up'}}">{{rate.getRate(view.today, view.yestday)}}%</text>
</view>
</view>
<view class="innerboxitem border-bottom" data-tab="2" bindtap="goInfluenceDetail">
<view class="itemtitle">留下线索</view>
<view class="staticline">
<text class="static">{{clue.today}}</text>
<text class="staticend">人</text>
</view>
<view class="trendline" hover-class="none" hover-stop-propagation="false">
<text class="trendlinetitle">比上周</text>
<image class="trendicon" src="{{imageRoot}}2c/myinfluence/{{clue.today < clue.yestday ? 'down': 'up'}}.png"></image>
<text class="trendlinestatic {{clue.today < clue.yestday ? 'down' : 'up'}}">{{rate.getRate(clue.today, clue.yestday)}}%</text>
</view>
</view>
<view class="innerboxitem border-right" data-tab="1" bindtap="goInfluenceDetail">
<view class="itemtitle">好友转发</view>
<view class="staticline">
<text class="static">{{share.today}}</text>
<text class="staticend">人</text>
</view>
<view class="trendline" hover-class="none" hover-stop-propagation="false">
<text class="trendlinetitle">比上周</text>
<image class="trendicon" src="{{imageRoot}}2c/myinfluence/{{share.today < share.yestday ? 'down': 'up'}}.png"></image>
<text class="trendlinestatic {{share.today < share.yestday ? 'down': 'up'}}">{{rate.getRate(share.today, share.yestday)}}%</text>
</view>
</view>
<!-- <view class="innerboxitem">
<view class="itemtitle">好友报名</view>
<view class="staticline">
<text class="static">{{sign.now}}</text>
<text class="staticend">人</text>
</view>
<view class="trendline" hover-class="none" hover-stop-propagation="false">
<text class="trendlinetitle">比上周</text>
<image class="trendicon" src="{{imageRoot}}2c/myinfluence/{{sign.now < sign.last ? 'down': 'up'}}.png"></image>
<text class="trendlinestatic">{{rate.getRate(sign.now, sign.last)}}%</text>
</view>
</view> -->
</view>
</view>
<view class="staticbox" hover-class="none" hover-stop-propagation="false">
<view class="boxheader" hover-class="none" hover-stop-propagation="false">
<text class="boxheadertitle">影响力概况</text>
...
...
@@ -90,4 +146,5 @@
</view> -->
</view>
</view>
</view>
\ No newline at end of file
src/pages/myinfluence/index.wxss
View file @
8976af96
.container {
background-color: #F5F5F5;
min-height: 100vh;
padding-bottom: 20rpx;
}
.header-box {
background: linear-gradient(180deg,rgba(255,209,70,1) 50%,rgba(255,209,70,0) 100%);
...
...
@@ -75,7 +76,7 @@
.staticbox {
background-color: #fff;
border-radius: 20rpx;
margin:
-200
rpx auto 0;
margin:
33
rpx auto 0;
width: 702rpx;
}
.staticbox .boxheader {
...
...
@@ -154,4 +155,7 @@
}
.trendlinestatic.down {
color: #858585;
}
.today{
margin: -200rpx auto 0;
}
\ 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