www.gusucode.com > mcms手机网站系统 v3.1源码程序 > mcms_v3.1.0/upload/config/cache/vars.php

    <?php
return array(
    'login_status' => array(//用户状态(是否可登录)
        array('value' => '0', 'txt' => '正常', 'txt_color' => ''),
        array('value' => '1', 'txt' => '禁用', 'txt_color' => ''),
        array('value' => '2', 'txt' => '未激活', 'txt_color' => ''),
        ),
    'area_type' => array(//广告位类型
        array('value' => 'code', 'txt' => '代码广告', 'txt_color' => ''),
        array('value' => 'img', 'txt' => '图片轮播', 'txt_color' => ''),
        ),
	'usearch' => array(//用户查询
        array('value' => '0', 'txt' => '用户名', 'txt_color' => ''),
        array('value' => '1', 'txt' => '邮箱', 'txt_color' => ''),
        array('value' => '2', 'txt' => '手机号码', 'txt_color' => ''),
        array('value' => '3', 'txt' => '姓名', 'txt_color' => ''),
        ),
    'gender' => array(//性别
        array('value' => '0', 'txt' => '女', 'txt_color' => ''),
        array('value' => '1', 'txt' => '男', 'txt_color' => ''),
        array('value' => '2', 'txt' => '保密', 'txt_color' => ''),
        ),
    'is_check' => array(//是否审核
        array('value' => '0', 'txt' => '未审核', 'txt_color' => ''),
        array('value' => '1', 'txt' => '已审核', 'txt_color' => ''),
        ),
    'yesno' => array(//
        array('value' => '0', 'txt' => '否', 'txt_color' => ''),
        array('value' => '1', 'txt' => '是', 'txt_color' => ''),
        ),
    'open_close' => array(//
        array('value' => '0', 'txt' => '关闭', 'txt_color' => ''),
        array('value' => '1', 'txt' => '开启', 'txt_color' => ''),
        ),
    'group_type' => array(//用户组
        array('value' => '0', 'txt' => '内置', 'txt_color' => ''),
        array('value' => '1', 'txt' => '自定义', 'txt_color' => ''),
        ),
    'log_type' => array(//日志类型
        array('value' => '1', 'txt' => '用户登录', 'txt_color' => ''),
        array('value' => '2', 'txt' => '用户管理', 'txt_color' => ''),
        array('value' => '3', 'txt' => '禁止/解禁用户', 'txt_color' => ''),
        array('value' => '4', 'txt' => '文档操作', 'txt_color' => ''),
        array('value' => '5', 'txt' => '类别操作', 'txt_color' => ''),
        array('value' => '6', 'txt' => '模型操作', 'txt_color' => ''),
        array('value' => '7', 'txt' => '广告操作', 'txt_color' => ''),
        array('value' => '8', 'txt' => '数据备/份还原', 'txt_color' => ''),
    ),
    'info_status' => array(//文档状态
        array('value' => '-1', 'txt' => '草稿', 'txt_color' => '#888'),
        array('value' => '0', 'txt' => '已通过', 'txt_color' => 'green'),
        array('value' => '1', 'txt' => '已删除', 'txt_color' => 'red'),
        array('value' => '2', 'txt' => '审核中', 'txt_color' => 'deeppink'),
        array('value' => '3', 'txt' => '未通过', 'txt_color' => 'orange'),
    ),
    'info_order' => array(//文档排序
        array('value' => 'b.publish_time', 'txt' => '发布时间', 'txt_color' => ''),
        array('value' => 'b.create_time', 'txt' => '创建时间', 'txt_color' => ''),
        array('value' => 'b.update_time', 'txt' => '修改时间', 'txt_color' => ''),
        array('value' => 'b.info_diss', 'txt' => '评论', 'txt_color' => ''),
        array('value' => 'b.info_hits', 'txt' => '点击', 'txt_color' => ''),
        array('value' => 'b.info_favs', 'txt' => '收藏', 'txt_color' => ''),
        array('value' => 'b.info_downs', 'txt' => '下载', 'txt_color' => ''),
        array('value' => 'b.info_sells', 'txt' => '销量', 'txt_color' => ''),
    ),
    'model_type' => array(//模型表类型
        array('value' => '0', 'txt' => '扩展表', 'txt_color' => ''),
        array('value' => '1', 'txt' => '独立表', 'txt_color' => ''),
    ),
    'form_type' => array(//表单类型
        array('value' => 'text', 'txt' => '文本框', 'txt_color' => ''),
        array('value' => 'textarea', 'txt' => '多行文本框', 'txt_color' => ''),
        array('value' => 'editor', 'txt' => '编辑器', 'txt_color' => ''),
        array('value' => 'select_single', 'txt' => '下拉框', 'txt_color' => ''), //单选 select
        array('value' => 'checkbox', 'txt' => '复选框', 'txt_color' => ''),
        array('value' => 'image', 'txt' => '上传控件', 'txt_color' => ''),
        array('value' => 'date', 'txt' => '日期控件', 'txt_color' => ''),

    ),
    'form_check' => array(//模型表字段验证
        array('value' => '', 'txt' => '不验证', 'txt_color' => ''),
        array('value' => 'verify_length', 'txt' => '不为空', 'txt_color' => ''),
        array('value' => 'verify_number', 'txt' => '数字', 'txt_color' => ''),
        array('value' => 'verify_email', 'txt' => '邮箱', 'txt_color' => ''),
        array('value' => 'verify_mobile', 'txt' => '手机号码', 'txt_color' => ''),
        array('value' => 'verify_phone', 'txt' => '固定电话', 'txt_color' => ''),

    ),

    'pagesize' => array(//分页大小
        array('value' => '10', 'txt' => '10条', 'txt_color' => ''),
        array('value' => '20', 'txt' => '20条', 'txt_color' => ''),
        array('value' => '30', 'txt' => '30条', 'txt_color' => ''),
        array('value' => '50', 'txt' => '50条', 'txt_color' => ''),
        array('value' => '100', 'txt' => '100条', 'txt_color' => ''),
    ),
    'pay_status' => array(//分页大小
        array('value' => '-1', 'txt' => '付款状态', 'txt_color' => ''),
        array('value' => '0', 'txt' => '未付款', 'txt_color' => 'red'),
        array('value' => '1', 'txt' => '付款中', 'txt_color' => 'green'),
        array('value' => '2', 'txt' => '已付款', 'txt_color' => 'green'),
        array('value' => '3', 'txt' => '已退款', 'txt_color' => 'grey'),
    ),
    'send_status' => array(//分页大小
        array('value' => '-1', 'txt' => '发货状态', 'txt_color' => ''),
        array('value' => '0', 'txt' => '未发货', 'txt_color' => 'red'),
        array('value' => '1', 'txt' => '配货中', 'txt_color' => 'blue'),
        array('value' => '2', 'txt' => '已发货', 'txt_color' => 'green'),
        array('value' => '3', 'txt' => '已退货', 'txt_color' => 'grey'),
    ),
    'order_status' => array(//分页大小
        array('value' => '-1', 'txt' => '订单状态', 'txt_color' => ''),
        array('value' => '0', 'txt' => '待确认', 'txt_color' => 'grey'),
        array('value' => '1', 'txt' => '已确认', 'txt_color' => 'green'),
        array('value' => '2', 'txt' => '交易成功', 'txt_color' => 'green'),
        array('value' => '3', 'txt' => '交易失败', 'txt_color' => 'red'),
    ),
    'wx_menu_type'=>array(
        array('value' => 'view', 'txt' => '链接', 'txt_color' => 'green'),
        array('value' => 'click', 'txt' => '事件', 'txt_color' => 'red'),
    ),
    'wx_key'=>array(
        array('value' => 'msg_key', 'txt' => '关键词', 'txt_color' => ''),
        array('value' => 'msg_body', 'txt' => '回复内容', 'txt_color' => ''),
    ),
    'point_type'=>array(
        array('value' => '0', 'txt' => '登录获取', 'txt_color' => ''),
        array('value' => '1', 'txt' => '购物积分', 'txt_color' => ''),
        array('value' => '3', 'txt' => '兑换优惠券', 'txt_color' => ''),
        array('value' => '4', 'txt' => '后台充值', 'txt_color' => ''),
        array('value' => '5', 'txt' => '订单评价', 'txt_color' => ''),
    ),
    'pay_type'=>array(
        array('value' => '', 'txt' => '支付方式', 'txt_color' => ''),
        array('value' => 'arrival', 'txt' => '货到付款', 'txt_color' => ''),
        array('value' => 'alipay', 'txt' => '支付宝', 'txt_color' => ''),
        array('value' => 'weixin', 'txt' => '微信', 'txt_color' => ''),
    ),
    'send_time'=>array(
        array('value' => '', 'txt' => '选择配送时间', 'txt_color' => ''),
        array('value' => '11:00-13:00', 'txt' => '11:00-13:00', 'txt_color' => ''),
        array('value' => '14:30-16:30', 'txt' => '14:30-16:30', 'txt_color' => ''),
    ),
    'comment_status'=>array(
        array('value' => '0', 'txt' => '暂且未表态', 'txt_color' => ''),
        array('value' => '1', 'txt' => '较差', 'txt_color' => ''),
        array('value' => '2', 'txt' => '一般', 'txt_color' => ''),
        array('value' => '3', 'txt' => '中等', 'txt_color' => ''),
        array('value' => '4', 'txt' => '较好', 'txt_color' => ''),
        array('value' => '5', 'txt' => '非常好', 'txt_color' => ''),
    ),
);