|
@@ -87,6 +87,7 @@ export const musicScoreRef = ref();
|
|
|
export default defineComponent({
|
|
|
name: "music-list",
|
|
|
setup() {
|
|
|
+ const browsInfo = browser();
|
|
|
const query: any = getQuery();
|
|
|
|
|
|
const detailData = reactive({
|
|
@@ -105,7 +106,8 @@ export default defineComponent({
|
|
|
// console.log("🚀 ~ screenData:", screenData.content);
|
|
|
const { isSpecialShapedScreen, notchHeight } = screenData.content;
|
|
|
if (isSpecialShapedScreen) {
|
|
|
- detailData.paddingLeft = 25 + "px";
|
|
|
+ // 安卓取刘海值
|
|
|
+ detailData.paddingLeft = browsInfo.android ? notchHeight : 26 + "px";
|
|
|
}
|
|
|
}
|
|
|
};
|
|
@@ -411,7 +413,6 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
);
|
|
|
- const browsInfo = browser();
|
|
|
const handleOpenFignerView = () => {
|
|
|
if (!query.modelType) {
|
|
|
detailData.orientation = state.fingeringInfo.orientation || 0;
|