Commit 8976af96 authored by sujie@126.com's avatar sujie@126.com

dd

parent 17965a18
......@@ -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) => {
......
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'
......
......@@ -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));
......
......@@ -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
.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: -200rpx auto 0;
margin: 33rpx 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment