second-price.vue 913 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <template name="cm-price">
  2. <!-- 商品详情价格判断 -->
  3. <view class="wrap-main">
  4. <view class="" v-if="userIdentity == 1">
  5. <view class="wrap-main-price">
  6. <view class="p-price tui-skeleton-fillet">
  7. <text class="txt sm">¥</text>
  8. <text class="txt big">{{product.price1Str}}</text>
  9. <text class="txt big">{{smallMoney== '0'?'.00':smallMoney}}</text>
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default{
  17. name:'cm-price',
  18. props:{
  19. product:{
  20. type:Object,
  21. },
  22. userIdentity: {
  23. type: Number,
  24. default: 2
  25. },
  26. ladderPriceList:{
  27. type: Array,
  28. },
  29. retailPrice:{
  30. type:String,
  31. },
  32. smallMoney:{
  33. type:String,
  34. },
  35. minBuyNumber:{
  36. type: Number,
  37. default: 1
  38. }
  39. },
  40. data() {
  41. return{
  42. }
  43. },
  44. created() {
  45. },
  46. methods:{
  47. },
  48. }
  49. </script>
  50. <style lang="scss">
  51. </style>