|
|
|
|
@ -110,9 +110,20 @@ export default class DeviceConnectPopup extends Component<any, any> {
|
|
|
|
|
<View
|
|
|
|
|
className={classnames("common-popup-title", "margin-samll")}
|
|
|
|
|
>
|
|
|
|
|
{data.bluetoothConnectingTitle}
|
|
|
|
|
{data.model === "WL200" && (
|
|
|
|
|
<Block>
|
|
|
|
|
{currentDeviceType !== "WE200"
|
|
|
|
|
? data.bluetoothConnectingTitle
|
|
|
|
|
: data.we200BluetoothConnectingTitle}
|
|
|
|
|
</Block>
|
|
|
|
|
)}
|
|
|
|
|
{data.model !== "WL200" && (
|
|
|
|
|
<Block>{data.bluetoothConnectingTitle}</Block>
|
|
|
|
|
)}
|
|
|
|
|
</View>
|
|
|
|
|
<View className="device-popup-content-box">
|
|
|
|
|
{data.model === "WL200" && (
|
|
|
|
|
<Block>
|
|
|
|
|
{!this.isImage(data.bluetoothConnecting) ? (
|
|
|
|
|
<Video
|
|
|
|
|
className="videos"
|
|
|
|
|
@ -122,7 +133,37 @@ export default class DeviceConnectPopup extends Component<any, any> {
|
|
|
|
|
enablePlayGesture
|
|
|
|
|
showFullscreenBtn={false}
|
|
|
|
|
playBtnPosition="center"
|
|
|
|
|
src={encodeURIComponent(data.bluetoothConnecting)}
|
|
|
|
|
src={
|
|
|
|
|
currentDeviceType !== "WE200"
|
|
|
|
|
? data.bluetoothConnecting
|
|
|
|
|
: data.we200BluetoothConnecting
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
) : (
|
|
|
|
|
<Image
|
|
|
|
|
className="images"
|
|
|
|
|
src={
|
|
|
|
|
currentDeviceType !== "WE200"
|
|
|
|
|
? data.bluetoothConnecting
|
|
|
|
|
: data.we200BluetoothConnecting
|
|
|
|
|
}
|
|
|
|
|
mode="aspectFill"
|
|
|
|
|
/>
|
|
|
|
|
)}
|
|
|
|
|
</Block>
|
|
|
|
|
)}
|
|
|
|
|
{data.model !== "WL200" && (
|
|
|
|
|
<Block>
|
|
|
|
|
{!this.isImage(data.bluetoothConnecting) ? (
|
|
|
|
|
<Video
|
|
|
|
|
className="videos"
|
|
|
|
|
autoplay
|
|
|
|
|
loop
|
|
|
|
|
objectFit="cover"
|
|
|
|
|
enablePlayGesture
|
|
|
|
|
showFullscreenBtn={false}
|
|
|
|
|
playBtnPosition="center"
|
|
|
|
|
src={data.bluetoothConnecting}
|
|
|
|
|
/>
|
|
|
|
|
) : (
|
|
|
|
|
<Image
|
|
|
|
|
@ -131,6 +172,8 @@ export default class DeviceConnectPopup extends Component<any, any> {
|
|
|
|
|
mode="aspectFill"
|
|
|
|
|
/>
|
|
|
|
|
)}
|
|
|
|
|
</Block>
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
<View className="blue-device-tips">
|
|
|
|
|
{currentDeviceType === "WE200" && (
|
|
|
|
|
|