Commit 661683de authored by wangxuelai's avatar wangxuelai

'ui修改'

parent c44a1e81
const a = [
{
"root": "src/pages/papersquare/classreviewshare",
"name": "课堂小评分享卡片",
sharer_source_id: 'rid',
qrcode_source_id: ''
},
{
"root": "src/pages/myinfluence/index",
"name": "我的影响力",
sharer_source_id: 'sid',
qrcode_source_id: ''
},
]
......@@ -49,7 +49,7 @@
<view class="trendline" hover-class="none" hover-stop-propagation="false">
<text class="trendlinetitle">比上周</text>
<image class="trendicon" src="{{imageRoot}}2c/myinfluence/{{view.now < view.last ? 'down': 'up'}}.png"></image>
<text class="trendlinestatic">{{rate.getRate(view.now, view.last)}}%</text>
<text class="trendlinestatic {{view.now < view.last ? 'down': 'up'}}">{{rate.getRate(view.now, view.last)}}%</text>
</view>
</view>
<view class="innerboxitem border-bottom" data-tab="2" bindtap="goInfluenceDetail">
......@@ -61,7 +61,7 @@
<view class="trendline" hover-class="none" hover-stop-propagation="false">
<text class="trendlinetitle">比上周</text>
<image class="trendicon" src="{{imageRoot}}2c/myinfluence/{{clue.now < clue.last ? 'down': 'up'}}.png"></image>
<text class="trendlinestatic">{{rate.getRate(clue.now, clue.last)}}%</text>
<text class="trendlinestatic {{clue.now < clue.last ? 'down' : 'up'}}">{{rate.getRate(clue.now, clue.last)}}%</text>
</view>
</view>
<view class="innerboxitem border-right" data-tab="1" bindtap="goInfluenceDetail">
......@@ -73,7 +73,7 @@
<view class="trendline" hover-class="none" hover-stop-propagation="false">
<text class="trendlinetitle">比上周</text>
<image class="trendicon" src="{{imageRoot}}2c/myinfluence/{{share.now < share.last ? 'down': 'up'}}.png"></image>
<text class="trendlinestatic">{{rate.getRate(share.now, share.last)}}%</text>
<text class="trendlinestatic {{share.now < share.last ? 'down': 'up'}}">{{rate.getRate(share.now, share.last)}}%</text>
</view>
</view>
<!-- <view class="innerboxitem">
......
......@@ -148,4 +148,10 @@
}
.border-bottom {
border-bottom: 2rpx solid rgba(0,0,0,0.05);
}
.trendlinestatic.up {
color: #F69500;
}
.trendlinestatic.down {
color: #858585;
}
\ No newline at end of file
......@@ -681,7 +681,7 @@ Page({
clues({
school_id: this.data.sid,
page: this.data.cluePage,
perPage: this.data.perPage,
perPage: 1 || this.data.perPage,
}).then((res) => {
this.setData({
clueLoading: false
......@@ -693,7 +693,6 @@ Page({
}
data.list.forEach((ele, index) => {
if (ele.last_behavior.source_type == 3) {
console.log(ele, 'ele');
const videoAndImage = JSON.parse(ele.last_behavior.morph_source_record.video);
const audios = JSON.parse(ele.last_behavior.morph_source_record.audio);
const videos = videoAndImage.filter(ele => ele.type == 'video');
......@@ -715,7 +714,6 @@ Page({
ele.clockDetailsrc = src;
}
})
console.log('ddddddddddddddddd');
switch (type) {
case 'init': //页面进来第一次加载
this.setData({
......
This diff is collapsed.
......@@ -7,8 +7,8 @@ page{
}
.header-box{
width:100%;
height:422rpx;
background:linear-gradient(180deg,rgba(255,209,70,1) 0%,rgba(255,209,70,0) 100%);
background: linear-gradient(180deg,rgba(255,209,70,1) 70%,rgba(255,209,70,0) 100%);
height: 440rpx;
}
.header-box .back-box {
padding-left: 24rpx;
......@@ -18,7 +18,7 @@ page{
height:28rpx;
}
.header-box .title{
padding: 36rpx 0 64rpx 24rpx;
padding: 24rpx 0 60rpx 24rpx;
font-size:40rpx;
font-family:PingFang SC;
font-weight:bold;
......@@ -57,7 +57,7 @@ page{
}
.contnet-box{
position: relative;
top: -60rpx;
top: -100rpx;
margin: 0 24rpx;
}
.contnet-box .list-item{
......@@ -136,7 +136,7 @@ page{
.contnet-box .list-item .detail-box .detail-list{
}
.contnet-box .list-item .detail-box .detail-list .detail-item{
padding: 30rpx 20rpx 10rpx 20rpx;
padding: 14rpx 20rpx 12rpx 20rpx;
border-bottom: 1px solid rgba(0,0,0,.05);
}
.contnet-box .list-item .detail-box .detail-list .detail-item .visitor-info{
......@@ -184,6 +184,7 @@ page{
font-size:26rpx;
font-family:PingFang SC;
line-height: 1;
padding-left: 10rpx;
}
.access-content{
width:100rpx;
......@@ -201,7 +202,7 @@ page{
top: 0;
}
.lately-log{
padding-top: 30rpx;
padding-top: 40rpx;
}
.lately-log .log-title{
font-size:26rpx;
......@@ -210,6 +211,8 @@ page{
color:rgba(53,53,53,1);
line-height: 1;
padding-bottom: 20rpx;
display: flex;
align-items: center;
}
.lately-log .log-title image{
width:31rpx;
......@@ -223,7 +226,11 @@ page{
color:rgba(138,138,138,1);
line-height: 1;
padding-bottom: 18rpx;
padding-left: 40rpx;
padding-left: 46rpx;
}
.clue-box .lately-log .log-item{
line-height: 1.1;
margin-bottom: 12rpx;
}
.btn-box{
padding: 30rpx 100rpx 0 100rpx;
......@@ -248,12 +255,12 @@ page{
}
.btn-box .retract-btn {
width:180rpx;
height:50rpx;
height:26px;
background:rgba(245,244,249,1);
border:1px solid rgba(237,237,237,1);
border-radius:10rpx;
border-radius:10rpx;
font-size:26rpx;
font-size:13px;
font-family:PingFang SC;
font-weight:400;
color:rgba(0,0,0,.5);
......@@ -287,7 +294,7 @@ page{
}
.clue-box .detail-list{
background:rgba(255,255,255,1);
padding: 8rpx 0 30rpx 0;
padding: 8rpx 0 0 0;
border-bottom: 1px solid rgba(0,0,0,.05);
border-radius: 0 0 20rpx 20rpx;
}
......@@ -352,6 +359,7 @@ page{
font-family:PingFang SC;
font-weight:400;
color:rgba(145,145,145,1);
padding-bottom: 24rpx;
}
.clue-box .lately-log .log-item text{
font-size:24rpx;
......@@ -372,6 +380,7 @@ page{
font-weight:400;
color:rgba(145,145,145,1);
padding-right: 10rpx;
/* padding-left: 10rpx; */
}
.clue-box .leave-phone .phone-number{
font-size:26rpx;
......@@ -380,14 +389,14 @@ page{
color:#118EE8;
}
.clue-item {
padding: 10px 20rpx 10px 20rpx;
border-bottom: 1px solid rgba(0,0,0,0.05);
padding: 30rpx 20rpx 30rpx 20rpx;
border-top: 1px solid rgba(0,0,0,0.05);
}
/* .clue-list-item {
padding: 0 20rpx;
} */
.clue-list-item:last-child .clue-item:last-child {
border-bottom: none;
.clue-list-item:first-child .clue-item:first-child {
border-top: none;
}
.empty-content {
padding-top: 152rpx;
......
This diff is collapsed.
......@@ -342,6 +342,14 @@ Page({
})
},
goMyInfluence () {
if(this.data.noUserinfo){
wx.showToast({
title: '您还未加入该校区',
duration: 2000,
icon: 'none'
})
return
}
wx.navigateTo({
url: `/src/pages/myinfluence/index?sid=${this.data.sid}`,
})
......
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