小程序框架视图层视图
小程序开发
浏览:666 次

小程序框架的视图层由WXML和WXSS编写,并由组件显示。
逻辑层的数据被反映为视图,视图层的事件被发送到逻辑层。
WXML(微信标记语言)用于描述页面的结构。

WXS(微信脚本)是一套用于小程序的脚本语言,它结合了:;WXML,它可以构建页面的结构。
WXSS(微信样式表)用于描述页面的样式。
组件是视图的基本组件。

来到统软云免费了解更多信息:、、、等。
,注册后为新手提供免费开发包


小程序框架的视图层由WXML和WXSS编写,并由组件显示。
逻辑层的数据被反映为视图,视图层的事件被发送到逻辑层。
WXML(微信标记语言)用于描述页面的结构。

WXS(微信脚本)是一套用于小程序的脚本语言,它结合了:;WXML,它可以构建页面的结构。
WXSS(微信样式表)用于描述页面的样式。
组件是视图的基本组件。

来到统软云免费了解更多信息:、、、等。
,注册后为新手提供免费开发包

Template: main
Session:
Session type: db
[unisoft__unisoft] Array ( [permission] => [human_valid] => [passport] => )
Loaded Class:
Zend_Db: /web/unisoft/web.system/Zend/Db.php
Zend_Db_Adapter_Abstract: /web/unisoft/web.system/Zend/Db/Adapter/Abstract.php
Zend_Db_Adapter_Mysqli: /web/unisoft/web.system/Zend/Db/Adapter/Mysqli.php
Zend_Db_Profiler: /web/unisoft/web.system/Zend/Db/Profiler.php
Zend_Db_Statement_Interface: /web/unisoft/web.system/Zend/Db/Statement/Interface.php
Zend_Db_Statement: /web/unisoft/web.system/Zend/Db/Statement.php
Zend_Db_Statement_Mysqli: /web/unisoft/web.system/Zend/Db/Statement/Mysqli.php
Zend_Registry: /web/unisoft/web.system/Zend/Registry.php
Zend_Db_Table_Abstract: /web/unisoft/web.system/Zend/Db/Table/Abstract.php
Zend_Session_Abstract: /web/unisoft/web.system/Zend/Session/Abstract.php
Zend_Session: /web/unisoft/web.system/Zend/Session.php
Zend_Session_SaveHandler_Interface: /web/unisoft/web.system/Zend/Session/SaveHandler/Interface.php
Zend_Session_SaveHandler_DbTable: /web/unisoft/web.system/Zend/Session/SaveHandler/DbTable.php
Zend_Exception: /web/unisoft/web.system/Zend/Exception.php
Zend_Session_Exception: /web/unisoft/web.system/Zend/Session/Exception.php
Zend_Db_Select: /web/unisoft/web.system/Zend/Db/Select.php
Zend_Db_Table_Select: /web/unisoft/web.system/Zend/Db/Table/Select.php
Zend_Db_Expr: /web/unisoft/web.system/Zend/Db/Expr.php
Zend_Db_Table_Rowset_Abstract: /web/unisoft/web.system/Zend/Db/Table/Rowset/Abstract.php
Zend_Db_Table_Rowset: /web/unisoft/web.system/Zend/Db/Table/Rowset.php
Zend_Db_Table_Row_Abstract: /web/unisoft/web.system/Zend/Db/Table/Row/Abstract.php
Zend_Db_Table_Row: /web/unisoft/web.system/Zend/Db/Table/Row.php
HTTP: /web/unisoft/web.system/class/cls_http.inc.php
Zend_Session_Namespace: /web/unisoft/web.system/Zend/Session/Namespace.php
system_setting_class: /web/unisoft/web.core/system/setting.php
Zend_Cache: /web/unisoft/web.system/Zend/Cache.php
Zend_Cache_Backend: /web/unisoft/web.system/Zend/Cache/Backend.php
Zend_Cache_Backend_Interface: /web/unisoft/web.system/Zend/Cache/Backend/Interface.php
Zend_Cache_Backend_ExtendedInterface: /web/unisoft/web.system/Zend/Cache/Backend/ExtendedInterface.php
site_ip_class: /web/unisoft/web.core/site/ip.php
Zend_Validate_Interface: /web/unisoft/web.system/Zend/Validate/Interface.php
Zend_Validate: /web/unisoft/web.system/Zend/Validate.php
Zend_Loader: /web/unisoft/web.system/Zend/Loader.php
Zend_Validate_Abstract: /web/unisoft/web.system/Zend/Validate/Abstract.php
TPL: /web/unisoft/web.system/class/cls_template.inc.php
Savant3_Error: /web/unisoft/web.system/Savant3/Error.php
package_main_class: /web/unisoft/web.core/package/main.php
iot_hardware_main_class: /web/unisoft/web.core/iot/hardware/main.php
iot_hardware_category_class: /web/unisoft/web.core/iot/hardware/category.php
site_service_main_class: /web/unisoft/web.core/site/service/main.php
site_service_article_main_class: /web/unisoft/web.core/site/service/article/main.php
site_service_article_extra_class: /web/unisoft/web.core/site/service/article/extra.php
site_keyword_exclude_class: /web/unisoft/web.core/site/keyword/exclude.php
system_content_class: /web/unisoft/web.core/system/content.php
site_service_article_attachment_class: /web/unisoft/web.core/site/service/article/attachment.php
data_location_class: /web/unisoft/web.core/data/location.php
Database [main master]
[ Log time: 1788026529.9024 ] [ Expend time: 0.0072448253631592 ] Connect DB
Cache
[ Log time: 1788026529.9238 ] Backend:
[ Log time: 1788026529.9247 ] [ Expend time: 0.000764 ] Get Cache: settings_ef8c7cef1f80fbad45b9ee480e92d03c, result type: array
[ Log time: 1788026529.9251 ] [ Expend time: 0.000365 ] Get Cache: crond, result type: boolean
[ Log time: 1788026529.9441 ] [ Expend time: 0.001123 ] Get Cache: model_7ec70ee0360b8a929eb442cbc38dfd27, result type: array
[ Log time: 1788026529.949 ] [ Expend time: 0.003962 ] Get Cache: model_eebc36c56f6ebd5dc315368f04ea4f0d, result type: array
[ Log time: 1788026529.9509 ] [ Expend time: 0.000838 ] Get Cache: model_87644abf3b1d496cbf4b1667422d7d51, result type: array
[ Log time: 1788026529.9535 ] [ Expend time: 0.000886 ] Get Cache: site_service_list_7e49c82f3098f580fb5928807f5e466d, result type: array
[ Log time: 1788026529.9669 ] [ Expend time: 0.002924 ] Get Cache: site_keyword_exclude_b2c64c08a5048d87cc4904022274c118, result type: array
[ Log time: 1788026529.9809 ] [ Expend time: 0.004855 ] Get Cache: site_keyword_exclude_b2c64c08a5048d87cc4904022274c118, result type: array
[ Log time: 1788026529.9862 ] [ Expend time: 0.000437 ] Get Cache: c14b8bf49e2dfcdaac52c9a2225ee80f, result type: boolean
[ Log time: 1788026529.9903 ] [ Expend time: 0.002233 ] Save Cache: c14b8bf49e2dfcdaac52c9a2225ee80f, result type: integer
[ Log time: 1788026530.0412 ] [ Expend time: 0.003200 ] Get Cache: site_keyword_exclude_b2c64c08a5048d87cc4904022274c118, result type: array
[ Log time: 1788026530.097 ] [ Expend time: 0.000290 ] Get Cache: data_location_by_id_0, result type: boolean
[ Log time: 1788026530.0974 ] [ Expend time: 0.000422 ] Get Cache: data_location_by_id_566, result type: array
[ Log time: 1788026530.0978 ] [ Expend time: 0.000393 ] Get Cache: data_location_by_id_241, result type: array
[ Log time: 1788026530.0982 ] [ Expend time: 0.000364 ] Get Cache: data_location_by_id_615, result type: array
[ Log time: 1788026530.0986 ] [ Expend time: 0.000408 ] Get Cache: data_location_by_id_513, result type: array
[ Log time: 1788026530.099 ] [ Expend time: 0.000364 ] Get Cache: data_location_by_id_710, result type: array
[ Log time: 1788026530.0994 ] [ Expend time: 0.000380 ] Get Cache: data_location_by_id_617, result type: array
[ Log time: 1788026530.0998 ] [ Expend time: 0.000404 ] Get Cache: data_location_by_id_249, result type: array
[ Log time: 1788026530.1002 ] [ Expend time: 0.000372 ] Get Cache: data_location_by_id_502, result type: array
[ Log time: 1788026530.1007 ] [ Expend time: 0.000515 ] Get Cache: data_location_by_id_773, result type: array
[ Log time: 1788026530.1011 ] [ Expend time: 0.000397 ] Get Cache: data_location_list_d6ff08d2e02389b7587e4a98a4149e68, result type: array
[ Log time: 1788026530.1055 ] [ Expend time: 0.001321 ] Save Cache: data_location_list_d6ff08d2e02389b7587e4a98a4149e68, result type: array
[ Log time: 1788026530.1059 ] [ Expend time: 0.000386 ] Get Cache: data_location_by_id_251, result type: array
[ Log time: 1788026530.1063 ] [ Expend time: 0.000397 ] Get Cache: data_location_by_id_252, result type: array
[ Log time: 1788026530.1071 ] [ Expend time: 0.000808 ] Get Cache: data_location_by_id_256, result type: array
[ Log time: 1788026530.1075 ] [ Expend time: 0.000372 ] Get Cache: data_location_by_id_268, result type: array
[ Log time: 1788026530.1079 ] [ Expend time: 0.000370 ] Get Cache: data_location_by_id_259, result type: array
[ Log time: 1788026530.1083 ] [ Expend time: 0.000364 ] Get Cache: data_location_by_id_259, result type: array
[ Log time: 1788026530.1087 ] [ Expend time: 0.000357 ] Get Cache: data_location_by_id_263, result type: array
Database [core master]
[ Log time: 1788026529.9302 ] [ Expend time: 0.0022449493408203 ] Connect DB
[ Log time: 1788026529.9317 ] [ Expend time: 0.0010747909545898 ] SELECT `z_ip`.* FROM `z_ip` WHERE (ip = '216.73.217' AND visit_time = 1788026520) LIMIT 1
[ Log time: 1788026529.9337 ] [ Expend time: 0.0020031929016113 ] UPDATE z_ip SET visit_count = visit_count + 1 WHERE ip = '216.73.217' and visit_time = 1788026520
[ Log time: 1788026529.935 ] [ Expend time: 0.0012459754943848 ] DELETE FROM z_ip WHERE visit_count < 120 and visit_time <= 1788026340
[ Log time: 1788026529.9363 ] [ Expend time: 0.0010790824890137 ] SELECT SUM(visit_count) AS `n0` FROM `z_ip` WHERE ((ip = '216.73.217') AND is_delete = 0)
[ Log time: 1788026529.9558 ] [ Expend time: 0.0012381076812744 ] SELECT `z_service`.* FROM `z_service` WHERE (name = 'xcx') LIMIT 1
[ Log time: 1788026529.9603 ] [ Expend time: 0.0011610984802246 ] SELECT `z_service_article`.* FROM `z_service_article` WHERE (no = '96a38e94d1d13e46') LIMIT 1
[ Log time: 1788026529.9626 ] [ Expend time: 0.0012340545654297 ] SELECT `z_service_article_extra`.* FROM `z_service_article_extra` WHERE (is_delete = 0 AND article_id IN(21666))
[ Log time: 1788026529.988 ] [ Expend time: 0.0017039775848389 ] UPDATE z_service_article SET view_count = view_count + 1 WHERE id = 21666
[ Log time: 1788026529.993 ] [ Expend time: 0.0012869834899902 ] SELECT `z_service_article_attachment`.* FROM `z_service_article_attachment` WHERE (article_id = 21666 AND is_delete = 0) ORDER BY `id` DESC
[ Log time: 1788026529.9963 ] [ Expend time: 0.001535177230835 ] SELECT `z_service`.* FROM `z_service` WHERE (id = 2) LIMIT 1
[ Log time: 1788026530.0379 ] [ Expend time: 0.041258096694946 ] SELECT `z_service_article`.* FROM `z_service_article` WHERE (is_delete = 0 AND (service_id = 2 AND is_enable = 1 AND publish_time <= 1788026529)) ORDER BY RAND() ASC LIMIT 8
[ Log time: 1788026530.0966 ] [ Expend time: 0.027071952819824 ] SELECT city_id, COUNT(*) AS count FROM z_service_article WHERE is_delete = 0 AND is_enable = 1 GROUP BY city_id ORDER BY count DESC
Database [data master]
[ Log time: 1788026530.1028 ] [ Expend time: 0.0016541481018066 ] Connect DB
[ Log time: 1788026530.1041 ] [ Expend time: 0.0010890960693359 ] SELECT `z_location`.* FROM `z_location` WHERE (is_delete = 0 AND (is_delete = 0 AND id IN(0))) ORDER BY `id` ASC
Escape time: 0.22909903526306, 0 queries, PHP Memory usage: 5805.421875 KB, Server time: 2026-08-30 02:02:09