|
@@ -202,7 +202,7 @@ const config = reactive({
|
|
});
|
|
});
|
|
const search = ref('');
|
|
const search = ref('');
|
|
const t = config.isShanShiPin ? 5 : 1;
|
|
const t = config.isShanShiPin ? 5 : 1;
|
|
-let time_old= undefined;
|
|
|
|
|
|
+let time_old = undefined;
|
|
const phone =
|
|
const phone =
|
|
window.$shanshipin.Phone && window.$shanshipin.Phone != 0
|
|
window.$shanshipin.Phone && window.$shanshipin.Phone != 0
|
|
? window.$shanshipin.Phone
|
|
? window.$shanshipin.Phone
|
|
@@ -241,17 +241,19 @@ const getList = call => {
|
|
item = v;
|
|
item = v;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- time_old = setTimeout(() => {
|
|
|
|
|
|
+ if (item) {
|
|
|
|
+ time_old = setTimeout(() => {
|
|
clickShowVideo(item);
|
|
clickShowVideo(item);
|
|
clearTimeout(time_old);
|
|
clearTimeout(time_old);
|
|
- }, 200);
|
|
|
|
|
|
+ }, 200);
|
|
|
|
+ }
|
|
ids.value = ids_list;
|
|
ids.value = ids_list;
|
|
orilist.value = obj;
|
|
orilist.value = obj;
|
|
call && call();
|
|
call && call();
|
|
});
|
|
});
|
|
};
|
|
};
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
- getList();
|
|
|
|
|
|
+ getList();
|
|
});
|
|
});
|
|
|
|
|
|
const getIndex = key => {
|
|
const getIndex = key => {
|
|
@@ -463,7 +465,7 @@ const clickShowVideo = item => {
|
|
selectItem.value.id +
|
|
selectItem.value.id +
|
|
'v=' +
|
|
'v=' +
|
|
Date.now();
|
|
Date.now();
|
|
- console.log(window.wx)
|
|
|
|
|
|
+ console.log(window.wx);
|
|
if (window.wx.updateAppMessageShareData)
|
|
if (window.wx.updateAppMessageShareData)
|
|
window.wx.updateAppMessageShareData({
|
|
window.wx.updateAppMessageShareData({
|
|
title: selectItem.value.name, // 分享标题
|
|
title: selectItem.value.name, // 分享标题
|