repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/AttachmentCate.php | common/models/common/AttachmentCate.php | <?php
namespace common\models\common;
use common\traits\Tree;
use common\behaviors\MerchantStoreBehavior;
/**
* This is the model class for table "{{%common_attachment_cate}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property string|null $title 标题
* @property int|null $sort 排序
* @pr... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Addons.php | common/models/common/Addons.php | <?php
namespace common\models\common;
use Yii;
/**
* This is the model class for table "{{%common_addons}}".
*
* @property int $id 主键
* @property string $title 中文名
* @property string $name 插件名或标识
* @property string $title_initial 首字母拼音
* @property string|null $bootstrap 启用文件
* @property string|null $service ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/Config.php | common/models/common/Config.php | <?php
namespace common\models\common;
/**
* This is the model class for table "{{%common_config}}".
*
* @property int $id 主键
* @property string $title 配置标题
* @property string $name 配置标识
* @property string $app_id 应用
* @property string $type 配置类型
* @property int $cate_id 配置分类
* @property string $extra 配置值
* ... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/ConfigValue.php | common/models/common/ConfigValue.php | <?php
namespace common\models\common;
use Yii;
/**
* This is the model class for table "{{%common_config_value}}".
*
* @property int $id 主键
* @property string $app_id 应用
* @property int $config_id 配置id
* @property int|null $merchant_id 商户id
* @property int|null $store_id 店铺ID
* @property string|null $data 配置... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/NotifyAnnounce.php | common/models/common/NotifyAnnounce.php | <?php
namespace common\models\common;
use Yii;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%common_notify_announce}}".
*
* @property int $id 主键
* @property int|null $member_id 用户id
* @property int|null $merchant_id 商户id
* @property string|null $title 标题
* @property string... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/common/ArchivesApply.php | common/models/common/ArchivesApply.php | <?php
namespace common\models\common;
use common\helpers\RegularHelper;
use common\models\base\BaseModel;
use common\traits\HasOneMember;
use common\traits\HasOneMerchant;
/**
* This is the model class for table "{{%common_archives_apply}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @proper... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/rbac/AuthItem.php | common/models/rbac/AuthItem.php | <?php
namespace common\models\rbac;
use common\traits\Tree;
/**
* This is the model class for table "{{%rbac_auth_item}}".
*
* @property int $id
* @property string $name 别名
* @property string|null $title 标题
* @property string $app_id 应用
* @property int|null $pid 父级id
* @property int|null $level 级别
* @proper... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/rbac/AuthAssignment.php | common/models/rbac/AuthAssignment.php | <?php
namespace common\models\rbac;
use Yii;
/**
* This is the model class for table "{{%rbac_auth_assignment}}".
*
* @property int $role_id 角色
* @property int $user_id 用户
* @property string|null $app_id 应用入口
*/
class AuthAssignment extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/rbac/AuthRole.php | common/models/rbac/AuthRole.php | <?php
namespace common\models\rbac;
use Yii;
use common\traits\Tree;
use common\helpers\TreeHelper;
/**
* This is the model class for table "{{%rbac_auth_role}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property int|null $store_id 店铺ID
* @property string $title 标题
* @property string... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/rbac/AuthItemChild.php | common/models/rbac/AuthItemChild.php | <?php
namespace common\models\rbac;
use common\enums\StatusEnum;
use Yii;
/**
* This is the model class for table "{{%rbac_auth_item_child}}".
*
* @property int $role_id 角色id
* @property int $item_id 权限id
* @property string $name 别名
* @property string $app_id 类别
* @property int|null $is_addon 是否插件
* @propert... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/merchant/Merchant.php | common/models/merchant/Merchant.php | <?php
namespace common\models\merchant;
use Yii;
use common\helpers\RegularHelper;
use common\helpers\StringHelper;
/**
* This is the model class for table "{{%merchant}}".
*
* @property int $id
* @property string|null $title 店铺名称
* @property int|null $operating_type 运营类型
* @property int|null $cate_id 分类
* @p... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/PayRefund.php | common/models/extend/PayRefund.php | <?php
namespace common\models\extend;
use Yii;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%extend_pay_refund}}".
*
* @property int $id 主键id
* @property int|null $pay_id 支付ID
* @property int|null $merchant_id 商户id
* @property int|null $member_id 买家id
* @property string|null $app... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/PayLog.php | common/models/extend/PayLog.php | <?php
namespace common\models\extend;
use Yii;
use common\traits\HasOneMember;
/**
* This is the model class for table "{{%extend_pay_log}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property int|null $member_id 用户id
* @property string|null $app_id 应用id
* @property string|null $out_t... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/SmsLog.php | common/models/extend/SmsLog.php | <?php
namespace common\models\extend;
use Yii;
/**
* This is the model class for table "{{%extend_sms_log}}".
*
* @property int $id
* @property int|null $merchant_id 商户id
* @property int|null $member_id 用户id
* @property string|null $mobile 手机号码
* @property string|null $code 验证码
* @property string|null $conte... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/Config.php | common/models/extend/Config.php | <?php
namespace common\models\extend;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%extend_config}}".
*
* @property int $id 主键
* @property int|null $merchant_id 商户id
* @property string|null $title 配置标题
* @property string|null $name 配置标识
* @property string|null $type 配置类型
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/printer/YiLianYun.php | common/models/extend/printer/YiLianYun.php | <?php
namespace common\models\extend\printer;
/**
* Class YiLianYun
* @package common\models\hardware
* @author jianyan74 <751393839@qq.com>
*/
class YiLianYun extends \yii\base\Model
{
public $terminal_number;
public $secret_key;
public $app_id;
public $app_secret_key;
public $print_num = 1;
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/printer/FeiE.php | common/models/extend/printer/FeiE.php | <?php
namespace common\models\extend\printer;
/**
* Class FeiE
* @package common\models\hardware
* @author jianyan74 <751393839@qq.com>
*/
class FeiE extends \yii\base\Model
{
public $ukey;
public $user;
public $app_id;
public $sn;
public $print_num = 1;
public function rules()
{
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/printer/XpYun.php | common/models/extend/printer/XpYun.php | <?php
namespace common\models\extend\printer;
use yii\base\Model;
/**
* 芯烨云
*
* Class XpYun
* @package common\models\hardware
* @author jianyan74 <751393839@qq.com>
*/
class XpYun extends Model
{
public $terminal_number;
public $app_id;
public $app_secret_key;
public $print_num = 1;
public... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/models/extend/sms/TencentSms.php | common/models/extend/sms/TencentSms.php | <?php
namespace common\models\extend\sms;
use yii\helpers\Json;
use yii\web\UnprocessableEntityHttpException;
use Overtrue\EasySms\Contracts\MessageInterface;
use Overtrue\EasySms\Contracts\PhoneNumberInterface;
use Overtrue\EasySms\Gateways\Gateway;
use Overtrue\EasySms\Support\Config;
use TencentCloud\Common\Creden... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/queues/ReceiptPrinterJob.php | common/queues/ReceiptPrinterJob.php | <?php
namespace common\queues;
use Yii;
use yii\base\BaseObject;
use common\models\extend\Config;
/**
* 小票打印
*
* Class ReceiptPrinterJob
* @package common\queues
* @author jianyan74 <751393839@qq.com>
*/
class ReceiptPrinterJob extends BaseObject implements \yii\queue\JobInterface
{
/**
* @var Config
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/queues/MailerJob.php | common/queues/MailerJob.php | <?php
namespace common\queues;
use Yii;
use yii\base\BaseObject;
/**
* 发送邮件
*
* Class MailerJob
* @package common\queues
* @author jianyan74 <751393839@qq.com>
*/
class MailerJob extends BaseObject implements \yii\queue\JobInterface
{
/**
* 当前用户信息
*
* @var
*/
public $user;
/**
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/queues/LogJob.php | common/queues/LogJob.php | <?php
namespace common\queues;
use Yii;
use yii\base\BaseObject;
/**
* Class LogJob
* @package common\queues
* @author jianyan74 <751393839@qq.com>
*/
class LogJob extends BaseObject implements \yii\queue\JobInterface
{
/**
* 日志记录数据
*
* @var
*/
public $log;
/**
* @param \yii... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/queues/ActionLogJob.php | common/queues/ActionLogJob.php | <?php
namespace common\queues;
use Yii;
use yii\base\BaseObject;
use common\models\common\ActionLog;
/**
* Class ActionLogJob
* @package common\queues
* @author jianyan74 <751393839@qq.com>
*/
class ActionLogJob extends BaseObject implements \yii\queue\JobInterface
{
/**
* 行为日志
*
* @var Action... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/queues/SmsJob.php | common/queues/SmsJob.php | <?php
namespace common\queues;
use Yii;
use yii\base\BaseObject;
/**
* Class SmsJob
* @package common\queues
* @author jianyan74 <751393839@qq.com>
*/
class SmsJob extends BaseObject implements \yii\queue\JobInterface
{
/**
* @var
*/
public $mobile;
/**
* @var
*/
public $code... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/queues/AppPushJob.php | common/queues/AppPushJob.php | <?php
namespace common\queues;
use Yii;
use yii\base\BaseObject;
use common\models\member\Auth;
/**
* app 推送
*
* Class AppPushJob
* @package common\queues
* @author jianyan74 <751393839@qq.com>
*/
class AppPushJob extends BaseObject implements \yii\queue\JobInterface
{
/**
* @var array
*/
pub... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/Alert.php | common/widgets/Alert.php | <?php
namespace common\widgets;
use Yii;
/**
* Alert widget renders a message from session flash. All flash messages are displayed
* in the sequence they were assigned using setFlash. You can set message as following:
*
* ```php
* Yii::$app->session->setFlash('error', 'This is the message');
* Yii::$app->sessi... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/area/Area.php | common/widgets/area/Area.php | <?php
namespace common\widgets\area;
use Yii;
use yii\base\Widget;
use common\helpers\StringHelper;
/**
* Class Area
* @package common\widgets\area
* @author jianyan74 <751393839@qq.com>
*/
class Area extends Widget
{
/**
* 省字段名
*
* @var
*/
public $provincesName = 'province_ids';
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/area/views/area.php | common/widgets/area/views/area.php | <?php
use common\helpers\Html;
?>
<?= $form->field($model, $provincesName)->hiddenInput(['id' => 'provinceIds'])->label(false) ?>
<?php if ($level >= 2) {
echo $form->field($model, $cityName)->hiddenInput(['id' => 'cityIds'])->label(false);
} ?>
<?php if ($level >= 3) {
echo $form->field($model, $areaName)->... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/linkage/Linkage.php | common/widgets/linkage/Linkage.php | <?php
namespace common\widgets\linkage;
use common\helpers\StringHelper;
use Yii;
use yii\base\Widget;
/**
* Class Linkage
* @package common\widgets\provinces
* @author jianyan74 <751393839@qq.com>
*/
class Linkage extends Widget
{
/**
* 一级
*
* @var array
*/
public $one = [
'n... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/linkage/views/index.php | common/widgets/linkage/views/index.php | <?php
use common\helpers\Html;
$cityId = $areaId = $townshipId = $villageId = -1;
$col = 12;
if ($template == 'short') {
$col = $level <= 3 ? 12 / $level : 4;
}
$level >= 2 && $cityId = Html::getInputId($model, $two['name']);
$level >= 3 && $areaId = Html::getInputId($model, $three['name']);
$level >= 4 &&$townsh... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/emoji/Emoji.php | common/widgets/emoji/Emoji.php | <?php
namespace common\widgets\emoji;
use Yii;
use yii\base\Widget;
use common\widgets\emoji\assets\AppAsset;
/**
* 表情选择器
*
* Class Emoji
* @package common\widgets\emoji
* @author jianyan74 <751393839@qq.com>
*/
class Emoji extends Widget
{
/**
* 主题
*
* default 和 wechat 二种类型
*
* @v... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/emoji/views/emoji.php | common/widgets/emoji/views/emoji.php | <?php
use common\helpers\Html;
use common\helpers\ArrayHelper;
?>
<?= Html::tag('span',
'<i class="fa fa-smile-o" style="font-size: 16px;"></i>',
ArrayHelper::merge([
'class' => 'btn btn-white',
'data-toggle' => 'modal',
'data-target' => '#rfEmoji',
], $options)); ?>
<div class="... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/emoji/assets/AppAsset.php | common/widgets/emoji/assets/AppAsset.php | <?php
namespace common\widgets\emoji\assets;
use yii\web\AssetBundle;
/**
* Class AppAsset
* @package common\widgets\emoji\assets
* @author jianyan74 <751393839@qq.com>
*/
class AppAsset extends AssetBundle
{
/**
* @var string
*/
public $sourcePath = '@common/widgets/emoji/resources/';
pub... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/input/GroupInput.php | common/widgets/input/GroupInput.php | <?php
namespace common\widgets\input;
use yii\helpers\Html;
use yii\widgets\InputWidget;
/**
* Class GroupInput
* @package common\widgets\input
* @author jianyan74 <751393839@qq.com>
*/
class GroupInput extends InputWidget
{
/**
* @var string
*/
public $prepend = '';
/**
* @var string... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/input/SecretKeyInput.php | common/widgets/input/SecretKeyInput.php | <?php
namespace common\widgets\input;
use yii\helpers\Html;
use yii\widgets\InputWidget;
/**
* Class SecretKeyInput
* @package common\widgets\input
* @author jianyan74 <751393839@qq.com>
*/
class SecretKeyInput extends InputWidget
{
public $options = [];
public $number = 32;
/**
* @return strin... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/input/CopyInput.php | common/widgets/input/CopyInput.php | <?php
namespace common\widgets\input;
use yii\helpers\Html;
use yii\widgets\InputWidget;
/**
* Class CopyInput
* @package common\widgets\input
* @author jianyan74 <751393839@qq.com>
*/
class CopyInput extends InputWidget
{
/**
* @var string
*/
public $title = '复制';
/**
* @var array
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/input/views/secret-key.php | common/widgets/input/views/secret-key.php | <?php
use common\helpers\Html;
?>
<div class="input-group">
<?= Html::textInput($name, $value, $options); ?>
<span class="input-group-append">
<span class="input-group-text" onclick="createKey(<?= $number ?>, '<?= $options['id'] ?>')">生成新的</span>
</span>
</div>
| php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/input/views/group.php | common/widgets/input/views/group.php | <?php
use common\helpers\Html;
?>
<div class="input-group">
<span class="input-group-prepend">
<span class="input-group-text"><?= $prepend?></span>
</span>
<?= Html::textInput($name, $value, $options); ?>
<span class="input-group-append">
<span class="input-group-text"><?= $append?></... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/input/views/copy.php | common/widgets/input/views/copy.php | <?php
use common\helpers\Html;
?>
<div class="input-group">
<?= Html::textInput($name, $value, $options); ?>
<span class="input-group-append">
<span class="input-group-text pointer copy-link" data-clipboard-action="copy" data-clipboard-target="#<?= $options['id'] ?>"><?= $title?></span>
</span>
<... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/cascader/Cascader.php | common/widgets/cascader/Cascader.php | <?php
namespace common\widgets\cascader;
use yii\helpers\Json;
use yii\helpers\Html;
use yii\widgets\InputWidget;
use common\helpers\StringHelper;
use common\helpers\ArrayHelper;
/**
*
*
* Class Cascader
* @package common\widgets\area
*/
class Cascader extends InputWidget
{
/**
* 默认数据
*
* @va... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/cascader/views/cascader.php | common/widgets/cascader/views/cascader.php | <?php
use yii\helpers\Json;
use common\helpers\Html;
use common\helpers\ArrayHelper;
?>
<style>
.cascaderbox .hid {
visibility: hidden;
}
.cascaderbox {
width: 420px;
height: 35px;
line-height: 33px;
margin-bottom: 15px;
position: relative;
}
.cas... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/notify/Notify.php | common/widgets/notify/Notify.php | <?php
namespace common\widgets\notify;
use Yii;
use yii\base\Widget;
/**
* Class Notify
* @package common\widgets\notify
* @author jianyan74 <751393839@qq.com>
*/
class Notify extends Widget
{
/**
* @return string
* @throws \yii\db\Exception
*/
public function run()
{
// 拉取公告
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/notify/NotifyController.php | common/widgets/notify/NotifyController.php | <?php
namespace common\widgets\notify;
use Yii;
use common\enums\StatusEnum;
use common\models\base\SearchModel;
use common\models\common\NotifyMember;
use common\helpers\ResultHelper;
use backend\controllers\BaseController;
/**
* Class NotifyController
* @package common\widgets\notify
* @author jianyan74 <751393... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/notify/views/remind.php | common/widgets/notify/views/remind.php | <?php
use yii\grid\GridView;
use yii\helpers\Url;
use common\helpers\Html;
use common\enums\NotifyTypeEnum;
if (empty($type)) {
$this->title = '全部消息';
} else {
$this->title = NotifyTypeEnum::getValue($type) . '列表';
}
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="row">
<div class="col-sm... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/notify/views/_nav.php | common/widgets/notify/views/_nav.php | <?php
use common\helpers\Url;
use common\enums\NotifyTypeEnum;
list($notify, $count) = Yii::$app->services->notifyMember->getNotReadNotify(Yii::$app->user->identity->merchant_id);
?>
<ul class="nav nav-pills nav-stacked">
<li class="nav-item">
<a href="<?= Url::to(['remind']); ?>" class="nav-link"><i cl... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/notify/views/notify.php | common/widgets/notify/views/notify.php | <?php
use common\helpers\Url;
use common\enums\NotifyTypeEnum;
?>
<li class="nav-item dropdown">
<a class="nav-link" data-toggle="dropdown" href="#">
<i class="far fa-bell"></i>
<span class="badge badge-warning navbar-badge rf-notify-all-count"><?= $count; ?></span>
</a>
<div class="dropd... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/notify/views/announce-view.php | common/widgets/notify/views/announce-view.php | <?php
use common\helpers\Html;
$this->title = '公告详情';
$this->params['breadcrumbs'][] = ['label' => '公告管理', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $this->title];
?>
<div class="row">
<div class="col-sm-2">
<div class="box box-solid rfAddonMenu">
<div class="box-head... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/ueditor/UEditorController.php | common/widgets/ueditor/UEditorController.php | <?php
namespace common\widgets\ueditor;
use Exception;
use Yii;
use yii\helpers\Json;
use yii\web\Controller;
use yii\web\Response;
use yii\filters\AccessControl;
use yii\base\InvalidConfigException;
use common\helpers\ArrayHelper;
use common\helpers\UploadHelper;
use common\enums\AttachmentUploadTypeEnum;
use League... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/ueditor/UEditor.php | common/widgets/ueditor/UEditor.php | <?php
namespace common\widgets\ueditor;
use Yii;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\helpers\Json;
use yii\helpers\ArrayHelper;
use yii\widgets\InputWidget;
use common\widgets\ueditor\assets\AppAsset;
/**
* 百度编辑器上传
*
* Class UEditor
* @package common\widgets\ueditor
* @author jianyan74 <751393839... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/ueditor/assets/AppAsset.php | common/widgets/ueditor/assets/AppAsset.php | <?php
namespace common\widgets\ueditor\assets;
use yii\web\AssetBundle;
/**
* Class AppAsset
* @package common\widgets\webuploader\assets
*/
class AppAsset extends AssetBundle {
public $sourcePath = '@common/widgets/ueditor/resources/';
// css会自动载入
public $css = [
];
public $js = [
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/FilesController.php | common/widgets/webuploader/FilesController.php | <?php
namespace common\widgets\webuploader;
use common\helpers\ArrayHelper;
use common\models\common\AttachmentCate;
use Yii;
use yii\data\Pagination;
use yii\web\Controller;
use yii\filters\AccessControl;
use common\enums\StatusEnum;
use common\traits\BaseAction;
use common\traits\MerchantCurd;
use common\models\com... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/Files.php | common/widgets/webuploader/Files.php | <?php
namespace common\widgets\webuploader;
use Yii;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\helpers\Url;
use yii\helpers\ArrayHelper;
use yii\widgets\InputWidget;
use yii\base\InvalidConfigException;
use common\helpers\StringHelper;
use common\enums\AttachmentDriveEnum;
use common\widgets\webuploader\ass... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/views/default.php | common/widgets/webuploader/views/default.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use common\helpers\ImageHelper;
use common\helpers\StringHelper;
?>
<div class="rf-row">
<div class="col-sm-12">
<div class="upload-list">
<ul id="<?= $boxId; ?>" data-name="<?= $name?>" data-boxId="<?= $boxId?>" data-multiple="<?= $config['pick'... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/views/selector-upload.php | common/widgets/webuploader/views/selector-upload.php | <?php
use common\enums\AttachmentUploadTypeEnum;
?>
<div class="btn btn-primary selector-upload-album" id="<?= $boxId; ?>">上传<?= AttachmentUploadTypeEnum::getValue($type); ?></div>
<!--隐藏上传组件-->
<div class="hidden" id="upload-<?= $boxId; ?>">
<div class="upload-album-<?= $boxId; ?>"></div>
</div>
<script>
v... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/views/cate-ajax-edit.php | common/widgets/webuploader/views/cate-ajax-edit.php | <?php
use yii\widgets\ActiveForm;
use common\helpers\Url;
$form = ActiveForm::begin([
'id' => $model->formName(),
'enableAjaxValidation' => true,
'validationUrl' => Url::to(['cate-ajax-edit', 'id' => $model['id'], 'type' => $type]),
'fieldConfig' => [
'template' => "<div class='row'><div class... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/views/selector.php | common/widgets/webuploader/views/selector.php | <?php
use yii\helpers\Url;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\widgets\LinkPager;
use common\helpers\ArrayHelper;
use common\enums\AttachmentDriveEnum;
use common\enums\AttachmentUploadTypeEnum;
$param = Yii::$app->request->get();
unset($param['cate_id'], $param['page'], $param['per-page']);
$t... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/views/ajax-edit.php | common/widgets/webuploader/views/ajax-edit.php | <?php
use yii\widgets\ActiveForm;
use common\helpers\Url;
use common\helpers\ArrayHelper;
$form = ActiveForm::begin([
'id' => $model->formName(),
'enableAjaxValidation' => true,
'validationUrl' => Url::to(['ajax-edit', 'id' => $model['id'], 'type' => $model['upload_type']]),
'fieldConfig' => [
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/webuploader/assets/AppAsset.php | common/widgets/webuploader/assets/AppAsset.php | <?php
namespace common\widgets\webuploader\assets;
use yii\web\AssetBundle;
/**
* Class AppAsset
* @package common\widgets\webuploader\assets
* @author jianyan74 <751393839@qq.com>
*/
class AppAsset extends AssetBundle
{
/**
* @var string
*/
public $sourcePath = '@common/widgets/webuploader/res... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/menu/MenuLeftWidget.php | common/widgets/menu/MenuLeftWidget.php | <?php
namespace common\widgets\menu;
use Yii;
use yii\base\Widget;
use common\helpers\ArrayHelper;
/**
* 左边菜单
*
* Class MenuLeftWidget
* @package common\widgets\menu
* @author jianyan74 <751393839@qq.com>
*/
class MenuLeftWidget extends Widget
{
/**
* @var string
*/
public $app_id;
/**
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/menu/AddonLeftWidget.php | common/widgets/menu/AddonLeftWidget.php | <?php
namespace common\widgets\menu;
use Yii;
use yii\helpers\Json;
use yii\base\Widget;
use common\helpers\Auth;
use common\helpers\ArrayHelper;
/**
* 模块菜单
*
* Class AddonLeftWidget
* @package common\widgets\menu
* @author jianyan74 <751393839@qq.com>
*/
class AddonLeftWidget extends Widget
{
/**
* @... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/menu/views/addon-left.php | common/widgets/menu/views/addon-left.php | <?php
use common\helpers\Url;
use common\helpers\ArrayHelper;
use common\helpers\StringHelper;
/** @var array $addon */
$addonName = $addon['name'];
$addonName = StringHelper::toUnderScore($addonName);
?>
<div class="box box-solid rfAddonMenu">
<?php if (!empty($menus)) { ?>
<div class="box-header with-... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/menu/views/menu-tree.php | common/widgets/menu/views/menu-tree.php | <?php
use common\helpers\Url;
use common\helpers\Html;
use common\enums\StatusEnum;
use common\enums\ThemeLayoutEnum;
$class = '';
if (Yii::$app->params['theme']['layout'] == ThemeLayoutEnum::SUBFIELD) {
$level == 2 && $class = 'pl-1';
$level == 3 && $class = 'pl-3';
}
?>
<?php foreach ($menus as $item) { ?... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/MapOverlayController.php | common/widgets/map/MapOverlayController.php | <?php
namespace common\widgets\map;
use Yii;
use yii\helpers\Json;
use yii\web\Controller;
/**
* Class MapOverlayController
* @package common\widgets\map
* @author jianyan74 <751393839@qq.com>
*/
class MapOverlayController extends Controller
{
/**
* @param $type
* @param $secret_key
* @param s... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/MapCity.php | common/widgets/map/MapCity.php | <?php
namespace common\widgets\map;
use Yii;
use yii\helpers\Html;
use yii\widgets\InputWidget;
use common\helpers\StringHelper;
/**
* Class MapCity
* @package common\widgets\map
* @author jianyan74 <751393839@qq.com>
*/
class MapCity extends InputWidget
{
/**
* 秘钥
*
* @var string
*/
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/MapDetail.php | common/widgets/map/MapDetail.php | <?php
namespace common\widgets\map;
use Yii;
use yii\base\Widget;
/**
* 地图经纬度选择器
*
* Class Map
* @package common\widgets\map
* @author jianyan74 <751393839@qq.com>
*/
class MapDetail extends Widget
{
public $title = '骑行路径';
/**
* 秘钥
*
* @var string
*/
public $secret_key = '';
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/MapController.php | common/widgets/map/MapController.php | <?php
namespace common\widgets\map;
use Yii;
use yii\web\Controller;
/**
* Class MapController
* @package common\widgets\map
* @author jianyan74 <751393839@qq.com>
*/
class MapController extends Controller
{
/**
* @param $type
* @param $secret_key
* @param string $lng
* @param string $lat... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/MapOverlay.php | common/widgets/map/MapOverlay.php | <?php
namespace common\widgets\map;
use yii\helpers\Html;
use yii\widgets\InputWidget;
use common\helpers\StringHelper;
/**
* 地图范围选择(门店可配送范围)
*
* Class MapOverlay
* @package common\widgets\map
* @author jianyan74 <751393839@qq.com>
*/
class MapOverlay extends InputWidget
{
/**
* @var string
*/
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/Map.php | common/widgets/map/Map.php | <?php
namespace common\widgets\map;
use Yii;
use yii\helpers\Html;
use yii\widgets\InputWidget;
use common\helpers\StringHelper;
/**
* 地图经纬度选择器
*
* Class Map
* @package common\widgets\map
* @author jianyan74 <751393839@qq.com>
*/
class Map extends InputWidget
{
/**
* 默认地址
*
* @var bool
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/detail/amap.php | common/widgets/map/views/detail/amap.php | <style type="text/css">
.info {
padding: .75rem 1.25rem;
margin-bottom: 1rem;
border-radius: .25rem;
background-color: white;
width: auto;
border-width: 0;
position: relative;
top: 0;
right: 0;
min-width: 0;
box-shadow: 0 2px 6p... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/detail/index.php | common/widgets/map/views/detail/index.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<?php if (!empty($lng2) && !empty($lat2)) { ?>
<a href="<?= Url::to(['/map/riding-route',
'type' => $type,
'label' => $label,
'lng' => $lng,
'lat' => $lat,
'label2' => $label2,
'lng2' => $lng2,
'lat2' => $la... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/overlay/amap.php | common/widgets/map/views/overlay/amap.php | <?php
use yii\helpers\Json;
?>
<style type="text/css">
html, body {
height: 100%;
width: 100%;
}
#container {
height: 100%;
width: 80%;
}
.map-box {
width: 20%;
height: 100%;
position: fixed;
right: 0;
background-color: #ff... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/overlay/index.php | common/widgets/map/views/overlay/index.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\helpers\Json;
$count = count($value);
?>
<div class="row" id="<?= $boxId; ?>">
<div class="col-lg-12">
<div class="input-group">
<?= Html::textInput('address-scope', $count > 0 ? '已设置 ' . $count . ' 个范围' : '', ['class' => 'form-contro... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/route/amap.php | common/widgets/map/views/route/amap.php | <style type="text/css">
html,
body,
#container {
width: 100%;
height: 100%;
}
#panel {
position: fixed;
background-color: white;
max-height: 90%;
overflow-y: auto;
top: 10px;
right: 10px;
width: 280px;
}
#panel .amap-lib... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/map/tencent.php | common/widgets/map/views/map/tencent.php | <div class="row">
<div class="search" style="z-index: 1000">
<div class="input-group">
<input type="text" id="place" name="q" class="form-control" placeholder="输入地点"/>
<span class="input-group-btn">
<button type="submit" name="search" id="search-btn" class="btn btn-primar... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/map/amap.php | common/widgets/map/views/map/amap.php | <style type="text/css">
.amap-marker-label {
border: 0;
background-color: transparent;
}
.info {
padding: .75rem 1.25rem;
margin-bottom: 1rem;
border-radius: .25rem;
position: fixed;
top: 2rem;
background-color: white;
width: auto;
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/map/baidu.php | common/widgets/map/views/map/baidu.php | <style type="text/css">
label.BMapLabel {
max-width: inherit;
padding: .75rem 1.25rem;
margin-bottom: 1rem;
background-color: white;
width: auto;
min-width: 22rem;
border: none;
box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
}
.tangram-sugge... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/map/input.php | common/widgets/map/views/map/input.php | <?php
use yii\helpers\Html;
?>
<div class="modal-header">
<h4 class="modal-title">基本信息</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<div class="form-group field-cate-title required">
<d... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/map/index.php | common/widgets/map/views/map/index.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="row" id="<?= $boxId; ?>">
<div class="col-lg-12">
<div class="input-group">
<?= Html::textInput('address-all', $address, [
'class' => 'form-control',
'disabled' => true,
'placeholde... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/map/views/city/amap.php | common/widgets/map/views/city/amap.php |
<style>
#city-container{
margin:0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0) !important;
}
.map-container {
height: 500px;
width:500px;
position: absolute;
z-index: 9999
}
.tipMarker {
padding-left:20px;
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/Echarts.php | common/widgets/echarts/Echarts.php | <?php
namespace common\widgets\echarts;
use Yii;
use yii\base\Widget;
use common\helpers\ArrayHelper;
use common\helpers\StringHelper;
use common\widgets\echarts\assets\AppAsset;
/**
* Class Echarts
* @package common\widgets\echarts
* @author jianyan74 <751393839@qq.com>
*/
class Echarts extends Widget
{
/**... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/views/area-stack.php | common/widgets/echarts/views/area-stack.php | <?php
echo $this->render("_nav", [
'boxId' => $boxId,
'config' => $config,
'themeJs' => $themeJs,
'themeConfig' => $themeConfig,
'columns' => $columns,
]);
$jsonConfig = \yii\helpers\Json::encode($config);
Yii::$app->view->registerJs(<<<JS
var boxId = "$boxId";
echartsList[boxId] = echart... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/views/bmap.php | common/widgets/echarts/views/bmap.php | <?php
echo $this->render("_nav", [
'boxId' => $boxId,
'config' => $config,
'themeJs' => $themeJs,
'themeConfig' => $themeConfig,
'columns' => $columns,
]);
$jsonConfig = \yii\helpers\Json::encode($config);
Yii::$app->view->registerJs(<<<JS
var boxId = "$boxId";
var geoCoordMap;
echart... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/views/pie.php | common/widgets/echarts/views/pie.php | <?php
echo $this->render("_nav", [
'boxId' => $boxId,
'config' => $config,
'themeJs' => $themeJs,
'themeConfig' => $themeConfig,
'columns' => $columns,
]);
$jsonConfig = \yii\helpers\Json::encode($config);
Yii::$app->view->registerJs(<<<JS
var boxId = "$boxId";
echartsList[boxId] = echart... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/views/line-graphic.php | common/widgets/echarts/views/line-graphic.php | <?php
echo $this->render("_nav", [
'boxId' => $boxId,
'config' => $config,
'themeJs' => $themeJs,
'themeConfig' => $themeConfig,
'columns' => $columns,
]);
$jsonConfig = \yii\helpers\Json::encode($config);
Yii::$app->view->registerJs(<<<JS
var boxId = "$boxId";
echartsList[boxId] = echarts.i... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/views/_nav.php | common/widgets/echarts/views/_nav.php | <?php
use common\helpers\Html;
use kartik\daterange\DateRangePicker;
$addon = <<< HTML
<div class="input-group-append">
<span class="input-group-text">
<i class="fas fa-calendar-alt"></i>
</span>
</div>
HTML;
?>
<style>
.echarts-nav span {
margin-right: 5px;
}
.pull-left {
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/views/wordcloud.php | common/widgets/echarts/views/wordcloud.php | <?php
echo $this->render("_nav", [
'boxId' => $boxId,
'config' => $config,
'themeJs' => $themeJs,
'themeConfig' => $themeConfig,
'columns' => $columns,
]);
$jsonConfig = \yii\helpers\Json::encode($config);
Yii::$app->view->registerJs(<<<JS
var boxId = "$boxId";
var geoCoordMap;
echart... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/views/line-bar.php | common/widgets/echarts/views/line-bar.php | <?php
echo $this->render("_nav", [
'boxId' => $boxId,
'config' => $config,
'themeJs' => $themeJs,
'themeConfig' => $themeConfig,
'columns' => $columns,
]);
$jsonConfig = \yii\helpers\Json::encode($config);
Yii::$app->view->registerJs(<<<JS
var boxId = "$boxId";
echartsList[boxId] = echart... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/echarts/assets/AppAsset.php | common/widgets/echarts/assets/AppAsset.php | <?php
namespace common\widgets\echarts\assets;
use yii\web\AssetBundle;
/**
* Class AppAsset
* @package common\widgets\echarts\assets
* @author jianyan74 <751393839@qq.com>
*/
class AppAsset extends AssetBundle
{
public $sourcePath = '@common/widgets/echarts/resources/';
public $css = [
];
pub... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/jstree/JsTreeCheckBox.php | common/widgets/jstree/JsTreeCheckBox.php | <?php
namespace common\widgets\jstree;
use yii\helpers\Json;
use yii\widgets\InputWidget;
use common\widgets\jstree\assets\AppAsset;
/**
* Class JsTree
*
* ```php
*
* $defaultData = [
* [
* 'id' => 1,
* 'pid' => 0,
* 'title' => '测试1',
* ],
* [
* 'id' => 2,
* 'pid' => 0,... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/jstree/JsTreeTable.php | common/widgets/jstree/JsTreeTable.php | <?php
namespace common\widgets\jstree;
use yii\helpers\Json;
use yii\widgets\InputWidget;
use common\enums\StatusEnum;
use common\widgets\jstree\assets\AppAsset;
/**
* Class JsTreeTable
* @package common\widgets\jstree
* @author jianyan74 <751393839@qq.com>
*/
class JsTreeTable extends InputWidget
{
public $... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/jstree/views/check-box.php | common/widgets/jstree/views/check-box.php | <div id="<?= $name; ?>"></div>
<?php
$this->registerJs(<<<JS
var treeId = $name;
var treeCheckIds = JSON.parse('$selectIds');
var treeData = JSON.parse('$defaultData');
showCheckboxTree(treeData, $(treeId).attr('id'), treeCheckIds);
JS
);
?> | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/jstree/views/table.php | common/widgets/jstree/views/table.php | <style>
.jstree-default .jstree-search {
font-style: normal;
color: rgb(55, 71, 79);
font-weight: 700;
}
.jstree-default .jstree-clicked {
background: #ffffff;
border-radius: 2px;
color: rgb(55, 71, 79);
box-shadow: inset 0 0 0 #999;
}
.jstre... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/jstree/assets/AppAsset.php | common/widgets/jstree/assets/AppAsset.php | <?php
namespace common\widgets\jstree\assets;
use yii\web\AssetBundle;
/**
* Class AppAsset
* @package common\widgets\jstree\assets
* @author jianyan74 <751393839@qq.com>
*/
class AppAsset extends AssetBundle
{
/**
* @var string
*/
public $sourcePath = '@common/widgets/jstree/resources/';
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/cropper/CropperController.php | common/widgets/cropper/CropperController.php | <?php
namespace common\widgets\cropper;
use Yii;
use yii\web\Controller;
/**
* Class CropperController
* @package common\widgets\cropper
* @author jianyan74 <751393839@qq.com>
*/
class CropperController extends Controller
{
/**
* @return string
*/
public function actionCrop()
{
retu... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/cropper/Cropper.php | common/widgets/cropper/Cropper.php | <?php
namespace common\widgets\cropper;
use Yii;
use yii\helpers\Url;
use yii\widgets\InputWidget;
use common\helpers\ArrayHelper;
use common\helpers\Html;
use common\helpers\StringHelper;
/**
* Class Cropper
* @package common\widgets\cropper
* @author jianyan74 <751393839@qq.com>
*/
class Cropper extends InputW... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/cropper/views/crop.php | common/widgets/cropper/views/crop.php | <div class="modal-header">
<h4 class="modal-title">图片裁剪</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<div class="avatar-body">
<div class="row">
<div class="col-md-9 m-t-sm">
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/cropper/views/default.php | common/widgets/cropper/views/default.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="rf-row">
<div class="col-sm-12">
<div class="upload-list">
<ul id="<?= $boxId; ?>" data-name="<?= $name ?>" data-boxId="<?= $boxId ?>"
data-multiple="<?= $config['multiple'] ?>">
<?php foreach ($va... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/markdown/Markdown.php | common/widgets/markdown/Markdown.php | <?php
namespace common\widgets\markdown;
use yii;
use yii\helpers\Json;
use yii\helpers\Html;
use common\helpers\Url;
use common\helpers\ArrayHelper;
/**
* Class Markdown
* @package common\widgets\markdown
* @author jianyan74 <751393839@qq.com>
*/
class Markdown extends yii\widgets\InputWidget
{
/**
* 上... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/markdown/MarkdownAsset.php | common/widgets/markdown/MarkdownAsset.php | <?php
namespace common\widgets\markdown;
use yii\web\AssetBundle;
/**
* Class MarkdownAsset
* @package common\widgets\markdown
* @author jianyan74 <751393839@qq.com>
*/
class MarkdownAsset extends AssetBundle
{
public $language;
public $css = [
'css/editormd.min.css',
];
public $js = [
... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
jianyan74/rageframe3 | https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/widgets/markdown/Markdown2HtmlAsset.php | common/widgets/markdown/Markdown2HtmlAsset.php | <?php
namespace common\widgets\markdown;
use yii\web\AssetBundle;
/**
* Class Markdown2HtmlAsset
* @package common\widgets\markdown
* @author jianyan74 <751393839@qq.com>
*/
class Markdown2HtmlAsset extends AssetBundle
{
public $css = [
'css/editormd.preview.css',
'lib/fancybox/jquery.fancybo... | php | Apache-2.0 | 847c0dee0d01b0994305b978c87cbe94c4179f30 | 2026-01-05T04:21:36.457503Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.