新增名片卡片

This commit is contained in:
2024-08-30 00:35:24 +08:00
parent fc7912e01c
commit 16932357d2
3 changed files with 124 additions and 4 deletions

View File

@@ -5,19 +5,63 @@
<view class="container">
<view class="title">
<text>{{contact_title}}</text>
<text class="date">{{date}}</text>
<text class="date"></text>
</view>
<view class="content">
<view class="text">
<template is="wxParse" data="{{wxParseData:content.nodes}}"/>
<template is="wxParse" data="{{wxParseData:content.nodes}}" />
</view>
</view>
<view class="about">
<view class="text-list">地址:{{contact_address}}</view>
<view class="text-list">电话:{{contact_tel}}</view>
<view class="text-list">邮编:{{contact_post_code}}</view>
<view class="text-list">邮箱:{{contact_email}}</view>
</view>
<view class="about-title">
<text>快捷联系</text>
<text class="date"></text>
</view>
<view class="about">
<view class="user-container">
<view class="user-header">
<view class="user-info">
<text class="user-name">{{engineer_name_a}}</text>
<text class="user-intro">简介:{{engineer_md_a}}</text>
<text class="user-phone">电话:{{engineer_phone_a}}</text>
</view>
<button class="user-block-button" style="width: 200rpx;height: 140rpx;" data-phone="{{engineer_phone_a}}" bindtap="makePhoneCall">快捷拨号</button>
</view>
</view>
</view>
<view class="about">
<view class="user-container">
<view class="user-header">
<view class="user-info">
<text class="user-name">{{engineer_name_b}}</text>
<text class="user-intro">简介:{{engineer_md_b}}</text>
<text class="user-phone">电话:{{engineer_phone_b}}</text>
</view>
<button class="user-block-button" style="width: 200rpx;height: 140rpx;" data-phone="{{engineer_phone_b}}" bindtap="makePhoneCall">快捷拨号</button>
</view>
</view>
</view>
<view class="about">
<view class="user-container">
<view class="user-header">
<view class="user-info">
<text class="user-name">{{engineer_name_c}}</text>
<text class="user-intro">简介:{{engineer_md_c}}</text>
<text class="user-phone">电话:{{engineer_phone_c}}</text>
</view>
<button class="user-block-button" style="width: 200rpx;height: 140rpx;" data-phone="{{engineer_phone_c}}" bindtap="makePhoneCall">快捷拨号</button>
</view>
</view>
</view>
</view>
</scroll-view>
<view class='btn-view'>
<button bind:tap="phoneOn" style="background: #3c8bf6;;border-radius: 60rpx;width: 85%;color: #fff;font-size: 30rpx;font-weight: normal;">拨打电话</button>
<button bind:tap="phoneOn" style="background: #3c8bf6;border-radius: 60rpx;width: 85%;color: #fff;font-size: 30rpx;font-weight: normal;">拨打电话</button>
</view>