


WeChat Mini Program How to solve the problem of swiper not displaying pictures
1. What I mean by swiper not displaying pictures is that there is only one swiper box, but the set picture is not displayed.
The first thing to make sure is that the image path is set correctly. Make sure that the path is not set wrong. Another possible reason is that the page where swiper is placed (that is, the wxml file) is not in the app. Register the pages in .json
The correct method is:
Find the app.json file under the project
In the app Pages under the .json configuration file are used to register pages, as shown in the picture below
The document of the mini program also says "Add/reduce pages in the mini program are required. Modify the pages array. "
I also ignored this problem when I was a beginner. After working on it for a long time, I suddenly remembered this and it worked after adding the pages in pages.
Thanks for reading, I hope it can help everyone, thank you for your support of this site!
For more WeChat mini programs, please pay attention to the PHP Chinese website for related articles on how to solve the problem of swiper not displaying images!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download
The most popular open source editor
