ld-shop.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <template>
  2. <view class="u-flex-center-sb name">
  3. <view class="u-text1 viewWidthTitle">
  4. <text class="iconfont3 u-font40 " style="color: #FA6138;vertical-align: middle;">&#xe655;</text>
  5. <text class="u-1A1A1A u-font30 u-ml15" style="vertical-align: middle;">{{value}}</text>
  6. </view>
  7. <!-- <text class="u-1A1A1A u-font30 u-ml15">{{proxy?'第三方':'自营'}}</text> -->
  8. <text v-if="showCustomer" @click="call()" class="u-font30 u-ml15" style="color: #FA6138;">
  9. <text class="iconfont2 u-font40 u-mr5">&#xe612;</text>
  10. <!-- 联系客服 -->
  11. </text>
  12. <text class="u-FF0000 u-font28" v-if="shopStatus">待审核</text>
  13. </view>
  14. </template>
  15. <script>
  16. export default{
  17. props:{
  18. shopStatus:{
  19. type:Boolean,
  20. default:true
  21. },
  22. proxy:{
  23. type:Boolean,
  24. default:false
  25. },
  26. phone:{
  27. type:String,
  28. default: ''
  29. },
  30. showCustomer:{
  31. type:Boolean,
  32. default:false
  33. },
  34. value:{
  35. type:String,
  36. default:''
  37. }
  38. },
  39. data(){
  40. return {}
  41. },
  42. methods:{
  43. call(){
  44. let that = this;
  45. uni.makePhoneCall({
  46. phoneNumber: that.phone
  47. });
  48. }
  49. }
  50. }
  51. </script>
  52. <style scoped>
  53. .right-icon {
  54. font-size: 25rpx;
  55. }
  56. .name {
  57. /* padding-bottom: 25rpx; */
  58. border-bottom: 1px solid #E7E7E7;
  59. height: 100rpx;
  60. }
  61. </style>