first commit

This commit is contained in:
2025-02-20 14:58:55 +08:00
parent 687bda5ead
commit d7be84fac6
1158 changed files with 127232 additions and 0 deletions
+282
View File
@@ -0,0 +1,282 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ZHIQIM-CONTEXT PUBLIC "-//ZHIQIM //DTD Zhiqim-Context Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_context_1_5_0.dtd">
<zhiqim-context>
<!-- 组件配置 -->
<component name="管理台" path="/org/zhiqim/manager/resource"/>
<component name="大文件上传组件" path="/org/zhiqim/uploadlarge/resource"/>
<component name="媒体编辑" path="/com/zhiqim/media/manage/resource"/>
<component name="富文本编辑器" path="/org/zhiqim/texteditor/resource"/>
<!-- 属性配置 -->
<attribute name="系统名称" key="name" value="设计师工作台"/>
<attribute name="系统版本" key="version" value="V4.0"/>
<attribute name="系统引导" key="bootstrap" value="com.zhiqim.yangcai.design.MediaDesignBootstrap" />
<!-- <attribute name="系统引导" key="websocket" value="com.zhiqim.yangcai.design.DesignerWorkListner" />-->
<!-- 接口调用 -->
<action name="接口地址" path="/getFileUrl.htm" class="com.zhiqim.yangcai.design.action.editor.GetFileUrlAction"/>
<action name="手机登录" path="/iphoneLogin.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/editor/iphoneLogin.zml" class="com.zhiqim.yangcai.design.action.editor.IphoneLogintAction" />
<action name="简奈设计平台" interceptor="chkZmrLogin" path="/editorSystem.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/editor/editorSystem.zml" class="com.zhiqim.yangcai.design.action.editor.EditorSystemAction" />
<!-- 拦截器 -->
<interceptor name="长尾词关联拦截器" key="ChkLongTailKeyword" class="com.zhiqim.yangcai.design.ChkLongTailKeyword"/>
<interceptor name="检查插件登录" key="chkPluginLogin" class="com.zhiqim.yangcai.design.ChkPluginInterceptor"/>
<!-- 会话用户 -->
<sessionUser name="会话用户" path="*" class="org.zhiqim.manager.ZmrSessionUser"/>
<!-- 文件下载 -->
<action name="文件下载" path="/downFile.htm" class="com.zhiqim.yangcai.design.action.DownloadFileAction"/>
<action name="文件下载" path="/downQuestionsFile.htm" class="com.zhiqim.yangcai.design.action.DownloadQuestionsFileAction"/>
<action name="文件右边列表" interceptor="chkZmrLogin" path="/attaFileList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/attaFileList.zml" class="com.zhiqim.yangcai.design.action.AttaFileListAction" />
<action name="订单详情" interceptor="chkZmrLogin" path="/allOrderDetail.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/allOrderDetail.zml" class="com.zhiqim.yangcai.design.action.AttaFileListAction" />
<action name="标签右边列表" interceptor="chkZmrLogin" path="/tagAttaInfoList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/tagAttaInfoList.zml" class="com.zhiqim.yangcai.design.action.TagAttaInfoListAction" />
<action name="修改模板文件id" interceptor="chkZmrLogin" path="/manager/updateTemplateId.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/editor/updateTemplateId.zml" />
<action name="初稿缩略图" path="/*-FristThumFile.png" class="com.zhiqim.yangcai.design.action.PNGAction"/>
<action name="读取成品文件显示缩略图" path="*-endFile" class="com.zhiqim.yangcai.design.action.ThumImgAction"/>
<action name="申诉显示图片" path="/*-img" class="com.zhiqim.yangcai.design.action.ThumImgAction"/>
<action name="质检违规证据图" path="/*-qcImg" class="com.zhiqim.yangcai.design.action.ThumImgAction"/>
<action name="放大图片" path="/showLargeImg.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/showLargeImg.zml"/>
<!-- 用户退出 -->
<action name="退出" path="/${zhiqim_manager}/logout.htm" redirect="/index.htm" class="com.zhiqim.yangcai.design.action.DesignLogoutAction"/>
<action name="注册" path="/reg.htm" view="/zview/zhiqim_manager/reg.zml" />
<action name="忘记密码" path="/resetPassword.htm" view="/zview/zhiqim_manager/resetPassword.zml" />
<action name="进度备注" interceptor="chkZmrLogin" path="/progressNote.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/progressNote.zml" class="com.zhiqim.yangcai.design.action.order.ProgressNoteAction"/>
<action name="退款申诉审核" interceptor="chkZmrLogin" path="/complaintOrder.htm" redirect="/complaintOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/complaintOrder.zml" class="com.zhiqim.yangcai.design.action.order.ComplaintOrderAction"/>
<action name="申诉详情预览" interceptor="chkZmrLogin" path="/complaintView.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/complaintView.zml" class="com.zhiqim.yangcai.design.action.order.ComplaintViewAction"/>
<action name="我的质检" interceptor="chkZmrLogin" path="/qcPersonal.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcPersonal.zml" class="com.zhiqim.yangcai.design.action.order.QcPersonalAction"/>
<action name="申请加分" interceptor="chkZmrLogin" path="/qcApplyScore.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcApplyScore.zml" class="com.zhiqim.yangcai.design.action.order.QcApplyScoreAction" />
<action name="质检加分列表" interceptor="chkZmrLogin" path="/qcApplyScoreList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcApplyScoreList.zml" class="com.zhiqim.yangcai.design.action.order.QcApplyScoreListAction"/>
<action name="质检加分详情" interceptor="chkZmrLogin" path="/qcApplyDetail.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcApplyDetail.zml" class="com.zhiqim.yangcai.design.action.order.QcApplyDetailAction"/>
<action name="质检订单列表" interceptor="chkZmrLogin" path="/qcOrderList.htm" redirect="/qcOrderList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcOrderList.zml" class="com.zhiqim.yangcai.design.action.order.QcOrderListAction"/>
<action name="质检判定页面" interceptor="chkZmrLogin" path="/qcJudge.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcJudge.zml" class="com.zhiqim.yangcai.design.action.order.QcJudgeAction"/>
<action name="质检违规列表" interceptor="chkZmrLogin" path="/qcViolationsList.htm" redirect="/qcViolationsList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcViolationsList.zml" class="com.zhiqim.yangcai.design.action.order.QcViolationsListAction"/>
<action name="质检违规详情" interceptor="chkZmrLogin" path="/qcViolationsDetail.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcViolationsDetail.zml" class="com.zhiqim.yangcai.design.action.order.QcViolationsDetailAction"/>
<!-- 投诉订单 -->
<action name="投诉单列表" interceptor="chkZmrLogin" path="/complainTotalOrderList.htm" redirect="/complainTotalOrderList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/complain/complainTotalOrderList.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainTotalOrderListAction"/>
<action name="待处理投诉单" interceptor="chkZmrLogin" path="/complainWantDealList.htm" redirect="/complainWantDealList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/complain/complainWantDealList.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainWantDealListAction"/>
<action name="投诉统计" interceptor="chkZmrLogin" path="/complainFinishList.htm" redirect="/complainFinishList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/complain/complainFinishList.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainFinishlListAction"/>
<action name="投诉单详情" interceptor="chkZmrLogin" path="/complainDetail.htm" redirect="/complainTotalOrderList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/complain/complainDetail.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainDetailAction"/>
<action name="投诉单处理" interceptor="chkZmrLogin" path="/complainDeal.htm" redirect="/complainWantDealList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/complain/complainDeal.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainDealAction"/>
<!-- ************************************************************************************* -->
<!-- 设计订单 -->
<action name="设计订单" interceptor="chkZmrLogin" path="/designOrder.htm" redirect="/designOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrder.zml" class="com.zhiqim.yangcai.design.action.order.DesignOrderAction"/>
<action name="历史完成订单" interceptor="chkZmrLogin" path="/designOrderFinish.htm" redirect="/designOrderFinish.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrderFinish.zml" class="com.zhiqim.yangcai.design.action.order.DesignOrderFinishAction"/>
<action name="放弃订单" interceptor="chkZmrLogin" path="/waiveOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/waiveOrder.zml" class="com.zhiqim.yangcai.design.action.order.WaiveOrderAction"/>
<action name="抢单大厅" interceptor="chkZmrLogin" path="/receiveOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/receiveOrder.zml" class="com.zhiqim.yangcai.design.action.order.ReceiveOrderAction"/>
<action name="抢单功能" interceptor="chkZmrLogin" path="/contendOrder.htm" view="/ztmpl/zhiqim_manager/dialog.htm" include="/zview/order/contendOrder.zml" class="com.zhiqim.yangcai.design.action.order.ContendOrderAction"/>
<action name="资料上传" interceptor="chkZmrLogin" path="/uploadData.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/uploadData.zml" class="com.zhiqim.yangcai.design.action.order.UploadDataAction"/>
<action name="修改行业" interceptor="chkZmrLogin" path="/modifyIndustry.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/modifyIndustry.zml" class="com.zhiqim.yangcai.design.action.order.ModifyIndustryAction"/>
<action name="暂停设计" interceptor="chkZmrLogin" path="/designOrderStop.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/designOrderStop.zml"/>
<action name="完成初稿" interceptor="chkZmrLogin" path="/designOrderDraft.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/designOrderDraft.zml" />
<action name="申请退款" interceptor="chkZmrLogin" path="/designOrderRefund.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/designOrderRefund.zml" class="com.zhiqim.yangcai.design.action.order.DesignOrderRefundAction"/>
<action name="审稿详情" interceptor="chkZmrLogin" path="/checkBackDetail.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/checkBackDetail.zml" class="com.zhiqim.yangcai.design.action.order.CheckBackDetailAction"/>
<action name="旺旺订单" interceptor="chkZmrLogin" path="/wangwangOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/wangwangOrder.zml" class="com.zhiqim.yangcai.design.action.order.WangwangOrderAction"/>
<!--管理规范-->
<action name="行为规范" interceptor="chkZmrLogin" path="/designStandard.htm" redirect="/designStandard.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designStandard.zml" class="com.zhiqim.yangcai.design.action.order.DesignStandardAction"/>
<action name="行为规范列表" interceptor="chkZmrLogin" path="/designStandardList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/designStandardList.zml" class="com.zhiqim.yangcai.design.action.order.DesignStandardAction" />
<action name="行为规范详情" interceptor="chkZmrLogin" path="/designStandardDetails.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/designStandardDetails.zml" class="com.zhiqim.yangcai.design.action.order.DesignStandardDetailsAction" />
<!-- 标签管理 -->
<action name="标签行业" interceptor="chkZmrLogin" path="/labelIndustry.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelIndustry.zml" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction"/>
<action name="增加标签行业页面" interceptor="chkZmrLogin" path="/labelIndustryAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelIndustryAdd.zml" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="add"/>
<action name="增加标签行业处理" interceptor="chkZmrLogin" path="/labelIndustryInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelIndustry.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="insert"/>
<action name="修改标签行业页面" interceptor="chkZmrLogin" path="/labelIndustryModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelIndustryModify.zml" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="modify"/>
<action name="修改标签行业处理" interceptor="chkZmrLogin" path="/labelIndustryUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelIndustry.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="update"/>
<action name="删除标签行业处理" interceptor="chkZmrLogin" path="/labelIndustryDelete.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelIndustry.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="delete"/>
<action name="标签属性" interceptor="chkZmrLogin" path="/labelAttributeCat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeCat.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction"/>
<action name="增加标签属性页面" interceptor="chkZmrLogin" path="/labelAttributeCatAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeCatAdd.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="add"/>
<action name="增加标签属性处理" interceptor="chkZmrLogin" path="/labelAttributeCatInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelAttributeCat.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="insert"/>
<action name="修改标签属性页面" interceptor="chkZmrLogin" path="/labelAttributeCatModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeCatModify.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="modify"/>
<action name="修改标签属性处理" interceptor="chkZmrLogin" path="/labelAttributeCatUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelAttributeCat.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="update"/>
<action name="删除标签属性处理" interceptor="chkZmrLogin" path="/labelAttributeCatDelete.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelAttributeCat.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="delete"/>
<action name="标签属性值" interceptor="chkZmrLogin" path="/labelAttribute.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttribute.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction"/>
<action name="添加标签属性值页面" interceptor="chkZmrLogin" path="/labelAttributeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeAdd.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="add"/>
<action name="添加标签属性值处理" interceptor="chkZmrLogin" path="/labelAttributeInsert.htm" redirect="/labelAttribute.htm" success="添加成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="insert"/>
<action name="修改标签属性值值页面" interceptor="chkZmrLogin" path="/labelAttributeModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeModify.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="modify"/>
<action name="修改标签属性值处理" interceptor="chkZmrLogin" path="/labelAttributeUpdate.htm" redirect="/labelAttribute.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="update"/>
<action name="删除标签属性值处理" interceptor="chkZmrLogin" path="/labelAttributeDelete.htm" redirect="/labelAttribute.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="delete"/>
<!-- 我的模板 -->
<action name="我的草稿模板" interceptor="chkZmrLogin" path="/templateDraftMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateDraftMy.zml" />
<action name="我的订单模板" interceptor="chkZmrLogin" path="/templateOrderMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateOrderMy.zml" />
<action name="我的模板" interceptor="chkZmrLogin" path="/templateMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateMy.zml"/>
<action name="我收藏的" interceptor="chkZmrLogin" path="/templateCollect.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateCollect.zml"/>
<action name="分享给我的" interceptor="chkZmrLogin" path="/templateShare.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateShare.zml"/>
<action name="所有模板" interceptor="chkZmrLogin" path="/allTemplate.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/allTemplate.zml" />
<action name="精品模板" interceptor="chkZmrLogin" path="/bestTemplate.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/bestTemplate.zml" />
<action name="模板审核" interceptor="chkZmrLogin" path="/templateAudit.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateAudit.zml" />
<action name="精品审核" interceptor="chkZmrLogin" path="/templateBestAudit.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateBestAudit.zml" />
<action name="模版审核日志" interceptor="chkZmrLogin" path="/desTemplateLogList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/desTemplateLogList.zml" class="com.zhiqim.yangcai.design.action.template.DesTemplateLogAction"/>
<action name="模板关联标签" interceptor="chkZmrLogin" path="/templateLabel.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/templateLabel.zml" class="com.zhiqim.yangcai.design.action.template.TemplateLabelAction"/>
<action name="模板详情" interceptor="chkZmrLogin" path="/templateShow.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/templateShow.zml" class="com.zhiqim.yangcai.design.action.template.TemplateShowAction"/>
<action name="模板下载" interceptor="chkZmrLogin" path="/templateDownload.htm" class="com.zhiqim.yangcai.design.action.template.TemplateDownloadAction"/>
<action name="新建我的模板" path="/newMyTemplate.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/inner/newMyTemplate.zml" class="com.zhiqim.yangcai.design.action.template.NewMyTemplateAction"/>
<action name="用户素材管理" path="/userMaterialList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/userMaterialList.zml" class="com.zhiqim.yangcai.design.action.template.UserMaterialAction" method="list"/>
<action name="添加系统素材" path="/addSysMaterial.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/addSysMaterial.zml" class="com.zhiqim.yangcai.design.action.template.UserMaterialAction" method="add"/>
<action name="外部稿件上传" interceptor="chkZmrLogin" path="/externalDraftUpload.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/externalDraftUpload.zml"/>
<action name="外部稿件下载" interceptor="chkZmrLogin" path="/externalDraftDownload.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/externalDraftDownload.zml" class="com.zhiqim.yangcai.design.action.template.ExternalDraftDownloadAction"/>
<!-- 作品库 -->
<action name="作品上传" interceptor="chkZmrLogin" path="/worksUpload.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/worksUpload.zml" class="com.zhiqim.yangcai.design.action.works.WorksUploadAction"/>
<action name="标签关联" interceptor="chkZmrLogin" path="/labelRelation.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/labelRelation.zml" class="com.zhiqim.yangcai.design.action.works.LabelRelationAction"/>
<action name="我的作品" interceptor="chkZmrLogin" path="/worksMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksMy.zml" class="com.zhiqim.yangcai.design.action.works.WorksMyAction"/>
<action name="我收藏的" interceptor="chkZmrLogin" path="/worksCollect.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksCollect.zml" class="com.zhiqim.yangcai.design.action.works.WorksCollectAction"/>
<action name="我的精品" interceptor="chkZmrLogin" path="/worksBest.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksBest.zml" class="com.zhiqim.yangcai.design.action.works.WorksBestAction"/>
<action name="分享给我的" interceptor="chkZmrLogin" path="/worksShare.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksShare.zml" class="com.zhiqim.yangcai.design.action.works.WorksShareAction"/>
<action name="小组作品" interceptor="chkZmrLogin" path="/groupWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/groupWorks.zml" class="com.zhiqim.yangcai.design.action.works.GroupWorksAction"/>
<action name="所有作品" interceptor="chkZmrLogin" path="/allWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/allWorks.zml" class="com.zhiqim.yangcai.design.action.works.AllWorksAction"/>
<action name="精品作品" interceptor="chkZmrLogin" path="/bestWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/bestWorks.zml" class="com.zhiqim.yangcai.design.action.works.BestWorksAction"/>
<action name="精品审核" interceptor="chkZmrLogin" path="/worksAudit.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksAudit.zml" class="com.zhiqim.yangcai.design.action.works.WorksAuditAction"/>
<action name="作品详情" interceptor="chkZmrLogin" path="/worksShow.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/worksShow.zml" class="com.zhiqim.yangcai.design.action.works.WorksShowAction"/>
<action name="作品下载" interceptor="chkZmrLogin" path="/worksDownload.htm" class="com.zhiqim.yangcai.design.action.works.WorksDownloadAction"/>
<action name="外网下载" path="/cdrWorksDownload.htm" class="com.zhiqim.yangcai.design.action.works.CdrWorksDownloadAction"/>
<action name="作品列表" interceptor="chkZmrLogin" path="/worksList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksList.zml" class="com.zhiqim.yangcai.design.action.works.WorksListAction"/>
<action name="对外所有作品" path="/pcWorks.htm" view="/zview/works/pcWorks.zml" class="com.zhiqim.yangcai.design.action.works.AllWorksAction"/>
<action name="对外作品详情" path="/worksShowPC.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/worksShowPC.zml" class="com.zhiqim.yangcai.design.action.works.WorksShowPCAction"/>
<!-- 作品素材管理 -->
<action name="分类列表" interceptor="chkZmrLogin" path="/works/materialCatList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialCatList.zml" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="list"/>
<action name="分类增加" interceptor="chkZmrLogin" path="/works/materialCatAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialCatAdd.zml" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="add"/>
<action name="分类增加处理" interceptor="chkZmrLogin" path="/works/materialCatInsert.htm" redirect="/works/materialCatList.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="insert"/>
<action name="分类修改" interceptor="chkZmrLogin" path="/works/materialCatModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialCatModify.zml" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="modify"/>
<action name="分类修改处理" interceptor="chkZmrLogin" path="/works/materialCatUpdate.htm" redirect="/works/materialCatList.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="update"/>
<action name="分类删除处理" interceptor="chkZmrLogin" path="/works/materialCatDelete.htm" redirect="/works/materialCatList.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="delete"/>
<action name="素材列表" interceptor="chkZmrLogin" path="/works/materialContList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialContList.zml" class="com.zhiqim.yangcai.design.action.works.MaterialContAction" method="list"/>
<action name="素材增加" interceptor="chkZmrLogin" path="/works/materialContAdd.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/materialContAdd.zml" class="com.zhiqim.yangcai.design.action.works.MaterialContAction" method="add"/>
<action name="素材修改" interceptor="chkZmrLogin" path="/works/materialContModify.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/materialContModify.zml" class="com.zhiqim.yangcai.design.action.works.MaterialContAction" method="modify"/>
<!-- 通用 -->
<action name="选择行业" interceptor="chkZmrLogin" path="/industrySelect.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/inner/industrySelect.zml" class="com.zhiqim.yangcai.design.action.template.IndustrySelectAction"/>
<!-- 设计师搜索模板管理 -->
<action name="模板预览" interceptor="chkZmrLogin" path="/templatePreview.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/des/templatePreview.zml" class="com.zhiqim.yangcai.design.action.des.TemplatePreviewAction"/>
<action name="电子名片模板预览" interceptor="chkZmrLogin" path="/templateCardPreview.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/des/templateCardPreview.zml" class="com.zhiqim.yangcai.design.action.des.TemplateCardPreviewAction"/>
<action name="模板客户预览" path="/templateCustomerPreview.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/des/templateCustomerPreview.zml" class="com.zhiqim.yangcai.design.action.des.TemplateCustomerPreviewAction"/>
<action name="弹框截图" interceptor="chkZmrLogin" path="/copyImage.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/des/inner/copyImage.zml" />
<action name="H5设计" interceptor="chkZmrLogin" path="/H5DesignView.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/des/H5DesignView.zml"/>
<!-- 考试题库 -->
<action name="考试题库" interceptor="chkZmrLogin" path="/designOrderQuestions.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrderQuestions.zml" class="com.zhiqim.yangcai.design.action.order.ConfigQuestionsAction"/>
<action name="新增考试订单" interceptor="chkZmrLogin" path="/configQuestionsAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/configQuestionsAdd.zml"/>
<action name="更新考试订单" interceptor="chkZmrLogin" path="/configQuestionsModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/configQuestionsModify.zml" class="com.zhiqim.yangcai.design.action.order.ConfigQuestionsModifyAciton"/>
<action name="积分细则" interceptor="chkZmrLogin" path="/scoreType.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreType.zml" class="com.zhiqim.yangcai.design.action.score.ScoreTypeAction"/>
<action name="设计师积分数据" interceptor="chkZmrLogin" path="/scoreDesignerRecord.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerRecord.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordAction"/>
<action name="积分详情" interceptor="chkZmrLogin" path="/scoreDesignerRecordDetail.htm" view="/ztmpl/zhiqim_manager/dialog.htm" include="/zview/score/scoreDesignerRecordDetail.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordDetailAction"/>
<action name="人工修正" interceptor="chkZmrLogin" path="/scoreDesignerRecordDetailAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerRecordAdd.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordDetailAction" method="add"/>
<action name="人工修正处理" interceptor="chkZmrLogin" path="/scoreDesignerRecordDetailInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/scoreDesignerRecord.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordDetailAction" method="insert"/>
<!-- ************************************************************ -->
<!-- ****************售后部分************************************* -->
<!-- ************************************************************ -->
<action name="售后单列表" interceptor="chkZmrLogin" path="/designAfterOrder.htm" redirect="/designAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/designAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.DesignAfterOrderAction"/>
<action name="售后申诉单列表" interceptor="chkZmrLogin" path="/afterBlameReturn.htm" redirect="/afterBlameReturn.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/afterBlameReturn.zml" class="com.zhiqim.yangcai.design.action.after.AfterBlameReturnOrderAction"/>
<action name="需处理的售后单" interceptor="chkZmrLogin" path="/waitHandleAfterOrder.htm" redirect="/waitHandleAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/waitHandleAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.WaitHandleAfterOrderAction"/>
<action name="个人售后单列表" interceptor="chkZmrLogin" path="/personalAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/personalAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.PersonalAfterOrderAction"/>
<action name="我导致的售后单" interceptor="chkZmrLogin" path="/handledAfterOrder.htm" redirect="/handledAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/handledAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.HandledAfterOrderAction"/>
<!-- ****************统计部分************************************* -->
<action name="绩效统计" interceptor="chkZmrLogin" path="/designerPerformance.htm" redirect="/designerPerformance.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/designerPerformance.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignerPerformanceAction"/>
<action name="定稿率统计" interceptor="chkZmrLogin" path="/completeDesignRateStat.htm" redirect="/completeDesignRateStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/completeDesignRateStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.CompleteDesignRateStatAction"/>
<action name="定稿超时统计" interceptor="chkZmrLogin" path="/timeoutDesignerComplete.htm" redirect="/timeoutDesignerComplete.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/timeoutDesignerComplete.zml" class="com.zhiqim.yangcai.design.action.stat.design.TimeoutDesignerCompleteAction"/>
<action name="退款申诉" interceptor="chkZmrLogin" path="/personalRefundComplaint.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/stat/refund/personalRefundComplaint.zml"/>
<action name="退款统计" interceptor="chkZmrLogin" path="/designOrderRefundRateStat.htm" redirect="/designOrderRefundRateStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/refund/designOrderRefundRateStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignOrderRefundRateStatAction"/>
<action name="售后统计" interceptor="chkZmrLogin" path="/designAfterStatistics.htm" redirect="/designAfterStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/after/designAfterStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.after.DesignAfterStatisticsAction"/>
<action name="设计师当月定稿率统计" interceptor="chkZmrLogin" path="/toMonthDesign.htm" redirect="/toMonthDesign.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/toMonthDesign.zml" class="com.zhiqim.yangcai.design.action.stat.design.ToMonthDesignStatAction"/>
<!-- ****************统计部分************************************* -->
<!-- 消息盒子 -->
<attribute name="系统引导" key="websocket" value="com.zhiqim.yangcai.design.messagebox.ZqmMessageBoxWS" />
<action name="消息盒子(我接收的)" interceptor="chkZmrLogin" path="/${zhiqim_manager}/message.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/zhiqim_manager/message.zml" class="com.zhiqim.yangcai.design.messagebox.MessageAction"/>
<action name="消息盒子(我发送的)" interceptor="chkZmrLogin" path="/${zhiqim_manager}/messageFromMe.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/zhiqim_manager/messageFromMe.zml" class="com.zhiqim.yangcai.design.messagebox.MessageFromMeAction"/>
<!-- 客户标签 -->
<action name="补充标签" interceptor="chkZmrLogin" path="/fillLabelInfo.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/templateOrder/fillLabelInfo.zml" class="com.zhiqim.yangcai.design.action.template.FillLabelInfoAction" />
<!-- 移动端作品库部分 -->
<action name="移动端作品库首页" path="/mobileWorksHome.htm" view="/ztmpl/zhiqim_manager/empty.htm" include="/zview/mobileWorks/mobileWorksHome.zml" class="com.zhiqim.yangcai.design.action.mobileworks.MobileWorksAction" />
<action name="移动端单个作品详情页" path="/mobileWorkDetail.htm" view="/ztmpl/zhiqim_manager/empty.htm" include="/zview/mobileWorks/mobileWorkDetail.zml" class="com.zhiqim.yangcai.design.action.mobileworks.MobileWorksDetailAction" />
<!-- 移动端模板库部分 -->
<action name="移动端模板库首页" path="/mobileTemplateHome.htm" view="/ztmpl/zhiqim_manager/empty.htm" include="/zview/mobileTemplate/mobileTemplateHome.zml" class="com.zhiqim.yangcai.design.action.mobiletemplate.MobileTemplateAction" />
<action name="移动端单个模板详情页" path="/mobileTemplateDetail.htm" class="com.zhiqim.yangcai.design.action.mobiletemplate.MobileTemplateDetailAction" />
<!-- 秒绘电子名片支持接口 -->
<action name="查询电子名片设计元素json字符串" path="/dzmpSupportList.htm" class="com.zhiqim.yangcai.design.action.dzmpsupport.DzmpSupportAction" method="list" />
<action name="编辑电子名片设计元素json字符串" path="/dzmpSupportUpdate.htm" class="com.zhiqim.yangcai.design.action.dzmpsupport.DzmpSupportAction" method="update" />
<action name="电子名片用户绑定设计平台名片" path="/dzmpUserBindingCard.htm" class="com.zhiqim.yangcai.design.action.dzmpsupport.DzmpUserBindCardAction" />
<!-- 微信公众号对接企业微信API的支持接口 -->
<action name="获取设计师个人信息" path="/wkwechatSupportGetDesignerInfo.htm" class="com.zhiqim.yangcai.design.action.wkwechatsupport.WkwechatSupportAction" />
<action name="定稿线程池统计" interceptor="chkZmrLogin" path="/pdfQueue.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/pdfQueue.zml" class="com.zhiqim.yangcai.design.action.PdfQueueAction" />
<!-- 设计师个人信息 -->
<action name="用户中心" interceptor="chkZmrLogin" path="/${zhiqim_manager}/profile.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/profile.zml" class="com.zhiqim.yangcai.design.action.designerworks.ProfileAction" />
<action name="设计师简介" interceptor="chkZmrLogin" path="/designerProfile.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/designerProfile.zml" class="com.zhiqim.yangcai.design.action.designerworks.DesignerProfileAction" />
<action name="设计师作品" interceptor="chkZmrLogin" path="/designerWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/designerWorks.zml" class="com.zhiqim.yangcai.design.action.designerworks.DesignerWorksAction" />
<action name="设计师注册" interceptor="chkZmrLogin" path="/designerReg.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/designerReg.zml" class="com.zhiqim.yangcai.design.action.designerworks.DesignerRegAction" />
<action name="注册审核拒绝" interceptor="chkZmrLogin" path="/regCheckBack.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/designerworks/regCheckBack.zml" class="com.zhiqim.yangcai.design.action.designerworks.RegCheckBackAction" />
<action name="注册审核通过" interceptor="chkZmrLogin" path="/checkApproved.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/designerworks/checkApproved.zml" class="com.zhiqim.yangcai.design.action.designerworks.RegCheckApprovedAction" />
<action name="修改个人接单数量" interceptor="chkZmrLogin" path="/${zhiqim_manager}/modifyOrderNum.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/designerworks/modifyOrderNum.zml" />
<!-- 设计师虚拟账户 -->
<action name="虚拟账户" interceptor="chkZmrLogin" path="/virtualAccount.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/virtualAccount.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountAction"/>
<action name="虚拟账交易明细" interceptor="chkZmrLogin" path="/virtualAccountTransactionDetails.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/virtualAccountTransactionDetails.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountTransactionDetailsAction"/>
<action name="虚拟账户明细" interceptor="chkZmrLogin" path="/virtualAccountDetails.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/virtualAccountDetails.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountDetailsAction"/>
<action name="发放工资" interceptor="chkZmrLogin" path="/sendSalary.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/sendSalary.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountAction"/>
<action name="冻结资金" interceptor="chkZmrLogin" path="/freezeSalary.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/freezeSalary.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountAction"/>
<!-- 入驻考核 -->
<action name="入驻考核" interceptor="chkZmrLogin" path="/designerTest.htm " view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designerTest.zml" class="com.zhiqim.yangcai.design.action.order.DesignerTestAction"/>
<!-- 前台展示 -->
<action name="问题页" path="/question.htm" view="/zview/article/question.zml" class="com.zhiqim.yangcai.design.action.question.QuestionAction"/>
<action name="搜索页" path="/search.htm" view="/zview/article/search.zml" class="com.zhiqim.yangcai.design.action.question.SearchAction"/>
<!--对外设计师官网帮助文档Api -->
<action name="查询文章富文本内容" path="/categoryLevel2Content.htm" class="com.zhiqim.yangcai.design.action.question.api.CategoryLeval2ContentForUccnAction"/>
<action name="查询二级分类下文章明细" path="/categoryLevel2Detail.htm" class="com.zhiqim.yangcai.design.action.question.api.CategoryLeval2DetailForUccnAction"/>
<action name="模糊搜索" path="/searchForUccn.htm" class="com.zhiqim.yangcai.design.action.question.api.ArticleSearchForUccnAction"/>
<!--公告 -->
<action name="公告首页" interceptor="chkZmrLogin" path="/noticeList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeList.zml" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="list"/>
<action name="添加公告" interceptor="chkZmrLogin" path="/noticeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeAdd.zml"/>
<action name="添加公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeAddInfo.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="insert"/>
<action name="修改公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeModify.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeModify.zml" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="modify"/>
<action name="修改公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeUpdate.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="update"/>
<action name="删除公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeDelete.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="delete"/>
<action name="公告详情" interceptor="chkZmrLogin" path="/noticeInfo.htm" include="/zview/notice/noticeInfo.zml" view="/ztmpl/zhiqim_manager/dialog.htm"/>
<action name="历史公告" interceptor="chkZmrLogin" path="/noticeHistory.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeHistory.zml" class="com.zhiqim.yangcai.design.action.notice.NoticeHistoryAction"/>
<!--待办 -->
<action name="其他待办" interceptor="chkZmrLogin" path="/orderBack.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderBack.zml" class="com.zhiqim.yangcai.design.action.order.OrderBackLogAction"/>
</zhiqim-context>
+959
View File
@@ -0,0 +1,959 @@
<#---------------------------------------------------->
<#-- 以下为变量定义 ------------------------>
<#---------------------------------------------------->
<#--脚注标注-->
<#var zmr_copyname="2023 领淘众创"/>
<#var zmr_copyright="Copyright&nbsp;&nbsp;&copy;&nbsp;"+zmr_copyname+"&nbsp;All&nbsp;Rights&nbsp;Reserved"/>
${Styles.src(zhiqim.css)}
${Scripts.src(zhiqim.js)}
${Styles.src(context.getRootPath("/zinc/css/yangcai_question_main_v1.4.0R2018031701.css"))}
${Scripts.src(context.getRootPath("/zinc/css/zhiqim_search_auto_list_v1.4.0R2018031701.js"))}
<#--属性定义-->
<#var name="设计师工作台"/>
<#var version="V4.0"/>
<#var zhiqim_uploadlarge.js = new ZmrCdnRuntime(context, "/service/res/zhiqim_upload_large_v1.5.0.r2018111001.js")/>
<#--刷新左边区域自定义块-->
<#function zhiqim_manager_topnav_left_defined()>
<a class="nav-item" href="/question.htm" target="_blank">知识库</a>
<div class="my-message" onclick="Z.L.href('${context.getRootPath("/manager/message.htm")}');"><img src="/zinc/images/message_icon.png" /></div>
<script>
Z.onload(function()
{
//工作台任务轮询,3分钟一次
var ajax = new Z.Ajax();
ajax.setClassName("ConsolePresenter");
ajax.setMethodName("doDesignBacklogAffairNum");
ajax.setSuccess(function(responseText){
//Z("#backLogNum").text(responseText);
});
ajax.execute();
setInterval(function()
{
var ajax = new Z.Ajax();
ajax.setClassName("ConsolePresenter");
ajax.setMethodName("doDesignBacklogAffairNum");
ajax.setSuccess(function(responseText){
//Z("#backLogNum").text(responseText);
});
ajax.execute();
}, 180000);
});
</script>
</#function>
<#-- 不同商户展示控制-->
<#function mercolumn_js(pageCode, pageName, orgId)>
${Scripts.src("/zinc/js/mercolumn_2018102301.js")}
<script>
Z.onload(function(){
try{Mercolumn.doShowMerPageColumn('${pageCode}', '${pageName}', '${orgId}');}catch(e){console.error(e)}
})
</script>
</#function>
<#-- 重写模板编辑版本号-->
<#var media_editor_js_version="v1.5.0_r2020121101"/>
<#-- 重写模板定稿、预览-->
<#function zhqim_media_edit_print(mediaId)>
<script>
//提交初稿设计订单
function doSubmitDraftOrderTempalte(mediaId)
{
var dzmpPreviewUrl = "";
var orderIsDzmpCardType = '${orderIsCardType}';
if (orderIsDzmpCardType == 'true') {
// 保存名片关联信息
doUpdateCardInfo('${cardId}','${designId}', false);
dzmpPreviewUrl = "https://design.yangcai365.com/preview/" + '${cardId}' + "&preview=true";
}
// 保存后的回调方法
function callbackAfterSave(mediaId)
{
var ajax2 = new Z.Ajax();
ajax2.setClassName("TemplateOrderPresenter");
ajax2.setMethodName("doSubmitDraftOrderTempalte");
ajax2.addParam("mediaId", mediaId);
ajax2.addParam("dzmpPreviewUrl", encodeURI(dzmpPreviewUrl));
ajax2.setFailure(function(){
setTimeout(function()
{
doDraftOrder_ajaxLoading.close()
Z.failure(ajax2.responseText);
},400);
});
ajax2.setSuccess(function(){
setTimeout(function()
{
doDraftOrder_ajaxLoading.close();
Z.success("初稿成功");
},400);
});
ajax2.execute();
}
// 1:定义加载框
window.doDraftOrder_ajaxLoading = Z.loading({text:"正在提交初稿文件,请稍后...", shadow:true , width:400});
if (hasSvg2pdfAPI)
{
doSubmitDraftLocalSave(callbackAfterSave, mediaId);
}
else
{
doAutoSaveMedia(callbackAfterSave, mediaId, true);
}
}
//完成定稿,预览设计稿
function doPreviewFinalOrderTempalte(mediaId)
{
//生成PDF文件并预览展示,保存后的回调方法
function callbackAfterSave(mediaId)
{
var doHandle = (hasSvg2pdfAPI) ? 0 : 1;
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doPreviewFinalOrderTempalte");
ajax.addParam("mediaId", mediaId);
ajax.addParam("doHandle", doHandle);
ajax.setFailure(function(){
previewFinal_ajaxLoading.close();
Z.failure(ajax.responseText);
});
ajax.setSuccess(function(){
doPreviewFinalOrderDialog(mediaId);
});
ajax.execute();
}
//检测订单模板的版面数
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doCheckTempatePage");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
Z.failure(ajax.responseText);
});
ajax.setSuccess(function()
{
//加载框
window.previewFinal_ajaxLoading = Z.loading({shadow: true, text:"定稿预览处理中...", width:200});
if (hasSvg2pdfAPI)
{
callbackAfterSave(mediaId);
}
else
{
doAutoSaveMedia(callbackAfterSave, mediaId, true);
}
});
ajax.setLoading(document, true);
ajax.execute();
}
//预览定稿展示
function doPreviewFinalOrderDialog(mediaId)
{
if (hasSvg2pdfAPI)
{
ServiceAPI.mediaId = mediaId;
doPreviewFileLocalSave(previewFinal_ajaxLoading);
}
else
{
doPreviewDialogQuery(mediaId);
}
}
function previewPdfLocal()
{//重写pdfMaker,预览pdf方法
// ajax 查询订单金额
var amount = 0;
var ajax = new Z.Ajax();
ajax.setSync();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryOrderAmount");
ajax.addParam("mediaId", media.canvas.mediaId);
ajax.setFailure(function(){
previewFinal_ajaxLoading.close();
});
ajax.setSuccess(function(){
amount = parseFloat(this.responseText || 0);
});
ajax.execute();
if (amount <= 0)
return doClearErrorLocalSave("订单金额查询有误!");
previewFinal_ajaxLoading.close();
var mediaId = ServiceAPI.mediaId;
var height = Z.D.clientHeight() - 200;
var html = '<div id="previewId" class="z-text-center" style="height:'+height+'px">';
//html += ' <object type="text/html" width="100%" height="100%" data="'+objUrl+'"></object>';
//html += ' <iframe width="100%" height="100%" src="'+objUrl.+'"></iframe>';
//html += '<embed src="'+objUrl+'" type="application/pdf" width="100%" height="100%">';
//html += '<embed src="'+objUrl+'" type="text/html" width="100%" height="100%">';
//html += ' <object type="application/pdf" width="100%" height="100%" data="'+objUrl+'"></object>';
html += '</div>';
html += '<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">';
html += ' <button id="save" type="button" class="z-button z-large z-w120 z-cyan"';
html += 'onclick="confirmSubmitFinalOrderTempalte('+mediaId+','+amount+')">完成定稿</button>&nbsp;';
html += ' <button type="button" class="z-button z-large z-mg-l10" onclick="previewPdfDialogLocal.close();">关闭</button>';
html += '</div>';
top.previewPdfDialogLocal = new Z.Dialog();
previewPdfDialogLocal.title = "预览定稿文件";
previewPdfDialogLocal.text = html;
previewPdfDialogLocal.width = parseInt(Z.D.clientWidth()/2);
previewPdfDialogLocal.height = parseInt(height + 60);
previewPdfDialogLocal.fixed = true;
previewPdfDialogLocal.execute();
// 重写弹窗关闭方法
var closeFun = previewPdfDialogLocal.close;
previewPdfDialogLocal.close = function()
{
closeFun.call(previewPdfDialogLocal);
previewPdfDialogLocal = null;
doClearPreviewLocalSave();
}
previewPdfDialogLocal.$title.find(".z-font.z-error").hide();
Z('<i class="z-font z-error"></i>').appendTo(previewPdfDialogLocal.$title).on("click",previewPdfDialogLocal.close);
// pdfJs显示效果
pdfjsLib.renderAllFromData({node:"#previewId",scale:300/72},ServiceAPI.pdfFinaly.result).then(function()
{
// 样式校准
var previewWidth = Z.D.id("previewId").getBoundingClientRect().width - 30;
var $$canvas = Z("#previewId canvas");
$$canvas.each(function($canvas)
{
var canvasWidth = $canvas.width;
if (previewWidth > canvasWidth)
return;
var canvasHeight = $canvas.height;
$canvas.style.width = previewWidth + "px";
$canvas.style.height = previewWidth/canvasWidth*canvasHeight + "px";
});
});
}
//定稿预览显示
function doPreviewDialogQuery(mediaId)
{
//ajax查询处理状态
function doQueryPreviewProgressing(mediaId)
{
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryPreviewFinalOrderTempalteProgressing");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
previewFinal_ajaxLoading.close();
Z.failure(ajax.responseText);
});
ajax.setSuccess(function(){
var obj = Z.J.toObject(ajax.responseText);
var mediaHandlePdfModel = obj.mediaHandlePdfModel;
if (mediaHandlePdfModel)
{
console.log("预览处理状态:"+mediaHandlePdfModel.handleStatus)
if (mediaHandlePdfModel.handleStatus == 0 || mediaHandlePdfModel.handleStatus == 1)
{// 待处理 // 处理中
setTimeout(doQueryPreviewProgressing, 5000, mediaId);
}
else if (mediaHandlePdfModel.handleStatus == 3)
{//处理失败
previewFinal_ajaxLoading.close();
Z.failure(mediaHandlePdfModel.errorMsg);
}
else if (mediaHandlePdfModel.handleStatus == 2)
{// 处理完成
previewFinal_ajaxLoading.close();
var height = Z.D.clientHeight() - 200;
var amount = obj.amount;
var html = '<div id="previewId" style="height:'+height+'px">';
html += window.pdfjsLib?'':'<object type="text/html" width="100%" height="100%" data="'+obj.url+'"></object>';
html += '</div>';
html += '<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">';
html += ' <button id="save" type="button" class="z-button z-large z-w120 z-cyan" onclick="confirmSubmitFinalOrderTempalte('+mediaId+','+amount+')">完成定稿</button>&nbsp;';
html += ' <button type="button" class="z-button z-large z-mg-l10" onclick="Z.Dialog.close(location.hash);">关闭</button>';
html += '</div>';
var dialog = new Z.Dialog();
dialog.title = "预览定稿文件";
dialog.text = html;
dialog.width = parseInt(Z.D.clientWidth()/2);
dialog.height = parseInt(height + 60);
dialog.fixed = true;
dialog.execute();
window.pdfjsLib && pdfjsLib.renderAll("#previewId", obj.url);
}
else
{
previewFinal_ajaxLoading.close();
console.log("定稿预览收到异常处理状态")
}
}
else
{//查不到处理对象
previewFinal_ajaxLoading.close();
console.log("定稿预览找不到处理对象")
Z.failure("预览处理失败");
}
});
ajax.execute();
}
//延时处理 查询
setTimeout(doQueryPreviewProgressing, 500, mediaId);
}
//确认定稿操作
function confirmSubmitFinalOrderTempalte(mediaId, amount)
{
//提交定稿确认弹窗
var tips = "确定完成对稿吗?定稿后该订单模板不再支持修改!";
if (amount >= 10000)
{
tips="此订单金额较大,请仔细核对无误再定稿,以免造成售后损失。定稿后该订单模板不再支持修改!"
}
Z.confirm(tips, function()
{
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doCheckTempatePage");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
Z.failure(ajax.responseText);
});
ajax.setSuccess(function()
{
//加载筐
window.submitFinal_ajaxLoading = Z.loading({shadow: true, text:"定稿处理中...", width:180});
var doHandle = (hasSvg2pdfAPI) ? 0 : 1;
var ajax2 = new Z.Ajax();
ajax2.setClassName("TemplateOrderPresenter");
ajax2.setMethodName("doSubmitFinalOrderTempalte");
ajax2.addParam("mediaId", mediaId);
ajax2.addParam("doHandle", doHandle);
ajax2.setFailure(function(){
window.submitFinal_ajaxLoading.close();
Z.failure(ajax2.responseText);
});
ajax2.setSuccess(function()
{
//直接使用预览的pdf文件来定稿
var obj = Z.J.toObject(this.responseText ? this.responseText : "{}");
if(obj.success == "true")
{
submitFinal_ajaxLoading.close();
Z.success("定稿完成", function(){Z.L.reload()});
}
else
{
//重新生成pdf文件来定稿
if (hasSvg2pdfAPI)
{
doSubmitFinalLocalSave(this.responseText);
}
else
{
doSubmitFinalAjaxSave(mediaId);
}
}
});
ajax2.setLoading(document, true);
ajax2.execute();
});
ajax.setLoading("save", '正在提交', {disabled:true});
ajax.execute();
});
}
//客户端提交定稿,生成PDF
function doSubmitFinalLocalSave(responseText)
{
var fileData = Z.J.toObject(responseText);
// 上传完成,更新数据
var callback = function()
{
submitFinal_ajaxLoading.close();
Z.success("定稿完成", function(){Z.L.reload()});
}
//上传pdf
doUploadPdfLocal(fileData.fileName, fileData.uploadPath, callback, {
className: "TemplateOrderPresenter",
methodName: "doSubmitFinalLocalSave",
mediaId: mediaId, // mediaID
mediaUrl: ServiceAPI.imgPath, // 缩略图
pdfPath: fileData.pdfPath, // pdf成品
});
}
//ajax提交定稿,生成PDF
function doSubmitFinalAjaxSave(mediaId)
{//发送异步处理成功
function queryProgressing(mediaId)
{
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryFinalOrderTemplateProgressing");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
submitFinal_ajaxLoading.close();
Z.failure(ajax.responseText);
});
ajax.setSuccess(function()
{
var obj = Z.J.toObject(ajax.responseText);
var mediaHandlePdfModel = obj.mediaHandlePdfModel;
if (mediaHandlePdfModel)
{
var handleStatus = mediaHandlePdfModel.handleStatus;
console.log("定稿处理状态:"+handleStatus);
if (handleStatus == 0 || handleStatus == 1)
{//待处理 处理中
setTimeout(queryProgressing, 500, mediaId)
}
else if (handleStatus == 2)
{//处理完成
submitFinal_ajaxLoading.close();
Z.success("定稿完成", function(){Z.L.reload()});
}
else if (handleStatus == 3)
{//处理失败
submitFinajaxaxLoading.close();
Z.failure(mediaHandlePdfModel.errorMsg);
}
else
{
submitFinal_ajaxLoading.close();
console.log("定稿预览收到异常处理状态")
}
}
else
{//查不到处理对象
submitFinal_ajaxLoading.close();
console.log("定稿处理找不到处理对象");
Z.failure("定稿处理失败");
}
});
ajax.execute();
}
setTimeout(queryProgressing, 500, mediaId);
}
</script>
<!-- 模板修改和已定稿的电子名片不支持定稿功能 -->
<#if !isTemplateEdit && editable>
<style>
.topnav .topToolBar .topToolRight{flex-basis: 480px;}
.topnav .topToolRight #draftBtn{background-color:#009049;}
.topnav .topToolRight #finalBtn{background-color:#de1e08;}
</style>
<div id="draftBtn" class="nav topTool" onclick="doSubmitDraftOrderTempalte('${mediaId}');">提交初稿</div>
<div id="finalBtn" class="nav topTool" onclick="doPreviewFinalOrderTempalteCheckLabel('${mediaId}');">完成定稿</div>
</#if>
</#function>
<#-- 重写模板左边订单选项-->
<#function zhqim_media_edit_order_item_defined(mediaId)>
<script>
function openWangWang(buyerNick)
{//打开旺旺
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utz-8");
}
function openQQ(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
}
function doTemplateOrderEdit(mediaId)
{//编辑
Z.l.href ="/zhiqimMediaEditor/mediaDesign.htm?mediaId=" + mediaId;
}
function doTemplateOrderDelete(mediaId, designId)
{//删除
if (Z.V.isEmpty(mediaId))
{
Z.alert("请选择模板");
return;
}
Z.confirm("你确定要删除该模板吗?", function(){
var ajax = new Z.Ajax();
ajax.setClassName("TemplatePresenter");
ajax.setMethodName("doTemplateDelete");
ajax.addParam("mediaId", mediaId);
ajax.addParam("designId", designId);
ajax.setFailureAlert();
ajax.setSuccess(function(){
Z.success("删除成功", function(){Z.L.reload();});
});
ajax.execute();
});
}
function doTabnavCss(value)
{
if (value == 1)
{
Z("#tabnav_user").addClass("z-active");
Z("#tabnav_template").removeClass("z-active");
Z("#tabnav_user_content").addClass("z-active");
Z("#tabnav_template_content").removeClass("z-active");
}
else if (value == 2)
{
Z("#tabnav_user").removeClass("z-active");
Z("#tabnav_template").addClass("z-active");
Z("#tabnav_user_content").removeClass("z-active");
Z("#tabnav_template_content").addClass("z-active");
}
else if (value == 3)
{
Z("#tabnav_userText").addClass("z-active");
Z("#tabnav_paramText").removeClass("z-active");
Z("#tabnav_userText_content").addClass("z-active");
Z("#tabnav_paramText_content").removeClass("z-active");
}
else if (value == 4)
{
Z("#tabnav_userText").removeClass("z-active");
Z("#tabnav_paramText").addClass("z-active");
Z("#tabnav_userText_content").removeClass("z-active");
Z("#tabnav_paramText_content").addClass("z-active");
}
}
function doQueryOrderInfo(mediaId)
{//订单API
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doTemplateOrderQuery");
ajax.addParam("mediaId", mediaId);
ajax.setCallback("side_order");
ajax.setLoading("side_order");
ajax.execute();
}
function doCopyOtherPage(mediaSrcId, bid, mediaId)
{//复制其它页
Z.confirm("你确定要复制该版面?", function()
{
// 新建 coverMaterial,字符串传参
var lastBgObj = media.bgList[media.bgList.length - 1];
var newBid = lastBgObj.bid + 1;
var bgObj = new Z.Bg();
bgObj.bid = newBid;
media.bgList.push(bgObj);
var newCMList = setCoverMaterial(bgObj, media.canvas.widthMm, media.canvas.heightMm);
// ajax调用
var ajax = new Z.Ajax();
ajax.setClassName("MediaPresenter");
ajax.setMethodName("doCopyOtherPage");
ajax.addParam("mediaSrcId", mediaSrcId);
ajax.addParam("bid", bid);
ajax.addParam("newBid", newBid);
ajax.addParam("mediaId", mediaId);
ajax.addParam("coverMaterialList", Z.AR.toString(newCMList));
ajax.setFailure(media.bgList.pop);
ajax.setFailureAlert();
ajax.setSuccess(function()
{
//定义 media
var newMedia = Z.J.toObject(this.responseText);
media = new Z.Media({canvas: newMedia.canvas, bgList: newMedia.bgList, materialList: newMedia.materialList, coverMaterialList: newMedia.coverMaterialList});
//刷新画布
loadCanvas();
//刷新版面
refreshPageList();
Z.tips("复制成功");
});
ajax.setLoading(document);
ajax.execute();
});
}
function doDownFile(attaId)
{//下载
Z.l.href ="/templateDownload.htm?attaId=" + attaId + "&type=orderFile";
}
//标签选择客户类型
function doSelectConsumerType(flag){
Z("#consumerType_"+flag).addClass("z-blue").siblings("button").removeClass("z-blue");
}
//通过关键词查主行业
function doQueryIndustryByKey(){
var industryKey=Z("#industryKey").val();
var labelOid = Z("#labelOid").val();
var unmatchkey=Z("#unmatchkey").val();
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryIndustryByKey");
ajax.addParam("industryKey",industryKey);
ajax.addParam("labelOid",labelOid);
ajax.addParam("unmatchkey",unmatchkey);
ajax.setFailureAlert();
ajax.setSuccess(function(){
var map=Z.J.toObject(this.responseText);
var industrys=map.industrys;
var newUnmatchkey=map.unmatchkey;
var htmlstr="";
Z.each(industrys, function(industry, i){
htmlstr+='<button id="industry_'+industry.industryId+'" type="button" class="z-button z-mg3 main-industry" value="'+industry.industryId+'" onclick="doQueryIndustryLabel('+industry.industryId+')">'+industry.industryName+'</button>';
});
Z("#mainIndustry").html(htmlstr);
Z("#subIndustry").html("");
Z("#applicationScenario").html("");
Z("#designStyle").html("");
Z("#unmatchkey").val(newUnmatchkey);
// 推荐行业页面元素遍历拼接
var recommendIndHtml = "";
var recommendIndustrys = map.recommendIndustryList;
Z.each(recommendIndustrys, function(industry, i){
recommendIndHtml += '<button id="recommend_industry_'+industry.industryId+'" type="button" class="z-button z-mg3 recommend-industry" value="'+industry.industryId+'" onclick="doQueryIndustryLabel('+industry.industryId+', 1)">'+industry.industryName+'</button>';
});
Z("#recommendIndustry").html(recommendIndHtml);
});
ajax.setLoading("queryIndustryByKey", '<i class="z-font z-return"></i>正在处理',{disabled:true});
ajax.execute();
}
function doQueryOrderLabel(mediaId){
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doTemplateOrderLabelQuery");
ajax.addParam("mediaId", mediaId);
ajax.setCallback("side_label");
ajax.setLoading("side_label");
ajax.execute();
}
//查询标签
function doQueryIndustryLabel(industryId, isRecommend){
if(isRecommend)
{
Z("#recommend_industry_"+industryId).addClass("z-blue").siblings("button").removeClass("z-blue");
Z(".main-industry").removeClass("z-blue");
}
else
{
Z("#industry_"+industryId).addClass("z-blue").siblings("button").removeClass("z-blue");
Z(".recommend-industry").removeClass("z-blue");
}
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryIndustryLabel");
ajax.addParam("industryId",industryId);
ajax.setFailureAlert();
ajax.setSuccess(function(){
var map=Z.J.toObject(this.responseText);
var htmlSI="";
var htmlAS="";
var htmlDS="";
var labelList=map.labelList;
var dimensionList=map.dimensionList;
var dimensionMap=new Map();
for (var i in dimensionList) {
dimensionMap.set(dimensionList[i].dimensionId,dimensionList[i].dimensionName);
}
Z.each(labelList, function(label, i){
if("子行业"==dimensionMap.get(label.dimensionId)){
htmlSI+='<button id="label_'+label.id+'" type="button" class="z-button z-mg3" value="'+label.id+'" onclick="doLabelSelected('+label.id+')">'+label.labelName+'</button>';
}
if("应用场景"==dimensionMap.get(label.dimensionId)){
htmlAS+='<button id="label_'+label.id+'" type="button" class="z-button z-mg3" value="'+label.id+'" onclick="doLabelSelected('+label.id+')">'+label.labelName+'</button>';
}
if("设计风格"==dimensionMap.get(label.dimensionId)){
htmlDS+='<button id="label_'+label.id+'" type="button" class="z-button z-mg3" value="'+label.id+'" onclick="doLabelSelected('+label.id+')">'+label.labelName+'</button>';
}
});
Z("#subIndustry").html(htmlSI);
Z("#applicationScenario").html(htmlAS);
Z("#designStyle").html(htmlDS);
});
ajax.execute();
}
//选择标签
function doLabelSelected(id){
Z("#label_"+id).addClass("z-blue").siblings("button").removeClass("z-blue");
}
//保存标签
function doSaveLabel(){
var unmatchkey=Z("#unmatchkey").val();
var labelOid = Z("#labelOid").val();
var consumerType=Z("button[id^='consumerType'][class*='z-blue']").val();//客户类型
var industryId=Z("div[id='mainIndustry'] button[class*='z-blue']").val();//主行业
// 如果选择了推荐行业则保存时替换为主行业id
var recommendIndustryId = Z("div[id='recommendIndustry'] button[class*='z-blue']").val();// 推荐行业
if (!industryId)
{
if (Z.V.isEmpty(recommendIndustryId))
{
Z.alert("请选择主行业或者推荐行业");
return;
}
industryId = recommendIndustryId;
}
var subIndustryId=Z("div[id='subIndustry'] button[class*='z-blue']").val();//子行业
var applicationScenarioId=Z("div[id='applicationScenario'] button[class*='z-blue']").val();//应用场景
var designStyleId=Z("div[id='designStyle'] button[class*='z-blue']").val();//设计风格
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doSaveIndustryLabel");
ajax.addParam("labelOid",labelOid);
ajax.addParam("consumerType",consumerType);
ajax.addParam("industryId",industryId);
ajax.addParam("subIndustryId",subIndustryId);
ajax.addParam("applicationScenarioId",applicationScenarioId);
ajax.addParam("designStyleId",designStyleId);
ajax.addParam("unmatchkey",unmatchkey);
ajax.setFailureAlert();
ajax.setSuccess(function(){
Z("#unmatchkey").val("");
Z.alert("保存成功");
});
ajax.setLoading("saveLabel", '<i class="z-font z-return"></i>正在处理',{disabled:true});
ajax.execute();
}
function doCancelLabel(){
Z("button[id^='consumerType'][class*='z-blue']").removeClass("z-blue");
Z("div[id='mainIndustry'] button[class*='z-blue']").removeClass("z-blue");
Z("div[id='subIndustry'] button[class*='z-blue']").removeClass("z-blue");
Z("div[id='applicationScenario'] button[class*='z-blue']").removeClass("z-blue");
Z("div[id='designStyle'] button[class*='z-blue']").removeClass("z-blue");
Z("#subIndustry").html("");
Z("#applicationScenario").html("");
Z("#designStyle").html("");
}
function doPreviewFinalOrderTempalteCheckLabel(mediaId)
{
// 智能电子名片单独的确认页面和后台定稿逻辑
var orderIsDzmpCardType = '${orderIsCardType}';
if (orderIsDzmpCardType == 'true') {
beforeShowDzmpQrcode("endDraft");
return;
}
//常规产品定稿流程
doPreviewFinalOrderTempalte(mediaId);
/* var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doPreviewFinalOrderTempalteCheckLabel");
ajax.addParam("mediaId",mediaId);
ajax.setFailureAlert();
ajax.setSuccess(function(){
var map=Z.J.toObject(this.responseText);
if(map.flag==false){
var dialog = new Z.Dialog();
dialog.title = "补充订单【"+map.designId+"】的标签信息";
dialog.url = "/fillLabelInfo.htm?designId="+map.designId+"&mediaId="+mediaId;
dialog.width = 900;
dialog.height = 360;
dialog.execute();
}else{
}
});
ajax.setLoading("finalBtn", '<i class="z-font z-return"></i>正在处理',{disabled:true});
ajax.execute();
*/
}
</script>
<li onclick="doChangeSidebar(this,'order');doQueryOrderInfo('${mediaId}');"><i class="z-font z-text zi-px24"></i><br>订单</li>
<!-- <li id="label" onclick="doChangeSidebar(this,'label');doQueryOrderLabel('${mediaId}');"><i class="z-font z-add zi-px24"></i><br>标签</li> -->
</#function>
<#--刷新右边区域自定义块-->
<#function zhiqim_manager_topnav_right_defined()>
<script type="text/javascript" src="/zinc/js/designer_2021031501.js?v=20210603"></script>
<#var onlineStatus = DesignerDao.getDesignerStatus(sessionUser)/>
<#--<div class="takeOrder">
<span>自动接单</span>
<div id="switch-work" style="cursor: pointer;" class="switch <#if onlineStatus gt 0>switch-active</#if>"></div>
</div>-->
</#function>
<!-- 重写我的素材选项-->
<#function zhqim_media_my_material_defined()>
<script>
var allMaterialCatList = Z.J.toObject('${Global.get(MaterialCatCache.class).list()}'); // 素材分类对象
Z.onload(function(){
doQueryUserMaterial("1");
});
function doQueryUserMaterial(page)
{//查询我的素材
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("doQueryUserMaterial");
ajax.addParam("page", page);
ajax.setFailureAlert();
ajax.setSuccess(function()
{
var list = Z.J.toObject(this.responseText);
var ulHtml = "<ul>";
for(var i=0;i<list.length;i++)
{
var data = list[i];
ulHtml += '<li class="userMaterialListItem" onclick=addSvgCodeFromMine("' + data.svgId + '",' + 'doUseUserMaterial); oncontextmenu=\'tagMenuShowMine(event, "' + data.svgId + '");\'>' + data.svgCode;
ulHtml += '</li>';
}
ulHtml += "</ul>";
Z("#collection_result>.result-ul").html("").append(Z(ulHtml));
});
ajax.execute();
}
function doUseUserMaterial(svgId)
{//使用素材
// 主方法,ajax 调用
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("getUserMaterialSvg");
ajax.addParam(svgId);
ajax.setFailure(function(){Z.failure(this.responseText);});
ajax.setSuccess(function(){analysisOfResponseMine(this.responseText);});
ajax.execute();
}
function doAddUserMaterial(typeCode, catCode, keywords, svgCode)
{//添加素材
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("doAddUserMaterial");
ajax.addParam("typeCode", typeCode);
ajax.addParam("catCode", catCode);
ajax.addParam("keywords", keywords);
ajax.addParam("svgCode", svgCode);
ajax.setFailureAlert();
ajax.setSuccess(function()
{
Z.alert("添加成功", function(){doQueryUserMaterial("1");});
});
ajax.execute();
}
function doDelUserMaterial(elem)
{//删除个人素材
var svgId = Z(elem).attr("data-svgid");
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("doDelUserMaterial");
ajax.addParam(svgId);
ajax.setFailure(function(){Z.failure(this.responseText);});
ajax.setSuccess(function(){doQueryUserMaterial("1");});
ajax.execute();
}
/** 标签右键菜单 **/
function tagMenuShowMine(event, svgId)
{
Z.E.forbidden(event);
createContextMenu({
"event": event,
"elemId": "tagUserMaterialMenu",
"editItem": [
["删除素材","doDelUserMaterial(this)"]
]
});
Z("#tagUserMaterialMenu ul:nth-child(1)>li:first-child").attr("data-svgid",svgId);
}
</script>
<style>
.userMaterialListItem{padding:5px;}
.userMaterialListItem > svg{height:auto;}
.
</style>
<div class="side-btnList">
<span class="side-btnSelect active" data-type="0">全部</span>
<span class="side-btnSelect" data-type="1" style="pointer-events:none;opacity:.7;">文字</span>
<span class="side-btnSelect" data-type="2" style="pointer-events:none;opacity:.7;">图片</span>
<span class="side-btnSelect" data-type="3" style="pointer-events:none;opacity:.7;">形状</span>
<span class="side-btnSelect" data-type="4" style="pointer-events:none;opacity:.7;">二维码</span>
</div>
<div class="bjbox">
<div id="collection_result" class="bjimg materialListShow">
<div class="result-ul"></div>
<div class="result-page"><span></span></div>
<div class="result-tips z-text-center z-hide">已经到底了!!</div>
</div>
</div>
</#function>
<#--计算左侧宽高值-->
<#function yangcai_calc_Left_width_height(width, height)>
<script>
function calcLeftWidthHeight()
{
Z("#left").css("width", Z.D.clientWidth() - ${zmr_sidebar_width} - 20 - ${width} - 5);//左20PD,右5PD
Z("#left").css("height", Z.D.clientHeight() - ${zmr_topnav_height} - ${zmr_breadcrumb_height} - 20 - ${height} - 5);//上20PD,下5PD
}
Z.onload(calcLeftWidthHeight);
Z(window).resize(calcLeftWidthHeight);
</script>
</#function>
<#--计算指定元素的宽度-->
<#function yangcai_designer_calc_width(width, containerId)>
<script>
function calcLeftWidthHeight()
{
Z("#${containerId}").css("width", Z.D.clientWidth() - ${zmr_sidebar_width} - 20 - ${width} - 5);//左20PD,右5PD
}
Z.onload(calcLeftWidthHeight);
Z(window).resize(calcLeftWidthHeight);
</script>
</#function>
<#function sweet_alert_reuse_method()>
${Scripts.src("/zinc/js/sweetalert2.min.js")}
<link rel="stylesheet" href="/zinc/css/sweetalert2.min.css">
</#function>
<#function Mydome()>
<link rel="stylesheet" href="/zinc/css/dome.css">
</#function>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

+2
View File
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /
@@ -0,0 +1,26 @@
/*
Highcharts JS v5.0.7 (2017-01-17)
Data module
(c) 2012-2016 Torstein Honsi
License: www.highcharts.com/license
*/
(function(p){"object"===typeof module&&module.exports?module.exports=p:p(Highcharts)})(function(p){(function(g){var p=g.win.document,m=g.each,z=g.pick,w=g.inArray,x=g.isNumber,A=g.splat,n,u=function(b,a){this.init(b,a)};g.extend(u.prototype,{init:function(b,a){this.options=b;this.chartOptions=a;this.columns=b.columns||this.rowsToColumns(b.rows)||[];this.firstRowAsNames=z(b.firstRowAsNames,!0);this.decimalRegex=b.decimalPoint&&new RegExp("^(-?[0-9]+)"+b.decimalPoint+"([0-9]+)$");this.rawColumns=[];
this.columns.length?this.dataFound():(this.parseCSV(),this.parseTable(),this.parseGoogleSpreadsheet())},getColumnDistribution:function(){var b=this.chartOptions,a=this.options,d=[],f=function(b){return(g.seriesTypes[b||"line"].prototype.pointArrayMap||[0]).length},e=b&&b.chart&&b.chart.type,c=[],k=[],t=0,h;m(b&&b.series||[],function(b){c.push(f(b.type||e))});m(a&&a.seriesMapping||[],function(b){d.push(b.x||0)});0===d.length&&d.push(0);m(a&&a.seriesMapping||[],function(a){var d=new n,r,v=c[t]||f(e),
q=g.seriesTypes[((b&&b.series||[])[t]||{}).type||e||"line"].prototype.pointArrayMap||["y"];d.addColumnReader(a.x,"x");for(r in a)a.hasOwnProperty(r)&&"x"!==r&&d.addColumnReader(a[r],r);for(h=0;h<v;h++)d.hasReader(q[h])||d.addColumnReader(void 0,q[h]);k.push(d);t++});a=g.seriesTypes[e||"line"].prototype.pointArrayMap;void 0===a&&(a=["y"]);this.valueCount={global:f(e),xColumns:d,individual:c,seriesBuilders:k,globalPointArrayMap:a}},dataFound:function(){this.options.switchRowsAndColumns&&(this.columns=
this.rowsToColumns(this.columns));this.getColumnDistribution();this.parseTypes();!1!==this.parsed()&&this.complete()},parseCSV:function(){var b=this,a=this.options,d=a.csv,f=this.columns,e=a.startRow||0,c=a.endRow||Number.MAX_VALUE,k=a.startColumn||0,t=a.endColumn||Number.MAX_VALUE,h,g,y=0;d&&(g=d.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(a.lineDelimiter||"\n"),h=a.itemDelimiter||(-1!==d.indexOf("\t")?"\t":","),m(g,function(a,d){var g=b.trim(a),r=0===g.indexOf("#");d>=e&&d<=c&&!r&&""!==g&&(a=
a.split(h),m(a,function(b,a){a>=k&&a<=t&&(f[a-k]||(f[a-k]=[]),f[a-k][y]=b)}),y+=1)}),this.dataFound())},parseTable:function(){var b=this.options,a=b.table,d=this.columns,f=b.startRow||0,e=b.endRow||Number.MAX_VALUE,c=b.startColumn||0,k=b.endColumn||Number.MAX_VALUE;a&&("string"===typeof a&&(a=p.getElementById(a)),m(a.getElementsByTagName("tr"),function(b,a){a>=f&&a<=e&&m(b.children,function(b,e){("TD"===b.tagName||"TH"===b.tagName)&&e>=c&&e<=k&&(d[e-c]||(d[e-c]=[]),d[e-c][a-f]=b.innerHTML)})}),this.dataFound())},
parseGoogleSpreadsheet:function(){var b=this,a=this.options,d=a.googleSpreadsheetKey,f=this.columns,e=a.startRow||0,c=a.endRow||Number.MAX_VALUE,k=a.startColumn||0,g=a.endColumn||Number.MAX_VALUE,h,v;d&&jQuery.ajax({dataType:"json",url:"https://spreadsheets.google.com/feeds/cells/"+d+"/"+(a.googleSpreadsheetWorksheet||"od6")+"/public/values?alt\x3djson-in-script\x26callback\x3d?",error:a.error,success:function(a){a=a.feed.entry;var d,t=a.length,q=0,n=0,l;for(l=0;l<t;l++)d=a[l],q=Math.max(q,d.gs$cell.col),
n=Math.max(n,d.gs$cell.row);for(l=0;l<q;l++)l>=k&&l<=g&&(f[l-k]=[],f[l-k].length=Math.min(n,c-e));for(l=0;l<t;l++)d=a[l],h=d.gs$cell.row-1,v=d.gs$cell.col-1,v>=k&&v<=g&&h>=e&&h<=c&&(f[v-k][h-e]=d.content.$t);m(f,function(a){for(l=0;l<a.length;l++)void 0===a[l]&&(a[l]=null)});b.dataFound()}})},trim:function(b,a){"string"===typeof b&&(b=b.replace(/^\s+|\s+$/g,""),a&&/^[0-9\s]+$/.test(b)&&(b=b.replace(/\s/g,"")),this.decimalRegex&&(b=b.replace(this.decimalRegex,"$1.$2")));return b},parseTypes:function(){for(var b=
this.columns,a=b.length;a--;)this.parseColumn(b[a],a)},parseColumn:function(b,a){var d=this.rawColumns,f=this.columns,e=b.length,c,k,g,h,n=this.firstRowAsNames,m=-1!==w(a,this.valueCount.xColumns),r=[],p=this.chartOptions,q,u=(this.options.columnTypes||[])[a],p=m&&(p&&p.xAxis&&"category"===A(p.xAxis)[0].type||"string"===u);for(d[a]||(d[a]=[]);e--;)c=r[e]||b[e],g=this.trim(c),h=this.trim(c,!0),k=parseFloat(h),void 0===d[a][e]&&(d[a][e]=g),p||0===e&&n?b[e]=g:+h===k?(b[e]=k,31536E6<k&&"float"!==u?b.isDatetime=
!0:b.isNumeric=!0,void 0!==b[e+1]&&(q=k>b[e+1])):(k=this.parseDate(c),m&&x(k)&&"float"!==u?(r[e]=c,b[e]=k,b.isDatetime=!0,void 0!==b[e+1]&&(c=k>b[e+1],c!==q&&void 0!==q&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,e=b.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):b.unsorted=!0),q=c)):(b[e]=""===g?null:g,0!==e&&(b.isDatetime||b.isNumeric)&&(b.mixed=!0)));m&&b.mixed&&(f[a]=d[a]);if(m&&q&&this.options.sort)for(a=0;a<f.length;a++)f[a].reverse(),n&&f[a].unshift(f[a].pop())},
dateFormats:{"YYYY-mm-dd":{regex:/^([0-9]{4})[\-\/\.]([0-9]{2})[\-\/\.]([0-9]{2})$/,parser:function(b){return Date.UTC(+b[1],b[2]-1,+b[3])}},"dd/mm/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(b){return Date.UTC(+b[3],b[2]-1,+b[1])},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(b){return Date.UTC(+b[3],b[1]-1,+b[2])}},"dd/mm/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,
parser:function(b){return Date.UTC(+b[3]+2E3,b[2]-1,+b[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(b){return Date.UTC(+b[3]+2E3,b[1]-1,+b[2])}}},parseDate:function(b){var a=this.options.parseDate,d,f,e=this.options.dateFormat||this.dateFormat,c;if(a)d=a(b);else if("string"===typeof b){if(e)a=this.dateFormats[e],(c=b.match(a.regex))&&(d=a.parser(c));else for(f in this.dateFormats)if(a=this.dateFormats[f],c=b.match(a.regex)){this.dateFormat=
f;this.alternativeFormat=a.alternative;d=a.parser(c);break}c||(c=Date.parse(b),"object"===typeof c&&null!==c&&c.getTime?d=c.getTime()-6E4*c.getTimezoneOffset():x(c)&&(d=c-6E4*(new Date(c)).getTimezoneOffset()))}return d},rowsToColumns:function(b){var a,d,f,e,c;if(b)for(c=[],d=b.length,a=0;a<d;a++)for(e=b[a].length,f=0;f<e;f++)c[f]||(c[f]=[]),c[f][a]=b[a][f];return c},parsed:function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},getFreeIndexes:function(b,a){var d,f=[],
e=[],c;for(d=0;d<b;d+=1)f.push(!0);for(b=0;b<a.length;b+=1)for(c=a[b].getReferencedColumnIndexes(),d=0;d<c.length;d+=1)f[c[d]]=!1;for(d=0;d<f.length;d+=1)f[d]&&e.push(d);return e},complete:function(){var b=this.columns,a,d=this.options,f,e,c,k,g=[],h;if(d.complete||d.afterComplete){for(c=0;c<b.length;c++)this.firstRowAsNames&&(b[c].name=b[c].shift());f=[];e=this.getFreeIndexes(b.length,this.valueCount.seriesBuilders);for(c=0;c<this.valueCount.seriesBuilders.length;c++)h=this.valueCount.seriesBuilders[c],
h.populateColumns(e)&&g.push(h);for(;0<e.length;){h=new n;h.addColumnReader(0,"x");c=w(0,e);-1!==c&&e.splice(c,1);for(c=0;c<this.valueCount.global;c++)h.addColumnReader(void 0,this.valueCount.globalPointArrayMap[c]);h.populateColumns(e)&&g.push(h)}0<g.length&&0<g[0].readers.length&&(h=b[g[0].readers[0].columnIndex],void 0!==h&&(h.isDatetime?a="datetime":h.isNumeric||(a="category")));if("category"===a)for(c=0;c<g.length;c++)for(h=g[c],e=0;e<h.readers.length;e++)"x"===h.readers[e].configName&&(h.readers[e].configName=
"name");for(c=0;c<g.length;c++){h=g[c];e=[];for(k=0;k<b[0].length;k++)e[k]=h.read(b,k);f[c]={data:e};h.name&&(f[c].name=h.name);"category"===a&&(f[c].turboThreshold=0)}b={series:f};a&&(b.xAxis={type:a},"category"===a&&(b.xAxis.uniqueNames=!1));d.complete&&d.complete(b);d.afterComplete&&d.afterComplete(b)}}});g.Data=u;g.data=function(b,a){return new u(b,a)};g.wrap(g.Chart.prototype,"init",function(b,a,d){var f=this;a&&a.data?g.data(g.extend(a.data,{afterComplete:function(e){var c,k;if(a.hasOwnProperty("series"))if("object"===
typeof a.series)for(c=Math.max(a.series.length,e.series.length);c--;)k=a.series[c]||{},a.series[c]=g.merge(k,e.series[c]);else delete a.series;a=g.merge(e,a);b.call(f,a,d)}}),a):b.call(f,a,d)});n=function(){this.readers=[];this.pointIsArray=!0};n.prototype.populateColumns=function(b){var a=!0;m(this.readers,function(a){void 0===a.columnIndex&&(a.columnIndex=b.shift())});m(this.readers,function(b){void 0===b.columnIndex&&(a=!1)});return a};n.prototype.read=function(b,a){var d=this.pointIsArray,f=d?
[]:{},e;m(this.readers,function(c){var e=b[c.columnIndex][a];d?f.push(e):f[c.configName]=e});void 0===this.name&&2<=this.readers.length&&(e=this.getReferencedColumnIndexes(),2<=e.length&&(e.shift(),e.sort(),this.name=b[e.shift()].name));return f};n.prototype.addColumnReader=function(b,a){this.readers.push({columnIndex:b,configName:a});"x"!==a&&"y"!==a&&void 0!==a&&(this.pointIsArray=!1)};n.prototype.getReferencedColumnIndexes=function(){var b,a=[],d;for(b=0;b<this.readers.length;b+=1)d=this.readers[b],
void 0!==d.columnIndex&&a.push(d.columnIndex);return a};n.prototype.hasReader=function(b){var a,d;for(a=0;a<this.readers.length;a+=1)if(d=this.readers[a],d.configName===b)return!0}})(p)});
@@ -0,0 +1,26 @@
/*
Highcharts JS v5.0.7 (2017-01-17)
Exporting module
(c) 2010-2016 Torstein Honsi
License: www.highcharts.com/license
*/
(function(h){"object"===typeof module&&module.exports?module.exports=h:h(Highcharts)})(function(h){(function(f){var h=f.defaultOptions,n=f.doc,A=f.Chart,u=f.addEvent,F=f.removeEvent,D=f.fireEvent,q=f.createElement,B=f.discardElement,v=f.css,p=f.merge,C=f.pick,k=f.each,r=f.extend,G=f.isTouchDevice,E=f.win,H=f.Renderer.prototype.symbols;r(h.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",
contextButtonTitle:"Chart context menu"});h.navigation={buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}};p(!0,h.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",background:"none",color:"#333333",fontSize:G?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",
symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",stroke:"none",padding:5}}});h.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",_titleKey:"contextButtonTitle",menuItems:[{textKey:"printChart",onclick:function(){this.print()}},{separator:!0},{textKey:"downloadPNG",onclick:function(){this.exportChart()}},{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},
{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]}}};f.post=function(a,c,e){var b;a=q("form",p({method:"post",action:a,enctype:"multipart/form-data"},e),{display:"none"},n.body);for(b in c)q("input",{type:"hidden",name:b,value:c[b]},null,a);a.submit();B(a)};r(A.prototype,{sanitizeSVG:function(a,c){if(c&&c.exporting&&c.exporting.allowHTML){var e=a.match(/<\/svg>(.*?$)/);e&&(e=
'\x3cforeignObject x\x3d"0" y\x3d"0" width\x3d"'+c.chart.width+'" height\x3d"'+c.chart.height+'"\x3e\x3cbody xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e'+e[1]+"\x3c/body\x3e\x3c/foreignObject\x3e",a=a.replace("\x3c/svg\x3e",e+"\x3c/svg\x3e"))}a=a.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(\S+)("|&quot;)\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'\x3csvg xmlns:xlink\x3d"http://www.w3.org/1999/xlink" ').replace(/ (NS[0-9]+\:)?href=/g,
" xlink:href\x3d").replace(/\n/," ").replace(/<\/svg>.*?$/,"\x3c/svg\x3e").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1\x3d"rgb($2)" $1-opacity\x3d"$3"').replace(/&nbsp;/g,"\u00a0").replace(/&shy;/g,"\u00ad");return a=a.replace(/<IMG /g,"\x3cimage ").replace(/<(\/?)TITLE>/g,"\x3c$1title\x3e").replace(/height=([^" ]+)/g,'height\x3d"$1"').replace(/width=([^" ]+)/g,'width\x3d"$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href\x3d"$1"/\x3e').replace(/ id=([^" >]+)/g,' id\x3d"$1"').replace(/class=([^" >]+)/g,
'class\x3d"$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()})},getChartHTML:function(){return this.container.innerHTML},getSVG:function(a){var c,e,b,w,m,g=p(this.options,a);n.createElementNS||(n.createElementNS=function(a,c){return n.createElement(c)});e=q("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},n.body);b=this.renderTo.style.width;m=this.renderTo.style.height;
b=g.exporting.sourceWidth||g.chart.width||/px$/.test(b)&&parseInt(b,10)||600;m=g.exporting.sourceHeight||g.chart.height||/px$/.test(m)&&parseInt(m,10)||400;r(g.chart,{animation:!1,renderTo:e,forExport:!0,renderer:"SVGRenderer",width:b,height:m});g.exporting.enabled=!1;delete g.data;g.series=[];k(this.series,function(a){w=p(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});w.isInternal||g.series.push(w)});k(this.axes,function(a){a.userOptions.internalKey=f.uniqueKey()});
c=new f.Chart(g,this.callback);a&&k(["xAxis","yAxis","series"],function(b){var d={};a[b]&&(d[b]=a[b],c.update(d))});k(this.axes,function(a){var b=f.find(c.axes,function(b){return b.options.internalKey===a.userOptions.internalKey}),d=a.getExtremes(),e=d.userMin,d=d.userMax;!b||void 0===e&&void 0===d||b.setExtremes(e,d,!0,!1)});b=c.getChartHTML();b=this.sanitizeSVG(b,g);g=null;c.destroy();B(e);return b},getSVGForExport:function(a,c){var e=this.options.exporting;return this.getSVG(p({chart:{borderRadius:0}},
e.chartOptions,c,{exporting:{sourceWidth:a&&a.sourceWidth||e.sourceWidth,sourceHeight:a&&a.sourceHeight||e.sourceHeight}}))},exportChart:function(a,c){c=this.getSVGForExport(a,c);a=p(this.options.exporting,a);f.post(a.url,{filename:a.filename||"chart",type:a.type,width:a.width||0,scale:a.scale,svg:c},a.formAttributes)},print:function(){var a=this,c=a.container,e=[],b=c.parentNode,f=n.body,m=f.childNodes,g=a.options.exporting.printMaxWidth,d,t;if(!a.isPrinting){a.isPrinting=!0;a.pointer.reset(null,
0);D(a,"beforePrint");if(t=g&&a.chartWidth>g)d=[a.options.chart.width,void 0,!1],a.setSize(g,void 0,!1);k(m,function(a,b){1===a.nodeType&&(e[b]=a.style.display,a.style.display="none")});f.appendChild(c);E.focus();E.print();setTimeout(function(){b.appendChild(c);k(m,function(a,b){1===a.nodeType&&(a.style.display=e[b])});a.isPrinting=!1;t&&a.setSize.apply(a,d);D(a,"afterPrint")},1E3)}},contextMenu:function(a,c,e,b,f,m,g){var d=this,t=d.options.navigation,w=d.chartWidth,h=d.chartHeight,p="cache-"+a,
l=d[p],x=Math.max(f,m),y,z;l||(d[p]=l=q("div",{className:a},{position:"absolute",zIndex:1E3,padding:x+"px"},d.container),y=q("div",{className:"highcharts-menu"},null,l),v(y,r({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},t.menuStyle)),z=function(){v(l,{display:"none"});g&&g.setState(0);d.openMenu=!1},u(l,"mouseleave",function(){l.hideTimer=setTimeout(z,500)}),u(l,"mouseenter",function(){clearTimeout(l.hideTimer)}),p=u(n,"mouseup",function(b){d.pointer.inClass(b.target,
a)||z()}),u(d,"destroy",p),k(c,function(a){if(a){var b;a.separator?b=q("hr",null,null,y):(b=q("div",{className:"highcharts-menu-item",onclick:function(b){b&&b.stopPropagation();z();a.onclick&&a.onclick.apply(d,arguments)},innerHTML:a.text||d.options.lang[a.textKey]},null,y),b.onmouseover=function(){v(this,t.menuItemHoverStyle)},b.onmouseout=function(){v(this,t.menuItemStyle)},v(b,r({cursor:"pointer"},t.menuItemStyle)));d.exportDivElements.push(b)}}),d.exportDivElements.push(y,l),d.exportMenuWidth=
l.offsetWidth,d.exportMenuHeight=l.offsetHeight);c={display:"block"};e+d.exportMenuWidth>w?c.right=w-e-f-x+"px":c.left=e-x+"px";b+m+d.exportMenuHeight>h&&"top"!==g.alignOptions.verticalAlign?c.bottom=h-b-x+"px":c.top=b+m-x+"px";v(l,c);d.openMenu=!0},addButton:function(a){var c=this,e=c.renderer,b=p(c.options.navigation.buttonOptions,a),f=b.onclick,m=b.menuItems,g,d,h=b.symbolSize||12;c.btnCount||(c.btnCount=0);c.exportDivElements||(c.exportDivElements=[],c.exportSVGElements=[]);if(!1!==b.enabled){var k=
b.theme,n=k.states,q=n&&n.hover,n=n&&n.select,l;delete k.states;f?l=function(a){a.stopPropagation();f.call(c,a)}:m&&(l=function(){c.contextMenu(d.menuClassName,m,d.translateX,d.translateY,d.width,d.height,d);d.setState(2)});b.text&&b.symbol?k.paddingLeft=C(k.paddingLeft,25):b.text||r(k,{width:b.width,height:b.height,padding:0});d=e.button(b.text,0,0,l,k,q,n).addClass(a.className).attr({"stroke-linecap":"round",title:c.options.lang[b._titleKey],zIndex:3});d.menuClassName=a.menuClassName||"highcharts-menu-"+
c.btnCount++;b.symbol&&(g=e.symbol(b.symbol,b.symbolX-h/2,b.symbolY-h/2,h,h).addClass("highcharts-button-symbol").attr({zIndex:1}).add(d),g.attr({stroke:b.symbolStroke,fill:b.symbolFill,"stroke-width":b.symbolStrokeWidth||1}));d.add().align(r(b,{width:d.width,x:C(b.x,c.buttonOffset)}),!0,"spacingBox");c.buttonOffset+=(d.width+b.buttonSpacing)*("right"===b.align?-1:1);c.exportSVGElements.push(d,g)}},destroyExport:function(a){var c=a?a.target:this;a=c.exportSVGElements;var e=c.exportDivElements;a&&
(k(a,function(a,e){a&&(a.onclick=a.ontouchstart=null,c.exportSVGElements[e]=a.destroy())}),a.length=0);e&&(k(e,function(a,e){clearTimeout(a.hideTimer);F(a,"mouseleave");c.exportDivElements[e]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null;B(a)}),e.length=0)}});H.menu=function(a,c,e,b){return["M",a,c+2.5,"L",a+e,c+2.5,"M",a,c+b/2+.5,"L",a+e,c+b/2+.5,"M",a,c+b-1.5,"L",a+e,c+b-1.5]};A.prototype.renderExporting=function(){var a,c=this.options.exporting,e=c.buttons,b=this.isDirtyExporting||!this.exportSVGElements;
this.buttonOffset=0;this.isDirtyExporting&&this.destroyExport();if(b&&!1!==c.enabled){for(a in e)this.addButton(e[a]);this.isDirtyExporting=!1}u(this,"destroy",this.destroyExport)};A.prototype.callbacks.push(function(a){a.renderExporting();u(a,"redraw",a.renderExporting);k(["exporting","navigation"],function(c){a[c]={update:function(e,b){a.isDirtyExporting=!0;p(!0,a.options[c],e);C(b,!0)&&a.redraw()}}})})})(h)});
@@ -0,0 +1,92 @@
/**
* Highcharts-zh_CN plugins v1.0.0 (2017-02-22)
*
* (c) 2017 Jianshu Technology CO.,LTD (https://jianshukeji.com)
*
* Author : John@jianshukeji.com, Blue Monkey
*
* License: Creative Commons Attribution (CC)
*/
(function(H) {
var protocol = window.location.protocol;
var defaultOptionsZhCn = {
lang: {
// Highcharts
contextButtonTitle: '图表导出菜单',
decimalPoint: '.',
downloadJPEG: "下载JPEG图片",
downloadPDF: "下载PDF文件",
downloadPNG: "下载PNG文件",
downloadSVG: "下载SVG文件",
drillUpText: "返回 {series.name}",
invalidDate: '无效的时间',
loading: '加载中...',
months: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
noData: "没有数据",
numericSymbols: null,
printChart: "打印图表",
resetZoom: '重置缩放比例',
resetZoomTitle: '重置为原始大小',
shortMonths: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
thousandsSep: ',',
weekdays: ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期天'],
// Highstock
rangeSelectorFrom: '开始时间',
rangeSelectorTo: '结束时间',
rangeSelectorZoom: '缩放',
// Highmaps
zoomIn: '缩小',
zoomOut: '放大'
},
global: {
useUTC: true,
//timezoneOffset: -8 * 60,
canvasToolsURL: protocol + '//cdn.hcharts.cn/highcharts/modules/canvas-tools.js',
VMLRadialGradientURL: protocol + +'//cdn.hcharts.cn/highcharts/gfx/vml-radial-gradient.png'
},
title: {
text: '图表标题'
},
tooltip: {
dateTimeLabelFormats: {
millisecond: '%H:%M:%S.%L',
second: '%H:%M:%S',
minute: '%H:%M',
hour: '%H:%M',
day: '%Y-%m-%d',
week: '%Y-%m-%d',
month: '%Y-%m',
year: '%Y'
}
},
exporting: {
url: protocol + '//export.highcharts.com.cn'
},
credits: {
text: 'Highcharts',
href: 'https://highcharts.com.cn',
},
xAxis: {
dateTimeLabelFormats: {
millisecond: '%H:%M:%S.%L',
second: '%H:%M:%S',
minute: '%H:%M',
hour: '%H:%M',
day: '%Y-%m-%d',
week: '%Y-%m-%d',
month: '%Y-%m',
year: '%Y'
}
}
};
H.setOptions(defaultOptionsZhCn);
}(Highcharts));
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,39 @@
.reg-box{width:100%; height:100%; background: url(../../ztmpl/zhiqim_manager/index_bg_00.jpg) no-repeat top center;background-size:auto 100%;}
a,a:visited{color:#333;text-decoration:none;cursor:pointer;}
a:active,a:hover{color:#1e7eec;text-decoration:none;}
.clear:after{content:'';display:block;clear:both;height:0;overflow:hidden;visibility:hidden;}
.clear{zoom:1;}
/****注册 ****/
.header{width:100%;background:rgba(255,255,255,.3); filter:alpha(opacity=30); height:40px; line-height:40px; padding:0 0 0 10px; color:#fff; font-size:14px;}
.reg-footer{position:fixed;bottom:0px; width:100%;height:40px;background:rgba(255,255,255,0.2);line-height:40px;text-align:center;color:#fff;}
.reg-login{width:825px; background:rgba(255,255,255,.3); filter:alpha(opacity=30); border-radius:12px; position: absolute; right:7%; top:50%; margin:-260px 0 0 0;}
.p-login{ margin:-210px 0 0 0;}
input{background:#fff;color:#86BFE9; width:300px; font-size:14px;border:1px solid #3b8edc;border-radius:5px;height:45px;line-height:45px;text-indent:10px;}
.design-logo{float:left; padding:170px 40px 0 40px;}
.p-int{ padding:120px 40px 0 40px;}
input::-webkit-input-placeholder{color:#86BFE9;}
.input-code{ width:192px;}
.reg-h{ font-size:20px; color:#fff; padding:0 0 10px 0;}
.reg{ float:left; width:450px; border-left:1px solid #fff; padding:0 0 0 50px; margin:30px 0;}
.reg-list{ float:left; margin:20px 0 0 0; width:100%;}
.reg-list button{ width:100px; float:right; margin:0 12px 0 0; background:#427ae1; border:none; line-height:42px; border-radius:5px; color:#fff; font-size:14px;}
.reg-list span{ width:86px; float:left; color:#fff; font-size:14px; line-height:45px;}
.reg-btn{ float:left; background:#427ae1; color:#fff; width:180px; line-height:40px; margin:10px 0 0 110px; border:none; border-radius:5px; font-size:14px;}
.p-btn{ margin:30px 0 0 110px;}
.agree-popup{position: fixed; top:50%; left:50%; width:60%; height:600px; margin:-300px 0 0 -30%; background:#fff; display:none; }
.agree-title{ font-size:16px; line-height:48px; border-bottom:1px solid #dfdfdf; color:#666; padding:0 0 0 20px;}
.agree-content{ overflow-y:scroll; height:552px;}
.agree-title span{float:right; line-height:44px; padding:0 20px; font-size:20px; color:#999; cursor:pointer;}
.z-checkbox{ border:2px solid #fff; border-radius:16px; width:18px; height:18px; }
.z-checkbox:hover{ border:2px solid #2fb6d4!important;}
.z-checkbox.z-active{ background-color:#2fb6d4!important; border:#2fb6d4!important; background-position: 0 -191px;}
.reg-check{ text-align:center; font-size:14px; line-height:40px; float:left; width:100%; margin:20px 0 0 0; color:#fff;}
.reg-check a{color:#2fb6d4;}
.reg-title{ font-size:14px; color:#fff; position: absolute; top:34px; right:30px;}
.reg-title a{color:#ffd200;}
.agree-content{padding:20px;}
.agree-content h2{font-size:18px;}
.agree-content p{ font-size:14px; color:#666; line-height:36px;}
@@ -0,0 +1,124 @@
/*瀑布*/
.srcFileList{
/*
-moz-column-count:5;
-webkit-column-count:5;
column-count:5;
-moz-column-gap: 1em;
-webkit-column-gap: 1em;
column-gap: 1em;
*/
overflow:hidden;
}
.srcFileList:before,.srcFileList:after{content:"";display:table;}
.srcFileList:after{clear:both;}
/*一个内容层*/
.item{
padding: 1em;
position:relative;
/*
-moz-page-break-inside: avoid;
-webkit-column-break-inside: avoid;
break-inside: avoid;
*/
width:20%;
float:left;
overflow:hidden;
}
.item>div{
padding: 10px;
background-color: #fff;
width:100%;
height:100%;
overflow:hidden;
position:relative;
}
.item>div:hover{
-webkit-box-shadow: #666 0px 0px 10px;
-moz-box-shadow: #666 0px 0px 10px;
box-shadow: #666 0px 0px 10px;
behavior: url(/PIE.htc);
}
.item>div>img{
width: 100%;
}
.z-tabnav-main>nav span.z-cover{height:35px;line-height:1;}
.z-tabnav-main>nav span.z-cover li{height:auto;}
/** 申请精品 **/
.applyEssenceBtn{width:40px;height:130px;right:20px;top:50%;margin-top:-50px;font-size:16px;text-align:center;line-height:20px;background:#1299ec;color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.3);border-radius:5px;cursor:pointer;z-index:999;overflow:hidden;}
.applyEssenceBtn:hover{background:#28a3ef}
.applyEssenceBtn>span{display:block;}
.applyEssenceBtn>span{padding:12px 10px 18px;}
.applyEssenceBtn>span:last-child:hover{background:#0b85d0}
.applyEssenceBtn>span:first-child,.applyEssenceBtn.active>span:last-child{display:block;}
.applyEssenceBtn>span:last-child,.applyEssenceBtn.active>span:first-child{display:none;}
.item>.checkBox{display:none;left:0;top:0;background:rgba(255,255,255,.8);background-clip:content-box;padding:1em;}
/**
.item.selectedItem>.checkBox{display:block;}
.item.selectedItem>.checkBox::before{content:"\f00d";font-family:"z-font" !important;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0.2px;-moz-osx-font-smoothing:grayscale;
font-size:30px;position: absolute;left:50%;top:50%;width:30px;height:16px;margin-top:-8px;margin-left:-15px;color:#006400;}
**/
.item>.checkBox>input{visibility: hidden;}
/** 悬浮操作按钮 **/
.item>div.z-bg-white.z-pointer:hover .itemCtrBar{display:block;}
.itemCtrBar{top:0;right:0;bottom:0;left:0;padding:10px;display:none;background:rgba(0,0,0,.3);background-origin:content-box;background-clip:content-box;pointer-events:none;}
.itemCtrBar>button,.itemCtrBar>.itemCtrBar-item{pointer-events:auto;}
.itemCtrBar>.itemCtrBar-item{width:30px;height:30px;margin:15px;text-align:center;line-height:26px;border-radius:50%;background:#fff;opacity:.9;}
.itemCtrBar>.itemCtrBar-item-delete,.selectedItem .itemCtrBar>.itemCtrBar-item-success{display:none;}
.selectedItem .itemCtrBar>.itemCtrBar-item-delete{display:block;}
.selectedItemBar{content:"精品";border-color:transparent transparent #f55 #f55;}
/** 显示 **/
.allItem-info::before{position:absolute;font-size:12px;white-space:nowrap;color:#fff;text-indent:-20px;line-height:15px;bottom:0;border-width:16px 22px;border-style:solid;width:0;height:0;}
.allItem-info{width:100%;height:32px;line-height:35px;left:0;bottom:0;color:#fff;background:rgba(0,0,0,.3);text-indent:35px}
/** 精品显示 **/
.bestItem .allItem-info::before{content:"精品";left:0;border-color:transparent transparent #f55 #f55}
/** 模板显示 **/
.modelItem .allItem-info::before{content:"模板";left:0;border-color:transparent transparent #00a2eb #00a2eb;}
/** 订单显示 **/
.orderItem .allItem-info::before{content:"定稿";left:0;border-color:transparent transparent #9e70ca #9e70ca;}
/** 临时显示 **/
.temporaryItem .allItem-info::before{content:"临时";left:0;border-color:transparent transparent #fb53cf #fb53cf;}
/**我的显示**/
.myItem .allItem-info::before{content:"我的";left:0;border-color:transparent transparent #fb53cf #fb53cf;}
/** 已选显示 **/
.selectedItemBar{right:0;top:0;text-indent:-4px;line-height:15px;border-color:#008b8b #008b8b transparent transparent;display:none;}
.selectedItemBar::before{content:"已选";position:relative;top:-14px;}
.selectedItem .selectedItemBar{display:block;}
/** 浮动选择框 **/
.fixedDialog{transition:right .6s;}
.fixedDialog.z-active{right:0 !important;}
.fixedDialog-title{width:36px;padding:10px 3px;font-size:16px;color:#fff;background-clip:padding-box;cursor:pointer;text-align:center;border-top-left-radius:5px;border-bottom-left-radius:5px;border-width:5px 0 5px 5px;border-style:solid;border-color:rgba(0,0,0,.1);}
.fixedDialog-content{height:100%;position:relative;background:#fff;border:1px solid #ccc;}
.fixedDialog-content ul{width:100%;height:100%;}
.fixedDialog-confirm{width:100%;position:absolute;bottom:8px;text-align:center;}
.fixedDialog-hiddenBtn{bottom:0;background:#ccc;width:36px;padding:5px 0;text-align:center;color:#fff;cursor:pointer;}
#fixedDialog_1{height:400px;right:-210px;bottom:100px;}
#fixedDialog_content_1{width:220px;padding:5px 5px 45px 5px;}
#fixedDialog_content_1 li{float:left;position:relative;width:50%;height:25%;padding:10px;text-align:center;border:1px solid #f5f5f5;}
#fixedDialog_content_1 li::before{content:"";display:inline-block;width:0;height:100%;vertical-align:middle;}
#fixedDialog_content_1 li>img{}
#fixedDialog_content_1 li>.z-delete{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:35px;background:rgba(255,255,255,.5);cursor:pointer;text-align:center;font-size:25px;display:none;}
#fixedDialog_content_1 li.z-active:hover>.z-delete{display:block;}
/** 浮动框订单信息 **/
#fixedDialog_2{height:200px;right:-400px;bottom:630px;}
#fixedDialog_content_2{width:410px;padding:10px;}
#fixedDialog_content_2>ul{overflow:auto;}
#fixedDialog_content_2 li{line-height:20px;padding:3px 2px;border-bottom:1px solid #f5f5f5;}
+104
View File
@@ -0,0 +1,104 @@
.bos{
width: 478px;
height: 125px;
float: left;
position: relative;
border: 1px solid #dcdcdc;
border-radius: 2px;
color: #666;
background-color: #f6f6f6;
margin-bottom: 15px;
}
.bos_son span{
display:inline-block
}
.bos_two{
width: 478px;
height: 680px;
}
.bos_two_one{
width: 100%;
height: 155px;
margin-bottom: 20px;
}
.my-textarea{
width: 100%;
height: 100%;
}
.text{
margin-bottom: 10px;
padding-left: 5px;
}
.my_text{
display: inline-block;
}
.btn{
display: inline-block;
margin-left: 242px;
}
.my_bos_two_one{
margin-top: 35px;
}
.my_btn{
position: absolute;
top: 45%;
left: 30.5%;
line-height: 24px;
font-size: 16px;
}
.boxs{
float: left;
width: 515px;
}
.boxs_two{
float: right;
/*margin-left: 100px;*/
width: 1048px;
position: absolute;
top: 20px;
right: 65px;
}
.boxs_two ul li{
width:159px;
height:100%;
text-align: center;
line-height: 45px !important;
}
.boxs_sons{
width: 100%;
height:100%;
border-radius: 2px;
color: #666;
/* border: 1px solid #dcdcdc;*/
border: none;
background-color: #ffffff
}
.my_z-float-right{
width: 116px;
height: 48px !important;
}
.mystyle{
height: 100% !important;
margin-bottom: 6px;
}
.mystyle_svg{
/* height:945px;*/
width: 100%;
height:100%;
}
.boxs_svg{
width:1050px;
height:950px;
}
.mybtn_style_one{
position: absolute;
top:5px;
right:10px;
}
.mybtn_style_two{
position: absolute;
top:5px;
right:115px;
}
@@ -0,0 +1,46 @@
.min-width{min-width:450px;}
.main{position: relative;}
.main .box{padding: 10px 0 0 10px; float: left;}
.main .box .pic{padding: 5px; border: 1px solid #CCCCCC;border-radius: 5px; box-shadow: 0 0 5px #ccc;cursor:pointer}
.main .box .pic >img{width: 150px; height: auto;}
.main .box .pic .cont{width: 150px; height: auto; word-wrap:break-word;}
.main .box .pic .z-content{width:auto !important;}
/*列表*/
.list-file{overflow:hidden;}
.list-file:before,.list-file:after{content:"";display:table;}
.list-file:after{clear:both;}
/*内容项*/
.list-file .item{
padding: 5px;
position:relative;
width:33.3%;
float:left;
overflow:hidden;
}
.list-file .item>div{
padding: 3px;
background-color: #fff;
width:100%;
height:100%;
overflow:hidden;
position:relative;
border: 1px solid #CCCCCC;
border-radius: 5px;
box-shadow: 0 0 5px #ccc;
cursor:pointer;
}
.list-file .item>div:hover{
-webkit-box-shadow: #666 0px 0px 10px;
-moz-box-shadow: #666 0px 0px 10px;
box-shadow: #666 0px 0px 10px;
behavior: url(/PIE.htc);
}
.list-file .item>div>img{width: 100%;}
.list-file .z-content{width:auto !important;}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,112 @@
/**************************************************************************************/
/* 布局(全局、导航、脚注) */
/**************************************************************************************/
/** [全局定义] */
html{overflow-x:auto;}
body{background:#f5f5f5;}
body,table,td,div{font-size:14px;line-height:120%;}
a,a:visited{color:#333;text-decoration:none;cursor:pointer;}
a:active,a:hover{color:#2173b2;text-decoration:none;}
/* [主导航] */
.mainnav{position:fixed;top:0px;width:100%;height:76px;border-bottom:1px solid #dadada;background-color:#fff;z-index:9999;}
.mainnav .mainnav-wrap{margin:0px auto;max-width:1200px;min-width:1000px;height:75px;}
.mainnav .logo{float:left;width:290px;margin-top:8px;}
.mainnav .logo-text{float:right;font-size:18px;font-weight:bold;line-height:58px;}
.mainnav .menu{float:left; font-size:16px;height:75px;text-align:center;margin:10px 5px 0px 30px;}
.mainnav .menu li{float:left; width:80px; line-height:30px; margin:12px 10px;}
.mainnav .menu li:hover{border-bottom:2px solid #4bacc6;color:#4bacc6;cursor:pointer;}
.mainnav .menu li.active{border-bottom:2px solid #4bacc6;color:#4bacc6;}
@media screen and (max-width: 1071px) {
.mainnav .menu li{margin:12px 5px;}
}
.mainnav .help{float:right;line-height:75px;color:#2173b2;}
.mainnav .help a{background-color:#a4132a; color:#ffffff;font-size:16px;border-radius:20px; padding:6px 15px;margin-left:15px;}
/* [导航固定96px] */
.navmargin{position:relative;width:100%;height:96px;}
.scrolltotop{position:fixed;right:20px;bottom:20px;display:none;z-index:99999;border:1px solid #d3d3d3;padding:10px;cursor:pointer;}
.scrolltotop:hover{background-color:#333;}
/* [脚注] */
.footer {position:relative;width:100%;min-width:1200px;z-index:0;display:block;border-top:1px solid #e6e6e6;overflow:hidden;background:#fff;}
.footer-wrap {margin:10px auto;height:160px;width:1200px;text-align:center;color:#333;font-size:14px;}
.footer li {float:left;height:130px;margin:10px 20px 10px 0;text-align:left;line-height:30px;color:#888;}
.footer li a {margin:10px;color:#888;}
.footer li a:hover {color:#4bacc6;}
.footer li.fproduct{width:180px;margin-left:30px;}
.footer li.fhelp{width:222px;}
.footer li.fabout{width:190px;}
.footer li.abountus {width:300px;}
.footer li.fproduct,.footer li.fhelp,.footer li.fabout{border-right:1px dashed #ccc;}
@media screen and (max-width: 1071px) {
.footer li.fproduct{width:140px;}
.footer li.fhelp{width:180px;}
.footer li.fabout{width:150px;}
.footer li.abountus {width:280px;}
}
.footer-cp {position:relative;width:100%;min-width:1200px;height:85px;line-height:85px;background-color:#eee;overflow:hidden;}
.footer-cp-wrap{position:relative;margin:0 auto;width:1200px;height:85px;z-index:0;display:block;overflow:hidden;}
.footer-cp .footer-text{width:1200px;height:85px;line-height:85px;text-align:center;}
@media screen and (max-width: 1071px) {
.footer-cp-wrap{width:1000px;}
.footer-cp .footer-text{width:1000px;margin-left:-100px;}
}
/**************************************************************************************/
/* 容器内容 */
/**************************************************************************************/
/** [容器定义] */
.container {position:relative;margin:0 auto;padding-bottom:20px;height:auto !important;min-height:1200px;width:1200px;overflow:hidden;z-index:0;}
/* [左导航] */
.sidebar {position:relative;float:left;height:100%;padding-bottom:30px;overflow:hidden;width:220px;background:#fff;border:1px solid #e5e5e5;border-radius:3px;}
.sidebar main {position:relative;display:block;width:100%;height:98px;line-height:98px;font-size:16px;text-align:center;color:#333;cursor:pointer;border-bottom:1px solid #f5f5f5;}
.sidebar main.selected{color:#007d7e;border:1px solid #e6e6e6;background-color:#eee;}
.sidebar p{position:relative;padding:0 40px;height:40px;line-height:40px;font-size:16px;color:#333;cursor:pointer;border-bottom:1px solid #eee;}
.sidebar p .z-font{position:absolute;font-size:14px;left:15px;bottom:0;}
.sidebar ul{position:relative;height:auto;overflow:hidden;line-height:40px;background:#f9f9f9;}
.sidebar ul li{display:block;padding:0 40px;line-height:38px;cursor:pointer;font-size:14px;color:#777;border:1px solid transparent;}
.sidebar ul li:hover{color:#2173b2;text-decoration:none;}
.sidebar p.z-selected,.sidebar ul li.z-selected{color:#fff; background-color:#2173b2;}
/* [主体部分] */
.mainbody{position:relative;float:right;width:960px;background:#fff;border:1px solid #e5e5e5;border-radius:3px;}
/* [搜索框]*/
.mainsearch{text-align:center;padding:30px 10px;border-bottom:1px solid #f5f5f5;}
.mainsearch .z-input{width:600px;font-size:14px;border-color:#2173b2;}
.mainsearch .z-button{width:60px;height:38px;margin-left:-1px;font-family:"z-font";font-size:20px;background:#2173b2;border-color:#2173b2;box-shadow:none;color:#fff;}
/* [问题显示主体] */
.questionbody{padding:20px 40px 80px;}
/*文章列表*/
.article-list dd{margin:0;font-size:15px;line-height:38px;}
/*文章内容*/
.article {}
.article,.article div{line-height:30px;font-size:15px;}
.article h1{font-weight:normal;}
/* [搜索结果] */
.search-resultBar {border-bottom:1px solid #fcfcfc;}
.search-resultBar span{display:inline-block;max-width:300px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis;vertical-align:top;color:#a4132a;}
.search-resultList {}
.search-resultList dt{margin:30px 0 10px;}
.search-resultList dt a{display:inline-block;font-size:15px;color:#2173b2;line-height:30px;}
.search-resultList dt a:hover{text-decoration:underline;color:#a4132a;}
.search-resultList dd{margin:0;color:#666;line-height:20px;}
/**************************************************************************************/
/* Mobile配置 */
/**************************************************************************************/
/* [脚注]Mobile */
.m-footer {position:relative;width:100%;border-top:1px solid #e6e6e6;background-color:#eee;padding:4% 0px;}
.m-footer-wrap {width:100%;height:100%;color:#333;text-align:center;font-size:12px;height:28px;line-height:28px;}
@@ -0,0 +1,286 @@
+(function(Z)
{
//BEGIN
Z.SearchAutoList = Z.Class.newInstance();
Z.SearchAutoList.prototype =
{
defaults:
{
elem: null, //输入框/输入框盒子ID
className: null, //Ajax调用的类名
methodName: null, //Ajax调用的类方法
history: true, //历史记录显示
callback: null //选中后的回调函数
},
execute: function()
{
this.$elem = Z.$elem(this.elem, "Z.SearchAutoList");
this.id = this.$elem.attr("id") || "FSearchAutoList";
this.width = this.$elem.offsetWidth();
var height = this.$elem.offsetHeight();
var fontSize = this.$elem.css("fontSize");
this.pdLeft = this.$elem.css("paddingLeft");
this.pdRight = this.$elem.css("paddingRight");
this.lHeight = this.$elem.css("lineHeight");
this.$cover = Z.$cover(this.$elem);
this.$list = Z('<div class="z-absolute z-bg-white z-text-left z-bd z-hide"></div>')
.css({width: this.width, left: 0, top: height-1, fontSize: fontSize, zIndex: 99})
.appendTo(this.$cover);
//事件绑定
this.$elem.on("focus", this.onFocus, this);
this.$elem.on("input", this.onInput, this);
this.$elem.keydown(this.onKeyDown, this);
Z(document).click(this.onDocClick, this);
},
onFocus: function(e)
{//获取焦点事件
this.value = Z.S.trim(this.$elem.val());
if (Z.V.isEmptyBlank(this.value))
{
this.doHistoryList();
return;
}
if (this.beforeValue == this.value)
{//内容不改变
if (this.$list.html() != "")
this.$list.show();
}
else
{//内容已改变
this.beforeValue = this.value;
this.$list.show();
this.doAjax();
}
},
onInput: function(e)
{//input事件
this.value = Z.S.trim(this.$elem.val());
if (Z.V.isEmptyBlank(this.value))
{
this.doHistoryList();
return;
}
if (this.beforeValue != this.value)
{//调用查询
this.beforeValue = this.value;
this.$list.show();
this.doAjax();
}
},
//ajax调用,生成列表
doAjax: function()
{
this.ajax = new Z.Ajax();
this.ajax._this = this;
this.ajax.setClassName(this.className);
this.ajax.setMethodName(this.methodName);
this.ajax.addParam(this.value);
this.ajax.setCallback(function()
{
var _this = this._this;
var titleList = Z.J.toObject(this.responseText);
if (titleList.length == 0)
{
_this.$list.html("").hide();
return;
}
var html = '<ul>';
Z.eachof(_this, titleList, function(item){
html += '<li class="z-text-ellipsis" style="width: ' + _this.width + 'px; padding: 2px ' + _this.pdRight + ' 2px ' + _this.pdLeft +'; line-height:'+ _this.lHeight +'; cursor: pointer;">' + item + "</li>";
});
html += "</ul>";
_this.$list.html(html);
_this.lis = _this.$list.find("li");
_this.lis.click(_this.doSelect, _this);
_this.lis.mouseenter(_this.onMouseEnter, _this);
_this.lis.mouseleave(_this.onMouseLeave, _this);
});
this.ajax.execute();
},
doSelect: function(e)
{//鼠标选中
Z.E.forbidden(e);
this.beforeValue = this.value;
this.value = Z(Z.E.target(e)).text();
this.$elem.val(this.value);
this.$list.hide();
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
},
onDocClick: function(e)
{//空白处点击,隐藏列表
var target = Z.E.target(e);
if (target == this.$elem[0])
return;
this.$list.hide();
if (this.beforeValue != this.value)
{//静默调用
this.beforeValue = this.value;
this.doAjax();
}
},
onKeyDown: function(e)
{//键盘 “上” “下” “回车”按键监听
var keyVal = Z.E.key(e);
if (keyVal != Z.E.KEY.UP && keyVal != Z.E.KEY.DOWN && keyVal != Z.E.KEY.ENTER)
return;
Z.E.forbidden(e);
if (this.lis)
{//有选择列表的搜索框
var liSetLength = this.lis.length;
var liActive = this.$list.find(".z-bg-gray");
var liActiveIndex = -1;
var toIndex = null;
if (liActive.length != 0)
liActiveIndex = Z.EL.parentIndex(liActive[0]);
switch (keyVal)
{
case Z.E.KEY.UP://上
toIndex = liActiveIndex - 1;
if (toIndex <= -1)
toIndex = liSetLength - 1;
break;
case Z.E.KEY.DOWN://下
toIndex = liActiveIndex + 1;
if (toIndex == liSetLength)
toIndex = 0;
break;
case Z.E.KEY.ENTER://回车选中
this.$elem[0].blur();
this.$list.hide();
this.value = Z.S.trim(this.$elem.val());
this.beforeValue = this.value;
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
return;
}
toIndex++;
this.lis.removeClass("z-bg-gray");
var toLi = this.$list.find("li:nth-child(" + toIndex +")").addClass("z-bg-gray");
this.value = toLi.html();
this.$elem.val(toLi.html());
}
else if (keyVal == Z.E.KEY.ENTER)
{//直接在输入框回车搜索
this.value = Z.S.trim(this.$elem.val());
this.beforeValue = this.value;
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
}
},
//选中后的回掉函数
doCallback: function(e)
{
if(!this.callback)
return;
this.callback(e);
},
//历史记录列表展示
doHistoryList: function(e)
{
if (!this.history)
return;
this.$list.html("").hide();
if (!localStorage.getItem(this.id))
return;
var htmlStr = '<ul class="z-text-gray">';
var hisArr = localStorage.getItem(this.id).split(";");
for (var i = 0;i < hisArr.length;i++)
{
htmlStr += '<li class="z-text-ellipsis" style="width: ' + this.width + 'px; padding: 2px ' + this.pdRight + ' 2px ' + this.pdLeft +'; line-height:'+ this.lHeight +'; cursor: pointer;">'
+ hisArr[i] + "</li>";
}
htmlStr += "</ul>";
Z(htmlStr).appendTo(this.$list.show());
var hisBar = '<div class="z-bg-blue z-clearfix" style="padding:0 ' + this.pdRight + ' 0 ' + this.pdLeft +';line-height:'+ this.lHeight +';cursor:default;">'
+ '<span class="z-float-right z-pointer z-deleteBtn">清空历史</span>'
+ '</div>';
Z(hisBar).appendTo(this.$list.show());
//绑定事件
this.lis = this.$list.find("li");
this.lis.click(this.doSelect,this);
this.lis.mouseenter(this.onMouseEnter,this);
this.lis.mouseleave(this.onMouseLeave,this);
//绑定删除事件
var $delBtn = this.$list.find(".z-deleteBtn");
$delBtn.click(this.emptyHistory,this);
},
emptyHistory: function(e)
{
localStorage.removeItem(this.id);
},
//输入完成,存储历史记录
saveHistory: function(e)
{
if (!this.history)
return;
var hisStr = localStorage.getItem(this.id);
if (!hisStr)
return localStorage.setItem(this.id, this.value);
var hisArr = hisStr.split(";");
hisArr.unshift(this.value);
//去重
var resultArr = [];
for(var i = 0; i < hisArr.length; i++)
{
if(!Z.AR.contains(resultArr, hisArr[i]))
resultArr.push(hisArr[i]);
}
//限制个数
if (resultArr.length > 10)
resultArr.length = 10;
hisStr = resultArr.join(";");
localStorage.setItem(this.id, hisStr);
},
//鼠标悬浮,背景颜色变化
onMouseEnter: function(e)
{
var $thisLi = Z(Z.E.target(e));
$thisLi.addClass("z-bg-gray");
},
onMouseLeave: function(e)
{
var $thisLi = Z(Z.E.target(e));
$thisLi.removeClass("z-bg-gray");
}
}
//END
})(zhiqim)
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,72 @@
+(function(Z)
{
//BEGIN
var Design = window.Design = {};
Z.onload(function()
{
})
Design.doWorksShow = function (value,urlParam)
{//展示弹窗页,全铺满
var ajax = new Z.Ajax();
ajax.setClassName("WorksPresenter");
ajax.setMethodName("doWorksBrowse");
ajax.addParam(value)
ajax.execute();
var dialog = new Z.Dialog();
dialog.shadow = true;
dialog.title = "作品详情";
dialog.fixed = true;
dialog.url = "worksShow.htm?worksId="+value;
dialog.width = Z.D.clientWidth();
dialog.height =Z.D.clientHeight()-40;
dialog.execute();
}
Design.doTemplateShow = function (value,urlParam)
{//展示弹窗页,全铺满
var keywordName = Z("#searchinput").val();
if (keywordName == null)
keywordName = "";
var ajax = new Z.Ajax();
ajax.setClassName("TemplatePresenter");
ajax.setMethodName("doTemplateBrowse");
ajax.addParam("mediaId", value)
ajax.execute();
var dialog = new Z.Dialog();
dialog.shadow = true;
dialog.title = "模板详情";
dialog.fixed = true;
dialog.url = "templateShow.htm?mediaId=" + value + "&keywordName=" + keywordName + "&urlParam=" + urlParam;
dialog.width = Z.D.clientWidth() -30;
dialog.height =Z.D.clientHeight() - 65;
dialog.execute();
}
Design.openWangWang = function(buyerNick)
{//打开旺旺
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
};
Design.openQQ = function(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
};
//END
})(zhiqim);
@@ -0,0 +1,76 @@
/*****************************************************************************/
//定义设计师工作初始化
/*****************************************************************************/
//启动websocket
Z.onload(function()
{
Z("#switch-work").click(function(){
if(Z("#switch-work").hasClass('switch-active')){
stopWork()
}else{
startWork()
}
})
//1.检查上下班状态
});
/*****************************************************************************/
//定义设计师工作对象
/*****************************************************************************/
function startWork()
{//设计师开始接单
var ajax = new Z.Ajax();
ajax.setClassName("DesignerWorkPresenter");
ajax.setMethodName("startWork");
ajax.setFailureAlert();
ajax.setFailure(function(){
if(this.responseText == "1"){
Z.alert("接单前请前往个人中心完善个人简介~", function(){
Z("a[onclick*='profile.htm']").click();
});
return;
}
Z.alert(this.responseText);
})
ajax.setSuccess(function()
{
Z("#switch-work").addClass("switch-active")
});
ajax.execute();
};
function stopWork()
{//设计师停止接单
//1.查询未完成订单数
var ajax = new Z.Ajax();
ajax.setSync();
ajax.setClassName("DesignerWorkPresenter");
ajax.setMethodName("getOrderNumber");
ajax.execute();
if (ajax.responseStatus != 0)
{
Z.alert("抱歉请求处理失败,请重试!");
return;
}
//2.提醒下班
var confirm = "确认现在停止接单吗?" + ((ajax.responseText != "0")?"您还有" + ajax.responseText + "个订单未完成!":"");
Z.confirm(confirm, function()
{
var _ajax = new Z.Ajax();
_ajax.setClassName("DesignerWorkPresenter");
_ajax.setMethodName("stopWork");
_ajax.setFailureAlert();
_ajax.setSuccess(function()
{
Z("#switch-work").removeClass("switch-active")
});
_ajax.execute();
});
};
@@ -0,0 +1,80 @@
+(function(Z)
{
//BEGIN
var Global = window.Global = {};
/**************************************************************************************/
//打开旺旺&打开QQ
/**************************************************************************************/
Global.contectWangWang = function()
{//打开旺旺
var designId = Z.FM.getChecked("designId");
var buyerNick = Z("#buyerNick_" + designId).val();
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
};
Global.contectQQ = function()
{//打开QQ
var designId = Z.FM.getChecked("designId")
var userQq = Z("#userQq_" + designId).val();
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
};
Global.openWangWang = function(elemId, attrName)
{//打开旺旺
if (!elemId && !attrName)
{
Global.contectWangWang();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-ww" : attrName);
Global.openWangWangParam(nick);
}
};
Global.openQQ = function(elemId, attrName)
{//打开QQ
if (!elemId && !attrName)
{
Global.contectQQ();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-qq" : attrName);
Global.openQQParam(nick);
}
};
Global.openWangWangParam = function(buyerNick)
{//打开旺旺
if (Z.V.isEmptyBlank(buyerNick))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
}
Global.openQQParam = function(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
}
//END
})(zhiqim);
@@ -0,0 +1,80 @@
+(function(Z)
{
//BEGIN
var Global = window.Global = {};
/**************************************************************************************/
//打开旺旺&打开QQ
/**************************************************************************************/
Global.contectWangWang = function()
{//打开旺旺complainId
var complainId = Z.FM.getChecked("complainId");
var buyerNick = Z("#buyerNick_" + complainId).val();
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
};
Global.contectQQ = function()
{//打开QQ
var complainId = Z.FM.getChecked("complainId")
var userQq = Z("#userQq_" + complainId).val();
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
};
Global.openWangWang = function(elemId, attrName)
{//打开旺旺
if (!elemId && !attrName)
{
Global.contectWangWang();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-ww" : attrName);
Global.openWangWangParam(nick);
}
};
Global.openQQ = function(elemId, attrName)
{//打开QQ
if (!elemId && !attrName)
{
Global.contectQQ();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-qq" : attrName);
Global.openQQParam(nick);
}
};
Global.openWangWangParam = function(buyerNick)
{//打开旺旺
if (Z.V.isEmptyBlank(buyerNick))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
}
Global.openQQParam = function(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
}
//END
})(zhiqim);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,213 @@
+(function(Z)
{
//BEGIN
var Mercolumn = window.Mercolumn = {};
Mercolumn.initPageColumn = function (layoutCode, layoutName)
{
if (!layoutName || !layoutCode)
return false;
var _tr_ = Z('tr[data-layoutCode=\''+layoutCode+'\']');
if (!_tr_)
{
console.error("["+layoutCode+"]" + "元素查询异常")
return false;
}
var _tr = _tr_[0];
if (!_tr)
{
console.log("["+layoutCode+"]" + "未找到元素")
return false;
}
var cells = _tr.cells;
var nameArr = [];
var columns = [];
Z.each(cells, function(td, i){
var columnName = td.innerText;
columnName = Z.S.trim(columnName);
if (Z.V.isNotEmptyBlank(columnName))//有效列名信息
{
nameArr[i] = columnName;
columns[i] = columnName;
}
});
if (nameArr.length == 0)
{
console.log("["+layoutCode+"]" + "找不到列信息")
return false;
}
var init_success = false;
try
{
var ajax = new Z.Ajax();
ajax.setSync();
ajax.setClassName("MercolumnPresenter");
ajax.setMethodName("initPageLayoutColumn");
ajax.addParam("layoutCode", layoutCode);
ajax.addParam("layoutName", layoutName);
ajax.addParam("sysColumns", Z.AR.toString(nameArr, ","));
ajax.setFailure(function(){
console.error("初始化页面信息列异常:"+this.responseText)
});
ajax.setSuccess(function()
{
init_success = true;
});
ajax.execute();
}catch(e)
{
console.log(e)
}
return init_success;
}
Mercolumn.doQueryColumns = function(layoutCode)
{
if (!layoutCode)
return [];
var _tr_ = Z('tr[data-layoutCode=\''+layoutCode+'\']');
if (!_tr_)
{
console.error("["+layoutCode+"]" + "元素查询异常")
return [];
}
var _tr = _tr_[0];
if (!_tr)
{
console.log("["+layoutCode+"]" + "未找到元素")
return [];
}
var cells = _tr.cells;
var nameArr = [];
var columns = {};
Z.each(cells, function(td, i){
var columnName = td.innerText;
columnName = Z.S.trim(columnName);
if (Z.V.isNotEmptyBlank(columnName))//有效列名信息
{
nameArr[i] = columnName;
columns[columnName] = i;
}
});
return columns;
}
Mercolumn.doShowMerPageColumn = function (layoutCode, layoutName, orgId)
{
var init_success = Mercolumn.initPageColumn(layoutCode, layoutName);//初始化
if (!init_success)
return;//初始化失败了不设置
var pageColumns = Mercolumn.doQueryColumns(layoutCode);
if (!orgId || orgId == -1)
{
return false;
}
try
{
var ajax = new Z.Ajax();
ajax.setClassName("MercolumnPresenter");
ajax.setMethodName("doQueryMerPageLayoutColumns");
ajax.addParam("orgId", orgId);
ajax.addParam("layoutCode", layoutCode);
ajax.setFailure(function(){
console.error("设置隐藏商户信息列异常:"+this.responseText);
});
ajax.setSuccess(function(){
var obj = Z.J.toObject(this.responseText);
var dataList = obj.dataList;
console.log(obj);
if (!dataList || dataList.length == 0 || !dataList[0])
return;
var merColsNames = Z.AR.toArray(dataList[0].merColumns, ",")
var mercolumsIndex=[];
//查询影藏列下标
var hideIndexs = [];
for (var colsName in pageColumns)
{
if (Z.AR.contains(merColsNames, colsName))
{
var ind = pageColumns[colsName];
mercolumsIndex[colsName] = ind;
hideIndexs.push(ind);
}
}
console.log("mercolumsIndex:");
console.log(mercolumsIndex);
console.log(hideIndexs);
//查询标记隐藏表标头
var _tr_ = Z('tr[data-layoutCode=\''+layoutCode+'\']');
if (!_tr_ || _tr_ .length == 0)
{
return;
}
var parentWidth = 0;
var scrollWidth = 0;
var table = _tr_.parent()[0]
if (Z.S.equalsIgnoreCase(table.tagName, "tbody"))
{
table = Z(table).parent();
scrollWidth = table[0].scrollWidth;
var elem = table.parent()[0];
parentWidth = elem.clientWidth-table[0].offsetLeft*2;
}
//计算隐藏宽度
var cutWidth = 0;
var thead = _tr_[0];
var _cells_ = thead.cells;
for(var ci = 0; ci < _cells_.length; ci++)
{
if (!Z.AR.contains(hideIndexs, ci*1))
{
var td = _cells_[ci];
cutWidth += td.scrollWidth;
}
}
//隐藏列
var trs = table.find("tr");
for (var i=0; i<trs.length; i++)
{
var cols = trs[i].cells;
for(var ci = 0; ci < cols.length; ci++)
{
if (!Z.AR.contains(hideIndexs, ci*1))
{
Z(cols[ci]).hide();
}
}
}
//重新设置table宽度
var table_width = scrollWidth - cutWidth;
if (table_width < parentWidth)
table_width = parentWidth
table[0].style.width = table_width + "px";
});
ajax.execute();
}catch (e)
{
console.log(e)
}
}
//END
})(zhiqim);

Some files were not shown because too many files have changed in this diff Show More