<?php
/**
* phpQuery is a server-side, chainable, CSS3 selector driven
* Document Object Model (DOM) API based on jQuery JavaScript Library.
*
* @version 0.9.9
* @link http://code.google.com/p/phpquery/
* @link http://phpquery-library.blogspot.com/
* @link http://jquery.com/
* @author Tobiasz Cudnik <tobiasz.cudnik/gmail.com>
* @license http://www.opensource.org/licenses/mit-license.php MIT License
* @package phpQuery
*/
// class names for instanceof
// TODO move them as class constants into phpQuery
define('DOMDOCUMENT', 'DOMDocument');
define('DOMELEMENT', 'DOMElement');
define('DOMNODELIST', 'DOMNodeList');
define('DOMNODE', 'DOMNode');
/**
* DOMEvent class.
*
* Based on
* @link http://developer.mozilla.org/En/DOM:event
* @author Tobiasz Cudnik <tobiasz.cudnik/gmail.com>
* @package phpQuery
* @todo implement ArrayAccess ?
*/
class DOMEvent {
/**
* Returns a boolean indicating whether the event bubbles up through the DOM or not.
*
* @var unknown_type
*/
public $bubbles = true;
/**
* Returns a boolean indicating whether the event is cancelable.
*
* @var unknown_type
*/
public $cancelable = true;
/**
* Returns a reference to the currently registered target for the event.
*
* @var unknown_type
*/
public $currentTarget;
/**
* Returns detail about the event, depending on the type of event.
*
* @var unknown_type
* @link http://developer.mozilla.org/en/DOM/event.detail
*/
public $detail; // ???
/**
* Used to indicate which phase of the event flow is currently being evaluated.
*
* NOT IMPLEMENTED
*
* @var unknown_type
* @link http://developer.mozilla.org/en/DOM/event.eventPhase
*/
public $eventPhase; // ???
/**
* The explicit original target of the event (Mozilla-specific).
*
* NOT IMPLEMENTED
*
* @var unknown_type
*/
public $explicitOriginalTarget; // moz only
/**
* The original target of the event, before any retargetings (Mozilla-specific).
*
* NOT IMPLEMENTED
*
* @var unknown_type
*/
public $originalTarget; // moz only
/**
* Identifies a secondary target for the event.
*
* @var unknown_type
*/
public $relatedTarget;
/**
* Returns a reference to the target to which the event was originally dispatched.
*
* @var unknown_type
*/
public $target;
/**
* Returns the time that the event was created.
*
* @var unknown_type
*/
public $timeStamp;
/**
* Returns the name of the event (case-insensitive).
*/
public $type;
public $runDefault = true;
public $data = null;
public function __construct($data) {
foreach($data as $k => $v) {
$this->$k = $v;
}
if (! $this->timeStamp)
$this->timeStamp = time();
}
/**
* Cancels the event (if it is cancelable).
*
*/
public function preventDefault() {
$this->runDefault = false;
}
/**
* Stops the propagation of events further along in the DOM.
*
*/
public function stopPropagation() {
$this->bubbles = false;
}
}
/**
* DOMDocumentWrapper class simplifies work with DOMDocument.
*
* Know bug:
* - in XHTML fragments, <br /> changes to <br clear="none" />
*
* @todo check XML catalogs compatibility
* @author Tobiasz Cudnik <tobiasz.cudnik/gmail.com>
* @package phpQuery
*/
class DOMDocumentWrapper {
/**
* @var DOMDocument
*/
public $document;
public $id;
/**
* @todo Rewrite as method and quess if null.
* @var unknown_type
*/
public $contentType = '';
public $xpath;
public $uuid = 0;
public $data = array();
public $dataNodes = array();
public $events = array();
public $eventsNodes = array();
public $eventsGlobal = array();
/**
* @TODO iframes support http://code.google.com/p/phpquery/issues/detail?id=28
* @var unknown_type
*/
public $frames = array();
/**
* Document root, by default equals to document itself.
* Used by documentFragments.
*
* @var DOMNode
*/
public $root;
public $isDocumentFragment;
public $isXML = false;
public $isXHTML = false;
public $isHTML = false;
public $charset;
public function __construct($markup = null, $contentType = null, $newDocumentID = null) {
if (isset($markup))
$this->load($markup, $contentType, $newDocumentID);
$this->id = $newDocumentID
? $newDocumentID
: md5(microtime());
}
public function load($markup, $contentType = null, $newDocumentID = null) {
// phpQuery::$documents[$id] = $this;
$this->contentType = strtolower($contentType);
if ($markup instanceof DOMDOCUMENT) {
$this->document = $markup;
$this->root = $this->document;
$this->charset = $this->document->encoding;
// TODO isDocumentFragment
$loaded = true;
} else {
$loaded = $this->loadMarkup($markup);
}
if ($loaded) {
// $this->document->formatOutput = true;
$this->document->preserveWhiteSpace = true;
$this->xpath = new DOMXPath($this->document);
$this->afterMarkupLoad();
return true;
// remember last loaded document
// return phpQuery::selectDocument($id);
}
return false;
}
protected function afterMarkupLoad() {
if ($this->isXHTML) {
$this->xpath->registerNamespace("html", "http://www.w3.org/1999/xhtml");
}
}
protected function loadMarkup($markup) {
$loaded = false;
if ($this->contentType) {
self::debug("Load markup for content type {$this->contentType}");
// content determined by contentType
list($contentType, $charset) = $this->contentTypeToArray($this->contentType);
switch($contentType) {
case 'text/html':
phpQuery::debug("Loading HTML, content type '{$this->contentType}'");
$loaded = $this->loadMarkupHTML($markup, $charset);
break;
case 'text/xml':
case 'application/xhtml+xml':
phpQuery::debug("Loading XML, content type '{$this->contentType}'");
$loaded = $this->loadMarkupXML($markup, $charset);
break;
default:
// for feeds or anything that sometimes doesn't use text/xml
if (strpos('xml', $this->contentType) !== false) {
phpQuery::debug("Loading XML, content type '{$this->contentType}'");
$loaded = $this->loadMarkupXML($markup, $charset);
} else
phpQuery::debug("Could not determine document type from content type '{$this->contentType}'");
}
} else {
// content type autodetection
if ($this->isXML($markup)) {
phpQuery::debug("Loading XML, isXML() == true");
$loaded = $this->loadMarkupXML($markup);
if (! $loaded && $this->isXHTML) {
phpQuery::debug('Loading as XML failed, trying to load as HTML, isXHTML == true');
$loaded = $this->loadMarkupHTML($markup);
}
} else {
phpQuery::debug("Loading HTML, isXML() == false");
$loaded = $this->loadMarkupHTML($markup);
}
}
return $loaded;
}
protected function loadMarkupReset() {
$this->isXML = $this->isXHTML = $this->isHTML = false;
}
protected function documentCreate($charset, $version = '1.0') {
if (! $version)
$version = '1.0';
$this->document = new DOMDocument($version, $charset);
$this->charset = $this->document->encoding;
// $this->document->encoding = $charset;
$this->document->formatOutput = true;
$this->document->preserveWhiteSpace = true;
}
protected function loadMarkupHTML($markup, $requestedCharset = null) {
if (phpQuery::$debug)
phpQuery::debug('Full markup load (HTML): '.substr($markup, 0, 250));
$this->loadMarkupReset();
$this->isHTML = true;
if (!isset($this->isDocumentFragment))
$this->isDocumentFragment = self::isDocumentFragmentHTML($markup);
$charset = null;
$documentCharset = $this->charsetFromHTML($markup);
$addDocumentCharset = false;
if ($documentCharset) {
$charset = $documentCharset;
$markup = $this->charsetFixHTML($markup);
} else if ($requestedCharset) {
$charset = $requestedCharset;
}
if (! $charset)
$charset = phpQuery::$defaultCharset;
// HTTP 1.1 says that the default charset is ISO-8859-1
// @see http://www.w3.org/International/O-HTTP-charset
if (! $documentCharset) {
$documentCharset = 'ISO-8859-1';
$addDocumentCharset = true;
}
// Should be
没有合适的资源?快使用搜索试试~ 我知道了~
小智电商购物直播 小程序开源源码 v6.4.0公众号
共4401个文件
js:590个
wxss:542个
wxml:422个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 88 浏览量
2022-03-18
15:22:31
上传
评论
收藏 11.33MB ZIP 举报
温馨提示
源码介绍 小智电商购物直播小程序是一款全面模仿蘑菇街美丽说旗下的购物台小程序! 主要功能:全面模仿蘑菇街&美丽说旗下的“【购物台】小程序”。 适用范围 小智电商购物直播、电商购物直播小程序 运行环境 PHP MYSQL WQ 公众号
资源推荐
资源详情
资源评论
收起资源包目录
小智电商购物直播 小程序开源源码 v6.4.0公众号 (4401个子文件)
004cf1073c217bea512c883a37274fb30a853c 2KB
0050f3049f433056607e165cb9ccc9b3ea0db8 3KB
005c552a9059c5417cecaa82922689336580cd 395B
00b7ef6ee8655abba18861671ae8d1d04cece4 438B
00b7ef6ee8655abba18861671ae8d1d04cece4 438B
00e8837c7653aa0922110e2da5a23502c361a9 670B
01360cabc5a4da6d7f621acd50deb61b7b07eb 6KB
01a4be47864f6aebaaab9805d8a03728cb5f29 2KB
01e7c7084b9fba6c790a91d2a2430aaa470d1a 475B
01e7c7084b9fba6c790a91d2a2430aaa470d1a 475B
0218576e1cbdb65881541cfda3fbbe65dd6fa5 280B
0218576e1cbdb65881541cfda3fbbe65dd6fa5 280B
024e55bfb04c6408b9d11375ff7ce093d8a670 2KB
0260e21987ebc84c480ead6edfa4a3c3b665fa 524B
0260e21987ebc84c480ead6edfa4a3c3b665fa 524B
02841ea6426b4fb5d7800564ee62633a9ae624 318B
028940f78c2efd86e093dfec5123a96558ba80 3KB
02b8d990a411f354f6f3f18feef49e63ecdd30 741B
02b8d990a411f354f6f3f18feef49e63ecdd30 741B
0300ee83165a5377ef3e10dd1b0d70f74eb220 60B
0300ee83165a5377ef3e10dd1b0d70f74eb220 60B
034205db82e25fb08525dce9aa604ed0bc7a4e 126B
034205db82e25fb08525dce9aa604ed0bc7a4e 126B
035eaeccc08c6b9acf91c2b60dcec5112016e8 2KB
035eaeccc08c6b9acf91c2b60dcec5112016e8 2KB
03d559377b281bac817ebb4c0923c5077f92ea 4KB
03d9da18f6a8e6cbd1395ecda865781f4fcd7c 1007B
03e7432f421c5af8acb611280030bc6ab39bfa 1KB
03e7432f421c5af8acb611280030bc6ab39bfa 1KB
042d8c4da8385f039ef02d2cc328c5926d6721 228B
044951d9a912328cb6fc9baaa2ce4071e24cd5 9KB
044951d9a912328cb6fc9baaa2ce4071e24cd5 9KB
04cb171ce38d3eebba7bba49404e8a39e7b3d8 447B
04cb171ce38d3eebba7bba49404e8a39e7b3d8 447B
0556907922739eb11d4d373263364175e6bf65 250B
0556907922739eb11d4d373263364175e6bf65 250B
05606ef03cc12b8529e68d64eb86330c5fcb17 484B
0565fd1a4da14745cfd5f1db04fbd56a4c8d5b 2KB
05f6336df963612ab328451f071a2d29b6b253 137B
05f987ccaaa4b582f75c07cac74626b9d8ddc4 487B
0621ee7aa25477a4e930d5b6a954915e5253f7 370B
070cf86f7417cb207f1cf0a1915e81904a2318 845B
0713a7efbf41c9350ecfe3377ea74437535ce7 190B
071f4d2f529a71a1b51ee7b1fb95a59d592350 734B
0723d913cc8bcbd67188a3e9f597accce3859e 79B
0742cb7bc244a3f62190a85d02adafffb32ae2 4KB
0742cb7bc244a3f62190a85d02adafffb32ae2 4KB
07467d93e086db9588d9960c42568c54175e32 986B
07467d93e086db9588d9960c42568c54175e32 986B
077436eb5cb5b56f5c39d8c1c4bbadfcb4638c 71B
078b8d7e7aa6b5de25b14cf5e30ca53301c000 134B
07b58c561bc9f0512ab203c642567dc8c06ae9 936B
07b58c561bc9f0512ab203c642567dc8c06ae9 936B
0812dcfaa2049610ec8572c815c7a73d96ef09 594B
0812dcfaa2049610ec8572c815c7a73d96ef09 594B
084abf6ba21b0e460196c013151d756112e1ef 327B
084abf6ba21b0e460196c013151d756112e1ef 327B
087ac92a94ff4751175f9ed9649ce4d016456d 64B
087ac92a94ff4751175f9ed9649ce4d016456d 64B
08e84b436b3a8f22c065041182e4c252b6eeae 625B
08ed537ebf490ce7729f83fce0d34f177c0663 773B
0934fe46959df1084aec33a1f3dcca499dd115 1KB
097d82f5ca25409b9aa9b33ccfc86ca1cd8988 67B
0998c96109759f2cfdb565c0e778957ddc2c3a 248B
099b037d4998bb39572788a5355401bd150390 103B
099b037d4998bb39572788a5355401bd150390 103B
09b89587567d63cc1f996e2a8f90411d9a5fa9 2KB
09b920efb1dd74049c3847308bb5e6bd058bc6 5KB
09b920efb1dd74049c3847308bb5e6bd058bc6 5KB
09e0a3a8c8de4e43ceb05be83d5878ceb11806 988B
09fb57e911c907e14eb460f4e16490e75411a1 664B
09fb57e911c907e14eb460f4e16490e75411a1 664B
0a0846ee1752e25aa61f7a09d63211d2ca3857 132B
0a835e31b094f4e5641342bc98e94987e5d089 556B
0a8e839e504b139e4c640f438720addf6fc833 135B
0a950bbab9fd6c1f097df3feadcc201704bf64 1020B
0ad43adf8436dde59a9ec750ce7c44c8f7d9c8 1KB
0b2e029adaadb09034612c558dc88675a12bfe 218B
0b31732d9920fe2f6c2b7ea988f393de29c010 136B
0b31732d9920fe2f6c2b7ea988f393de29c010 136B
0ba8161c59b57d248c5a0b662e7c76b6ee5bf3 2KB
0baa320928770facf450dd51c5e7d52638d68d 134B
0bb195de6756e30dc5523f0574529406e30caf 1KB
0bb195de6756e30dc5523f0574529406e30caf 1KB
0be2489ea36b6cfe38694a2246cc4ed3b5d375 2KB
0beec9692dc33901b38c10e4dd264c190e315b 136B
0cafdc4330224819fd431200b81f9e55cfa65a 837B
0cbd394e43893e2c77c29dd18c36f592351eae 1KB
0cdb3c694b65bc7d85ba794687d6158579223d 594B
0cdb3c694b65bc7d85ba794687d6158579223d 594B
0cf72108eabd1a561b1246407e129fb019e08c 1KB
0cfeeaa70ce2cfbdb09932fb84bb7ac05447cd 390B
0d07a3adaed0c2081b84da569c542b86bdb74a 82B
0d07a3adaed0c2081b84da569c542b86bdb74a 82B
0d0b07c3fd6b9407993438a0853945abecce8d 954B
0d20c042bf02d2cfc63934ac8787adceeb25d7 79B
0d3ad3d77a15eeac31609698fd0485a86e33ef 987B
0d3ad3d77a15eeac31609698fd0485a86e33ef 987B
0d5d6699ae0326b997a3c11bb1efa0247d5b18 176B
0d5d6699ae0326b997a3c11bb1efa0247d5b18 176B
共 4401 条
- 1
- 2
- 3
- 4
- 5
- 6
- 45
资源评论
智慧浩海
- 粉丝: 1w+
- 资源: 5436
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C183579-123578-c1235789.jpg
- Qt5.14 绘画板 Qt Creator C++项目
- python实现Excel表格合并
- Java实现读取Excel批量发送邮件.zip
- 【java毕业设计】商城后台管理系统源码(springboot+vue+mysql+说明文档).zip
- 【java毕业设计】开发停车位管理系统(调用百度地图API)源码(springboot+vue+mysql+说明文档).zip
- 星耀软件库(升级版).apk.1
- 基于Django后端和Vue前端的多语言购物车项目设计源码
- 基于Python与Vue的浮光在线教育平台源码设计
- 31129647070291Eclipson MXS R.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功