摘要:
1.login.wxml 1 <view class='padding flex flex-direction'> 2 <button class="cu-btn bg-blue margin-tb-xs lg" hidden="{{hid1}}" open-type="getUserInfo" b 阅读全文
摘要:
uploadimg:function(){ var that = this; wx.chooseImage({ //从本地相册选择图片或使用相机拍照 count: 1, // 默认9 sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者 阅读全文
摘要:
<el-button @click="uploadtab" icon="el-icon-upload2">上传</el-button> <input ref="excel-upload-input" style="display:none;" type="file" accept="" @chang 阅读全文
摘要:
html <view class="main"> <view class="tab"> <view wx:for="{{tabList}}" bindtap="clickTab" data-hash="{{item.hash}}" data-id="{{item.id}}" class="tab_i 阅读全文
摘要:
实现这个效果主要是用了background-image 结合径向渐变radial-gradient。 示例: background-image: radial-gradient(circle 10px at 0 100%, transparent 50px, red 50%); 而对于径向渐变,主要 阅读全文
摘要:
html <el-upload class="avatar-uploader" action="http://yjyhnav1.rdmate.com/ad_admin/" :http-request="upLoad" :show-file-list="false" :on-success="hand 阅读全文
摘要:
使用/deep/ 如下图 vue-cli3.0深度选择器/deep/编译报错 使用::v-deep 来修改样式 原因,现在scss中会报loader错误 不然就新写个style 新写的style 不加scoped属性 阅读全文
摘要:
前言 大部分情况下我们都是使用微信官方自带的 navigationBar 配置 ,但有时候我们需要在导航栏集成搜索框、自定义背景图、返回首页按钮等。 思路 隐藏官方导航栏 获取胶囊按钮、状态栏相关数据以供后续计算 根据不同机型计算导航栏高度 编写新的导航栏 页面引用自定义导航 正文 隐藏官方导航栏 阅读全文