With ExWeUI.WebUI.AddListGroup("page1", "lst01", 1)
wb.AppendHTML("<style>.exui-list-other{width: 100%;}</style>") '为了显示内容的横向底色可以满屏幕(1)共5步,在js文件中还有一个函数
For Each dr As DataRow In drs
Dim txt As String = "<p>发布日期:" & dr("发布日期") & "<br/>"
With .AddList(dr("菜品名称"), "./Attachments/" & dr("菜品图片") , "renamecx_name.htm?name=" & dr("_Identify"))
.TextStyle = "color:black;font-size:17px;text-align: center;" '字体颜色,字体大小
.ImageWidth = 100 '图片大小
With .LeftFooter
.AddFoot(dr("菜品价格") & "元" & dr("单位")).Attribute = "style='color:red;font-size:13px'"
End With
'插入传送数据
Dim ipg As ExWeUI.ExInputGroup = ExWeUI.WebUI.AddInputGroup("", "ipg" & dr("菜品名称"), "")
With ipg.AddSpinner("sp_" & dr("菜品名称"), "数量")
.max = 20
.min = 0
' .Attribute = "style='color:red;font-size:10px'"
.width = 65 '整体控件的宽度(含加减按钮)
.Attribute = "style=""width:30px;color:red;font-size:15px"" on change=""submitAjaxFileds('receive.htm','','订单编号控件ID','加减控件ID',false);"""
End With
' .RightFooter.AddFoot("").Attribute = ipg.BuildHtml
.RightFooter.AddFoot(ipg.BuildHtml)
End With
Next
这个地方我如果我还想传送一些变量该怎么传?比如想传送一下openid,我想手动增加,比如: .AddHiddenValue("订单编号", openid),可以吗?应该怎么增加?