分享姓名

master
lion 2 years ago
parent 6d01cb3f87
commit 624cce262a

BIN
.DS_Store vendored

Binary file not shown.

@ -376,8 +376,8 @@
//
ctx.fillStyle = "#000";
// xy
if (!weixin.isNull(user_info.name))
ctx.fillText(user_info.name,
if (!weixin.isNull(this.user_info.name))
ctx.fillText(this.user_info.name,
40, h - 40);
else
ctx.fillText("",

@ -285,7 +285,7 @@
//
ctx.fillStyle = "#000";
// xy
ctx.fillText(user_info.name,
ctx.fillText(this.user_info.name,
40, h - 40);
this.circleImg(ctx, res.path, w - 40 - w * 0.2, h - 40 -

@ -539,6 +539,7 @@
this.getPoster();
},
draw: function() {
var that = this;
uni.request({
url: this.baseUrl + '/api/member/get-wxa-qrcode',
@ -603,7 +604,6 @@
let user_info = uni.getStorageSync("user_info_yunyubang");
let userProfile = uni.getStorageSync('user_profile');
var img = this.imgAvatar;
uni.getImageInfo({
src: userProfile.avatarUrl, //
@ -621,8 +621,8 @@
//
ctx.fillStyle = "#000";
// xy
if (!weixin.isNull(user_info.name))
ctx.fillText(user_info.name,
if (!weixin.isNull(this.user_info.name))
ctx.fillText(this.user_info.name,
40, h - 40);
else
ctx.fillText("",

@ -36,7 +36,7 @@
<view class="i_intro">{{item.product_type.name}}</view>
</view>
<view class="columnInfo">
<view class="title">{{item.sortnumber}}{{item.name}}</view>
<view class="title">{{item.name}}</view>
<view class="discuss">
<view class="starBox">
<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png">

@ -527,8 +527,8 @@
//
ctx.fillStyle = "#000";
// xy
if (!weixin.isNull(user_info.name))
ctx.fillText(user_info.name,
if (!weixin.isNull(this.user_info.name))
ctx.fillText(this.user_info.name,
40, h - 40);
else
ctx.fillText("",

@ -505,8 +505,8 @@
//
ctx.fillStyle = "#000";
// xy
if (!weixin.isNull(user_info.name))
ctx.fillText(user_info.name,
if (!weixin.isNull(this.user_info.name))
ctx.fillText(this.user_info.name,
40, h - 40);
else
ctx.fillText("",

@ -68,7 +68,7 @@
</u-row>
</view>
</view>
<view class="activeinfo">
<view class="activeinfo" v-if="info.active_tag == '上' || !info.active_tag">
<view class="active">
<u-row gutter="16">
<u-col span="12">
@ -155,6 +155,85 @@
</view>
</view>
</view>
<view class="activeinfo" v-if="info.active_tag=='下'">
<view class="active">
<u-row gutter="16">
<u-col span="12">
<view>
活动信息:
</view>
</u-col>
<u-col span="4">
<view>
<image mode="heightFix" src="../../static/icon_shijian@2x.png"></image>
开始时间
</view>
</u-col>
<u-col span="8" v-if="info.start_date">
<view>{{$u.timeFormat(new Date(info.start_date.replace(/-/g,'/')), 'yyyy年mm月dd日')}} {{info.start_time}}</view>
</u-col>
<u-col span="4">
<view>
<image mode="heightFix" src="../../static/icon_shijian@2x.png"></image>
结束时间
</view>
</u-col>
<u-col span="8" v-if="info.start_date">
<view>{{$u.timeFormat(new Date(info.end_date), 'yyyy年mm月dd日')}} {{info.end_time}}</view>
</u-col>
<u-col span="4">
<view>
<image mode="heightFix" src="../../static/icon_dizhi.png"></image>
活动地点:
</view>
</u-col>
<u-col span="8" v-if="info.address">
{{info.address}}
</u-col>
<u-col span="4">
<view>
<image mode="heightFix" src="../../static/icon_xingming@2x.png"></image>
活动人数:
</view>
</u-col>
<u-col span="8" v-if="info.member_sum">
{{info.member_sum}}
</u-col>
<u-col span="4">
<view>
<image mode="heightFix" src="../../static/icon_xingming@2x.png"></image>
已报名数:
</view>
</u-col>
<u-col span="8" v-if="info.member_sum">
{{info.start_member_sum+info.total}}
</u-col>
<u-col span="12">
<view>
报名信息:
</view>
</u-col>
<u-col span="4">
<view>
<image mode="heightFix" src="../../static/icon_shijian@2x.png"></image>
开始时间
</view>
</u-col>
<u-col span="8" v-if="info.apply_start">
<view>{{$u.timeFormat(new Date(info.apply_start.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
</u-col>
<u-col span="4">
<view>
<image mode="heightFix" src="../../static/icon_shijian@2x.png"></image>
截止时间
</view>
</u-col>
<u-col span="8" v-if="info.apply_end">
<view>{{$u.timeFormat(new Date(info.apply_end.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
</u-col>
</u-row>
</view>
</view>
<!--为您推荐-->
<view class="introBox hasMenu">
@ -722,8 +801,8 @@
//
ctx.fillStyle = "#000";
// xy
if (!weixin.isNull(user_info.name))
ctx.fillText(user_info.name,
if (!weixin.isNull(this.user_info.name))
ctx.fillText(this.user_info.name,
40, h - 40);
else
ctx.fillText("",

@ -399,6 +399,7 @@ const getOpenidInfo = (cb, refresh) => {
const user_info1 = result.data.data.user_info
user_info1.openid = user_info1.wechat_openid
uni.setStorageSync(user_info_key, user_info1)
cb(user_info1)
}
});

Loading…
Cancel
Save