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
c888ee88
Commit
c888ee88
authored
Jan 07, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ff270aa3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
index.wxml
ucenter/index.wxml
+2
-2
index.wxss
ucenter/index.wxss
+6
-0
No files found.
ucenter/index.wxml
View file @
c888ee88
...
...
@@ -5,7 +5,7 @@
<view class="nickname" wx:if="{{userInfo.nickname}}">{{userInfo.nickname}}<loginbtn loginCode="{{loginCode}}"/></view>
<view class="nickname" wx:if="{{!userInfo.nickname}}">点击登录<loginbtn loginCode="{{loginCode}}"/></view>
<view class="exchangeStudent-box" bindtap="showUsersModal">
<view class="exchangeStudent-box" bindtap="showUsersModal"
wx:if="{{identityList.length>1}}"
>
切换学员>
<loginbtn loginCode="{{loginCode}}"/>
</view>
...
...
@@ -75,7 +75,7 @@
<image class="menuicon" src="{{localImageRoot}}2c/ucenter2/icon_zuoye.png?{{imageVersion}}"></image>
<text class="title">我的作业</text>
<text class="desc">待提交的作业</text>
<view class="red-dot" wx
L
if="{{zuoyecount>0}}">NEW</view>
<view class="red-dot" wx
:
if="{{zuoyecount>0}}">NEW</view>
</view>
<view class="menu-item" bindtap="goMyCourses">
<loginbtn loginCode="{{loginCode}}"/>
...
...
ucenter/index.wxss
View file @
c888ee88
...
...
@@ -158,6 +158,10 @@ page{
font-size: 26rpx;
color: #232323;
padding-top: 20rpx;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.visit-box .avatar-box-empty{
height: 120rpx;
...
...
@@ -226,6 +230,7 @@ page{
font-size: 18rpx;
color: #999;
line-height: 1;
height: 18rpx;
}
.menu-box .menu-item .red-dot{
position: absolute;
...
...
@@ -243,6 +248,7 @@ page{
color: #fff;
animation: scale 1s linear infinite;
transform-origin: left bottom;
box-shadow: 0px 2rpx 7rpx 0 rgba(251,100,100,0.31);
}
@keyframes scale{
0%{
...
...
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