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