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
661683de
Commit
661683de
authored
Nov 13, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'ui修改'
parent
c44a1e81
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
73 additions
and
69 deletions
+73
-69
a.js
a.js
+0
-14
index.wxml
src/pages/myinfluence/index.wxml
+3
-3
index.wxss
src/pages/myinfluence/index.wxss
+6
-0
influencelist.js
src/pages/myinfluence/influencelist.js
+1
-3
influencelist.wxml
src/pages/myinfluence/influencelist.wxml
+29
-29
influencelist.wxss
src/pages/myinfluence/influencelist.wxss
+23
-14
index.js
src/pages/papersquare/index.js
+3
-6
index.js
ucenter/index.js
+8
-0
No files found.
a.js
deleted
100644 → 0
View file @
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
:
''
},
]
src/pages/myinfluence/index.wxml
View file @
661683de
...
...
@@ -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">
...
...
src/pages/myinfluence/index.wxss
View file @
661683de
...
...
@@ -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
src/pages/myinfluence/influencelist.js
View file @
661683de
...
...
@@ -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
({
...
...
src/pages/myinfluence/influencelist.wxml
View file @
661683de
This diff is collapsed.
Click to expand it.
src/pages/myinfluence/influencelist.wxss
View file @
661683de
...
...
@@ -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 64
rpx 24rpx;
padding:
24rpx 0 60
rpx 24rpx;
font-size:40rpx;
font-family:PingFang SC;
font-weight:bold;
...
...
@@ -57,7 +57,7 @@ page{
}
.contnet-box{
position: relative;
top: -
6
0rpx;
top: -
10
0rpx;
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 10
rpx 20rpx;
padding:
14rpx 20rpx 12
rpx 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:
3
0rpx;
padding-top:
4
0rpx;
}
.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:
50r
px;
height:
26
px;
background:rgba(245,244,249,1);
border:1px solid rgba(237,237,237,1);
border-radius:10rpx;
border-radius:10rpx;
font-size:
26r
px;
font-size:
13
px;
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 10
px 20rpx;
border-
bottom
: 1px solid rgba(0,0,0,0.05);
padding:
30rpx 20rpx 30r
px 20rpx;
border-
top
: 1px solid rgba(0,0,0,0.05);
}
/* .clue-list-item {
padding: 0 20rpx;
} */
.clue-list-item:
last-child .clue-item:la
st-child {
border-
bottom
: none;
.clue-list-item:
first-child .clue-item:fir
st-child {
border-
top
: none;
}
.empty-content {
padding-top: 152rpx;
...
...
src/pages/papersquare/index.js
View file @
661683de
This diff is collapsed.
Click to expand it.
ucenter/index.js
View file @
661683de
...
...
@@ -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
}
`
,
})
...
...
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