123456789101112131415161718192021222324252627 |
- // if ($(this).hasClass("pureText") == true && $(this).is('[module]') == true) {
- // console.log($(this).attr("QRcodeDedetaileID"));
- var iframeWindow = window['iframe1'];
- iframeWindow.QRcodePureText();
- // }else if ($(this).hasClass("imageTexts") == true && $(this).is('[module]') == true) {
- // var iframeWindow = window['iframe2'];
- // iframeWindow.QRcodeImageText();
- // }
- parent.location.reload();
- lay-verify="required"
- <button class="layui-btn" lay-submit lay-filter="formQRcode">提交</button>
- form.on('submit(formQRcode)', function(){
- return false;
- });
- form.verify({
- linkverify: function(value, item){
- if(!new RegExp("(https|http)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]").test(value)){
- return '请输入合法的链接地址';
- }
- }
- });
|