|
@@ -1,7 +1,6 @@
|
|
|
<!--pages/user/myworks/myworks.wxml-->
|
|
|
<wxs module="wxs">
|
|
|
function formatDate(time) {
|
|
|
- console.log(time);
|
|
|
var t = getDate(time);
|
|
|
var tf = function(i){return (i < 10 ? '0' : '') + i};
|
|
|
var year = t.getFullYear();
|
|
@@ -14,6 +13,59 @@
|
|
|
module.exports.formatDate = formatDate;
|
|
|
</wxs>
|
|
|
<view class='user-works'>
|
|
|
+ <view class='follow-details'>
|
|
|
+ <view class='follow-info'>
|
|
|
+ <view class='avatar-bg'>
|
|
|
+ <view class='avatar-box'>
|
|
|
+ <image class='avatar-image' src='https://developers.weixin.qq.com/miniprogram/dev/image/cat/0.jpg'></image>
|
|
|
+ </view>
|
|
|
+ <view class='occupation-title'>家长</view>
|
|
|
+ </view>
|
|
|
+ <view class='avatar-msg'>
|
|
|
+ <view class='avatar-nickname'>木小雅</view>
|
|
|
+ <view class='avatar-birthday'>1992年07月13日</view>
|
|
|
+ <view class='avatar-address'>北京市,海淀区中关村三小</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class='mine-category'>
|
|
|
+ <view class='play-count'>
|
|
|
+ <view>{{ 3232 }}</view>
|
|
|
+ <view class='border-right'>
|
|
|
+ <view class='play-img'>
|
|
|
+ <image src='../../../static/image/play.png'></image>
|
|
|
+ </view>
|
|
|
+ <text>播放量</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class='follow-count'>
|
|
|
+ <view class='color'>{{ 5200 }}</view>
|
|
|
+ <view class='border-right'>
|
|
|
+ <view class='play-img'>
|
|
|
+ <image src='../../../static/image/follow.png'></image>
|
|
|
+ </view>
|
|
|
+ <text>关注</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class='point-count'>
|
|
|
+ <view class='color'>{{ 300 }}</view>
|
|
|
+ <view class='border-right'>
|
|
|
+ <view class='play-img'>
|
|
|
+ <image src='../../../static/image/point.png'></image>
|
|
|
+ </view>
|
|
|
+ <text>赞</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class='flower-count'>
|
|
|
+ <view class='color'>{{ 100 }}</view>
|
|
|
+ <view class='border-right'>
|
|
|
+ <view class='play-img'>
|
|
|
+ <image src='../../../static/image/flower.png'></image>
|
|
|
+ </view>
|
|
|
+ <text>红花</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class='works-article' wx:for="{{ wareCards }}" wx:key="{{ index }}">
|
|
|
<view class='user-info'>
|
|
|
<view class='avatar-img'>
|