| | |
| | | |
| | | @ApiModelProperty(value = "纬度") |
| | | private String lat; |
| | | @ApiModelProperty(value = "门店id") |
| | | private Integer shopId; |
| | | |
| | | } |
| | |
| | | System.out.println(commodity); |
| | | return commodity; |
| | | } |
| | | |
| | | |
| | | @Resource |
| | | private CoursePackageClient coursePackageClient; |
| | | @ResponseBody |
| | | @PostMapping("/base/pointMerchars/getCommoditys") |
| | | public PointMerchandiseVo getVicinityGoods(@RequestBody CommodityRequest request){ |
| | | if (request.getShopId()!=null){ |
| | | CoursePackage coursePackage = coursePackageClient.queryByStoreId(request.getShopId()); |
| | | } |
| | | |
| | | |
| | | |
| | | PointMerchandiseVo pointMerchandiseVo = new PointMerchandiseVo(); |
| | | List<PointsMerchandise> list = new ArrayList<>(); |
| | | String provinceCode = ""; |
| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @date 2023/7/5 9:55 |
| | |
| | | |
| | | @PostMapping("/base/coursePackage/queryConfigCoursePackData") |
| | | CoursePackagePaymentConfig queryConfigCoursePackData(@RequestBody Integer coursePackConfigId); |
| | | @PostMapping("/base/coursePackage/queryByStoreId") |
| | | List<CoursePackage> queryByStoreId(@RequestBody Integer shopId); |
| | | } |
| | |
| | | |
| | | @ApiModelProperty(value = "纬度") |
| | | private String lat; |
| | | |
| | | @ApiModelProperty(value = "门店id") |
| | | private Integer shopId; |
| | | |
| | | |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/coursePackage/queryByStoreId") |
| | | public List<TCoursePackage> queryByStoreId(@RequestBody Integer shopId){ |
| | | try { |
| | | List<TCoursePackage> shopId1 = coursePackageService.list(new QueryWrapper<TCoursePackage>().eq("storeId", shopId)); |
| | | return shopId1; |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | @Autowired |
| | | private TCoursePackagePaymentService packagePaymentService; |
| | | |
| | |
| | | // } |
| | | |
| | | |
| | | QueryWrapper<CoursePackageStudent> queryWrapper1 = new QueryWrapper<CoursePackageStudent>().eq("appUserId", appUserId); |
| | | QueryWrapper<CoursePackageStudent> queryWrapper1 = new QueryWrapper<CoursePackageStudent>().eq("appUserId", 19); |
| | | if (ToolUtil.isNotEmpty(search.getCourseTypeId())){ |
| | | queryWrapper1.eq("coursePackageId",search.getCourseTypeId()); |
| | | } |
| | |
| | | longs.add(coursePackageStudent.getCoursePackageSchedulingId()); |
| | | } |
| | | |
| | | System.out.println("======longs========"+longs); |
| | | List<CoursePackageScheduling> coursePackageSchedulings = coursePackageSchedulingService.list(new QueryWrapper<CoursePackageScheduling>().in("id",longs).isNotNull("courseId")); |
| | | List<AppUserVideoResponse> coursePackageSchedulings1 = coursePackageSchedulingService.queryAll(); |
| | | List<AppUserVideoResponse> coursePackageSchedulings1 = coursePackageSchedulingService.queryAll(longs); |
| | | |
| | | |
| | | |
| | | |
| | |
| | | */ |
| | | List<Map<String, Object>> queryCoursePackageSchedulingList(Page<Map<String, Object>> page, @Param("item") QueryCoursePackageSchedulingList queryCoursePackageSchedulingList); |
| | | |
| | | List<AppUserVideoResponse> queryAll(); |
| | | List<AppUserVideoResponse> queryAll(List<Long> longs); |
| | | |
| | | boolean isHave(Integer videoId); |
| | | Integer isHave(Integer videoId); |
| | | } |
| | |
| | | */ |
| | | void taskSetStatus(); |
| | | |
| | | List<AppUserVideoResponse> queryAll(); |
| | | List<AppUserVideoResponse> queryAll(List<Long> longs); |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<AppUserVideoResponse> queryAll() { |
| | | List<AppUserVideoResponse> appUserVideoResponses = this.baseMapper.queryAll(); |
| | | public List<AppUserVideoResponse> queryAll(List<Long> longs) { |
| | | List<AppUserVideoResponse> appUserVideoResponses = this.baseMapper.queryAll(longs); |
| | | |
| | | for (AppUserVideoResponse appUserVideoRespon : appUserVideoResponses) { |
| | | if (this.baseMapper.isHave(appUserVideoRespon.getVideoId())){ |
| | | if (appUserVideoRespon.getVideoId() != null) { |
| | | if (this.baseMapper.isHave(appUserVideoRespon.getVideoId()) > 0) { |
| | | appUserVideoRespon.setStudyStatus(1); |
| | | }else { |
| | | appUserVideoRespon.setStudyStatus(0); |
| | | } else { |
| | | appUserVideoRespon.setStudyStatus(0); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | <select id="queryAll" resultType="com.dsh.course.model.vo.response.AppUserVideoResponse"> |
| | | |
| | | SELECT cs.courseId as videoId,cs.coursePackageId as coursePackageId,tc.coverDrawing,tc.name as videoName,tc.introduce as synopsis,cs.integral |
| | | FROM t_course_package_scheduling3 cs |
| | | FROM t_course_package_scheduling4 cs |
| | | LEFT JOIN t_course tc ON cs.courseId = tc.id |
| | | |
| | | WHERE cs.courseId IS NOT NULL and cs.id in #{longs} |
| | | |
| | | |
| | | |
| | | </select> |
| | | <select id="isHave" resultType="java.lang.Boolean"> |
| | | SELECT EXISTS(SELECT 1 FROM t_user_video_details WHERE courseId = #{videoId}) |
| | | <select id="isHave" resultType="int"> |
| | | SELECT COUNT(1) FROM t_user_video_details WHERE courseId = #{videoId} |
| | | </select> |
| | | </mapper> |
| | |
| | | } |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/queryStore3") |
| | | public ResultUtil queryStore3(){ |
| | | List<TStore> list = storeService.list(new QueryWrapper<TStore>().select("id","name").eq("state", 1)); |
| | | // Map<String,Integer> map = new LinkedHashMap<>(); |
| | | List<SelectDto> selectDtos = new ArrayList<>(); |
| | | Map<String,Integer> map = new HashMap<>(); |
| | | // for (TStore store : list) { |
| | | // SelectDto selectDto = new SelectDto(); |
| | | // selectDto.setId(Long.valueOf(store.getId())); |
| | | // selectDto.setValue(store.getName()); |
| | | // selectDtos.add(selectDto); |
| | | // |
| | | // } |
| | | // map.put("options",selectDtos); |
| | | |
| | | return new ResultUtil(0,0,null,list,null); |
| | | } |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/queryStore1/") |
| | | public ResultUtil queryStore2(){ |
| | | // List<TStore> list = storeService.list(new QueryWrapper<TStore>().select("id","name").eq("cityCode", cityCode).eq("state", 1)); |
| | |
| | | @RequestMapping("/pre_add") |
| | | public String add(Model model) { |
| | | |
| | | Integer objectType = UserExt.getUser().getObjectType(); |
| | | |
| | | if (objectType ==3){ |
| | | |
| | | model.addAttribute("is3","true"); |
| | | model.addAttribute("storeId",UserExt.getUser().getObjectId()); |
| | | TStore byId = storeService.getById(UserExt.getUser().getObjectId()); |
| | | model.addAttribute("cityCode",byId.getCityCode()); |
| | | model.addAttribute("provinceCode",byId.getProvinceCode()); |
| | | model.addAttribute("oId",byId.getOperatorId()); |
| | | return PREFIX+"ball_pre_add1.html"; |
| | | |
| | | }else { |
| | | model.addAttribute("is3","false"); |
| | | } |
| | | |
| | | |
| | | |
| | | model.addAttribute("is","${is}"); |
| | | |
| | | |
| | | |
| | | return PREFIX+"ball_pre_add.html"; |
| | | } |
| | |
| | | model.addAttribute("ly",ly); |
| | | |
| | | |
| | | Integer objectType = UserExt.getUser().getObjectType(); |
| | | |
| | | if (objectType ==3){ |
| | | model.addAttribute("is3","true"); |
| | | model.addAttribute("storeId",UserExt.getUser().getObjectId()); |
| | | TStore byId = storeService.getById(UserExt.getUser().getObjectId()); |
| | | model.addAttribute("cityCode",byId.getCityCode()); |
| | | model.addAttribute("provinceCode",byId.getProvinceCode()); |
| | | model.addAttribute("oId",byId.getOperatorId()); |
| | | return PREFIX+"ball_pre_edit1.html"; |
| | | |
| | | } |
| | | |
| | | return PREFIX+"ball_pre_edit.html"; |
| | | } |
| | |
| | | "tpl": "                 *所属运营商:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | |
| | | "style": { |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | |
| | | "trueValue": "平台", |
| | | "falseValue": 0, |
| | | "mode": "inline" |
| | | |
| | | }, |
| | | { |
| | | "type": "select", |
| | |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "silent": true |
| | | |
| | | }, |
| | | "onEvent": { |
| | | "change": { |
| | |
| | | "type": "select", |
| | | "label": "所属门店:", |
| | | "name": "store", |
| | | "value":"", |
| | | "id": "u:576899b1b531", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh"> |
| | | <head> |
| | | <meta charset="UTF-8" /> |
| | | <title>amis demo</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta |
| | | name="viewport" |
| | | content="width=device-width, initial-scale=1, maximum-scale=1" |
| | | /> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> |
| | | <link rel="stylesheet" href="${ctxPath}/sdk/sdk.css" /> |
| | | <link rel="stylesheet" href="${ctxPath}/sdk/helper.css" /> |
| | | <link rel="stylesheet" href="${ctxPath}/sdk/iconfont.css" /> |
| | | <!-- 这是默认主题所需的,如果是其他主题则不需要 --> |
| | | <!-- 从 1.1.0 开始 sdk.css 将不支持 IE 11,如果要支持 IE11 请引用这个 css,并把前面那个删了 --> |
| | | <!-- <link rel="stylesheet" href="sdk-ie11.css" /> --> |
| | | <!-- 不过 amis 开发团队几乎没测试过 IE 11 下的效果,所以可能有细节功能用不了,如果发现请报 issue --> |
| | | <style> |
| | | html, |
| | | body, |
| | | .app-wrapper { |
| | | position: relative; |
| | | width: 100%; |
| | | height: 100%; |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div id="root" class="app-wrapper"></div> |
| | | <script src="${ctxPath}/sdk/sdk.js"></script> |
| | | <script type="text/javascript"> |
| | | (function () { |
| | | let amis = amisRequire('amis/embed'); |
| | | // 通过替换下面这个配置来生成不同页面 |
| | | let amisJSON = { |
| | | "type": "page", |
| | | "id": "u:8c028a595aa6", |
| | | "body": [ |
| | | { |
| | | "type": "form", |
| | | "id": "u:24af29be25d2", |
| | | "title": "", |
| | | "body": [ |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                 *所属运营商:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "hidden": `${is3}`, |
| | | |
| | | "style": { |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | },{ |
| | | "type": "select", |
| | | "label": "", |
| | | "name": "operationId", |
| | | "id": "u:c037c33c2c81", |
| | | "value":`${oId!}`, |
| | | "mode": "inline", |
| | | "size": "md", |
| | | "multiple": false, |
| | | "showInvalidMatch": false, |
| | | "searchable": true, |
| | | "clearable": true, |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "disabledOn": "is!=0", |
| | | "required": true, |
| | | "source": { |
| | | "url": "/ball/yunying", |
| | | "method": "post", |
| | | "messages": { |
| | | } |
| | | }, |
| | | "labelField": "value", |
| | | "valueField": "id", |
| | | "hidden": `${is3}` |
| | | },{ |
| | | "type": "checkbox", |
| | | "option": "平台", |
| | | "name": "is", |
| | | "id": "u:88f23ebcf4f7", |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:c037c33c2c81", |
| | | "args": { |
| | | "value": "$event.data.value" |
| | | }, |
| | | "actionType": "setValue" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "trueValue": "平台", |
| | | "falseValue": 0, |
| | | "mode": "inline", |
| | | "hidden": `${is3}` |
| | | |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所在省:", |
| | | "name": "province", |
| | | "id": "u:63c85c19f3aa", |
| | | "multiple": false, |
| | | "value":`${provinceCode!}`, |
| | | |
| | | "mode": "horizontal", |
| | | "size": "md", |
| | | "value":"", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "url": "/coursePackage/queryProvince", |
| | | "method": "get", |
| | | "messages": { |
| | | }, |
| | | "sendOn": "", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "silent": true, |
| | | "hidden": `${is3}` |
| | | |
| | | }, |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:14bafe37d5f3", |
| | | "actionType": "reload", |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "code", |
| | | "required": true, |
| | | "hidden": `${is3}` |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所在市:", |
| | | "value":`${cityCode!}`, |
| | | "name": "city", |
| | | "value": "", |
| | | "id": "u:14bafe37d5f3", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | | "hidden": `${is3}`, |
| | | "size": "md", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "url": "/coursePackage/queryCity1/$province", |
| | | "method": "post", |
| | | "messages": { |
| | | }, |
| | | "sendOn": "this.province != null &&this.province != ' '", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "silent": true |
| | | }, |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:576899b1b531", |
| | | "actionType": "reload", |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "code", |
| | | "required": true, |
| | | "loadingConfig": { |
| | | "show": true |
| | | } |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所属门店:", |
| | | "name": "store", |
| | | "value":`${storeId!}`, |
| | | "id": "u:576899b1b531", |
| | | "multiple": false, |
| | | "disabled": true, |
| | | "mode": "horizontal", |
| | | "size": "md", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "method": "post", |
| | | "url": "/coursePackage/queryStore3", |
| | | "messages": { |
| | | }, |
| | | "sendOn": "this.city != null &&this.city != ' '", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "silent": true |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "id", |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:0d288f4bdd8e", |
| | | "actionType": "reload", |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所属场地:", |
| | | "name": "site", |
| | | "value":"", |
| | | "id": "u:0d288f4bdd8e", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | | "size": "md", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "url": "/coursePackage/querySite/$store", |
| | | "method": "post", |
| | | "messages": { |
| | | }, |
| | | "dataType": "form", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "silent": true, |
| | | "replaceData": true |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "id", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "tpl": "                       设备ID:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "id": "u:587781d5d181", |
| | | "style": { |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "蓝色方", |
| | | "name": "blue", |
| | | "id": "u:a4dbdeb9165e", |
| | | "mode": "inline", |
| | | "size": "sm", |
| | | "horizontal": { |
| | | "leftFixed": "sm" |
| | | }, |
| | | "value": "", |
| | | "required": true |
| | | , |
| | | "value":"" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "红色方", |
| | | "name": "red", |
| | | "id": "u:b0544634a698", |
| | | "mode": "inline", |
| | | "clearValueOnHidden": false, |
| | | "hidden": false, |
| | | "required": true |
| | | , |
| | | "value":"" |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "按钮", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:24af29be25d2", |
| | | "actionType": "submit" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:b96a47957f17", |
| | | "hidden": true |
| | | }, |
| | | { |
| | | "type": "divider", |
| | | "id": "u:cc7161244b32" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:89c3a95a6721", |
| | | "tpl": "游戏配置:", |
| | | "inline": true, |
| | | "wrapperComponent": "h2" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "玩湃跨城赛", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "kuachengImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "kuacheng", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "玩湃跨城赛" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "kuachengId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "14" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "kuachengCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "kuachengCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "kuachengInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:a63f776f28ca", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "社区冠军赛", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "shequImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shequ", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "社区冠军赛" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shequId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "16" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "shequCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "shequCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "shequInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:882210cd7611" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "射门速度-玩湃熊之力", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "shemenImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shemen", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "射门速度-玩湃熊之力" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shemenId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "13" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "shemenCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "shemenCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "shemenInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:d191f24cb064" |
| | | } |
| | | ], |
| | | "id": "u:676721d0a98a" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "玩湃熊之力-速度", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "suduImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:4abd099fd344", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sudu", |
| | | "id": "u:825f01e97cf5", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "玩湃熊之力-速度" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "suduId", |
| | | "id": "u:ca5a1fd9c191", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "15" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "suduCoin", |
| | | "id": "u:b6faed384d78", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "suduCash", |
| | | "id": "u:c7181c9b3ded", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "suduInt", |
| | | "id": "u:ee897e373acb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:89bd6bd7e231", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:e49a95f9b2c8", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "方块球王", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "fangkuaiImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "fangkuai", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "方块球王" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "fangkuaiId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "1" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "fangkuaiCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "fangkuaiCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "fangkuaiInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:3aaf60604641" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "镜像阵容", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "jxImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "jx", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "镜像阵容" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "jxId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "7" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "jxCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "jxCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "jxInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:e80cbf026419" |
| | | } |
| | | ], |
| | | "id": "u:a53000ecee93" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "社区小球王", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "sqImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:94fe22c43628", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sq", |
| | | "id": "u:49202e62cd8f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "社区小球王" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sqId", |
| | | "id": "u:49c300f663f6", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "8" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "sqCoin", |
| | | "id": "u:a58559426478", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "sqCash", |
| | | "id": "u:e563cc483458", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "sqInt", |
| | | "id": "u:688f4b7c3392", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:20efa0a87285", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:19d3a6b86a8d", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "涨姿势", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "zsImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:70a81ae5d75c", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs", |
| | | "id": "u:fd19ffe45790", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "涨姿势" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zsId", |
| | | "id": "u:fe85cbcb2f69", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "10" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "zsCoin", |
| | | "id": "u:af69b1a1d9cb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "zsCash", |
| | | "id": "u:8ba3c740b10c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "zsInt", |
| | | "id": "u:6d91bb154939", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:4b37f6a2c067", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:848bad292c8c" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "涨姿势[2]", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "zs2Image", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:22f44cb955d7", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs2", |
| | | "id": "u:97b8937d26a1", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "激战球场" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs2Id", |
| | | "id": "u:49ad851a7bf9", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "11" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "zs2Coin", |
| | | "id": "u:b29c25f053d9", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "zs2Cash", |
| | | "id": "u:88a44c71abb0", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "zs2Int", |
| | | "id": "u:fb82b3cf486c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:cd832349886c", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:68716b29d1cd" |
| | | } |
| | | ], |
| | | "id": "u:0df19fcc8fc2" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "绿茵密码", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "lyImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:704c6970b70d", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "ly", |
| | | "id": "u:c4a543b6cda0", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "社区小球王" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "lyId", |
| | | "id": "u:90d5f2fa406a", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "5" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "lyCoin", |
| | | "id": "u:d78d236c5f95", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "lyCash", |
| | | "id": "u:20b24611e53c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "lyInt", |
| | | "id": "u:25e10253effb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:fe79896823ad", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:b496c245ddf5", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | ], |
| | | "id": "u:5a16b34e0128" |
| | | }, |
| | | { |
| | | "body": [ |
| | | ], |
| | | "id": "u:a49cf291b3fe" |
| | | } |
| | | ], |
| | | "id": "u:4641470c31fd" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "id": "u:8254704349a2", |
| | | "type": "flex", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);", |
| | | "actionType": "custom" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "保存", |
| | | "level": "info", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:24af29be25d2", |
| | | "actionType": "submit" |
| | | }, |
| | | { |
| | | "args": { |
| | | }, |
| | | "script": "window.parent.TStudent.table.refresh();", |
| | | "actionType": "custom" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "relative" |
| | | } |
| | | } |
| | | ], |
| | | "id": "u:ebd322f2aab8" |
| | | } |
| | | ], |
| | | "id": "u:1b16988908d9" |
| | | } |
| | | ], |
| | | "api": { |
| | | "url": "/ball/save", |
| | | "method": "post", |
| | | "messages": { |
| | | }, |
| | | "dataType": "form-data" |
| | | }, |
| | | "actions": [ |
| | | ], |
| | | "onEvent": { |
| | | "submitSucc": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);", |
| | | "actionType": "custom" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | }; |
| | | |
| | | let amisScoped = amis.embed('#root', amisJSON); |
| | | |
| | | |
| | | })(); |
| | | |
| | | function test(){ |
| | | console.log("测试成功") |
| | | } |
| | | |
| | | var myButton = document.getElementById("ttt"); |
| | | myButton.addEventListener("click",test); |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh"> |
| | | <head> |
| | | <meta charset="UTF-8" /> |
| | | <title>amis demo</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta |
| | | name="viewport" |
| | | content="width=device-width, initial-scale=1, maximum-scale=1" |
| | | /> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> |
| | | <link rel="stylesheet" href="${ctxPath}/sdk/sdk.css" /> |
| | | <link rel="stylesheet" href="${ctxPath}/sdk/helper.css" /> |
| | | <link rel="stylesheet" href="${ctxPath}/sdk/iconfont.css" /> |
| | | <!-- 这是默认主题所需的,如果是其他主题则不需要 --> |
| | | <!-- 从 1.1.0 开始 sdk.css 将不支持 IE 11,如果要支持 IE11 请引用这个 css,并把前面那个删了 --> |
| | | <!-- <link rel="stylesheet" href="sdk-ie11.css" /> --> |
| | | <!-- 不过 amis 开发团队几乎没测试过 IE 11 下的效果,所以可能有细节功能用不了,如果发现请报 issue --> |
| | | <style> |
| | | html, |
| | | body, |
| | | .app-wrapper { |
| | | position: relative; |
| | | width: 100%; |
| | | height: 100%; |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div id="root" class="app-wrapper"></div> |
| | | <script src="${ctxPath}/sdk/sdk.js"></script> |
| | | <script type="text/javascript"> |
| | | (function () { |
| | | let amis = amisRequire('amis/embed'); |
| | | // 通过替换下面这个配置来生成不同页面 |
| | | let amisJSON = { |
| | | "type": "page", |
| | | "id": "u:8c028a595aa6", |
| | | "body": [ |
| | | { |
| | | "type": "form", |
| | | "id": "u:24af29be25d2", |
| | | "title": "", |
| | | "body": [ |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                 *所属运营商:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "hidden": `${is3}`, |
| | | "style": { |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "id", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "hidden": `${is3}`, |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${game.id}` |
| | | } |
| | | , |
| | | { |
| | | "type": "select", |
| | | "label": "", |
| | | "hidden": `${is3}`, |
| | | "name": "operationId", |
| | | "id": "u:c037c33c2c81", |
| | | "mode": "inline", |
| | | "size": "md", |
| | | "multiple": false, |
| | | "showInvalidMatch": false, |
| | | "searchable": true, |
| | | "clearable": true, |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "disabledOn": "is!=0", |
| | | "required": true, |
| | | "source": { |
| | | "url": "/ball/yunying", |
| | | "method": "post", |
| | | "messages": { |
| | | } |
| | | }, |
| | | "labelField": "value", |
| | | "valueField": "id", |
| | | "value":`${opId}` |
| | | },{ |
| | | "type": "checkbox", |
| | | "option": "平台", |
| | | "name": "is", |
| | | "hidden": `${is3}`, |
| | | "id": "u:88f23ebcf4f7", |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:c037c33c2c81", |
| | | "args": { |
| | | "value": "$event.data.value" |
| | | }, |
| | | "actionType": "setValue" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "trueValue": "平台", |
| | | "falseValue": 0, |
| | | "mode": "inline", |
| | | "value":`${is!}` |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所在省:", |
| | | "name": "province", |
| | | "id": "u:63c85c19f3aa", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | | "hidden": `${is3}`, |
| | | "size": "md", |
| | | "value":`${game.provinceCode}`, |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "url": "/coursePackage/queryProvince", |
| | | "method": "get", |
| | | "messages": { |
| | | }, |
| | | "sendOn": "" |
| | | }, |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:14bafe37d5f3", |
| | | "actionType": "reload", |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "code", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所在市:", |
| | | "hidden": `${is3}`, |
| | | "name": "city", |
| | | "value":`${game.cityCode}`, |
| | | "id": "u:14bafe37d5f3", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | | "size": "md", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "url": "/coursePackage/queryCity1/$province", |
| | | "method": "post", |
| | | "messages": { |
| | | }, |
| | | "sendOn": "this.province != null &&this.province != ' '" |
| | | }, |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:576899b1b531", |
| | | "actionType": "reload", |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "code", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所属门店:", |
| | | "name": "store", |
| | | "value":`${game.storeId}`, |
| | | "id": "u:576899b1b531", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | | "size": "md", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "method": "post", |
| | | "url": "/coursePackage/queryStore1/$city", |
| | | "messages": { |
| | | }, |
| | | "sendOn": "this.city != null &&this.city != ' '" |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "id", |
| | | "onEvent": { |
| | | "change": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:0d288f4bdd8e", |
| | | "actionType": "reload", |
| | | "dataMergeMode": "merge" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "select", |
| | | "label": "所属场地:", |
| | | "name": "site", |
| | | "value":`${game.siteId}`, |
| | | "id": "u:0d288f4bdd8e", |
| | | "multiple": false, |
| | | "mode": "horizontal", |
| | | "size": "md", |
| | | "horizontal": { |
| | | "leftFixed": "lg" |
| | | }, |
| | | "source": { |
| | | "url": "/coursePackage/querySite/$store", |
| | | "method": "post", |
| | | "messages": { |
| | | }, |
| | | "dataType": "form", |
| | | "requestAdaptor": "", |
| | | "adaptor": "", |
| | | "silent": true, |
| | | "replaceData": true |
| | | }, |
| | | "labelField": "name", |
| | | "valueField": "id", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "tpl": "                       设备ID:", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "id": "u:587781d5d181", |
| | | "style": { |
| | | "marginLeft": "0", |
| | | "fontFamily": "", |
| | | "fontSize": 18 |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "蓝色方", |
| | | "name": "blue", |
| | | "id": "u:a4dbdeb9165e", |
| | | "mode": "inline", |
| | | "size": "sm", |
| | | "horizontal": { |
| | | "leftFixed": "sm" |
| | | }, |
| | | "value": "", |
| | | "required": true |
| | | , |
| | | "value":`${game.blue}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "红色方", |
| | | "name": "red", |
| | | "id": "u:b0544634a698", |
| | | "mode": "inline", |
| | | "clearValueOnHidden": false, |
| | | "hidden": false, |
| | | "required": true |
| | | , |
| | | "value":`${game.red}` |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "label": "按钮", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:24af29be25d2", |
| | | "actionType": "submit" |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "id": "u:b96a47957f17", |
| | | "hidden": true |
| | | }, |
| | | { |
| | | "type": "divider", |
| | | "id": "u:cc7161244b32" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:89c3a95a6721", |
| | | "tpl": "游戏配置:", |
| | | "inline": true, |
| | | "wrapperComponent": "h2" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "玩湃跨城赛", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "kuachengImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${kc.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "kuacheng", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "玩湃跨城赛" |
| | | },{ |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "kcId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${kc.id}` |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "kuachengId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "14" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "kuachengCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg" |
| | | ,"value" :`${kc.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "kuachengCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value" :`${kc.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "kuachengInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${kc.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:a63f776f28ca", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "社区冠军赛", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shequIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${sq.id}` |
| | | }, |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "shequImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${sq.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shequ", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "社区冠军赛" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shequId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "16" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "shequCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sq.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "shequCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sq.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "shequInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sq.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:882210cd7611" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "射门速度-玩湃熊之力", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "smId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${sm.id}` |
| | | }, |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "shemenImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${sm.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shemen", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "射门速度-玩湃熊之力" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "shemenId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "13" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "shemenCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "shemenCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "shemenInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:d191f24cb064" |
| | | } |
| | | ], |
| | | "id": "u:676721d0a98a" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sdId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${sd.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "玩湃熊之力-速度", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "suduImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:4abd099fd344", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${sd.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sudu", |
| | | "id": "u:825f01e97cf5", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "玩湃熊之力-速度" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "suduId", |
| | | "id": "u:ca5a1fd9c191", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "15" |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "suduCoin", |
| | | "id": "u:b6faed384d78", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "suduCash", |
| | | "id": "u:c7181c9b3ded", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "suduInt", |
| | | "id": "u:ee897e373acb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${sm.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:89bd6bd7e231", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:e49a95f9b2c8", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "fkId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${fk.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "方块球王", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "fangkuaiImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${fk.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "fangkuai", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "方块球王" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "fangkuaiId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "1" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "fangkuaiCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${fk.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "fangkuaiCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${fk.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "fangkuaiInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value" :`${fk.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:3aaf60604641" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "jxIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${jx.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "镜像阵容", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "jxImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:824383a8e878", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${jx.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "jx", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "镜像阵容" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "jxId", |
| | | "id": "u:89bccaf7242f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "7" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "jxCoin", |
| | | "id": "u:99015dfd4264", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${jx.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "jxCash", |
| | | "id": "u:31888fb92add", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${jx.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "jxInt", |
| | | "id": "u:c42ab4593d20", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${jx.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:8445330f451b", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:e80cbf026419" |
| | | } |
| | | ], |
| | | "id": "u:a53000ecee93" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "qwId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${qw.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "社区小球王", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "sqImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:94fe22c43628", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${qw.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sq", |
| | | "id": "u:49202e62cd8f", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "社区小球王" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "sqId", |
| | | "id": "u:49c300f663f6", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "8" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "sqCoin", |
| | | "id": "u:a58559426478", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${qw.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "sqCash", |
| | | "id": "u:e563cc483458", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${qw.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "sqInt", |
| | | "id": "u:688f4b7c3392", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${qw.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:20efa0a87285", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:19d3a6b86a8d", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zsIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${zs.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "涨姿势", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "zsImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:70a81ae5d75c", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${zs.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs", |
| | | "id": "u:fd19ffe45790", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "涨姿势" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zsId", |
| | | "id": "u:fe85cbcb2f69", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "10" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "zsCoin", |
| | | "id": "u:af69b1a1d9cb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "zsCash", |
| | | "id": "u:8ba3c740b10c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "zsInt", |
| | | "id": "u:6d91bb154939", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:4b37f6a2c067", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:848bad292c8c" |
| | | }, |
| | | { |
| | | "body": [ |
| | | |
| | | |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "涨姿势[2]", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs2IId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${zs2.id}` |
| | | }, |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "zs2Image", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:22f44cb955d7", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${zs2.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs2", |
| | | "id": "u:97b8937d26a1", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "激战球场" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "zs2Id", |
| | | "id": "u:49ad851a7bf9", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "11" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "zs2Coin", |
| | | "id": "u:b29c25f053d9", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs2.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "zs2Cash", |
| | | "id": "u:88a44c71abb0", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs2.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "zs2Int", |
| | | "id": "u:fb82b3cf486c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${zs2.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:cd832349886c", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:68716b29d1cd" |
| | | } |
| | | ], |
| | | "id": "u:0df19fcc8fc2" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "lyIId", |
| | | "id": "u:a4dbdeb9115e", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": `${ly.id}` |
| | | }, |
| | | { |
| | | "type": "card", |
| | | "header": { |
| | | "title": "绿茵密码", |
| | | "subTitle": "" |
| | | }, |
| | | "body": [ |
| | | { |
| | | "type": "input-image", |
| | | "label": "背景图:", |
| | | "name": "lyImage", |
| | | "autoUpload": true, |
| | | "proxy": true, |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:704c6970b70d", |
| | | "labelClassName": "text-dark", |
| | | "mode": "inline", |
| | | "accept": ".jpeg, .jpg, .png, .gif", |
| | | "multiple": false, |
| | | "hideUploadButton": false, |
| | | "fixedSize": false, |
| | | "value":`${ly.img}` |
| | | },{ |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "          推荐像素:780px x 424px", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "ly", |
| | | "id": "u:c4a543b6cda0", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "绿茵密码" |
| | | }, |
| | | { |
| | | "type": "hidden", |
| | | "label": "", |
| | | "name": "lyId", |
| | | "id": "u:90d5f2fa406a", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b", |
| | | "value": "5" |
| | | }, |
| | | { |
| | | "type": "tpl", |
| | | "id": "u:587781d5d181", |
| | | "tpl": "                                ", |
| | | "inline": true, |
| | | "wrapperComponent": "", |
| | | "style": { |
| | | "marginLeft": "0" |
| | | } |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "玩派币", |
| | | "name": "lyCoin", |
| | | "id": "u:d78d236c5f95", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${ly.playCoin}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "现金", |
| | | "name": "lyCash", |
| | | "id": "u:20b24611e53c", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${ly.cash}` |
| | | }, |
| | | { |
| | | "type": "input-text", |
| | | "label": "积分", |
| | | "name": "lyInt", |
| | | "id": "u:25e10253effb", |
| | | "mode": "inline", |
| | | "labelClassName": "text-dark m-b text-lg", |
| | | "value":`${ly.integral}` |
| | | } |
| | | ], |
| | | "actions": [ |
| | | ], |
| | | "id": "u:fe79896823ad", |
| | | "bodyClassName": "no-border b-light", |
| | | "className": "no-border" |
| | | } |
| | | ], |
| | | "id": "u:b496c245ddf5", |
| | | "columnClassName": "p-l-lg" |
| | | }, |
| | | { |
| | | "body": [ |
| | | ], |
| | | "id": "u:5a16b34e0128" |
| | | }, |
| | | { |
| | | "body": [ |
| | | ], |
| | | "id": "u:a49cf291b3fe" |
| | | } |
| | | ], |
| | | "id": "u:4641470c31fd" |
| | | }, |
| | | { |
| | | "type": "grid", |
| | | "columns": [ |
| | | { |
| | | "body": [ |
| | | { |
| | | "id": "u:8254704349a2", |
| | | "type": "flex", |
| | | "className": "p-1", |
| | | "items": [ |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "关闭", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);", |
| | | "actionType": "custom" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "type": "button", |
| | | "id": "u:6c0b8f917bf7", |
| | | "label": "保存", |
| | | "level": "info", |
| | | "onEvent": { |
| | | "click": { |
| | | "actions": [ |
| | | { |
| | | "componentId": "u:24af29be25d2", |
| | | "actionType": "submit" |
| | | }, |
| | | { |
| | | "args": { |
| | | }, |
| | | "script": "window.parent.TStudent.table.refresh();", |
| | | "actionType": "custom" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | ], |
| | | "style": { |
| | | "position": "relative" |
| | | } |
| | | } |
| | | ], |
| | | "id": "u:ebd322f2aab8" |
| | | } |
| | | ], |
| | | "id": "u:1b16988908d9" |
| | | } |
| | | ], |
| | | "api": { |
| | | "url": "/ball/save", |
| | | "method": "post", |
| | | "messages": { |
| | | }, |
| | | "dataType": "form-data" |
| | | }, |
| | | "actions": [ |
| | | ], |
| | | "onEvent": { |
| | | "submitSucc": { |
| | | "weight": 0, |
| | | "actions": [ |
| | | { |
| | | "args": { |
| | | }, |
| | | "script": "parent.layer.close(window.parent.TStudent.layerIndex);", |
| | | "actionType": "custom" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | }; |
| | | |
| | | let amisScoped = amis.embed('#root', amisJSON); |
| | | |
| | | |
| | | })(); |
| | | |
| | | function test(){ |
| | | console.log("测试成功") |
| | | } |
| | | |
| | | var myButton = document.getElementById("ttt"); |
| | | myButton.addEventListener("click",test); |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
| | |
| | | , yes: function () { |
| | | let courseId = $('#courseId').val(); |
| | | let integral = $('#integral').val(); |
| | | let packId = $('#id').val(); |
| | | if(null == courseId || '' == courseId){ |
| | | Feng.error("请选择有效的课程"); |
| | | return |
| | |
| | | }); |
| | | ajax.set("id", ClassRecord.seItem.id); |
| | | ajax.set("courseId", courseId); |
| | | ajax.set("packId", packId); |
| | | ajax.set("integral", integral); |
| | | ajax.start(); |
| | | }, |
| | |
| | | } |
| | | lay('.startAndEndDay').each(function(i, e){ |
| | | laydate.render({ |
| | | trigger: 'click', |
| | | elem: this |
| | | ,type: 'datetime' |
| | | ,range: true |
| | |
| | | }); |
| | | lay('.time').each(function(i, e){ |
| | | laydate.render({ |
| | | trigger: 'click', |
| | | |
| | | elem: this |
| | | ,type: 'time' |
| | | ,range: true |
| | |
| | | } |
| | | } |
| | | hh += '/> 周一 ' + |
| | | ' <input type="checkbox" name="week" value="2"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(3, this, \'weeks\')" name="week" value="2"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 2){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周二 ' + |
| | | ' <input type="checkbox" name="week" value="3"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(3, this, \'weeks\')" name="week" value="3"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 3){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周三 ' + |
| | | ' <input type="checkbox" name="week" value="4"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(3, this, \'weeks\')" name="week" value="4"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 4){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周四 ' + |
| | | ' <input type="checkbox" name="week" value="5"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(3, this, \'weeks\')" name="week" value="5"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 5){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周五 ' + |
| | | ' <input type="checkbox" name="week" value="6"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(3, this, \'weeks\')" name="week" value="6"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 6){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周六 ' + |
| | | ' <input type="checkbox" name="week" value="7"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(3, this, \'weeks\')" name="week" value="7"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 7){ |
| | |
| | | } |
| | | } |
| | | $('#limitedTimeDiscount').html(hh); |
| | | |
| | | |
| | | |
| | | if(data_value){ |
| | | CoursePackageDiscount.coursePackagePaymentConfig[index].coursePackageDiscount.push({ |
| | | type: 3, |
| | |
| | | } |
| | | } |
| | | hh += '/> 周一 ' + |
| | | ' <input type="checkbox" name="week" value="2"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(4, this, \'weeks\')" name="week" value="2"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 2){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周二 ' + |
| | | ' <input type="checkbox" name="week" value="3"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(4, this, \'weeks\')" name="week" value="3"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 3){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周三 ' + |
| | | ' <input type="checkbox" name="week" value="4"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(4, this, \'weeks\')" name="week" value="4"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 4){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周四 ' + |
| | | ' <input type="checkbox" name="week" value="5"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(4, this, \'weeks\')" name="week" value="5"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 5){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周五 ' + |
| | | ' <input type="checkbox" name="week" value="6"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(4, this, \'weeks\')" name="week" value="6"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 6){ |
| | |
| | | } |
| | | } |
| | | hh += '/> 周六 ' + |
| | | ' <input type="checkbox" name="week" value="7"'; |
| | | ' <input type="checkbox" onclick="addPriceValue(4, this, \'weeks\')" name="week" value="7"'; |
| | | for (let k = 0; k < jsonArray[j].weeks.length; k++) { |
| | | let w = jsonArray[j].weeks[k]; |
| | | if(w == 7){ |
| | |
| | | } |
| | | CoursePackageDiscount.coursePackagePaymentConfig[index].coursePackageDiscount = arra; |
| | | } |
| | | |
| | | |
| | | lay('.startAndEndDay').each(function(i, e){ |
| | | laydate.render({ |
| | | trigger: 'click', |
| | | elem: this |
| | | ,type: 'datetime' |
| | | ,range: true |
| | | ,done: function(value, date, endDate){ |
| | | let index = $('#classHours').find('button[checked]').attr('index'); |
| | | let obj = CoursePackageDiscount.coursePackagePaymentConfig[index]; |
| | | let ii = $(e).parent('div').parent('div').parent('div').parent('div').attr('index'); |
| | | for (let i = 0; i < obj.coursePackageDiscount.length; i++) { |
| | | if(type == obj.coursePackageDiscount[i].type){ |
| | | let jsonArray = obj.coursePackageDiscount[i].content; |
| | | for (let j = 0; j < jsonArray.length; j++) { |
| | | if(j == ii){ |
| | | let arr = value.split(" - "); |
| | | obj.coursePackageDiscount[i].content[j]['startDate'] = arr[0]; |
| | | obj.coursePackageDiscount[i].content[j]['endDate'] = arr[1]; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | lay('.time').each(function(i, e){ |
| | | laydate.render({ |
| | | trigger: 'click', |
| | | |
| | | elem: this |
| | | ,type: 'time' |
| | | ,range: true |
| | | ,done: function(value, date, endDate){ |
| | | let index = $('#classHours').find('button[checked]').attr('index'); |
| | | let obj = CoursePackageDiscount.coursePackagePaymentConfig[index]; |
| | | let ii = $(e).parent('div').parent('div').parent('div').parent('div').attr('index'); |
| | | for (let i = 0; i < obj.coursePackageDiscount.length; i++) { |
| | | if(type == obj.coursePackageDiscount[i].type){ |
| | | let jsonArray = obj.coursePackageDiscount[i].content; |
| | | for (let j = 0; j < jsonArray.length; j++) { |
| | | if(j == ii){ |
| | | let arr = value.split(" - "); |
| | | obj.coursePackageDiscount[i].content[j]['startTime'] = arr[0]; |
| | | obj.coursePackageDiscount[i].content[j]['endTime'] = arr[1]; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | }) |
| | | |
| | | |
| | | |
| | | |
| | | selectedPperiod(); |
| | | }); |