Browse Source

关于我们 添加二维码

master
邓宏 2 years ago
parent
commit
8b2a5dd400
  1. 23
      pages/home/aboutMy.vue
  2. 4
      pages/home/login.vue

23
pages/home/aboutMy.vue

@ -2,12 +2,22 @@
.container{
&>view{
margin:30rpx;
padding-bottom:20rpx;
border-bottom:1rpx solid rgba(216, 216, 216, 0.2);
color:#777;
&+view{
border-top:1rpx solid rgba(216, 216, 216, 0.2);
padding-top:20rpx;
}
&>view:first-child{
margin-bottom:5rpx;
}
&>.qrcode{
margin:20rpx auto 0 auto;
padding:20rpx;
height:200rpx;
width:200rpx;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='102' height='102' viewBox='0 0 102 102'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;stroke:%2310c176;stroke-width:2px;%7D%3C/style%3E%3C/defs%3E%3Cg transform='translate(-115.917 -307)'%3E%3Cpath class='a' d='M90.917,0H100V10' transform='translate(116.917 308)'/%3E%3Cpath class='a' d='M90.917,10H100V0' transform='translate(116.917 398)'/%3E%3Cpath class='a' d='M100,0H90.917V10' transform='translate(26 308)'/%3E%3Cpath class='a' d='M100,10H90.917V0' transform='translate(26 398)'/%3E%3C/g%3E%3C/svg%3E");
background-size:100% 100%;
}
}
}
</style>
@ -21,13 +31,20 @@
<view>PC(管理)端访问地址</view>
<view style="color:#10C176;">{{detail.pcUrl}}</view>
</view>
<view>
<view>PC(管理)端访问地址</view>
<view class="qrcode">
<u-image width="160rpx" height="160rpx" mode="aspectFit" :src="`${host}/${detail.appQrCode}`"/>
</view>
</view>
</view>
</template>
<script>
import request from '@/common/request'
import request,{host} from '@/common/request'
export default {
data(){
return{
host:host('imgUrl'),
detail:{}
}
},

4
pages/home/login.vue

@ -1,4 +1,4 @@
;<style lang="scss">
<style lang="scss">
.container{
background-image:url(/static/login_bg.png);
background-size:calc(100% + 400rpx);
@ -109,7 +109,7 @@ export default {
onLoad(options){
this.formData.username=options.phone||""
if(process.env.NODE_ENV === 'development'){
this.formData.username="18788469459"//
this.formData.username="18788469459"
this.formData.password="1qaz@WSX"
}

Loading…
Cancel
Save