起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1047|回复: 1

[结贴] scrollView放入panel组件后空白

[复制链接]

11

主题

33

帖子

157

积分

初级会员

Rank: 2

积分
157
QQ
发表于 2016-11-22 23:27:33 | 显示全部楼层 |阅读模式
<?xml version="1.0" encoding="UTF-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window  x-scroll-view" component="$UI/system/components/justep/window/window" design="device:m;" style="width: 100%; height: 100%;">  
  <div component="$UI/system/components/justep/model/model" xid="model"/>

  <div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView" xid="scrollView1">

   <div class="x-scroll-content" xid="div2"><div component="$UI/system/components/justep/panel/panel" class="x-panel x-full" xid="panel1">
   <div class="x-panel-top" xid="top1"><div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar" xid="titleBar1">
   <div class="x-titlebar-left" xid="left1"></div>
   <div class="x-titlebar-title" xid="title1"></div>
   <div class="x-titlebar-right reverse" xid="right1"></div></div></div>
   <div class="x-panel-content" xid="content1"></div>
   <div class="x-panel-bottom" xid="bottom1"></div></div></div>
   </div></div>
以上代码放入 后页面空白

希望获取scrollView的位置来判断是否到达轮播框底部隐藏轮播框但是放入后空白无法获取滚动位置,
目的实现UC那样上滑隐藏上面的导航,将下方的头条界面拉长显示 是否有其他方法?

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35913
发表于 2016-11-23 10:28:33 | 显示全部楼层
可以参考/UI2/demo/taobao/main.w中的
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-4-19 22:32 , Processed in 0.115422 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表