|
@@ -48,7 +48,7 @@
|
|
|
class="horseLamp_list_item"
|
|
class="horseLamp_list_item"
|
|
|
v-for="(item, index) in scrollList"
|
|
v-for="(item, index) in scrollList"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
- :style="{ height: height }"
|
|
|
|
|
|
|
+ :style="{ height: pxCheck(height) }"
|
|
|
@click="go(item)"
|
|
@click="go(item)"
|
|
|
>
|
|
>
|
|
|
{{ item }}
|
|
{{ item }}
|
|
@@ -82,6 +82,7 @@ import {
|
|
|
h
|
|
h
|
|
|
} from 'vue';
|
|
} from 'vue';
|
|
|
import { createComponent } from '@/packages/utils/create';
|
|
import { createComponent } from '@/packages/utils/create';
|
|
|
|
|
+import { pxCheck } from '@/packages/utils/pxCheck';
|
|
|
const { componentName, create } = createComponent('noticebar');
|
|
const { componentName, create } = createComponent('noticebar');
|
|
|
import Taro from '@tarojs/taro';
|
|
import Taro from '@tarojs/taro';
|
|
|
|
|
|
|
@@ -409,7 +410,8 @@ export default create({
|
|
|
onAnimationEnd,
|
|
onAnimationEnd,
|
|
|
go,
|
|
go,
|
|
|
handleClickIcon,
|
|
handleClickIcon,
|
|
|
- slots
|
|
|
|
|
|
|
+ slots,
|
|
|
|
|
+ pxCheck
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|