|
|
|
@ -182,7 +182,7 @@ $(function () {
|
|
|
|
|
title: '备注 Remark',
|
|
|
|
|
template: '',
|
|
|
|
|
initialize: function (dialog) {
|
|
|
|
|
$('<textarea rows="2" autofocus="autofocus" style="display:block;border:1px solid red;"></textarea>').addClass('remark-input').attr('name', 'remark').val(dataCache.remark || '').appendTo($('.weui_dialog_bd', dialog));
|
|
|
|
|
$('<textarea rows="2" autofocus="autofocus"></textarea>').addClass('remark-input').attr('name', 'remark').val(dataCache.remark || '').appendTo($('.weui_dialog_bd', dialog));
|
|
|
|
|
},
|
|
|
|
|
confirm: function (dialog, chosen) {
|
|
|
|
|
if (chosen) {
|
|
|
|
@ -395,13 +395,13 @@ $(function () {
|
|
|
|
|
var yes = $('<a></a>', {
|
|
|
|
|
class: 'weui_btn_dialog primary',
|
|
|
|
|
text: 'OK',
|
|
|
|
|
style: 'background: #0bb20c;color: #fff;display:block;border:1px solid red;'
|
|
|
|
|
style: 'background: #0bb20c;color: #fff;'
|
|
|
|
|
}).appendTo(ft);
|
|
|
|
|
yes.click(function () {
|
|
|
|
|
config.confirm(dialog, true);
|
|
|
|
|
dialog.remove();
|
|
|
|
|
});
|
|
|
|
|
var no = $('<a></a>', {class: 'weui_btn_dialog default', text: 'Cancel', style: 'display:block;border:1px solid red;'}).appendTo(ft);
|
|
|
|
|
var no = $('<a></a>', {class: 'weui_btn_dialog default', text: 'Cancel'}).appendTo(ft);
|
|
|
|
|
no.click(function () {
|
|
|
|
|
config.confirm(dialog, false);
|
|
|
|
|
dialog.remove();
|
|
|
|
@ -410,7 +410,7 @@ $(function () {
|
|
|
|
|
var ok = $('<a></a>', {
|
|
|
|
|
class: 'weui_btn_dialog primary',
|
|
|
|
|
text: 'OK',
|
|
|
|
|
style: 'background: #0bb20c;color: #fff;display:block;border:1px solid red;'
|
|
|
|
|
style: 'background: #0bb20c;color: #fff;'
|
|
|
|
|
}).appendTo(ft);
|
|
|
|
|
ok.click(function () {
|
|
|
|
|
dialog.remove();
|
|
|
|
@ -421,7 +421,7 @@ $(function () {
|
|
|
|
|
var yes = $('<a></a>', {
|
|
|
|
|
class: 'weui_btn_dialog primary',
|
|
|
|
|
text: 'OK',
|
|
|
|
|
style: 'background: #FF9705;color: #fff;display:block;border:1px solid red;'
|
|
|
|
|
style: 'background: #FF9705;color: #fff;'
|
|
|
|
|
}).appendTo(ft);
|
|
|
|
|
yes.click(function () {
|
|
|
|
|
config.confirm(dialog, true);
|
|
|
|
@ -436,7 +436,7 @@ $(function () {
|
|
|
|
|
var ok = $('<a></a>', {
|
|
|
|
|
class: 'weui_btn_dialog primary',
|
|
|
|
|
text: 'OK',
|
|
|
|
|
style: 'background: #FF9705;color: #fff;display:block;border:1px solid red;'
|
|
|
|
|
style: 'background: #FF9705;color: #fff;'
|
|
|
|
|
}).appendTo(ft);
|
|
|
|
|
ok.click(function () {
|
|
|
|
|
dialog.remove();
|
|
|
|
|