Skip to content

Commit

Permalink
fix some information
Browse files Browse the repository at this point in the history
  • Loading branch information
WindRunnerMax committed Jan 19, 2021
1 parent 610adc8 commit 31d7ba2
Show file tree
Hide file tree
Showing 4 changed files with 478 additions and 30 deletions.
4 changes: 2 additions & 2 deletions App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"use strict";
export default {
globalData: {
version: "2.0.0"
version: "2.0.2"
},
onPageNotFound(res) {
onPageNotFound: function(res) {
wx.reLaunch({url: "pages/home/not-found/not-found"})
},
onLaunch: () => {
Expand Down
2 changes: 1 addition & 1 deletion pages/home/index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<view style="margin:0 5px;">|</view>
<button @tap="toAbout">关于</button>
</view>
<view class="weui-footer__text">Copyright © 2019 WindrunnerMax</view>
<view class="weui-footer__text">Copyright © 2020 WindrunnerMax</view>
</view>
</view>
</template>
Expand Down
50 changes: 24 additions & 26 deletions pages/user/about/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,51 @@
<view>

<layout>
<view class="centerCon" style="margin-top: 20px;">
<image class='img' src="https://windrunner_max.gitee.io/imgpath/SHST/Static/SHST.jpg">
<view class="center-con" style="margin-top: 20px;">
<image class="img" src="https://windrunner_max.gitee.io/imgpath/SHST/Static/SHST.jpg">
</image>
</view>

<view class='userInfoCon'>
<view class='unitInfo' style='border-top: 1px solid #eee;'>
<view class="user-info-con">
<view class="unit-info" style="border-top: 1px solid #eee;">

<view style='display:flex;'>
<view class="a-flex">
<view>版本号</view>
</view>
<view>{{version}}</view>
</view>

<view class='unitInfo'>
<view style='display:flex;'>
<view class="unit-info">
<view class="a-flex">
<view>反馈QQ群</view>
</view>
<view class='link' data-copy='722942376' @tap='copy'>722942376</view>
<view class="link" @tap="copy('722942376')">722942376</view>
</view>

<view class='unitInfo'>
<view style='display:flex;'>
<view class="unit-info">
<view class="a-flex">
<view>联系开发者</view>
</view>
<view class='link' data-copy='651525974' @tap='copy' style='display: flex;'>
<view class="link a-flex" @tap="copy('651525974')">
<view>651525974</view>
</view>
</view>

<view class='unitInfo'>
<view style='display:flex;'>
<view class="unit-info">
<view class="a-flex">
<view>项目开源地址</view>
</view>
<view data-copy='https://github.com/WindrunnerMax/SW' @tap='copy' class='link github'>点我复制链接</view>
<view @tap="copy('https://github.com/WindrunnerMax/SHST')" class="link github">点我复制链接</view>
</view>


<button class='unitInfo' open-type='share'>
<view style='display:flex;'>
<button class="unit-info" open-type="share">
<view class="a-flex">
<view>分享山科小站</view>
</view>
<view>></view>
</button>


</view>

Expand All @@ -57,29 +57,27 @@
</template>

<script>
const app = getApp()
const app = getApp();
import layout from "@/components/layout.vue"
export default {
components: {
layout
},
data() {
data: function() {
return {
version: app.globalData.version
}
},
methods: {
copy(e) {
wx.setClipboardData({
data: e.currentTarget.dataset.copy
})
copy: function(copy) {
wx.setClipboardData({data: copy})
}
}
}
</script>

<style>
.centerCon {
.center-con {
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -90,12 +88,12 @@
height: 109px;
}
.userInfoCon {
.user-info-con {
margin-top: 20px;
padding: 10px;
}
.unitInfo {
.unit-info {
height: 30px;
line-height: 30px;
border-bottom: 1px solid #eee;
Expand Down
Loading

0 comments on commit 31d7ba2

Please sign in to comment.