contact-cards.vue 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <template>
  2. <view>
  3. <!--标题栏-->
  4. <bar-title bgColor="bg-white" isBack>
  5. <block slot="content">联系卡</block>
  6. <block slot="right">
  7. <text class="text-red">保存</text>
  8. </block>
  9. </bar-title>
  10. <!--提示栏-->
  11. <view class="bg-red light text-sm padding-sm">
  12. <text class="cuIcon-warnfill"/>
  13. <text class="margin-left-xs">
  14. 重要交易信息建议在平台内进行沟通,并务必在平台内下单及付款,切勿私下转账交易!走平台担保更安全~
  15. </text>
  16. </view>
  17. <view class="bg-white padding">
  18. <view class="text-lg text-black margin-bottom">我的联系卡</view>
  19. <view class="text-sm text-gray">
  20. 您可以选择添加以下一种或多种联系方式,根据具体沟通需求选择对应号码发送
  21. </view>
  22. </view>
  23. <view class="bg-white padding form-view">
  24. <view class="text-black title">微信</view>
  25. <input placeholder="请填写您的微信号" value=""/>
  26. </view>
  27. <view class="bg-white padding form-view">
  28. <view class="text-black title">QQ号</view>
  29. <input placeholder="请填写您的QQ号" value=""/>
  30. </view>
  31. <view class="bg-white padding form-view">
  32. <view class="text-black title">手机号</view>
  33. <input placeholder="请填写您的手机号" value=""/>
  34. </view>
  35. <!--小程序端显示-->
  36. <!-- #ifdef MP -->
  37. <view class="bg-white wecanui-footer-fixed foot-pb">
  38. <view class="flex flex-direction padding-sm">
  39. <button class="cu-btn bg-red">保存</button>
  40. </view>
  41. </view>
  42. <!-- #endif -->
  43. </view>
  44. </template>
  45. <script>
  46. import barTitle from '@/components/zaiui-common/basics/bar-title';
  47. import _tool from '@/static/zaiui/util/tools.js'; //工具函数
  48. export default {
  49. components: {
  50. barTitle
  51. },
  52. data() {
  53. return {
  54. }
  55. },
  56. onLoad() {
  57. },
  58. onReady() {
  59. _tool.setBarColor(true);
  60. uni.pageScrollTo({
  61. scrollTop: 0,
  62. duration: 0
  63. });
  64. },
  65. methods: {
  66. }
  67. }
  68. </script>
  69. <style lang="scss">
  70. /* #ifdef APP-PLUS */
  71. @import "../../static/colorui/main.css";
  72. @import "../../static/colorui/icon.css";
  73. @import "../../static/zaiui/style/app.scss";
  74. /* #endif */
  75. page {
  76. background: #FFFFFF;
  77. }
  78. .form-view {
  79. border-bottom: 2upx solid #f5f5f5;
  80. .title {
  81. margin-bottom: 27.27upx;
  82. }
  83. input {
  84. color: #333333;
  85. }
  86. }
  87. </style>