修改分享和轮播显示

master
于肖磊 2024-12-16 18:56:57 +08:00
parent 0685eb53b2
commit 9f54dfc97e
4 changed files with 7 additions and 9 deletions

View File

@ -7,10 +7,10 @@
data: {
//
//
request_url:'https://san.shopxo.vip/',
request_url:'https://shopxo.com/',
// publicpublichttps://d1.shopxo.vip/public/
static_url:'https://san.shopxo.vip/',
static_url:'https://shopxo.com/',
// default
system_type: 'default',

View File

@ -168,8 +168,8 @@
const width = sys_width - margin_left - margin_right - padding_left - padding_right - this.propOuterContainerPadding;
const scale = width / 390;
this.setData({
form: this.propValue.content,
new_style: this.propValue.style,
form: new_form,
new_style: new_style,
seat_list: this.get_seat_list(new_form),
new_list: new_form.carousel_list.concat(this.get_seat_list(new_form)),
popup_width: block * 16 * 2 + 'rpx', // 16:9
@ -229,7 +229,7 @@
return '';
}
if (!isEmpty(form.carousel_list[actived_index]?.style?.background_img)) {
return background_computer(form.carousel_list[actived_index].style) + (form?.is_background_img_blur == '1' ? `filter: blur(14px);opacity: 0.8;` : '');
return background_computer(form.carousel_list[actived_index].style) + (form?.is_background_img_blur == '1' ? `filter: blur(14px);opacity: 0.6;` : '');
}
return '';
},

View File

@ -173,7 +173,7 @@
},
get_swiper_bg_img_style(form, actived_index) {
if (!isEmpty(form.carousel_list[actived_index]?.style?.background_img)) {
return background_computer(form.carousel_list[actived_index].style) + (form?.is_background_img_blur == '1' ? `filter: blur(14px);opacity: 0.8;` : '');
return background_computer(form.carousel_list[actived_index].style) + (form?.is_background_img_blur == '1' ? `filter: blur(14px);opacity: 0.6;` : '');
}
return '';
},

View File

@ -200,7 +200,6 @@
//
var provider = e.currentTarget.dataset.provider;
var scene = e.currentTarget.dataset.scene || null;
//
var share = app.globalData.share_content_handle(this.share_info || {});
var img = this.images || share.img;
@ -213,7 +212,7 @@
// #ifdef APP
// id
if (scene == 'WXSceneSession') {
var weixin_original_id = app.globalData.get_config('config.common_app_mini_weixin_share_original_id', null);
var weixin_original_id = app.globalData.get_config('config.common_app_mini_weixin_share_original_id') || null;
if (weixin_original_id != null) {
type = 5;
miniProgram = {
@ -230,7 +229,6 @@
this.setData({
popup_status: false,
});
//
uni.share({
provider: provider,