|
|
@@ -59,7 +59,7 @@
|
|
|
<text class="gift-icon">🎁</text>
|
|
|
</view>
|
|
|
<view class="banner-text">
|
|
|
- <text class="banner-title">填写生日,有机会领取生日小礼物</text>
|
|
|
+ <text class="banner-title">填写生日,有机会领取生日小礼品</text>
|
|
|
</view>
|
|
|
<view class="banner-button">
|
|
|
<text class="button-text">填写</text>
|
|
|
@@ -173,6 +173,7 @@ import AppAvatarModule from "@/components/module/app-avatar";
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import { clearLogin,currentInfo } from "@/api/user";
|
|
|
import { list } from "@/mixins";
|
|
|
+import { APIHOST } from '@/config'
|
|
|
export default {
|
|
|
name: "recent",
|
|
|
components: { AppAvatarModule, AppSwiper, TuiListView, TuiListCell, AppActivilyCoupon },
|
|
|
@@ -332,7 +333,7 @@ export default {
|
|
|
},
|
|
|
updateUserAvatar(avatarUrl) {
|
|
|
let token = uni.getStorageSync('token') || ''
|
|
|
- let url = 'http://api.shop.theflorist.cn/upload/save-file?actType=saveAvatar'
|
|
|
+ let url = APIHOST+'/upload/save-file?actType=saveAvatar'
|
|
|
uni.uploadFile({
|
|
|
url: url,
|
|
|
filePath: avatarUrl,
|
|
|
@@ -346,7 +347,7 @@ export default {
|
|
|
if (ret.code == 1) {
|
|
|
//无操作
|
|
|
} else {
|
|
|
- uni.showToast({ title: data.msg, icon: 'none' });
|
|
|
+ uni.showToast({ title: ret.msg, icon: 'none' })
|
|
|
}
|
|
|
},
|
|
|
fail: () => uni.showToast({ title: '上传失败', icon: 'none' })
|
|
|
@@ -481,7 +482,7 @@ page {
|
|
|
display: block;
|
|
|
color: #ffffff;
|
|
|
font-size: 44upx;
|
|
|
- font-weight: 600;
|
|
|
+ font-weight: bold;
|
|
|
margin-bottom: 8upx;
|
|
|
text-shadow: 0 2upx 4upx rgba(0, 0, 0, 0.1);
|
|
|
line-height: 1.2;
|