| | |
| | | import com.dsh.guns.modular.system.service.ICityService; |
| | | import com.dsh.guns.modular.system.service.IStoreService; |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.Model; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.*; |
| | | |
| | |
| | | return PREFIX + "advertisement_benefits.html"; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 跳转到广告编辑页面 |
| | | */ |
| | |
| | | } |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/editCoursePackageState1") |
| | | public ResultUtil editCoursePackageState1(Integer id, Integer state){ |
| | | TCoursePackage coursePackage = new TCoursePackage(); |
| | | coursePackage.setId(id); |
| | | coursePackage.setStatus(state); |
| | | coursePackageService.editCoursePackageState(coursePackage); |
| | | return ResultUtil.success(); |
| | | } |
| | | |
| | | /** |
| | | * 编辑课包折扣 |
| | | * @param json |
| | |
| | | System.out.println("---------game------"+game); |
| | | model.addAttribute("game",game); |
| | | |
| | | if (game.getOperationId() ==0){ |
| | | model.addAttribute("opId","平台"); |
| | | model.addAttribute("is","平台"); |
| | | }else { |
| | | model.addAttribute("opId",game.getOperationId()); |
| | | } |
| | | |
| | | TGameConfig kc = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 14)); |
| | | model.addAttribute("kc",kc); |
| | |
| | | model.addAttribute("game",game); |
| | | |
| | | |
| | | if (game.getOperationId() ==0){ |
| | | model.addAttribute("opId","平台"); |
| | | model.addAttribute("is","平台"); |
| | | }else { |
| | | model.addAttribute("opId",game.getOperationId()); |
| | | } |
| | | |
| | | TGameConfig kc = gameConfigService.getOne(new QueryWrapper<TGameConfig>().eq("otherId", id).eq("gameId", 14)); |
| | | model.addAttribute("kc",kc); |
| | | |
| | |
| | | select * from t_js where id = #{id} |
| | | |
| | | </select> |
| | | |
| | | |
| | | <select id="getConfig1" resultType="com.dsh.guns.modular.system.model.TImgConfig"> |
| | | select * from t_img_config |
| | | </select> |
| | | |
| | | |
| | | <select id="getSelect" resultType="com.dsh.guns.modular.system.model.dto.SelectDto"> |
| | | |
| | | |
| | |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                    *所属运营商:", |
| | | "tpl": "                 *所属运营商:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | },{ |
| | | "type": "select", |
| | |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "tpl": "                                设备ID:", |
| | | "tpl": "                       设备ID:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "id": "u:587781d5d181", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | }, |
| | | { |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                    *所属运营商:", |
| | | "tpl": "                 *所属运营商:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | }, |
| | | { |
| | |
| | | }, |
| | | "labelField": "value", |
| | | "valueField": "id", |
| | | "value":`${game.operationId}` |
| | | "value":`${opId}` |
| | | },{ |
| | | "type": "checkbox", |
| | | "option": "平台", |
| | |
| | | }, |
| | | "trueValue": "平台", |
| | | "falseValue": 0, |
| | | "mode": "inline" |
| | | "mode": "inline", |
| | | "value":`${is!}` |
| | | }, |
| | | { |
| | | "type": "select", |
| | |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "tpl": "                                设备ID:", |
| | | "tpl": "                       设备ID:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "id": "u:587781d5d181", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | }, |
| | | { |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${kc.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${sq.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${sm.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${sd.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${fk.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${jx.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${qw.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${zs.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${zs2.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${ly.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | |
| | | }, |
| | | "labelField": "value", |
| | | "valueField": "id", |
| | | "value":`${game.operationId}` |
| | | "value":`${opId}` |
| | | },{ |
| | | "type": "checkbox", |
| | | "option": "平台", |
| | |
| | | }, |
| | | "trueValue": "平台", |
| | | "falseValue": 0, |
| | | "mode": "inline" |
| | | "mode": "inline", |
| | | "value":`${is!}` |
| | | }, |
| | | { |
| | | "type": "select", |
| | |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | ,"value" :`${kc.playCoin}` |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl" |
| | | ,"value" :`${kc.playCoin}`, |
| | | "themeCss": { |
| | | "labelClassName": { |
| | | "padding-and-margin:default": { |
| | | "paddingLeft": "200px" |
| | | }, |
| | | "font:default": {} |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value" :`${kc.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${kc.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sq.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sq.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:c42ab4593d20", |
| | | "static": true, |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sq.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sm.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sm.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sm.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:b6faed384d78", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sm.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:c7181c9b3ded", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sm.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:ee897e373acb", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${sm.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${fk.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${fk.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value" :`${fk.integral}` |
| | | } |
| | | ], |
| | |
| | | "name": "jxCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${jx.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${jx.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:c42ab4593d20", |
| | | "static": true, |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${jx.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:a58559426478", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${qw.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:e563cc483458", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${qw.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:688f4b7c3392", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${qw.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:af69b1a1d9cb", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${zs.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:8ba3c740b10c", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${zs.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:6d91bb154939", |
| | | "static": true, |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${zs.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:b29c25f053d9", |
| | | "static": true, |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${zs2.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:88a44c71abb0", |
| | | "static": true, |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${zs2.cash}` |
| | | }, |
| | | { |
| | |
| | | "static": true, |
| | | "id": "u:fb82b3cf486c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${zs2.integral}` |
| | | } |
| | | ], |
| | |
| | | "id": "u:d78d236c5f95", |
| | | "mode": "inline", |
| | | "static": true, |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${ly.playCoin}` |
| | | }, |
| | | { |
| | |
| | | "static": true, |
| | | "id": "u:20b24611e53c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${ly.cash}` |
| | | }, |
| | | { |
| | |
| | | "id": "u:25e10253effb", |
| | | "static": true, |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "labelClassName": "text-dark m-b text-lg m-l-xxl", |
| | | "value":`${ly.integral}` |
| | | } |
| | | ], |
| | |
| | | "body": [ |
| | | { |
| | | "type": "tabs", |
| | | "id": "u:56160148e468", |
| | | "tabsMode": "vertical", |
| | | "tabs": [ |
| | | { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:91bfc503975f", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5fea7" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch", |
| | | "id": "u:5f159aae8bd6" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5fea7" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:91bfc503975f" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:82085178ce49", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5fe22", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5fe22", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:82085178ce49" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:60929d18d938", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f333", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f333", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:60929d18d938" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:95a6bc834dc5", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f444", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f444", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:95a6bc834dc5" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:f71511d042a8", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f555", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f555", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:f71511d042a8" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:a37a95f8c2c6", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f666", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f666", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:a37a95f8c2c6" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:0c61e0e5b4f4", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f777", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f777", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:0c61e0e5b4f4" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:e04f1bcae4aa", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f888", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f888", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:e04f1bcae4aa" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6fbe66eae6e1", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f999", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f999", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:6fbe66eae6e1" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "method": "post" |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:30fd93656c25", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f50007", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | |
| | | "menubar": true |
| | | }, |
| | | "mode": "normal" |
| | | }, |
| | | { |
| | | "type": "flex", |
| | | "id": "u:5f159aae8bd6", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:732576d95680" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:c0684967ad04", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f000", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary" |
| | | }, |
| | | { |
| | | "type": "wrapper", |
| | | "body": [ |
| | | ], |
| | | "size": "xs", |
| | | "style": { |
| | | "position": "static", |
| | | "display": "block", |
| | | "flex": "1 1 auto", |
| | | "flexGrow": 1, |
| | | "flexBasis": "auto" |
| | | }, |
| | | "isFixedHeight": false, |
| | | "isFixedWidth": false, |
| | | "id": "u:dd2cc231e8b1" |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "static" |
| | | }, |
| | | "direction": "row", |
| | | "justify": "flex-start", |
| | | "alignItems": "stretch" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | { |
| | | "type": "button", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "custom", |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:6c0b8f917bf7" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "提交", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "actionType": "submit", |
| | | "componentId": "u:bd64f7f5f000", |
| | | "outputVar": "submitResult" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "level": "primary", |
| | | "id": "u:c0684967ad04" |
| | | } |
| | | ], |
| | | "resetAfterSubmit": false, |
| | | "api": { |
| | |
| | | "id": "u:254c9cdf53c1" |
| | | } |
| | | ], |
| | | "id": "u:56160148e468", |
| | | "toolbar": [ |
| | | ] |
| | | } |
| | |
| | | <#button name="折扣管理" icon="fa-check-circle" clickFun="CoursePackage.coursePackageDiscount()" space="true"/> |
| | | <#button name="详情" icon="fa-check-circle" clickFun="CoursePackage.detailsCoursePackage()" space="true"/> |
| | | <#button name="报名信息" icon="fa-check-circle" clickFun="CoursePackage.registrationRecord()" space="true"/> |
| | | <#button name="暂停" icon="fa-refresh" clickFun="CoursePackage.editCoursePackageState1(1)" space="true"/> |
| | | <#button name="开课" icon="fa-warning" clickFun="CoursePackage.editCoursePackageState1(2)" space="true"/> |
| | | |
| | | </div> |
| | | <#table id="managerTable"/> |
| | |
| | | }; |
| | | |
| | | TStudent.resetSearch = function () { |
| | | $("#provinceCode").val(""); |
| | | $("#cityCode").val(""); |
| | | $("#pCode").val(""); |
| | | $("#cCode").val(""); |
| | | $("#store").val(""); |
| | | $("#site").val(""); |
| | | TStudent.search(); |
| | |
| | | {title: '课程有效期', field: 'validDays', align: 'center', valign: 'middle'}, |
| | | {title: '支付方式', field: 'payType', align: 'center', valign: 'middle'}, |
| | | {title: '排序', field: 'sort', align: 'center', valign: 'middle'}, |
| | | {title: '课包状态', field: 'status', align: 'center', valign: 'middle', |
| | | formatter: function (v) { |
| | | switch (v) { |
| | | case 1: |
| | | return '未开始'; |
| | | case 2: |
| | | return '售卖中'; |
| | | case 3: |
| | | return '已结束'; |
| | | case 4: |
| | | return '已取消'; |
| | | } |
| | | } |
| | | }, |
| | | // {title: '课包状态', field: 'status', align: 'center', valign: 'middle', |
| | | // formatter: function (v) { |
| | | // switch (v) { |
| | | // case 1: |
| | | // return '未开始'; |
| | | // case 2: |
| | | // return '售卖中'; |
| | | // case 3: |
| | | // return '已结束'; |
| | | // case 4: |
| | | // return '已取消'; |
| | | // } |
| | | // } |
| | | // }, |
| | | {title: '售卖状态', field: 'state', align: 'center', valign: 'middle', |
| | | formatter: function (v) { |
| | | switch (v) { |
| | |
| | | }; |
| | | |
| | | |
| | | |
| | | |
| | | CoursePackage.editCoursePackageState1 = function (state) { |
| | | if (this.check()) { |
| | | |
| | | if (CoursePackage.seItem.type != 1){ |
| | | Feng.error("请选择常规课") |
| | | return; |
| | | } |
| | | if(CoursePackage.seItem.status == state){ |
| | | Feng.error("不能重复操作"); |
| | | return |
| | | } |
| | | parent.layer.confirm(state == 1 ? '是否暂停' : "是否开课" , { |
| | | btn: ['确定', '取消'] |
| | | }, function (index) { |
| | | let ajax = new $ax(Feng.ctxPath + "/coursePackage/editCoursePackageState1", function (data) { |
| | | Feng.success(state == 1 ? '暂停' : "开课" + "成功!"); |
| | | CoursePackage.table.refresh(); |
| | | }, function (data) { |
| | | Feng.error(state == 1 ? '暂停' : "开课" + "失败!" + data.responseJSON.message + "!"); |
| | | }); |
| | | ajax.set("id", CoursePackage.seItem.id); |
| | | ajax.set("state", state); |
| | | ajax.start(); |
| | | parent.layer.close(index); |
| | | |
| | | }, function (index) { |
| | | parent.layer.close(index); |
| | | } |
| | | |
| | | |
| | | ) |
| | | |
| | | } |
| | | }; |
| | | |
| | | |
| | | CoursePackage.detailsCoursePackage = function () { |
| | | if (this.check()) { |
| | | let index = layer.open({ |
| | |
| | | |
| | | var checkboxes = document.getElementsByName('payType'); |
| | | var isChecked = false; |
| | | var isChecked1 = false; |
| | | |
| | | for (var i = 0; i < checkboxes.length; i++) { |
| | | if (checkboxes[i].checked && checkboxes[i].value === '1') { |
| | |
| | | } |
| | | } |
| | | |
| | | if (isChecked) { |
| | | console.log("选择了现金"); |
| | | var cashElement = document.querySelector('.cash'); |
| | | var cashValue = cashElement.value.trim(); |
| | | for (var i = 0; i < checkboxes.length; i++) { |
| | | if (checkboxes[i].checked && checkboxes[i].value === '2') { |
| | | isChecked1 = true; |
| | | break; |
| | | } |
| | | } |
| | | |
| | | if (cashValue === '' || cashValue === undefined) { |
| | | console.log('金额为空或未定义'); |
| | | Feng.error("请输入金额") |
| | | return; |
| | | if (isChecked1) { |
| | | var elements3 = document.getElementsByClassName('paiCoin'); |
| | | |
| | | for (var i = 0; i < elements3.length; i++) { |
| | | var value = elements3[i].value.trim(); |
| | | |
| | | if (value === '') { |
| | | Feng.error("请输入玩湃币价格") |
| | | return; |
| | | // Value is empty |
| | | // Perform your desired action |
| | | } else { |
| | | // Value is not empty |
| | | // Perform other actions |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | if (isChecked) { |
| | | var elements2 = document.getElementsByClassName('cash'); |
| | | |
| | | for (var i = 0; i < elements2.length; i++) { |
| | | var value = elements2[i].value.trim(); |
| | | |
| | | if (value === '') { |
| | | Feng.error("请输入现金价格") |
| | | return; |
| | | // Value is empty |
| | | // Perform your desired action |
| | | } else { |
| | | // Value is not empty |
| | | // Perform other actions |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | var elements1 = document.getElementsByClassName('classNumber'); |
| | | |
| | | for (var i = 0; i < elements1.length; i++) { |
| | | var value = elements1[i].value.trim(); |
| | | |
| | | if (value === '') { |
| | | Feng.error("请输入课时数") |
| | | return; |
| | | // Value is empty |
| | | // Perform your desired action |
| | | } else { |
| | | // Value is not empty |
| | | // Perform other actions |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | var elements = document.querySelectorAll('[name="classStartTime"]'); |
| | | var isEmpty = false; |
| | | |
| | | for (var i = 0; i < elements.length; i++) { |
| | | if (elements[i].value.trim() === '') { |
| | | isEmpty = true; |
| | | break; |
| | | } |
| | | } |
| | | |
| | | if (isEmpty) { |
| | | Feng.error("请输入上课时间") |
| | | return; |
| | | console.log("At least one element with the name 'yourName' is empty."); |
| | | } else { |
| | | console.log("All elements with the name 'yourName' are filled."); |
| | | } |
| | | |
| | | |
| | |
| | | package com.dsh.other.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.dsh.other.entity.Banner; |
| | | import com.dsh.other.entity.FrequentlyAskedQuestions; |
| | | import com.dsh.other.entity.*; |
| | | import com.dsh.other.feignclient.model.AdvertisementChangeStateDTO; |
| | | import com.dsh.other.feignclient.model.AdvertisementQuery; |
| | | import com.dsh.other.entity.CreateHistoryDto; |
| | | import com.dsh.other.entity.GetHistoryDto; |
| | | import com.dsh.other.model.BannerVo; |
| | | import com.dsh.other.model.dto.siteDto.SelectDto; |
| | | import com.dsh.other.model.vo.questionVo.QuestionSearchVO; |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/banner/index") |
| | | @ApiOperation(value = "获取首页图片", tags = {"获取首页图片"}) |
| | | public ResultUtil querySiteTimes(){ |
| | | try { |
| | | String result =bannerService.getFirst(); |
| | | return ResultUtil.success(result); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | return ResultUtil.runErr(); |
| | | } |
| | | } |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/class/hisotory") |
| | | public void createHistory(@RequestBody CreateHistoryDto createHistoryDto){ |
| | |
| | | int changeState(@Param("ids") List<Integer> ids,@Param("state") Integer state); |
| | | |
| | | List<Banner> listAll(@Param("query") AdvertisementQuery query); |
| | | |
| | | String getFirst(); |
| | | } |
| | |
| | | |
| | | List<GetHistoryDto> gethistory(Integer studentId); |
| | | |
| | | String getFirst(); |
| | | } |
| | |
| | | public List<GetHistoryDto> gethistory(Integer studentId) { |
| | | return baseMapper.getHistory(studentId); |
| | | } |
| | | |
| | | @Override |
| | | public String getFirst() { |
| | | return baseMapper.getFirst(); |
| | | } |
| | | |
| | | @Autowired |
| | | private BannerMapper bannerMapper; |
| | | @Override |
| | |
| | | where hs.studentId = #{studentId} |
| | | |
| | | </select> |
| | | <select id="getFirst" resultType="java.lang.String"> |
| | | select content |
| | | from t_img_config |
| | | where position = 6 |
| | | </select> |
| | | |
| | | </mapper> |