yujian
2020-05-17 9008180e33c4eadd0b969c1309d5bafb79539f3c
添加评论
2个文件已修改
40 ■■■■■ 已修改文件
childPath/editor/message/todayPush/evaluate_list.html 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
childPath/looks/swiper2.html 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
childPath/editor/message/todayPush/evaluate_list.html
@@ -69,6 +69,7 @@
                        pageSize: optC.table.pageSize, // 每页数量
                        key: optC.input[0].result, // 搜索关键字
                        state: 1, // 搜索状态
                        typeEnum: "activity", // 搜索状态
                    } 
                    
                    if (backParams != null && backParams != undefined && backParams!= 'null' && backParams.length > 0) {
@@ -78,6 +79,7 @@
                        myData.pageSize =  params.pageSize; // 每页数量
                        myData.key = params.key; // 搜索关键字
                        myData.state = 1; // 搜索关键字
                        myData.typeEnum = "activity"; // 搜索关键字
                    } 
                    quyerParams = myData;
                    
@@ -117,6 +119,7 @@
                                        thatTr.td[1].value = "多品"; 
                                    } else if (thatTr.td[1].key == "activity") {
                                        thatTr.td[1].value = "活动"; 
                                        thatTr.td[1]["class"] = "font-blue";
                                    }
                                    // 将当前行放入tr组
                                    mo_tr.push(thatTr);
childPath/looks/swiper2.html
@@ -218,6 +218,17 @@
                                                title: "ID",
                                                key: mo[i].id,
                                                value: mo[i].id
                                            },
                                            {
                                                title: "是否转链",
                                                key: mo[i].needSpin,
                                                value: mo[i].needSpin ? "是" : "否"
                                            },
                                            {
                                                title: "评论语",
                                                key: mo[i].comment,
                                                value: mo[i].comment,
                                                "class": "font-gray"
                                            },
                                        ],
                                    };
@@ -344,7 +355,25 @@
                        width: "0.4rem",
                        orderUp: "",
                        orderDown: ""
                    }
                    },
                    {
                        title: "评论是否转链",
                        width: "0.4rem",
                        orderUp: "",
                        orderDown: "",
                        edit: {
                            type: "switch",
                        },
                    },
                    {
                        title: "评论内容",
                        width: "0.6rem",
                        orderUp: "",
                        orderDown: "",
                        edit: {
                            type: "textarea"
                        },
                    },
                ]
            });
            // 跳转方式获取
@@ -420,7 +449,9 @@
                                    jumpType: item[6].key, // 跳转方式
                                    params: item[7].key, // 跳转参数
                                    jumpNeedLogin: item[8].key, // 是否需要登录
                                    remark: item[9].key, // 备注
                                    remark: item[9].key, // 备注
                                    needSpin: item[11].key, // 是否转链
                                    comment: item[12].key, // 评论语
                                };
                                
                                if (item[2].key == 1) {
@@ -517,6 +548,8 @@
                                    jumpNeedLogin: item[8].key, // 是否需要登录
                                    remark: item[9].key, // 备注
                                    id: item[10].key, // ID
                                    needSpin: item[11].key, // 是否转链
                                    comment: item[12].key, // 评论语
                                };
                                
                                if (item[2].key == 1) {