Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to make the Mini Program personal center page

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

In this article, the editor introduces in detail how to make the Mini Program personal center page. The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to make the Mini Program personal center page" can help you solve your doubts. Let's follow the editor's train of thought to slowly deepen, together to learn new knowledge.

Mine.js// pages/mine/mine.jsvar app = getApp () Page ({data: {userInfo: {}, motto: 'Hello World',// orderItemsorderItems: [{typeId: 0, name:' pending payment', url: 'bill', imageurl:'.. / images/person/personal_pay.png',} {typeId: 1, name: 'pending delivery', url: 'bill', imageurl:'.. / images/person/personal_shipped.png',}, {typeId: 2, name: 'pending delivery', url: 'bill', imageurl:'.. / images/person/personal_receipt.png'} {typeId: 3, name:'to be evaluated', url: 'bill', imageurl:'.. / images/person/personal_comment.png'}],}, / / event handler function toOrder: function () {wx.navigateTo ({url:'.. / order/order'})} OnLoad: function () {console.log ('onLoad') var that = this// calls the method of the application instance to obtain global data app.getUserInfo (function (userInfo) {/ / update data that.setData ({userInfo: userInfo})

one

two

three

four

five

six

seven

eight

nine

ten

eleven

twelve

thirteen

fourteen

fifteen

sixteen

seventeen

eighteen

nineteen

twenty

twenty-one

twenty-two

twenty-three

twenty-four

twenty-five

twenty-six

twenty-seven

twenty-eight

twenty-nine

thirty

thirty-one

thirty-two

thirty-three

thirty-four

thirty-five

thirty-six

thirty-seven

thirty-eight

thirty-nine

forty

forty-one

forty-two

forty-three

forty-four

forty-five

forty-six

forty-seven

forty-eight

forty-nine

fifty

fifty-one

fifty-two

ToOrder: event monitoring, jump to my order interface onLoad: get the user's information during loading

2. Mine.wxml {{userInfo.nickName}} my order View all orders {{item.name}} my favorite delivery address after-sales record my evaluation promotion invitation here, this article "how to make Mini Program personal Center Page" has been introduced. If you want to master the knowledge of this article, you still need to practice and use it. If you want to know more about the articles, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report