1.新增H5打包方式

yj-dev
杨杰 4 years ago
parent f1070a59d1
commit 34c2ddb879
  1. 3
      components/Authorize.vue
  2. 8
      pages/user/myQR/myQR.vue

@ -11,6 +11,9 @@
<!-- #ifdef APP-PLUS --> <!-- #ifdef APP-PLUS -->
<!-- <button class='item grant' @click="setUserInfo">去授权</button> --> <!-- <button class='item grant' @click="setUserInfo">去授权</button> -->
<!-- #endif --> <!-- #endif -->
<!-- #ifdef H5 -->
<button class='item grant' @click="setUserInfo">去授权</button>
<!-- #endif -->
<!-- #ifdef MP --> <!-- #ifdef MP -->
<button class='item grant' type="primary" open-type="getUserInfo" lang="zh_CN" <button class='item grant' type="primary" open-type="getUserInfo" lang="zh_CN"
@getuserinfo="getuserinfo" withCredentials="true">去授权</button> @getuserinfo="getuserinfo" withCredentials="true">去授权</button>

@ -3,18 +3,18 @@
<view class="block"> <view class="block">
</view> </view>
<view class="QR"> <!-- <view class="QR">
<image src="../../../static/img/qr.png"></image> <image src="../../../static/img/qr.png"></image>
</view> </view> -->
<view class="title"> <view class="title">
扫描二维码加我好友 扫描二维码加我好友
</view> </view>
<view class="btn" v-show="showBtn" @tap="printscreen"> <view class="btn" v-show="showBtn" @tap="printscreen">
{{tis}} {{tis}}
</view> </view>
<view class="logo"> <!-- <view class="logo">
<image mode="widthFix" src="../../../static/img/qrlogo.png"></image> <image mode="widthFix" src="../../../static/img/qrlogo.png"></image>
</view> </view> -->
</view> </view>
</template> </template>

Loading…
Cancel
Save