|
@@ -445,18 +445,22 @@
|
|
|
text-rendering: optimizeLegibility;
|
|
text-rendering: optimizeLegibility;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .fab__brand {
|
|
|
|
|
|
|
+ .fab__brand-clip {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ width: 50px;
|
|
|
|
|
+ height: 20px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
- font-size: 17px;
|
|
|
|
|
- font-weight: 700;
|
|
|
|
|
- line-height: 1;
|
|
|
|
|
- letter-spacing: -0.02em;
|
|
|
|
|
- white-space: nowrap;
|
|
|
|
|
|
|
+ line-height: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .fab__brand-u {
|
|
|
|
|
- font-weight: 800;
|
|
|
|
|
- font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
|
|
|
|
|
|
|
+ .fab__brand-img {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ height: 20px;
|
|
|
|
|
+ width: auto;
|
|
|
|
|
+ max-width: none;
|
|
|
|
|
+ pointer-events: none;
|
|
|
|
|
+ -webkit-user-drag: none;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.fab__label {
|
|
.fab__label {
|
|
@@ -569,7 +573,9 @@
|
|
|
<div class="fab-dock__slot">
|
|
<div class="fab-dock__slot">
|
|
|
<!-- 与 secondShareGoods 相同顺序:openApp 在下,launch-btn 在上,避免挡住点击 -->
|
|
<!-- 与 secondShareGoods 相同顺序:openApp 在下,launch-btn 在上,避免挡住点击 -->
|
|
|
<button type="button" class="fab" id="openApp" aria-label="APP内打开">
|
|
<button type="button" class="fab" id="openApp" aria-label="APP内打开">
|
|
|
- <span class="fab__brand" aria-hidden="true"><span class="fab__brand-u">U</span>店</span>
|
|
|
|
|
|
|
+ <span class="fab__brand-clip" aria-hidden="true">
|
|
|
|
|
+ <img class="fab__brand-img" src="images/uBtn.png" alt="" decoding="async">
|
|
|
|
|
+ </span>
|
|
|
<span class="fab__label">APP内打开</span>
|
|
<span class="fab__label">APP内打开</span>
|
|
|
</button>
|
|
</button>
|
|
|
<wx-open-launch-app id="launch-btn" appid="wxf5f1efe3a9f5012e" extinfo="">
|
|
<wx-open-launch-app id="launch-btn" appid="wxf5f1efe3a9f5012e" extinfo="">
|
|
@@ -596,14 +602,21 @@
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
- .wx-open-app-btn .fab__brand {
|
|
|
|
|
- font-size: 17px;
|
|
|
|
|
- font-weight: 700;
|
|
|
|
|
- line-height: 1;
|
|
|
|
|
- white-space: nowrap;
|
|
|
|
|
|
|
+ .wx-open-app-btn .fab__brand-clip {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ width: 50px;
|
|
|
|
|
+ height: 20px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ line-height: 0;
|
|
|
}
|
|
}
|
|
|
- .wx-open-app-btn .fab__brand-u {
|
|
|
|
|
- font-weight: 800;
|
|
|
|
|
|
|
+ .wx-open-app-btn .fab__brand-img {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ height: 20px;
|
|
|
|
|
+ width: auto;
|
|
|
|
|
+ max-width: none;
|
|
|
|
|
+ pointer-events: none;
|
|
|
|
|
+ -webkit-user-drag: none;
|
|
|
}
|
|
}
|
|
|
.wx-open-app-btn .fab__label {
|
|
.wx-open-app-btn .fab__label {
|
|
|
font-size: 15px;
|
|
font-size: 15px;
|
|
@@ -614,7 +627,9 @@
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
<button class="wx-open-app-btn" aria-label="APP内打开">
|
|
<button class="wx-open-app-btn" aria-label="APP内打开">
|
|
|
- <span class="fab__brand" aria-hidden="true"><span class="fab__brand-u">U</span>店</span>
|
|
|
|
|
|
|
+ <span class="fab__brand-clip" aria-hidden="true">
|
|
|
|
|
+ <img class="fab__brand-img" src="https://test.ailien.shop/h5/HBuilderProjects/images/uBtn.png" alt="" decoding="async">
|
|
|
|
|
+ </span>
|
|
|
<span class="fab__label">APP内打开</span>
|
|
<span class="fab__label">APP内打开</span>
|
|
|
</button>
|
|
</button>
|
|
|
</script>
|
|
</script>
|