Commit d72448f5 authored by 和慭琛's avatar 和慭琛

拍照后左右滑动下标+1

parent cf477d5d
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0",
"configurations": [{
"type": "uniCloud",
"default": {
"launchtype": "remote"
}
}
]
}
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
:autoplay="false" :autoplay="false"
:circular='false' :circular='false'
mode="dot" mode="dot"
:current="done_count"
></u-swiper> ></u-swiper>
</view> </view>
<view class="bottomView"> <view class="bottomView">
......
...@@ -138,7 +138,8 @@ ...@@ -138,7 +138,8 @@
+'?current_image=' + current_image +'?current_image=' + current_image
+'&image_count=' + item.image_count +'&image_count=' + item.image_count
+'&current_count=' + current_count +'&current_count=' + current_count
+'&images=' + JSON.stringify(item.images) , +'&images=' + JSON.stringify(item.images)
+'&title=' + item.name,
}) })
}, },
......
<template> <template>
<view class=""> <view class="blackBackColor">
<camera device-position="back" flash="off" style='width:100%; height:100vh;'> <camera device-position="back" flash="off" style='width:100%; height:100vh;'>
<cover-view class="locationView"> <cover-view class="locationView">
<cover-view class="locationText u-m-l-20 u-m-t-30">{{longitude}}</cover-view> <cover-view class="locationText u-m-l-20 u-m-t-30">{{longitude}}</cover-view>
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
}) })
let timer = setTimeout(()=>{ let timer = setTimeout(()=>{
that.goBack() that.goBack()
},0) },2000)
}, },
fail() { fail() {
...@@ -279,6 +279,11 @@ ...@@ -279,6 +279,11 @@
</script> </script>
<style> <style>
.blackBackColor{
background-color: #000000;
}
.bottomView { .bottomView {
background-color: #000000; background-color: #000000;
z-index: 5; z-index: 5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment