Commit e76ae21a by 前端

背景

1 parent 542cf668
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1070rpx 876rpx;} .sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1070rpx 876rpx;}
.icon-aito { width: 320rpx; height: 36rpx; background-position: 0rpx -734rpx;}
.icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -1032rpx -60rpx;} .icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -1032rpx -60rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -942rpx 0rpx;} .icon-back { width: 128rpx; height: 50rpx; background-position: -942rpx 0rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -1032rpx -102rpx;} .icon-change-account { width: 32rpx; height: 32rpx; background-position: -1032rpx -102rpx;}
.icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;} .icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;}
.icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -410rpx 0rpx;} .icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -410rpx 0rpx;}
.icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -820rpx -610rpx;} .icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -820rpx -610rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -780rpx;} .icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -780rpx;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -106rpx -780rpx;} .icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -106rpx -780rpx;}
...@@ -37,17 +35,19 @@ ...@@ -37,17 +35,19 @@
.icon-new-setting { width: 64rpx; height: 64rpx; background-position: -942rpx -576rpx;} .icon-new-setting { width: 64rpx; height: 64rpx; background-position: -942rpx -576rpx;}
.icon-pen-active { width: 120rpx; height: 120rpx; background-position: -490rpx -596rpx;} .icon-pen-active { width: 120rpx; height: 120rpx; background-position: -490rpx -596rpx;}
.icon-pen { width: 120rpx; height: 120rpx; background-position: -620rpx -596rpx;} .icon-pen { width: 120rpx; height: 120rpx; background-position: -620rpx -596rpx;}
.icon-qr-success { width: 96rpx; height: 96rpx; background-position: -424rpx -780rpx;}
.icon-qw { width: 48rpx; height: 48rpx; background-position: -1016rpx -502rpx;} .icon-qw { width: 48rpx; height: 48rpx; background-position: -1016rpx -502rpx;}
.icon-record-active { width: 80rpx; height: 80rpx; background-position: -942rpx -240rpx;} .icon-record-active { width: 80rpx; height: 80rpx; background-position: -942rpx -240rpx;}
.icon-record { width: 80rpx; height: 80rpx; background-position: -942rpx -330rpx;} .icon-record { width: 80rpx; height: 80rpx; background-position: -942rpx -330rpx;}
.icon-scan { width: 32rpx; height: 32rpx; background-position: -750rpx -596rpx;} .icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -424rpx -780rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -530rpx -780rpx;} .icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -530rpx -780rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -636rpx -780rpx;} .icon-search { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -1016rpx -576rpx;}
.icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;} .icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -750rpx -638rpx;} .icon-setting { width: 32rpx; height: 32rpx; background-position: -750rpx -596rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;} .icon-store { width: 96rpx; height: 96rpx; background-position: -636rpx -780rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;} .icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;} .icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
\ No newline at end of file \ No newline at end of file
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
.icon-aito { width: 320rpx; height: 36rpx; background-position: 0rpx -734rpx;}
.icon-qr-success { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;}
.icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -1016rpx -576rpx;}
.icon-scan { width: 32rpx; height: 32rpx; background-position: -750rpx -638rpx;}
\ No newline at end of file \ No newline at end of file

945 KB | W: | H:

945 KB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
<template> <template>
<view class="container"> <view class="container">
<view class="bg"></view>
<view class="box"> <view class="box">
<view class="input-box"> <view class="input-box">
<input <input
...@@ -31,7 +32,7 @@ ...@@ -31,7 +32,7 @@
<template v-for="item in list"> <template v-for="item in list">
<view class="item" :key="item.id"> <view class="item" :key="item.id">
<view class="item-autio" @click="playVideo(item)"> <view class="item-autio" @click="playVideo(item)">
<image :src="item.detailUrl" class="cover-box"></image> <image :src="item.coverUrl" class="cover-box"></image>
<image <image
v-if="item.sourceType == 2" v-if="item.sourceType == 2"
src="../../assets/images/boutique/play.png" src="../../assets/images/boutique/play.png"
...@@ -120,6 +121,15 @@ export default { ...@@ -120,6 +121,15 @@ export default {
height: 100vh; height: 100vh;
background-image: linear-gradient(180deg, #f2f6ff 0%, #f7f9ff 100%); background-image: linear-gradient(180deg, #f2f6ff 0%, #f7f9ff 100%);
overflow: hidden; overflow: hidden;
.bg {
width: 100%;
height: 800rpx;
position: absolute;
left: 0;
background-image: url("../../assets/images/boutique/record-bg.png");
background-size: 100% 100%;
top: 0;
}
.box { .box {
padding: 64rpx; padding: 64rpx;
margin-top: 120rpx; margin-top: 120rpx;
......
<template> <template>
<view class="container"> <view class="container">
<view class="bg"></view>
<view class="box"> <view class="box">
<view class="data-tabs-box"> <view class="data-tabs-box">
<view class="data-tabs"> <view class="data-tabs">
...@@ -178,9 +179,18 @@ export default { ...@@ -178,9 +179,18 @@ export default {
top: 0; top: 0;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background-image: linear-gradient(180deg, #f2f6ff 0%, #f7f9ff 100%); background-image: linear-gradient(180deg, #f1f5ff 0%, #f3f6ff 100%);
overflow: hidden; overflow: hidden;
.bg {
width: 100%;
height: 800rpx;
position: absolute;
left: 0;
background-image: url("../../assets/images/boutique/record-bg.png");
background-size: 100% 100%;
top: 0;
}
.nav-bar { .nav-bar {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
<template> <template>
<view class="container"> <view class="container">
<view class="bg"></view>
<view class="box"> <view class="box">
<view class="input-box"> <view class="input-box">
<input <input
...@@ -68,7 +69,7 @@ ...@@ -68,7 +69,7 @@
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import Record from "@/mixin/record"; import Record from "@/mixin/record";
export default { export default {
mixins:[Record], mixins:[Record],
data () { data () {
return { return {
customerNameOrPhone:'', customerNameOrPhone:'',
...@@ -140,6 +141,15 @@ export default { ...@@ -140,6 +141,15 @@ export default {
background-image: linear-gradient(180deg, #f2f6ff 0%, #f7f9ff 100%); background-image: linear-gradient(180deg, #f2f6ff 0%, #f7f9ff 100%);
overflow: hidden; overflow: hidden;
.bg {
width: 100%;
height: 800rpx;
position: absolute;
left: 0;
background-image: url("../../assets/images/boutique/record-bg.png");
background-size: 100% 100%;
top: 0;
}
.nav-bar { .nav-bar {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<view class="popup-body"> <view class="popup-body">
<video <video
ref="videoPlayer" ref="videoPlayer"
:src="videoSrc" :src="detailUrl"
controls controls
v-if="sourceType == 2" v-if="sourceType == 2"
></video> ></video>
...@@ -24,7 +24,6 @@ export default { ...@@ -24,7 +24,6 @@ export default {
data () { data () {
return { return {
width:0, width:0,
videoSrc: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4',
title: '11', title: '11',
sourceType: '', sourceType: '',
detailUrl: '' detailUrl: ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!