1
![choin](https://img-cdn-tc.dcloud.net.cn/account/identicon/67cd41929e530fbef74cf4ec4196aa54.png)
- 发布:2020-12-06 18:44
- 更新:2021-11-06 15:23
- 阅读:634
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win10
HBuilderX类型: 正式
HBuilderX版本号: 2.9.8
手机系统: Android
手机系统版本号: Android 10
手机厂商: 小米
手机机型: 红米note7
页面类型: nvue
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
1
1
实际结果:
1
1
bug描述:
reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught SyntaxError: Unexpected string
<template>
<view class="page-bg flex-col">
<c-navbar title="支付"></c-navbar>
<c-page-scroll>
<view class="relative">
<view class="head-bg"></view>
<view class="totalAmount">
<text class="totalAmount-text">共计:80.00 元</text>
</view>
<view class="whiteBox">
<text>qwelkqwjeqlwkejqwelkj
qwe
qw
ewq
ew</text>
</view>
</view>
</c-page-scroll>
</view>
</template>
<script>
import globalFunction from '@/common/global_function.js'
export default {
mixins: [globalFunction],
data() {
return {
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss">
.relative {
position: relative;
}
.head {
&-bg {
background-image: linear-gradient(to right, #1c86fe, #94C6FE);
width: 750rpx;
height: 150;
}
}
.totalAmount {
position: absolute;
left: 0;
top: 0;
&-text {
color: #ffffff;
}
}
.whiteBox {
position: absolute;
left: 30rpx;
top: 150rpx;
width: 690rpx;
background-color: #ffffff;
padding: 20rpx;
border-radius: 20rpx;
}
</style>
我是电脑卡了,然后在<text>这里胡乱输入的时候,速度很快</text> 然后hx整个卡掉,然后点击启动hx,然后连接手机
再进行编译后,再次差量就这样白屏了
2 个回复
choin (作者)
如何解决?
重启hx并无解决,依然出现错误提示
1***@qq.com
兄弟,解决了吗?我也遇到了。。。