installation.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <view class="content">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'电池安装'"></homenav>
  4. <view class="box">
  5. <video style="width:750rpx;" class="edui-faked-video twtcs" :src="videoUrl" width="420" height="280" enable-danmu danmu-btn controls></video>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. import homenav from "../../components/homenav/nav.vue"
  11. import nodata from '../../components/nodata/nodata.vue'
  12. export default {
  13. components: {
  14. homenav,nodata
  15. },
  16. data() {
  17. return {
  18. videoUrl:"https://66km.oss-cn-beijing.aliyuncs.com/yanghuziliao/jiyou/%E6%AC%A7%E6%B4%B2%E7%BB%B4%E4%BF%AE%E6%A0%87%E5%87%86%E6%8D%A2%E6%B2%B9SOP%E6%B5%81%E7%A8%8B.mp4",
  19. historyList:[],
  20. iStatusBarHeight:'',
  21. loading:false,
  22. }
  23. },
  24. onLoad(opt) {
  25. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  26. // this.queryHistory()
  27. },
  28. methods: {
  29. goDetail(e){
  30. uni.navigateTo({
  31. url:'/pages/index/goodsList?nLevelID='+e.nLevelID+'&logo='+e.logo+'&value='+e.title+'&id='+e.groupID+'&isVin='+e.ifVin+'&vin='+e.vin
  32. })
  33. },
  34. queryHistory(){
  35. this.loading=false;
  36. this.$http2('queryHistory', {
  37. },'POST').then(res => {
  38. this.loading=true;
  39. this.historyList=res.data
  40. })
  41. },
  42. }
  43. }
  44. </script>
  45. <style scoped>
  46. .box{
  47. }
  48. .historylinecarImg{
  49. width: 54rpx;
  50. height: 54rpx;
  51. }
  52. .historylinecar{
  53. font-weight: 400;font-size: 26rpx;
  54. color: #1A1A1A;
  55. line-height: 46rpx;width: 636rpx;
  56. }
  57. .historyLine{
  58. padding: 30rpx 0;border-top: 1rpx solid #EEEEEE;
  59. }
  60. .historyLineCar{
  61. display: flex;justify-content: space-between;
  62. }
  63. .vinms{
  64. width: 38rpx;
  65. height: 26rpx;
  66. background: linear-gradient(224deg, #FFDA28 0%, #FFBF35 100%);
  67. border-radius: 4rpx;
  68. text-align: center;
  69. line-height: 26rpx;
  70. font-weight: 600;
  71. color: #FFFFFF;
  72. font-size: 18rpx;
  73. margin-top: 2rpx;
  74. }
  75. .historyLineVin{
  76. display: flex;
  77. }
  78. .vinNum{
  79. font-weight: 400;font-size: 22rpx;padding-left: 10rpx;
  80. color: #999999;line-height: 30rpx;
  81. }
  82. .historyLogoBox{
  83. display: flex;align-items: center;
  84. }
  85. </style>