No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

87 líneas
2.3KB

  1. <template>
  2. <div class="all">
  3. <img class="pageBg" src="../assets/productBg.jpg">
  4. <div class="contentFrame">
  5. <img class="contentImg" src="../assets/appliances/standard/pay.png">
  6. <img class="pageRedDot pageRedDot1" @click="lookDetail('zhizhitaika')" src="../assets/pageRedDot.png">
  7. </div>
  8. <sidebar class="sidebarSty"></sidebar>
  9. <phoneAppliancesWin v-if="winShow" :product="product" @hiddenWin='winControl' :category="category" :detailName="detailName"></phoneAppliancesWin>
  10. </div>
  11. </template>
  12. <script>
  13. import Sidebar from '../components/sidebar'
  14. import phoneAppliancesWin from './phone_appliances_win'
  15. export default {
  16. name: "appliances_standard_pay",
  17. data(){
  18. return{
  19. product:"appliances",//产品
  20. category:"standard",//类别
  21. detailName:"",//详细名称
  22. winShow:false,//是否显示弹窗
  23. }
  24. },
  25. components:{
  26. Sidebar,
  27. phoneAppliancesWin
  28. },
  29. methods:{
  30. lookDetail(name){//查看详情
  31. this.detailName = name;
  32. this.winControl();
  33. },
  34. winControl(){//控制弹窗显示状态
  35. this.winShow = !this.winShow;
  36. }
  37. }
  38. }
  39. </script>
  40. <style scoped>
  41. .pageBg{
  42. position: fixed;
  43. top: 50%;
  44. left: 0;
  45. transform: translateY(-50%);
  46. width: 7.5rem;
  47. height: 15.06rem;
  48. }
  49. .contentFrame{
  50. position: absolute;
  51. left: 50%;
  52. top: 50%;
  53. transform: translate(-50%,-50%);
  54. width: 7.5rem;
  55. height: 12.06rem;
  56. display: flex;
  57. justify-content: center;
  58. overflow: hidden;
  59. }
  60. .contentImg{
  61. width: 6.93rem;
  62. height: 11.15rem;
  63. }
  64. .pageRedDot{
  65. position: absolute;
  66. width: 0.29rem;
  67. height: 0.29rem;
  68. animation: dotTwinkle 3s linear infinite;
  69. }
  70. @keyframes dotTwinkle {
  71. 0%{opacity: 0.2}
  72. 50%{opacity:1}
  73. 100%{opacity:0.2}
  74. }
  75. .pageRedDot1{
  76. left: 3.13rem;
  77. top: 4.76rem;
  78. }
  79. .sidebarSty{
  80. position: fixed;
  81. top:0.3rem;
  82. left: 0.3rem;
  83. }
  84. </style>