123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <template>
- <view class="content">
- <view class="logo">
- <image class="logo" src="../../static/img3.jpg" mode=""></image>
- <view class="version">{{ item.title }}</view>
- </view>
- <view class="item">
- <view class="name" @click="phone()">
- 联系电话
- <text class="tag">{{ item.helpPhone }}</text>
- </view>
- </view>
- <view class="item">
- <view class="name">
- 邮箱
- <text class="tag">xxxxxxx</text>
- </view>
- </view>
- <view class="item">
- <view class="name">
- 地址
- <text class="tag">xxxxx</text>
- </view>
- </view>
- <view class="copyright">Copyright © 2021 {{ item.title }} 版权所有</view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- item: {}
- };
- },
- onLoad(e) {
- this.$http.request({
- url: this.$http.urls.getAboutUs,
- success: res => {
- console.log('asd:' + JSON.stringify(res));
- this.item = res.data.data.aboutUs;
- }
- });
- },
- methods: {
- phone() {
- uni.makePhoneCall({
- phoneNumber: this.item.helpPhone
- });
- }
- }
- };
- </script>
- <style lang="scss">
- .content {
- padding: 15px 5px 15px 5px;
- .logo {
- text-align: center;
- image {
- width: 100px;
- height: 100px;
- margin: 0 auto;
- border-radius: 50%;
- }
- .version {
- margin-bottom: 20px;
- color: $dar;
- margin-top: 5px;
- }
- }
- .item {
- padding: 15px;
- border-bottom: 1px solid #f1f1f1;
- color: black;
- font-size: 15px;
- overflow: hidden;
- .tag {
- float: right;
- color: $dar2;
- }
- }
- }
- </style>
|