Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wandouchengzhang_coach
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
石盼盼
wandouchengzhang_coach
Commits
ea9c12a1
Commit
ea9c12a1
authored
Dec 15, 2020
by
石盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
家长回复不显示名字
parent
5cc35689
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
app.js
app.js
+2
-2
performance.wxml
pages/index/performance/performance.wxml
+7
-6
base.js
utils/base.js
+2
-2
No files found.
app.js
View file @
ea9c12a1
...
...
@@ -130,8 +130,8 @@ App({
},
globalData
:
{
//
baseUrl: 'https://wandoutiyu.xueyoubangedu.com/api/', //线上接口
baseUrl
:
'
https://wandoutiyu.test.xueyoubangedu.com/api/
'
,
//测试接口
baseUrl
:
'
https://wandoutiyu.xueyoubangedu.com/api/
'
,
//线上接口
//
baseUrl: 'https://wandoutiyu.test.xueyoubangedu.com/api/', //测试接口
extAppid
:
'
wx6e6eaca9cc1c406d
'
,
// 当前appid
userInfo
:
''
,
//微信user信息
userTel
:
''
,
// 手机号
...
...
pages/index/performance/performance.wxml
View file @
ea9c12a1
...
...
@@ -11,20 +11,21 @@
<view class="teacher_left flex-v flex-hc">
<image src="/images/default_head.png" wx:if="{{coach.thumb == null}}"></image>
<image src="{{coach.thumb}}" wx:else mode="aspectFill"></image>
<
text class="name">{{coach.title}}</text
>
<
!-- <text class="name">{{coach.title}}</text> --
>
</view>
<text class="teacher_right">{{coachcomment.class_comment}}</text>
<text class="teacher_right">{{coachcomment.class_comment
!=null ? coachcomment.class_comment : ''
}}</text>
</view>
</view>
<view class="line" wx:if="{{coachcomment.comment_reply!='' && coachcomment.comment_reply!=null}}"></view>
<view class="parents" wx:if="{{coachcomment.comment_reply!='' && coachcomment.comment_reply!=null}}">
<view class="title">家长回复</view>
<view class="flex-h">
<view class="flex-h
flex-vc
">
<image src="/images/default_head.png" wx:if="{{coachcomment.child.wx_user.avatarurl == null}}"></image>
<image src="{{coachcomment.child.wx_user.avatarurl}}" wx:else></image>
<text class="name">{{coachcomment.child.wx_user.nickname}}</text>
<image src="{{coachcomment.child.wx_user.avatarurl}}" mode="aspectFill" wx:else></image>
<!-- <text class="name">{{coachcomment.child.wx_user.nickname}}</text> -->
<text class="teacher_right">{{coachcomment.comment_reply}}</text>
</view>
<text class="comments">{{coachcomment.comment_reply}}</text>
</view>
</view>
<view class="one" wx:if="{{awardList.length > 0}}">
...
...
utils/base.js
View file @
ea9c12a1
...
...
@@ -3,8 +3,8 @@ var app = getApp()
const
qiniuUploader
=
require
(
"
./qiniuUploader.js
"
);
class
Base
{
constructor
()
{
//
this.baseUrl = 'https://wandoutiyu.xueyoubangedu.com/api/' //线上接口
this
.
baseUrl
=
'
https://wandoutiyu.test.xueyoubangedu.com/api/
'
//测试接口
this
.
baseUrl
=
'
https://wandoutiyu.xueyoubangedu.com/api/
'
//线上接口
//
this.baseUrl = 'https://wandoutiyu.test.xueyoubangedu.com/api/' //测试接口
}
newRequest
(
params
,
flag
=
false
,
tips
=
true
)
{
let
that
=
this
...
...
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