4 Star 0 Fork 0

首阳大君/travelFront

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
addbank.html 5.46 KB
一键复制 编辑 原始数据 按行查看 历史
首阳大君 提交于 2020-04-04 23:40 . 注释
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="css/main.css" rel="stylesheet" type="text/css">
<link href="css/common.css" rel="stylesheet" type="text/css">
<link href="js/webuploader/webuploader.css" rel="stylesheet" type="text/css">
<title>新增</title>
</head>
<body>
<!--栏目列表-->
<div class="left_menu">
<div class="sub">
</div>
</div>
<!--/栏目列表-->
<div class="right_con">
<div class="card">
<div class="title"><span>新增</span>
<div class="cfr">
<div class="tico full">
<i class="iconfont icon-quanping"></i>
</div>
</div>
</div>
<div class="tipbox">
</div>
<div class="infoBox">
<div class="boxs">
<!--基本信息-->
<div class="box">
<div class="sub">
<span>基本信息</span>
<div class="r_toggle" toggle = ".ifo1" toggletext="&#xe74a;,&#xe749;" open>&#xe74a;</div>
</div>
<div class="form ifo1 validform">
<div class="row" gutter="10">
<div class="label"><em>*</em>名称:</div>
<div class="col-7">
<input type="text" class="ipt required" placeholder="请输入名称" data-tip="请输入名称" data-valid="isNonEmpty" data-error="名称不能为空">
</div>
</div>
<div class="row" gutter="10">
<div class="label"><em>*</em>logo:</div>
<div class="col-7">
<div class="upimg orgimg required" ly-type="upimg" upsize="320,180" placeholder="请上传营业执照" data-tip="请上传营业执照" data-valid="isNonEmpty" data-error="营业执照不能为空" prvbox="orgimg" ly-bind="thumbnail"> <!--prevbox须对应一个唯一classname-->
</div>
</div>
</div>
<div class="row" gutter="10">
<div class="label">区域:</div>
<div class="col-1">
<select class="set" placeholder="请选择区域"><option value="" class="disabled">请选择</option></select>
</div>
<div class="col-1">
<select class="set" placeholder="请选择区域"><option value="" class="disabled">请选择</option></select>
</div>
<div class="col-5">
<select class="set" placeholder="请选择区域"><option value="" class="disabled">请选择</option></select>
</div>
</div>
</div>
</div>
</div>
<div class="box">
<div class="form ifo1 validform">
<input type="button" id="like" value="连接" />
<input type="button" class = "caozuo" id="up" value="上" />
<input type="button" class = "caozuo" id="down" value="下" />
<input type="button" class = "caozuo" id="left" value="左" />
<input type="button" class = "caozuo" id="right" value="右" />
<input type="button" class = "caozuo" id="doll" value="抓取" />
<input type="button" id="close" value="关闭" />
</div>
</div>
<div class="btnBox">
<div class="fr">
<button class="btn red " id="save-btn">保存</button>
<button class="btn">取消</button>
</div>
</div>
</div>
</div>
</div>
</body>
<script id="jquery_js" src="js/jquery-1.11.1.min.js"></script>
<script id="config_js" src="js/config.js"></script>
<script id="ly_main_js" src="js/ly_main.js"></script>
<script src="js/jquery-validate.js"></script>
<script src="js/webuploader/webuploader.min.js"></script>
<script src="js/simpleuploader.js"></script>
<script src="js/common.js"></script>
<script>
$(function(){
$("#like").on("click",function(){
//var url = "http://52.80.46.90:8080/machineOperating/dollConnectingMachine"
var url = "http://192.168.1.190:8081/address/getProvincialMunicipalunion";
/*var obj = {
'commodityId':'5d5918745a6d11e8a78100163e2e3760',
'addressId':'',
'userName':'cvcxv',
'contactNumber':'123',
'addressDetail':'efds',
'distributionMode':'1',
'expressPrice':0,
'orderType':'2',
'catchRecordId':''
};*/
var obj ={
'num':1,
'size':10,
'couponStatus':'',
'isExpire':''
};
//var obj={'portName':'COM1','baudrate':9600};
request({
url:url,
data:{'getType':'3'},
type:"get",
//ajaxform:'true',
callback:function(f) {
console.log(f);
}
});
});
});
$(function(){
$(".caozuo").on("click",function(){
var u = "http://192.168.1.190:8081/machineOperating/dollMachineOperation"
var d = $(this).attr("id");
var operatingType = '';
if(d == 'up'){
operatingType = '1';
}else if(d == 'down'){
operatingType = '2';
}else if(d == 'left'){
operatingType = '3';
}else if(d == 'right'){
operatingType = '4';
}else if(d == 'doll'){
operatingType = '5';
}
request({
url:u,
data:{'operatingType':operatingType},
type:"post",
ajaxform:'true',
callback:function(f) {
console.log(f);
}
});
});
$("#close").on("click",function(){
var u = "http://192.168.1.190:8081/machineOperating/closeMachineOperation";
request({
url:u,
data:{},
type:"post",
//ajaxform:'true',
callback:function(f) {
console.log(f);
}
});
})
});
</script>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/licheekuang/travelFront.git
git@gitee.com:licheekuang/travelFront.git
licheekuang
travelFront
travelFront
master

搜索帮助