PHP预约上门回收废品系统的代码披露

PHP预约上门回收废品系统的代码披露

php 复制代码
<?php

namespace app\admin\controller;

class Code
{
	public function getTopDomainhuo()
	{
		error_reporting(0);
		$host = $_SERVER["HTTP_HOST"];
		$matchstr = "[^\\.]+\\.(?:(" . $host . ")|\\w{2}|((" . $host . ")\\.\\w{2}))\$";
		if (preg_match("/" . $matchstr . "/ies", $host, $matchs)) {
			$domain = $matchs[0];
		} else {
			$domain = $host;
		}
		return $domain;
	}
	public function domain()
	{
		return true;
	}
}
error_reporting(0);
function getTopDomainhuo(){
		$host=$_SERVER['HTTP_HOST'];
		
		$matchstr="[^\.]+\.(?:(".$str.")|\w{2}|((".$str.")\.\w{2}))$";
		if(preg_match("/".$matchstr."/ies",$host,$matchs)){
			$domain=$matchs['0'];
		}else{
			$domain=$host;
		}
		return $domain;

}
html 复制代码
<view class="loginImg" style="{{'background-image:'+'url('+system.admin_background+')'+';'}}">
    <view style="margin:60rpx 0rpx 170rpx 76rpx;">
        <image class="logo-img" src="{{system.logo}}"></image>
        <view class="welcome-text">欢迎使用管理系统</view>
    </view>
    <view class="flex-column-center">
        <view style="width:80%;">
            <view style="margin-bottom:60rpx;">
                <view class="account-text">管理员账号</view>
                <view class="account-input">
                    <input bindinput="__e" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','account','$event',[] ] ] ] ] ]}}" placeholder="请输入您的管理员账号" placeholderStyle="font-size:28rpx;color:#C9CACA;" value="{{account}}"></input>
                </view>
            </view>
            <view>
                <view class="account-text">管理员密码</view>
                <view class="account-input">
                    <input bindinput="__e" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','password','$event',[] ] ] ] ] ]}}" placeholder="请输入您的管理员密码" placeholderStyle="font-size:28rpx;color:#C9CACA;" type="password" value="{{password}}"></input>
                </view>
            </view>
        </view>
        <view bindtap="__e" class="quickly-login flex" data-event-opts="{{[ [ 'tap',[ ['quicklyLogin'] ] ] ]}}">立即登录</view>
    </view>
</view>







相关推荐
wkj0012 小时前
vue中 js-cookie 用法
前端·javascript·vue.js
GoldKey6 小时前
gcc 源码阅读---语法树
linux·前端·windows
Xf3n1an7 小时前
html语法
前端·html
张拭心7 小时前
亚马逊 AI IDE Kiro “狙击”Cursor?实测心得
前端·ai编程
烛阴7 小时前
为什么你的Python项目总是混乱?层级包构建全解析
前端·python
CYRUS_STUDIO7 小时前
深入 Android syscall 实现:内联汇编系统调用 + NDK 汇编构建
android·操作系统·汇编语言
@大迁世界8 小时前
React 及其生态新闻 — 2025年6月
前端·javascript·react.js·前端框架·ecmascript
红尘散仙8 小时前
Rust 终端 UI 开发新玩法:用 Ratatui Kit 轻松打造高颜值 CLI
前端·后端·rust
死也不注释8 小时前
【第一章编辑器开发基础第一节绘制编辑器元素_6滑动条控件(6/7)】
android·编辑器
新酱爱学习8 小时前
前端海报生成的几种方式:从 Canvas 到 Skyline
前端·javascript·微信小程序