Tag:Wechat applet

  • How to save setstorage in wechat applet

    Time:2021-6-24

    This article mainly introduces how to save setstorage in wechat applet. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it Save setstorage in JS. Key is your key and data is your value wx.setStorage({ key: ‘mm’, data: […]

  • Wechat applet returns to the previous page to pass parameters and refresh process analysis

    Time:2021-6-22

    This article mainly introduces the wechat applet to return to the previous page to pass parameters and refresh the process of parsing. The sample code is introduced in great detail in this article, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it problem The onload […]

  • Wechat applet swiper does not display network pictures to solve the problem

    Time:2021-6-20

    This article mainly introduces the wechat small program swiper to solve the problem of using network pictures not to display. The sample code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it Wxml Code: <view> <swiper indicator-dots=”true}” autoplay=”true” interval=”3000″ duration=”1″> […]

  • Analysis of the method of wechat applet transferring data across pages

    Time:2021-6-18

    This article mainly introduces the wechat applet cross page data transmission method analysis, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to Q: How does the applet transfer the data in the page data to another page? Or how […]

  • Analysis of event response implementation process of wechat applet cross page data transfer

    Time:2021-4-17

    This article mainly introduces the wechat applet cross page data transfer event response implementation process analysis, this article through the example code is very detailed, has certain reference learning value to everyone’s study or work, need friends can refer to In practical work, there are many scenarios that need to return the data after user […]

  • How to get address by wechat applet

    Time:2021-2-20

    This example for you to share the wechat applet to get the address of the specific code, for your reference, the specific content is as follows wxml <map longitude=”{{data.longitude}}” latitude=”{{data.latitude}}” scale=”14″ markers=”{{markers}}” polyline=”{{polyline}}” show-location style=”width: 100%; height: 500px;”></map> <text> {{data.longitude}} {{data.latitude}} {{address}} </text> <! — longitude of longitude center — > <! — latitude of […]

  • Example of tabbar component code in custom menu switch bar of wechat applet

    Time:2021-1-7

    This article mainly introduces the wechat applet custom menu switch bar tabbar component code example, through the example code introduction is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to design sketch: Wxml Code: <view > <block wx:for=”{{itemName}}” wx:key=”{{index}}”> <view bindtap=”handleItem” data-index=”{{index}}”> <text>{{item}}</text> </view> </block> </view> […]

  • Wechat applet to achieve a simple swiper code example

    Time:2021-1-5

    This article mainly introduces the wechat small program to achieve a simple swiper code example. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it Don’t say much, just take a picture HTML <swiper previous-margin=”70rpx” next-margin=”70rpx” current=”0″ autoplay=”true” […]

  • Wechat applet encapsulates multiple pictures and uploads api code examples

    Time:2021-1-3

    This article mainly introduces the example of wechat applet encapsulating multiple pictures to upload api code. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it The code is as follows export default class Upload{ constructor(object) { this.obj […]

  • Method of playing cached audio files by wechat applet in IOS

    Time:2020-10-14

    Most of the time, we want to cache data locally in advance to save bandwidth. However, recently, we encountered some small problems in the process of playing the cached audio files by wechat applet, and then we need to adopt different playback strategies for Android and IOS. First of all, if the audio tag is […]

  • Wechat small program to achieve ceiling effect

    Time:2020-9-22

    This example for you to share the wechat applet to achieve the specific code of the ceiling effect, for your reference, the specific content is as follows design sketch Wxml Code: <view> <van-row custom-class=”goods_row” > <van-col span=”12″ custom-class=”title-1″> Dietotherapy </van-col> <van-col span=”12″ custom-class=”title-2″ > Action method </van-col> </van-row> </view> Wxss Code: /*Start of topping*/ .xiding […]

  • Wechat small program WXS to achieve ceiling effect

    Time:2020-9-20

    In the. JS file, when the onpagescroll event of page and the scroll event of scroll view are used, the execution of other scripts will be blocked by SetData rendering, resulting in the delay of the animation process of the whole user interaction. Therefore, WXS response event is used to achieve the topping effect. WXS […]