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

QQ登录

只需一步,快速开始

查看: 1143|回复: 1

[暂结贴(7天未回复)] 三星I9300 button relative定位显示异常

[复制链接]

21

主题

81

帖子

252

积分

中级会员

Rank: 3Rank: 3

积分
252
发表于 2016-3-14 16:08:05 | 显示全部楼层 |阅读模式
I9300显示 I9300.jpg                      小米4显示 小米4.png

I9300: 安卓版本4.3
小米4:MIUI:7.1稳定版 安卓版本4.4.4

红色区域为button样式,没使用增强浏览器,使用增强浏览器没问题但是文件太大 内存小的手机运行很卡 ,请问怎么解决这个定位问题?

完整代码:
  1.     <table component="$UI/system/components/justep/list/list" class="x-list" xid="list3" data="data_deviceList">
  2.         <thead xid="thead2">
  3.           <tr xid="tr3">
  4.             <th xid="default10" />
  5.           </tr>
  6.         </thead>  
  7.         <tbody class="x-list-template" xid="listTemplate2">
  8.           <tr xid="tr4">
  9.             <td xid="td4">
  10.               <div xid="div3" style="height:auto;width:253px;border-style:solid solid solid solid;border-width:0px 1px 1px 1px;border-color:#C0C0C0 #C0C0C0 #C0C0C0 #C0C0C0;background-color:#FFFFFF;">
  11.                 <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1">
  12.                   <div class="x-col" xid="col1" style="width:75%;">
  13.                     <div component="$UI/system/components/justep/output/output" class="x-output" xid="output8" bind-ref="ref('name')" style="width:100%;" />
  14.                   </div>  
  15.                   <div class="x-col" xid="col11" style="width:25%;">
  16.                     <a component="$UI/system/components/justep/button/button" class="btn btn-default" label="连接" xid="button_connect" onClick="button_connectClick" <font color="#ff0000">style="position:relative;left:50px;background-color: #fd2250"</font>>
  17.                       <i xid="i1" />  
  18.                       <span xid="span1">连接</span>
  19.                     </a>
  20.                   </div>
  21.                 </div>  
  22.                 <div component="$UI/system/components/justep/row/row" class="x-row" xid="row3">
  23.                   <div class="x-col" xid="col8">
  24.                     <div component="$UI/system/components/justep/output/output" class="x-output" xid="output9" bind-ref="ref('address')" />
  25.                   </div>
  26.                 </div>
  27.               </div>
  28.             </td>
  29.           </tr>
  30.         </tbody>
  31.       </table>
复制代码






发表于 2016-3-14 17:49:03 | 显示全部楼层
4.4以下版本,需要打包增强型浏览器!4.4以上版本则不需要打包增强型浏览器!
你再重新打包试试吧!另外打包参考外卖案例看是否正常?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-28 15:33 , Processed in 0.105636 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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