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

QQ登录

只需一步,快速开始

查看: 3836|回复: 8

[结贴] 3.7调整windows样式

[复制链接]

423

主题

813

帖子

3033

积分

论坛元老

Rank: 8Rank: 8

积分
3033
QQ
发表于 2017-8-14 09:39:34 | 显示全部楼层 |阅读模式
windows距离最下边有点距离,在w页面设置了windows属性x-full-screen属性,下面还是有点距离,
QQ截图20170814094154.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2017-8-14 10:26:21 | 显示全部楼层
这个高度什么地方设置的?
window.png
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

423

主题

813

帖子

3033

积分

论坛元老

Rank: 8Rank: 8

积分
3033
QQ
 楼主| 发表于 2017-8-15 11:08:02 | 显示全部楼层
jishuang 发表于 2017-8-14 10:26
这个高度什么地方设置的?

没有设置,自动的
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2017-8-15 14:04:13 | 显示全部楼层
平台默认的功能页显示也这样?自己修改过portal吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

423

主题

813

帖子

3033

积分

论坛元老

Rank: 8Rank: 8

积分
3033
QQ
 楼主| 发表于 2017-8-17 13:37:23 | 显示全部楼层
jishuang 发表于 2017-8-15 14:04
平台默认的功能页显示也这样?自己修改过portal吗?

没有做过任何修改<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window x-full-screen" component="$UI/system/components/justep/window/window"
  design="device:pc">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:238px;left:353px;">
    <div component="$UI/system/components/justep/data/bizData" autoLoad="true"
      xid="treeData" concept="XMPM_WZFLB" isTree="true" autoNew="false" orderBy="fPXH asc" limit="-1" confirmRefresh="false">
      <reader xid="default1" action="/baseCommon/logic/action/queryXMPM_WZFLBAction"/>  
      <writer xid="default2" action="/baseCommon/logic/action/saveXMPM_WZFLBAction"/>  
      <creator xid="default3" action="/baseCommon/logic/action/createXMPM_WZFLBAction"/>  
      <treeOption xid="default7" parentRelation="fSJID" nodeKindRelation="fJDLX" delayLoad="true"/>
    <rule xid="rule1">
   <col name="fMC" xid="ruleCol4">
    <readonly xid="readonly4">
     <expr xid="default8">$model.treeData.val(&quot;fZT&quot;) =='启用'</expr></readonly>
    <required xid="required1">
     <expr xid="default4">true</expr>
     <message xid="default5">【物资名称】不能为空!</message></required> </col>
   <col name="fJCM" xid="ruleCol5">
    <readonly xid="readonly5">
     <expr xid="default9"></expr></readonly>
    <required xid="required2">
     <expr xid="default12"></expr>
     <message xid="default13"></message></required> </col>
   <col name="fBZ" xid="ruleCol6">
    <readonly xid="readonly6">
     <expr xid="default10">$model.treeData.val(&quot;fZT&quot;) =='启用'</expr></readonly> </col>
   <col name="fZT" xid="ruleCol7">
    <readonly xid="readonly7">
     <expr xid="default11">true</expr></readonly> </col>
   <col name="fPXH" xid="ruleCol1">
    <readonly xid="readonly1">
     <expr xid="default14">$model.treeData.val(&quot;fZT&quot;) =='启用'</expr></readonly>
    <required xid="required3">
     <message xid="default15"></message>
     <expr xid="default16"></expr></required> </col> </rule></div>
  </div>  
  <span component="$UI/system/components/justep/windowDialog/windowDialog" xid="windowDialog2" style="left:271px;top:45px;" src="$UI/XM_PM/M_WZGL/process/F_WZFL/moveActivity.w" title="移动到" showTitle="true" status="normal" forceRefreshOnOpen="true" width="60%" height="80%"></span><div component="$UI/system/components/justep/panel/panel" class="x-panel" xid="panel1" style="height:100%;width:100%;">
   <div class="x-panel-top" xid="top1" height="60"><div component="$UI/system/components/justep/toolBar/toolBar" class="x-toolbar form-inline x-toolbar-spliter" xid="toolBar1" style="height:100%;width:100%;">

  <div class="dropdown btn-group" component="$UI/system/components/bootstrap/dropdown/dropdown" xid="dropdown1">
   <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left dropdown-toggle" label="新增" icon="icon-plus-round" xid="button1">
    <i class="icon-plus-round" xid="i1"></i>
    <span xid="span1">新增</span></a>
   <ul component="$UI/system/components/justep/menu/menu" class="x-menu dropdown-menu" xid="menu1">
    <li class="x-menu-item" xid="item1">
     <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" xid="btn_new" label="新建根" icon="icon-plus-round">
   <i xid="i13" class="icon-plus-round"></i>
   <span xid="span13">新建根</span></a></li>
    <li class="x-menu-item" xid="item2">
     <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" xid="btn_newChild" label="新增子" icon="icon-plus-round">
   <i xid="i14" class="icon-plus-round"></i>
   <span xid="span14">新增子</span></a></li>
  <li class="x-menu-item" xid="item3">
   <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" xid="btn_newBrother" label="新增兄弟" icon="icon-plus-round">
   <i xid="i15" class="icon-plus-round"></i>
   <span xid="span15">新增兄弟</span></a></li>

  </ul> </div><a component="$UI/system/components/justep/button/button" class="btn btn-link" label="删除" xid="button6" icon="icon-android-remove" bind-disable=" $model.WZYP(event)">
      <i xid="i7" class="icon-android-remove"></i>
      <span xid="span7">删除</span></a><a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-left" xid="button8">
   <i xid="i8"></i>
   <span xid="span8"></span></a><a component="$UI/system/components/justep/button/button" class="btn btn-link" label="刷新" xid="button7">
      <i xid="i9"></i>
      <span xid="span9">刷新</span></a>

  <div class="dropdown btn-group" component="$UI/system/components/bootstrap/dropdown/dropdown" xid="dropdown2">
   <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-icon-right dropdown-toggle" label="更多" icon="icon-arrow-down-b" xid="button5">
    <i class="icon-arrow-down-b" xid="i6"></i>
    <span xid="span6">更多</span></a>
   <ul component="$UI/system/components/justep/menu/menu" class="x-menu dropdown-menu" xid="menu2">
    <li class="x-menu-item" xid="item6">
    <a component="$UI/system/components/justep/button/button" class="btn btn-link" label="移动" xid="butMove" icon="icon-forward" bind-disable=" $model.WZYP(event)">
    <i xid="i10" class="icon-forward"></i>
    <span xid="span10">移动</span></a></li>
  <li class="x-menu-item" xid="item7">
   <a component="$UI/system/components/justep/button/button" class="btn btn-link" label="启用" xid="butQY" icon="icon-checkmark-circled" bind-disable=" $model.WZYP(event)">
    <i xid="i11" class="icon-checkmark-circled"></i>
    <span xid="span11">启用</span></a> </li>
  <li class="x-menu-item" xid="item8">
   <a component="$UI/system/components/justep/button/button" class="btn btn-link" label="禁用" xid="butJY" icon="icon-close-circled" bind-disable=" $model.WZYP(event)">
    <i xid="i12" class="icon-close-circled"></i>
    <span xid="span12">禁用</span></a> </li>

  </ul> </div>


  </div></div>
   <div class="x-panel-content" xid="content1">
  <div component="$UI/system/components/justep/grid/grid" hiddenCaptionbar="true" altRows="true" class="x-grid-title-center" xid="gridtreeData" data="treeData" appearance="treeGrid" useVirtualRoot="true" virtualRootLabel="物资用品" height="100%" width="100%" style="text-align:right;" expandColumn="fMC">
   <columns xid="columns1"><column name="fMC" xid="column1" editable="true" width="200"><editor xid="editor4">
   <input component="$UI/system/components/justep/input/input" class="form-control" xid="input5" bind-ref='ref("fMC")'></input></editor></column>
  <column width="200" name="fBM" xid="column2" editable="true"><editor xid="editor1">
   <input component="$UI/system/components/justep/input/input" class="form-control" xid="input2" bind-ref='ref("fBM")'></input></editor></column>
  <column width="100" name="fPXH" xid="column3" editable="true"><editor xid="editor2">
   <input component="$UI/system/components/justep/input/input" class="form-control" xid="input3" bind-ref='ref("fPXH")'></input></editor></column>
  <column width="200" name="fBZ" xid="column5" editable="true"><editor xid="editor5">
   <input component="$UI/system/components/justep/input/input" class="form-control" xid="input6" bind-ref='ref("fBZ")'></input></editor></column><column width="100" name="fZT" xid="column4"><editor xid="editor3">
   <input component="$UI/system/components/justep/input/input" class="form-control" xid="input4" bind-ref='ref("fZT")'></input></editor></column>
  </columns></div></div>
   </div></div>


QQ截图20170817134031.png
回复 支持 反对

使用道具 举报

423

主题

813

帖子

3033

积分

论坛元老

Rank: 8Rank: 8

积分
3033
QQ
 楼主| 发表于 2017-8-17 13:43:34 | 显示全部楼层
youmi 发表于 2017-8-17 13:37
没有做过任何修改

  

应该是pc3的index页面的问题
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2017-8-17 14:53:32 | 显示全部楼层
只有自己的这个功能页有问题吗?


<span component="$UI/system/components/justep/windowDialog/windowDialog" xid="windowDialog2" style="left:271px;top:45px;" src="$UI/XM_PM/M_WZGL/process/F_WZFL/moveActivity.w" title="移动到" showTitle="true" status="normal" forceRefreshOnOpen="true" width="60%" height="80%"></span>上的
style="left:271px;top:45px;"去掉
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

423

主题

813

帖子

3033

积分

论坛元老

Rank: 8Rank: 8

积分
3033
QQ
 楼主| 发表于 2017-8-17 18:19:06 | 显示全部楼层
本帖最后由 youmi 于 2017-8-17 18:21 编辑
jishuang 发表于 2017-8-17 14:53
只有自己的这个功能页有问题吗?


不是的,我发源码的时候,是想让你在本地重新,我也以为是我的问题,但是我所有的功能都是这个样子,包括平台自带的功能也是这样,后来我才看到pc3的index页面,在F12下,section属性里面有个padding:15px的属性,应该是跟这个有关,可是我设置了0px,左右上没距离了,但是下还是有距离
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2017-8-18 10:11:20 | 显示全部楼层
修改了padding的值为0,/UI2/portal/pc3/AdminLTE/js/app.js中最小高度的计算也要修改,把-30去掉
content.png
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-25 22:10 , Processed in 0.066348 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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