Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
af8b01c9
Commit
af8b01c9
authored
May 13, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
16a89a4d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
50 deletions
+85
-50
apps/home/Tpl/default/UserShow/index_w3g.html
+85
-50
No files found.
apps/home/Tpl/default/UserShow/index_w3g.html
View file @
af8b01c9
<include
file=
"__THEME__/public_header_w3g"
/>
<link
rel=
"stylesheet"
href=
"__APP__/css/userShowIndex.css"
>
<
!-- <
link rel="stylesheet" href="__APP__/css/userShowIndex.css">
<style media="screen">
.bot_box #con_num, .bot_box img,.bot_box div{
display: none;
}
</style>
</style>
-->
<
!-- 新的 --
>
<
style
type=
"text/css"
>
<div
class=
"my-info-imgTop"
>
<div
class=
"my-info-min"
>
<div>
<img
class=
"my-info-headImg"
src=
"{:getUserFace($user['uid'],'b')}"
alt=
"{:getUserName($user['uid'])}"
>
</div>
<div
class=
"my-info-column"
>
<h3
class=
"my-info-name"
>
{:getUserName($user['uid'])}
</h3>
<p
class=
"my-info-brief"
>
<if
condition=
"$user['intro']"
>
{:mStr(t($user['intro']),15)}
<else/>
这个人不懒,什么都没留下。。
</if></p>
<?php $credits = getUserCredit($userid);?>
<?php $tmp = getFollowCount(array($userid));?>
.van-cell__title
{
display
:
flex
;
align-items
:
center
;
}
<div
class=
"my-info-right"
style=
"height: 36px;"
>
<php>
if($_GET['uid'] == $_SESSION['mid']){
</php>
<div
class=
"signIn"
>
<img
src=
"__APP__/icon/homePage/signIn.png"
alt=
""
>
{:W('CheckIn', array('tpl'=>'zy'))}
</div>
<!-- <div class="collar">
<img src="__APP__/icon/homePage/integral.png" alt="">
<p>领积分</p>
</div> -->
<php>
}
</php>
</div>
</div>
.van-cell__value
{
display
:
flex
;
flex-direction
:
row-reverse
;
}
.van-cell
{
align-items
:
center
;
}
.van-cell
::after
{
right
:
1rem
;
}
</style>
<div
id=
"app"
>
<div
class=
"layout_v"
>
<van-cell
title=
"头像"
is-link
>
<slot>
<van-uploader
result-type=
"file"
:after-read=
"onRead"
>
<van-image
@
error=
"onError"
height=
"44"
width=
"44"
fit=
"cover"
round
:src=
"currentAvatar"
/>
</van-uploader>
</slot>
</van-cell>
<van-cell
@
click=
"onNickName"
title=
"昵称"
is-link
:value=
"currentNickName"
/>
<van-cell
@
click=
"onGender"
title=
"性别"
is-link
:value=
"currentGender"
/>
<van-cell
@
click=
"onAddress"
title=
"收货信息"
is-link
:value=
"currentBirthday"
/>
</div>
<div
class=
"my-info-three"
>
</div>
<!-- <div class="my-info-three">
<div class="my-info-threeMin">
<div>
<h3 class="my-info-num">{$user['credit_user']}</h3>
...
...
@@ -74,8 +82,8 @@
</p>
</div>
</div>
</div>
<dl
class=
"my-data-list"
>
</div>
-->
<!--
<dl class="my-data-list">
<dd>
<div class="leftColor">
<div class="textColor">
...
...
@@ -116,9 +124,9 @@
<i class="icon icon-youjiantou"></i>
</div>
</dd>
<?php $tmp = getFollowCount(array($userid));?>
</dl>
<div
class=
"my-course"
>
</dl>
-->
<!--
<div class="my-course">
<h3 class="my-course-title">我的点播 <a href="{:U('home/UserShow/course',array('uid'=>$userid))}">更多</a></h3>
<div class="my-course-content">
<if condition="$video_data['data']">
...
...
@@ -132,7 +140,7 @@
<div class="my-course-text">
<h3 class="my-course-name">{:mStr(t($dtt['video_title']),12)}</h3>
<div class="my-spw">
<p><span>
¥{$dtt['t_price']}
</span>
<
!-- <em>¥{$dtt['v_price']}</em> -->
<
/p>
<p><span>¥{$dtt['t_price']}</span></p>
<p><php>if($marketConf['order_switch']){</php>{$dtt['video_order_count_mark']}<php>}else{</php>{$dtt['video_order_count']}<php>}</php>人已购买</p>
</div>
</div>
...
...
@@ -143,8 +151,8 @@
<include file="__THEME__/no_data_w3g" />
</if>
</div>
</div>
<div
class=
"my-course"
>
</div>
-->
<!--
<div class="my-course">
<h3 class="my-course-title">我的直播 <a href="{:U('home/UserShow/live',array('uid'=>$userid))}">更多</a></h3>
<div class="my-course-content">
<if condition="$live_data['data']">
...
...
@@ -158,7 +166,7 @@
<div class="my-course-text">
<h3 class="my-course-name">{:mStr(t($dtt['video_title']),12)}</h3>
<div class="my-spw">
<p><span>
¥{$dtt['t_price']}
</span>
<!-- <em>¥96</em> -->
</p>
<p><span>¥{$dtt['t_price']}</span></p>
<p><php>if($marketConf['order_switch']){</php>{$dtt['video_order_count_mark']}<php>}else{</php>{$dtt['video_order_count']}<php>}</php>已购买</p>
</div>
</div>
...
...
@@ -169,22 +177,49 @@
<include file="__THEME__/no_data_w3g" />
</if>
</div>
</div>
</div>
-->
</div>
<script>
var
_ifpcorh5
=
true
;
function
setCreditScore
(
num
){
if
(
!
num
)
return
;
<script
type=
"text/javascript"
>
// var _ifpcorh5=true;
// function setCreditScore(num){
// if(!num) return ;
// setTimeout(function(){
// var val = parseInt($('#setCreditScore').text());
// $('#setCreditScore').text(val+num);
// }, 2000);
// }
new
Vue
({
el
:
'#app'
,
data
:
function
()
{
return
{
currentAvatar
:
"{:getUserFace($user['uid'],'b')}"
,
currentNickName
:
"{:getUserName($user['uid'])}"
,
currentGender
:
"{$user['sex'] ==1 ? 男 : 女}"
}
},
methods
:
{
onRead
:
function
(
r
)
{
setTimeout
(
function
(){
var
val
=
parseInt
(
$
(
'#setCreditScore'
).
text
());
$
(
'#setCreditScore'
).
text
(
val
+
num
);
},
2000
);
},
onNickName
:
function
()
{
},
onGender
:
function
()
{
},
onAddress
:
function
()
{
},
onError
:
function
()
{
}
}
})
</script>
<include
file=
"__THEME__/public_footer_w3g"
/>
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