iceand
iceand
  • 发布:2024-11-26 21:52
  • 更新:2024-11-26 21:52
  • 阅读:18

求助,我这边的代码就只有样式和组件,报错Cannot create property 'code' on string 'load_transformed failed

分类:uni-app x

我这边的代码就只有样式和组件

想运行一下到模拟器报错

Cannot create property 'code' on string 'load_transformed failed  
19:21:41.632 Caused by:  
19:21:41.632     0: Bundler.load() failed  
19:21:41.632     1: Bundler.loader.load(D:\phpstudy_pro\vue\hrapp\unpackage\dist\dev\.uvue\pages\user\user.uvue?type=page) failed  
19:21:41.632     2:   
19:21:41.632          x Identifier cannot follow number  
19:21:41.632             at pages/user/user.uvue:290:1  
19:21:41.632         287 |     ])  
19:21:41.633         288 |   ], 4 /* STYLE */)  
19:21:41.633         289 | }  
19:21:41.633         290 | const GenPagesUserUserStyles = [utsMapOf([["pageinfo", padStyleMapOf(utsMapOf([["backgroundColor", "#F5F5F3"]]))], ["basics", utsMapOf([[".pageinfo ", utsMapOf([["width", "750rpx"], ["height", "720rpx"], ["position", "relative"]])]])], ["bgimg", utsMapOf([[".pageinfo .basics ", utsMapOf([["position", "absolute"], ["width", "750rpx"], ["height", "720rpx"], ["top", 0], ["left", 0], ["zIndex", 1], ["backgroundColor", "rgba(255,255,255,0.2)"]])]])], ["data_num", utsMapOf([[".pageinfo .basics ", utsMapOf([["position", "absolute"], ["width", "750rpx"], ["height", "160rpx"], ["bottom", 0], ["left", 0], ["zIndex", 2], ["flexDirection", "row"]])]])], ["numitem", utsMapOf([[".pageinfo .basics .data_num ", utsMapOf([["width", "250rpx"], ["height", "160rpx"], ["justifyContent", "center"], ["alignItems", "center"]])]])], ["num", utsMapOf([[".pageinfo .basics .data_num .numitem ", utsMapOf([["fontSize", "48rpx"], ["fontWeight", "bold"], ["marginBottom", "10rpx"]])]])], ["tips", utsMapOf([[".pageinfo .basics .data_num .numitem ", utsMapOf([["fontSize", "28rpx"], ["color", "#292824"]])]])], ["basics_content", utsMapOf([[".pageinfo .basics ", utsMapOf([["width", "750rpx"], ["height", "720rpx"], ["position", "relative"], ["zIndex", 2], ["justifyContent", "center"], ["alignItems", "center"]])]])], ["seticon", utsMapOf([[".pageinfo .basics .basics_content ", utsMapOf([["position", "absolute"], ["width", "48rpx"], ["height", "48rpx"], ["top", calc(CSS_VAR_STATUS_BAR_HEIGHT   CSS_VAR_WINDOW_TOP   20rpx)], ["right", "20rpx"]])]])], ["headimgnickname", utsMapOf([[".pageinfo .basics .basics_content ", utsMapOf([["overflow", "visible"], ["alignItems", "center"]])]])], ["headimg", utsMapOf([[".pageinfo .basics .basics_content .headimgnickname ", utsMapOf([["width", "200rpx"], ["height", "200rpx"], ["borderWidth", "6rpx"], ["borderStyle", "solid"], ["borderColor", "#FFD520"], ["borderRadius", "24rpx"], ["boxShadow", "12rpx 0rpx 20rpx 12rpx #fff"]])]])], ["img", utsMapOf([[".pageinfo .basics .basics_content .headimgnickname .headimg ", utsMapOf([["width", "100%"], ["height", "100%"]])], [".pageinfo .card .list .left ", utsMapOf([["width", "48rpx"], ["height", "48rpx"], ["marginRight", "28rpx"]])], [".pageinfo .card .list .right ", utsMapOf([["width", "48rpx"], ["height", "48rpx"]])]])], ["nickname", utsMapOf([[".pageinfo .basics .basics_content .headimgnickname ", utsMapOf([["marginTop", "18rpx"]])]])], ["t", utsMapOf([[".pageinfo .basics .basics_content .headimgnickname .nickname ", utsMapOf([["fontFamily", "MiSans, MiSans"], ["textAlign", "center"], ["color", "#292824"], ["fontSize", "36rpx"], ["lineHeight", "48rpx"], ["fontWeight", "400"]])], [".pageinfo .basics .basics_content .headimgnickname .nbtn ", utsMapOf([["fontSize", "28rpx"], ["color", "#747474"]])], [".pageinfo .card .list .left ", utsMapOf([["fontWeight", "400"], ["fontSize", "32rpx"], ["fontFamily", "MiSans-Regular"]])]])], ["nbtn", utsMapOf([[".pageinfo .basics .basics_content .headimgnickname ", utsMapOf([["marginTop", "10rpx"]])]])], ["card", utsMapOf([[".pageinfo ", utsMapOf([["backgroundColor", "#ffffff"], ["marginBottom", "20rpx"]])]])], ["list", utsMapOf([[".pageinfo .card ", utsMapOf([["boxSizing", "border-box"], ["width", "750rpx"], ["height", "112rpx"], ["paddingTop", 0], ["paddingRight", "30rpx"], ["paddingBottom", 0], ["paddingLeft", "30rpx"], ["flexDirection", "row"], ["justifyContent", "space-between"], ["alignItems", "center"]])]])], ["left", utsMapOf([[".pageinfo .card .list ", utsMapOf([["flexDirection", "row"], ["alignItems", "center"]])]])], ["right", utsMapOf([[".pageinfo .card .list ", utsMapOf([["flexDirection", "row"], ["alignItems", "center"]])]])], ["fans", utsMapOf([[".pageinfo .card .list .right ", utsMapOf([["width", "112rpx"], ["flexDirection", "row"]])]])], ["fan", utsMapOf([[".pageinfo .card .list .right .fans ", utsMapOf([["width", "48rpx"], ["height", "48rpx"], ["borderRadius", "24rpx"], ["marginRight", -8]])]])], ["text", utsMapOf([[".pageinfo .card .list .right ", utsMapOf([["fontSize", "32rpx"], ["color", "#747474"], ["fontFamily", "MiSans-Regular"]])]])], ["logout", utsMapOf([[".pageinfo ", utsMapOf([["width", "600rpx"], ["height", "98rpx"], ["lineHeight", "98rpx"], ["alignItems", "center"], ["justifyContent", "center"], ["borderRadius", "20rpx"], ["color", "#ffffff"], ["backgroundColor", "#292824"], ["fontSize", "40rpx"], ["marginTop", "50rpx"], ["marginRight", "auto"], ["marginBottom", 0], ["marginLeft", "auto"]])]])]])]  
19:21:41.636             :                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^  
19:21:41.638         291 |   
19:21:41.638         292 | import _imports_0 from '@/static/icon/set.png'  
19:21:41.638         293 | import _imports_1 from '@/static/icon/headimg.jpg'  
19:21:41.638             `----  
19:21:41.638          
19:21:41.638     3: Syntax Error'
2024-11-26 21:52 负责人:无 分享
已邀请:

要回复问题请先登录注册