Commit 195ef400 authored by 李俊赕's avatar 李俊赕

take-photo

parent c1732e58
......@@ -134,6 +134,7 @@
// this.globalData.screenHeight = a.screenHeight;
this.globalData.navHeight = a.statusBarHeight / a.screenWidth * 750 + 90
this.globalData.rpxScreenHeight = a.screenHeight / a.screenWidth * 750
this.globalData.screenHeight = a.screenHeight
} catch (a) {}
},
//检查更新
......
......@@ -138,6 +138,14 @@
"navigationBarTextStyle": "#FFFFFF",
"disableScroll": true
}
},{
"path": "pages/photo/standard",
"style": {
"navigationBarTitleText": "拍照规范",
"navigationBarBackgroundColor": "#333333",
"navigationBarTextStyle": "#FFFFFF",
"disableScroll": true
}
},
{
......@@ -276,7 +284,7 @@
"query": "" //启动参数,在页面的onLoad函数里面得到
},{
"name": "拍照小工具", //模式名称
"path": "pages/photo/take", //启动页面,必选
"path": "pages/photo/standard", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},{
"name": "基本信息", //模式名称
......
<template>
<scroll-view class="scroll-view_H" scroll-x="true" @scroll="scroll" scroll-left="120">
<view id="demo1" class="scroll-view-item_H uni-bg-red">A</view>
<view id="demo2" class="scroll-view-item_H uni-bg-green">B</view>
<view id="demo3" class="scroll-view-item_H uni-bg-blue">C</view>
</scroll-view>
</template>
<script>
export default {
data() {
return {
protocolContent:'',
images:[]
}
},
onLoad(e) {
getApp().trackPage('照片预览页')
console.log(e,'e')
if(e.img){
this.images = [e.img]
}
console.log(this.images,'this.images')
},
methods: {
showPreviewFn(img) {
uni.previewImage({
current: 0,
urls: this.images
});
},
//拨打客服 点击
phoneCallClick: function (phone) {
uni.makePhoneCall({
phoneNumber: phone
});
},
}
}
</script>
<style>
.pic{
display: block;
width:100%;
height:auto;
}
</style>
This diff is collapsed.
take-order/static/photo/icon-light.png

1.67 KB | W: | H:

take-order/static/photo/icon-light.png

1.58 KB | W: | H:

take-order/static/photo/icon-light.png
take-order/static/photo/icon-light.png
take-order/static/photo/icon-light.png
take-order/static/photo/icon-light.png
  • 2-up
  • Swipe
  • Onion skin
take-order/static/photo/icon-switch.png

1.77 KB | W: | H:

take-order/static/photo/icon-switch.png

1.46 KB | W: | H:

take-order/static/photo/icon-switch.png
take-order/static/photo/icon-switch.png
take-order/static/photo/icon-switch.png
take-order/static/photo/icon-switch.png
  • 2-up
  • Swipe
  • Onion skin
take-order/static/photo/icon-take.png

8.88 KB | W: | H:

take-order/static/photo/icon-take.png

6.18 KB | W: | H:

take-order/static/photo/icon-take.png
take-order/static/photo/icon-take.png
take-order/static/photo/icon-take.png
take-order/static/photo/icon-take.png
  • 2-up
  • Swipe
  • Onion skin
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