随笔分类 -  [26]微小程序

上一页 1 2 3 4 5 6 ··· 8 下一页
微信公众平台 微信端开发
摘要:html <view class="person-info"> <image class="head-img" src="/images/tmp/demo.png" /> <view class="person-detail"> <view class="user-name"> 张三 <text c 阅读全文
posted @ 2020-06-03 12:03 TBHacker 阅读(1593) 评论(0) 推荐(0) 编辑
摘要:html <view class="item"> <view class="line-date">帮扶日期:2019-12-27</view> <view class="line-person">被帮扶人:张三</view> <view class="line-title">帮扶主题:企业爱心送温暖 阅读全文
posted @ 2020-06-03 11:51 TBHacker 阅读(788) 评论(0) 推荐(0) 编辑
摘要:html <form bindsubmit="formSubmit"> <view class="main"> <view class="top-title">基本信息</view> <view class="form-content"> <view class="form-item"> <view 阅读全文
posted @ 2020-06-02 16:51 TBHacker 阅读(3080) 评论(0) 推荐(0) 编辑
摘要:<view class="contact" bindtap="go_to_contact" style="z-index:9999;position:fixed; bottom:250rpx;right:20rpx;"> <image class="contact-img" src="/images 阅读全文
posted @ 2020-05-26 16:03 TBHacker 阅读(3203) 评论(0) 推荐(0) 编辑
摘要:由于开红包和领红包位于一个位置,可用绝对定位来处理! html css js 通过几个变量,可以灵活的控制内容展示。 阅读全文
posted @ 2020-05-25 15:06 TBHacker 阅读(558) 评论(0) 推荐(0) 编辑
摘要:html css 阅读全文
posted @ 2020-05-25 10:26 TBHacker 阅读(665) 评论(0) 推荐(0) 编辑
摘要:html js php 思路,判断用户是否有核销权限。 判断订单状态是否可核销。 判断订单是否已核销完。 处理,积分赠送等操作。 阅读全文
posted @ 2020-05-23 11:17 TBHacker 阅读(1227) 评论(0) 推荐(0) 编辑
摘要:text里面的换行,直接影响页面布局。 不要随便格式化text中的内容。 格式化之后,看看页面的效果有没有变化。 有时候,格式化代码后,页面布局就变了!!!艹!!! 阅读全文
posted @ 2020-05-20 11:53 TBHacker 阅读(1503) 评论(1) 推荐(1) 编辑
摘要:``` onLoad: function (options) { // 判断是否已开卡 const openid = app.globalData.openid || Storage.get().openid; let that = this; request("checkVip", { openid }).then(({ data }) => { if (data != 0) { // 动态修改 阅读全文
posted @ 2020-05-20 09:13 TBHacker 阅读(2228) 评论(0) 推荐(0) 编辑
摘要:html js 获取参数,获取验证码,获取手机号等信息。 支付成功之后,跳转。redirectTo或者reLaunch。 其实不复杂。 阅读全文
posted @ 2020-05-19 20:52 TBHacker 阅读(172) 评论(0) 推荐(0) 编辑
摘要:html js 阅读全文
posted @ 2020-05-19 18:34 TBHacker 阅读(986) 评论(0) 推荐(0) 编辑
摘要:html css 阅读全文
posted @ 2020-05-19 17:34 TBHacker 阅读(370) 评论(0) 推荐(0) 编辑
摘要:html js 阅读全文
posted @ 2020-05-19 16:38 TBHacker 阅读(199) 评论(0) 推荐(0) 编辑
摘要:html css 阅读全文
posted @ 2020-05-19 16:15 TBHacker 阅读(597) 评论(0) 推荐(0) 编辑
摘要:html 必须用radio group,才会有切换效果。 wxss 阅读全文
posted @ 2020-05-19 15:51 TBHacker 阅读(1211) 评论(0) 推荐(0) 编辑
摘要:github地址 引入插件 页面html css js 阅读全文
posted @ 2020-05-19 10:57 TBHacker 阅读(237) 评论(0) 推荐(0) 编辑
摘要:主菜单,通过reLaunch来跳转,其他页面通过navigateTo来跳转。 阅读全文
posted @ 2020-05-18 18:17 TBHacker 阅读(611) 评论(0) 推荐(0) 编辑
摘要:组件介绍 Component像页面一样由wxml、wxss、js和json4个文件组成,且需要把这4个文件放在同一个目录中。与页面不一样的是,Component中的构造函数(也可以称构造器)是Component({}),而页面中的构造函数是Page({})。要编写一个自定义组件,首先需要在json文 阅读全文
posted @ 2020-05-15 10:07 TBHacker 阅读(351) 评论(0) 推荐(0) 编辑
摘要:新建通用common.scss 引入 这样,就不用重复的写SCSS了。 阅读全文
posted @ 2020-05-15 09:48 TBHacker 阅读(4887) 评论(0) 推荐(0) 编辑
摘要:可以控制位置,地址,是否重复,尺寸等信息! 布局的时候,可以根据需要,结合背景图,进行布局。 阅读全文
posted @ 2020-05-14 16:47 TBHacker 阅读(935) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页