123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <template>
- <view>
- <view class="top"><image src="../../static/bj.jpg" mode="aspectFill"></image></view>
- <view class="content">
- <section
- class="wwei-editor"
- style="color: rgb(51, 51, 51); font-family: 微软雅黑; font-size: 12px; white-space: normal; text-align: center; margin: 0px 1em; line-height: 1.6em;"
- >
- <img src="http://pro.wwei.cn/Public/wxeditor/css/gs640.png" style="border: 0px; width: 266px; vertical-align: middle; height: 36px !important;" />
- <section style="color: white; font-size: 1em; margin-top: -2.1em; white-space: nowrap;">请输入标题</section>
- </section>
- <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>
- </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">
- .top {
- position: relative;
- height: 300px;
- color: white;
- .wd {
- position: absolute;
- top: 70px;
- left: 20px;
- z-index: 11;
- .head {
- width: 75px;
- height: 75px;
- border-radius: 50%;
- }
- .xs {
- margin-left: 90px;
- width: 100%;
- font-weight: bold;
- margin-top: 10px;
- .nickName {
- margin-top: 20px;
- }
- .nh {
- font-size: 12px;
- font-weight: normal;
- margin-top: 5px;
- }
- }
- }
- image {
- width: 100%;
- height: 300px;
- position: absolute;
- }
- }
- .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>
|