12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <template>
- <view class="page" :style="{'min-height':(h)+'px','padding-top':mt+'px'}">
-
- <image @click="hexiao" src="https://i.ringzle.com/file/20240317/d5f047e986a04bff9cfbfef2c5dab095.png"></image>
-
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- boatNo:'',
- price:''
- //merchantType:uni.getStorageSync('merchantType');
- }
- },
- onLoad(opt) {
-
- },
- methods: {
- hexiao() {
- console.log('21321321',)
- uni.scanCode({
- onlyFromCamera: true,
- success: (res) => {
- console.log('扫描二维码成功,结果:' + res.result);
-
- uni.navigateTo({
- url: "/pagesHouse/Verification/detailsewm?list=" + res.result
- })
- // this.$api.post('/api/merchant/food/scenic/merchant/order/verifyOrderQrCode?writeOffCode',res.result)
- // .then(res => {
- // if (res.data.code == 0) {
- // uni.navigateTo({
- // url: "/pagesHouse/Verification/detailsewm?list=" + JSON.stringify({
- // ...res.result
- // })
- // })
-
- // } else {
- // this.$showToast(res.data.msg)
- // }
- // })
- },
- error: (res) => {
- console.log('扫描二维码出现错误')
- }
- })
-
- }
- }
- }
- </script>
- <style scoped lang="less">
- .page{
- text-align: center;
- box-sizing: border-box;
- }
- image{
- width: 345rpx;
- height: 345rpx;
- margin: 80rpx 0 24rpx;
- }
- .tip{
- font-size: 32rpx;
- color: #111;
- text{
- margin-right:12rpx;
- }
-
- }
- .price{
- margin: 28rpx 0 110rpx;
- text{
- &:first-child{
- font-size: 36rpx;
- }
- &:last-child{
- font-size: 48rpx;
- font-weight: bold;
- }
- }
- }
- .btn{
- width: 610rpx;
- height: 88rpx;
- line-height: 88rpx;
- background-color: #007A69;
- color: #fff;
- font-size: 32rpx;
- border-radius: 46rpx;
- margin: 0 auto;
- }
- </style>
|