dev
test
@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.1.0-B.4](https://git.1000my.com/project-shenyangk11/sy_k11_H_base_daoshi_vue_ts/compare/v1.1.0-B.3...v1.1.0-B.4) (2023-06-01)
### Bug Fixes
* 🧩 店铺名滚动 屏保倒计时圈注掉 圈圈加速修改 ([59fe460](https://git.1000my.com/project-shenyangk11/sy_k11_H_base_daoshi_vue_ts/commit/59fe4608107d78a7d5090e124e2225f4526d4b82))
## [1.1.0-B.3](https://git.1000my.com/project-shenyangk11/sy_k11_H_base_daoshi_vue_ts/compare/v1.1.0-B.2...v1.1.0-B.3) (2023-06-01)
@ -1,12 +1,12 @@
{
"name": "vue_cli_ts",
"version": "1.1.0-B.3",
"version": "1.1.0-B.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"dependencies": {
"@better-scroll/core": "^2.5.0",
"@better-scroll/observe-image": "^2.5.0",
@ -1,6 +1,6 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
@ -51,9 +51,9 @@ function move() {
// }
// console.log('x,y :>> ', x, y)
tip.value.style.transform = `translate(${x}px,${y}px)` //移动它的位置
i += 0.5 //随意设置,与快慢有关,但也会影响35行判断到达最大移动距离时改变颜色,因为它可能加不到等于最大距离的时候
i += 0.75 //随意设置,与快慢有关,但也会影响35行判断到达最大移动距离时改变颜色,因为它可能加不到等于最大距离的时候
//假如最大距离为10,i+=3,那i的值只能为3,6,9,12...则进不了改变颜色那个条件,则到达右边时不会改变颜色
j += 0.5
j += 0.75
x = i
y = j
if (i >= winWidth) {
@ -43,9 +43,12 @@ function handleDetail() {
emits('handle-Detail')
}
watch(shop, () => {
nextTick(() => {
nameWidth.value = nameRef.value.clientWidth
})
const timeId = setTimeout(() => {
clearTimeout(timeId)
}, 400)
</script>
@ -81,7 +81,9 @@ export const useHandleScreen = (callback: () => void) => {
//监听时间 大于等于0且小于等于5时显示弹框
watch([toIndexTime, toWallpaperTime], ([indexTime, wallpaperTime]) => {
if ((indexTime >= MIN_TIME && indexTime <= MAX_TIME) || (wallpaperTime >= MIN_TIME && wallpaperTime <= MAX_TIME)) {
showCountDownDialog.value = true
if (!isWallpaper.value) {
} else {
showCountDownDialog.value = false