小程序开发的初步经验
小程序开发
浏览:831 次

最近,我没有太多工作要做,所以我花时间学习了小程序开发。目前,我刚刚开始学习,所以我首先对本周的入门经历做了一个思维导图。

微信小程序.png

因为我之前对Vue开发有一点了解,所以我可以很快理解API相关的处理,但我在界面布局(CSS)方面非常薄弱。稍后,我将进一步了解前端的界面布局,查看一些材料,并尝试早点掌握CSS的知识。

最近,我没有太多工作要做,所以我花时间学习了小程序开发。目前,我刚刚开始学习,所以我首先对本周的入门经历做了一个思维导图。

微信小程序.png

因为我之前对Vue开发有一点了解,所以我可以很快理解API相关的处理,但我在界面布局(CSS)方面非常薄弱。稍后,我将进一步了解前端的界面布局,查看一些材料,并尝试早点掌握CSS的知识。
Template: main
Session:
Session type: db
[unisoft__unisoft] Array ( [permission] => [passport] => [human_valid] => )
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: 1788115021.3987 ] [ Expend time: 0.0099680423736572 ] Connect DB
Cache
[ Log time: 1788115021.4157 ] Backend:
[ Log time: 1788115021.4166 ] [ Expend time: 0.000819 ] Get Cache: settings_ef8c7cef1f80fbad45b9ee480e92d03c, result type: array
[ Log time: 1788115021.4171 ] [ Expend time: 0.000370 ] Get Cache: crond, result type: boolean
[ Log time: 1788115021.4339 ] [ Expend time: 0.000914 ] Get Cache: model_7ec70ee0360b8a929eb442cbc38dfd27, result type: array
[ Log time: 1788115021.44 ] [ Expend time: 0.005124 ] Get Cache: model_eebc36c56f6ebd5dc315368f04ea4f0d, result type: array
[ Log time: 1788115021.4417 ] [ Expend time: 0.000708 ] Get Cache: model_87644abf3b1d496cbf4b1667422d7d51, result type: array
[ Log time: 1788115021.4439 ] [ Expend time: 0.000818 ] Get Cache: site_service_list_7e49c82f3098f580fb5928807f5e466d, result type: array
[ Log time: 1788115021.4579 ] [ Expend time: 0.002893 ] Get Cache: site_keyword_exclude_b2c64c08a5048d87cc4904022274c118, result type: array
[ Log time: 1788115021.4684 ] [ Expend time: 0.003743 ] Get Cache: site_keyword_exclude_b2c64c08a5048d87cc4904022274c118, result type: array
[ Log time: 1788115021.4729 ] [ Expend time: 0.000370 ] Get Cache: 744cf2b8839b6e8e5cf0cc8cc779f396, result type: boolean
[ Log time: 1788115021.4771 ] [ Expend time: 0.002229 ] Save Cache: 744cf2b8839b6e8e5cf0cc8cc779f396, result type: integer
[ Log time: 1788115021.5411 ] [ Expend time: 0.001908 ] Get Cache: site_keyword_exclude_b2c64c08a5048d87cc4904022274c118, result type: array
[ Log time: 1788115021.5849 ] [ Expend time: 0.000310 ] Get Cache: data_location_by_id_0, result type: boolean
[ Log time: 1788115021.5853 ] [ Expend time: 0.000406 ] Get Cache: data_location_by_id_566, result type: array
[ Log time: 1788115021.5857 ] [ Expend time: 0.000346 ] Get Cache: data_location_by_id_241, result type: array
[ Log time: 1788115021.586 ] [ Expend time: 0.000349 ] Get Cache: data_location_by_id_513, result type: array
[ Log time: 1788115021.5864 ] [ Expend time: 0.000376 ] Get Cache: data_location_by_id_615, result type: array
[ Log time: 1788115021.5868 ] [ Expend time: 0.000382 ] Get Cache: data_location_by_id_710, result type: array
[ Log time: 1788115021.5872 ] [ Expend time: 0.000333 ] Get Cache: data_location_by_id_617, result type: array
[ Log time: 1788115021.5876 ] [ Expend time: 0.000425 ] Get Cache: data_location_by_id_249, result type: array
[ Log time: 1788115021.588 ] [ Expend time: 0.000361 ] Get Cache: data_location_by_id_502, result type: array
[ Log time: 1788115021.5883 ] [ Expend time: 0.000339 ] Get Cache: data_location_by_id_773, result type: array
[ Log time: 1788115021.5887 ] [ Expend time: 0.000352 ] Get Cache: data_location_list_d6ff08d2e02389b7587e4a98a4149e68, result type: array
[ Log time: 1788115021.594 ] [ Expend time: 0.001441 ] Save Cache: data_location_list_d6ff08d2e02389b7587e4a98a4149e68, result type: array
[ Log time: 1788115021.5944 ] [ Expend time: 0.000406 ] Get Cache: data_location_by_id_252, result type: array
[ Log time: 1788115021.5949 ] [ Expend time: 0.000511 ] Get Cache: data_location_by_id_263, result type: array
[ Log time: 1788115021.5954 ] [ Expend time: 0.000443 ] Get Cache: data_location_by_id_256, result type: array
[ Log time: 1788115021.5958 ] [ Expend time: 0.000374 ] Get Cache: data_location_by_id_259, result type: array
[ Log time: 1788115021.5962 ] [ Expend time: 0.000401 ] Get Cache: data_location_by_id_268, result type: array
[ Log time: 1788115021.5966 ] [ Expend time: 0.000375 ] Get Cache: data_location_by_id_259, result type: array
[ Log time: 1788115021.597 ] [ Expend time: 0.000392 ] Get Cache: data_location_by_id_251, result type: array
Database [core master]
[ Log time: 1788115021.4215 ] [ Expend time: 0.0016860961914062 ] Connect DB
[ Log time: 1788115021.4232 ] [ Expend time: 0.0013551712036133 ] SELECT `z_ip`.* FROM `z_ip` WHERE (ip = '216.73.217' AND visit_time = 1788115020) LIMIT 1
[ Log time: 1788115021.4248 ] [ Expend time: 0.0015449523925781 ] UPDATE z_ip SET visit_count = visit_count + 1 WHERE ip = '216.73.217' and visit_time = 1788115020
[ Log time: 1788115021.4265 ] [ Expend time: 0.0016860961914062 ] DELETE FROM z_ip WHERE visit_count < 120 and visit_time <= 1788114840
[ Log time: 1788115021.4275 ] [ Expend time: 0.00075387954711914 ] SELECT SUM(visit_count) AS `n0` FROM `z_ip` WHERE ((ip = '216.73.217') AND is_delete = 0)
[ Log time: 1788115021.446 ] [ Expend time: 0.0011861324310303 ] SELECT `z_service`.* FROM `z_service` WHERE (name = 'xcx') LIMIT 1
[ Log time: 1788115021.4498 ] [ Expend time: 0.0012028217315674 ] SELECT `z_service_article`.* FROM `z_service_article` WHERE (no = '7ee2646ab717e480') LIMIT 1
[ Log time: 1788115021.454 ] [ Expend time: 0.002877950668335 ] SELECT `z_service_article_extra`.* FROM `z_service_article_extra` WHERE (is_delete = 0 AND article_id IN(24522))
[ Log time: 1788115021.4748 ] [ Expend time: 0.0018198490142822 ] UPDATE z_service_article SET view_count = view_count + 1 WHERE id = 24522
[ Log time: 1788115021.4795 ] [ Expend time: 0.0012118816375732 ] SELECT `z_service_article_attachment`.* FROM `z_service_article_attachment` WHERE (article_id = 24522 AND is_delete = 0) ORDER BY `id` DESC
[ Log time: 1788115021.4823 ] [ Expend time: 0.0010628700256348 ] SELECT `z_service`.* FROM `z_service` WHERE (id = 2) LIMIT 1
[ Log time: 1788115021.5391 ] [ Expend time: 0.056509971618652 ] SELECT `z_service_article`.* FROM `z_service_article` WHERE (is_delete = 0 AND (service_id = 2 AND is_enable = 1 AND publish_time <= 1788115021)) ORDER BY RAND() ASC LIMIT 8
[ Log time: 1788115021.5845 ] [ Expend time: 0.027095079421997 ] 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: 1788115021.591 ] [ Expend time: 0.002263069152832 ] Connect DB
[ Log time: 1788115021.5925 ] [ Expend time: 0.0011351108551025 ] 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.22591805458069, 0 queries, PHP Memory usage: 5803.1796875 KB, Server time: 2026-08-31 02:37:01