...
|
...
|
@@ -206,8 +206,12 @@ var g = new common.grid({ |
|
|
//} else {
|
|
|
// HtmArr.push('<a data-index="' + items.__index + '" href="JavaScript:;" class="btn btn-success btn-xs info-toHomePage">同步逛频道</a>');
|
|
|
//}
|
|
|
|
|
|
HtmArr.push('<a data-index="' + items.__index + '" href="JavaScript:;" class="btn btn-success btn-xs info-syncToGrass">同步到种草</a>');
|
|
|
|
|
|
if (items.hasToGrass == 1) {
|
|
|
HtmArr.push('<a data-index="' + items.__index + '" href="JavaScript:;" class="btn btn-warning btn-xs">已同步到种草</a>');
|
|
|
} else {
|
|
|
HtmArr.push('<a data-index="' + items.__index + '" href="JavaScript:;" class="btn btn-success btn-xs info-syncToGrass">同步到种草</a>');
|
|
|
}
|
|
|
|
|
|
return HtmArr.join('');
|
|
|
}
|
...
|
...
|
|