微信小程序实战——校园导览 0x1 校园简介

本文介绍如何在微信小程序中实现校园导览功能,包括编辑校园简介页面,设置轮播图,并在地图导航上绑定页面跳转事件,为用户提供直观的校园浏览体验。
摘要由CSDN通过智能技术生成

编辑校园简介页面

轮播图

新建resource文件夹=》新建images文件夹=》将要轮播的图片放在该目录下

页面

<!--introduction.wxml-->
<view class="intro">
  <swiper class="top" indicator-dots="{
  {indicatorDots}}" autoplay="{
  {autoplay}}" interval="{
  {interval}}">
    <swiper-item class="" wx:for="{
  {imgUrls}}" wx:key="true">
      <image src="/resource/images/{
  {item}}" class="top-img" />
    </swiper-item>
  </swiper>
  <image class="nav-btn" src="/resource/images/map.png"></image>
  <view class="intro-info">
    <view class="intro-title">
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值