以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 关于手机表单优化 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=151056) |
-- 作者:lisangyu -- 发布时间:2020/6/14 8:40:00 -- 关于手机表单优化 If e.PostValues.Count = 0 Then wb.AddForm("","车辆维修申请表","clwx.htm") With wb.AddInputGroup("车辆维修申请表","ipg1","维修资料") .AddInput("车牌号","车牌号","text") .AddInput("驾驶员","驾驶员","text") .AddInput("所属部门","所属部门","text") .AddInput("车辆类型","车辆类型","text") .AddSelect("维修类型","维修类型","正常保养|一般维修|大修|大保养") .AddInput("维修厂","维修厂","text") .AddInput("经办人","经办人","text") .AddInput("填报日期","日期时间","datetime-local") .AddInput("维修金额","维修金额","number").Step = "0.01" End With
With wb.AddInputGroup("车辆维修申请表","ipg2","申请部门填写")
.AddTextArea("申请部门填写",5).Placeholder = "请将控制在输入200字以内"
.AddUploader("维修照片","照片",True) \'True表示允许上传多个文件
End with
With wb.AddInputGroup("车辆维修申请表","ipg3","管理部门填写")
.AddTextArea("管理部门填写",5).Placeholder = "请将控制在输入200字以内"
End With
With wb.AddInputGroup("车辆维修申请表","ipg4","厂家填写填写")
.AddTextArea("厂家填写",5).Placeholder = "请将控制在输入200字以内"
.AddUploader("维修现场","照片1",True) \'True表示允许上传多个文件
End With With wb.AddButtonGroup("车辆维修申请表","btg1",True) .Add("btn1", "确定", "submit") End With e.WriteString(wb.Build) \'生成网页 怎么调整文本和多行文本的位置和大小,例如让 .AddInput("车牌号","车牌号","text") .AddInput("驾驶员","驾驶员","text") 两个输入文本的位置调整为水平并列,一个在左,一个在右,再调整输入框大小。多行文本一样。因为工作流的表单内容多,只能优化,蓝总weui框架要怎么做?谢谢! |
-- 作者:有点蓝 -- 发布时间:2020/6/14 20:29:00 -- weui框架没有办法调整2个文本框水平并列。除非使用原生的html,或者第三方框架 |