12 2021 档案
摘要:1、在CMD中进入要启动的项目下,输入react-native start,等待启动成功 2、在上个服务启动的情况下,重新打开一个CMD,进入项目目录下,输入命令react-native run-android运行
阅读全文
摘要:XML <view class="authorized-mobile"> <view class="contnet"> <view class="img"></view> <button class="btn" open-type="getPhoneNumber" bindgetphonenumbe
阅读全文
摘要://支付 payMent() { const that = this; // let data={ // courseId:that.data.courseId, // dealPrice:courseId, // primePrice:courseId, // studentId:courseId
阅读全文
摘要:单个上传 //选择图片 uploadImg() { const that = this; wx.chooseMessageFile({ count: 1, type: 'image', success(res) { // tempFilePath可以作为img标签的src属性显示图片 const t
阅读全文
摘要:app.js // app.js const interfaces = require("./utils/urlconfig") App({ onLaunch() { // 展示本地存储能力 const logs = wx.getStorageSync('logs') || []; logs.uns
阅读全文
摘要:wx.ml <view class="con"> <textarea name="" id="" class="inputText" cols="30" rows="10" value="{{inputText}}" placeholder="(选填)留下您的评语吧~" bindinput="get
阅读全文