帖子
帖子
用户
博客
课程
显示全部楼层
10
帖子
0
勋章
32
Y币

[插件使用] clSDKShanYanSDKModule模块 clBackgroundImg 背景图片不展示

[复制链接]
发表于 2021-4-26 10:52:50
sssddd微信图片_20210425184353.png
uuu微信图片_20210425184549.jpg
380
帖子
4
勋章
6
Y币
用网络路径
10
帖子
0
勋章
32
Y币

技术大大 还是不行
clBackgroundImg: "http://helper**.**.cn/shanyanImg/bb4bf6b9301170c7fa0a766b1024d2d3.jpg",
                shouldAutorotate: true,
                /**支持方向
                 * 如支持横竖屏,需同时设置 clOrientationLayOutPortrait 和 clOrientationLayOutLandscape
                 * 0:UIInterfaceOrientationMaskPortrait
                 * 1:UIInterfaceOrientationMaskLandscapeLeft
                 * 2:UIInterfaceOrientationMaskLandscapeRight
                 * 3:UIInterfaceOrientationMaskPortraitUpsideDown
                 * 4:UIInterfaceOrientationMaskLandscape
                 * 5:UIInterfaceOrientationMaskAll
                 * 6:UIInterfaceOrientationMaskAllButUpsideDown
                 * */
                supportedInterfaceOrientations: 5,

                /**偏好方向
                 * -1:UIInterfaceOrientationUnknown
                 * 0:UIInterfaceOrientationPortrait
                 * 1:UIInterfaceOrientationPortraitUpsideDown
                 * 2:UIInterfaceOrientationLandscapeLeft
                 * 3:UIInterfaceOrientationLandscapeRight
                 * */
                //偏好方向默认Portrait preferredInterfaceOrientationForPresentation: Number(5),

                clNavigationBackgroundClear: true, //导航栏透明
                clNavigationBackBtnImage: "widget://img/close-white.png", //返回按钮图片
                clNavBackBtnAlimentRight: false, //返回按钮居右,设置自定义导航栏返回按钮时,以自定义为准

                clLogoImage: 'widget://img/shanyanlogo2.png', //logo图片

                clLoginBtnText: "本机号码一键登录", //一键登录按钮文字
                                clLoginBtnTextColor: [1, 1, 1, 1.0], //rgba
380
帖子
4
勋章
6
Y币
昇 发表于 2021-4-26 11:20
技术大大 还是不行
clBackgroundImg: "http://helper**.**.cn/shanyanImg/bb4bf6b9301170c7fa ...

https://community.apicloud.com/bbs/thread-147870-1-1.html
用这个帖子示例代码运行看看
您需要登录后才可以回帖 登录

本版积分规则