游戏前端开发主程
游戏开发前端后端
游戏前端开发 策划
- { {item.title}}
import $ from ‘webpack-zepto’
export default {
data() {
return {
activeIndex: 0,
items: [
{ title: ‘产品介绍1’ },
{ title: ‘产品介绍2’ },
{ title: ‘产品介绍3’ },
{ title: ‘产品介绍4’ },
],
}
},
mounted() {
var that = this
this.$nextTick(function() {
var startPosition, endPosition, deltaX, deltaY, moveLength
$(‘.sign-content’)
.bind(‘touchstart’, function(e) {
var touch = e.touches[0]
startPosition = {
x: touch.pageX,
y: touch.pageY,
}
})
.bind(‘touchmove’, function(e) {
var