细节优化

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

@ -88,5 +88,16 @@ Page({
// 事件
category_event(e) {
qq.navigateTo({ url: '/pages/goods-search/goods-search?category_id=' + e.currentTarget.dataset.value});
}
},
// 自定义分享
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;
}
@ -242,12 +242,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 {

View File

@ -190,4 +190,16 @@ Page({
});
this.get_data_list(1);
},
// 自定义分享
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

@ -183,10 +183,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
};
},