mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
细节优化
This commit is contained in:
@ -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
|
||||
};
|
||||
},
|
||||
|
||||
});
|
||||
@ -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 {
|
||||
|
||||
@ -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
|
||||
};
|
||||
},
|
||||
|
||||
});
|
||||
@ -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
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user