细节优化

This commit is contained in:
devil
2020-04-20 13:58:42 +08:00
parent 840f1bc00f
commit df3b9ffd46
36 changed files with 216 additions and 98 deletions

View File

@ -101,4 +101,15 @@ Page({
});
},
// 自定义分享
onShareAppMessage() {
var user = app.get_user_cache_info() || null;
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
return {
title: app.data.application_title,
desc: app.data.application_describe,
path: '/pages/goods-category/goods-category?referrer=' + user_id
};
},
});

View File

@ -1,5 +1,5 @@
.goods-photo .swiper-item, swiper {
height: 65vh !important;
height: 55vh !important;
display: block;
}
@ -241,12 +241,12 @@
}
.goods-video video {
width: 100%;
height: 65vh;
height: 55vh;
}
.goods-video-submit {
position: absolute;
left: 30rpx;
top: calc(65vh - 110rpx);
top: calc(55vh - 110rpx);
z-index: 2;
}
.goods-video-submit image, .cover-goods-video-close {

View File

@ -201,4 +201,15 @@ Page({
});
},
// 自定义分享
onShareAppMessage() {
var user = app.get_user_cache_info() || null;
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
return {
title: app.data.application_title,
desc: app.data.application_describe,
path: '/pages/goods-search/goods-search?referrer=' + user_id
};
},
});

View File

@ -186,10 +186,12 @@ Page({
// 自定义分享
onShareAppMessage() {
var user = app.get_user_cache_info() || null;
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
return {
title: app.data.application_title,
desc: app.data.application_describe,
path: '/pages/index/index?share=index'
path: '/pages/index/index?referrer=' + user_id
};
},