123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <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({
- success: (res) => {
- console.log('扫码结果:' + res.result);
- // 扫码成功后的操作,例如:
-
- },
- fail: (err) => {
- console.error('扫码失败:' + err);
- }
- });
-
- }
- }
- }
- </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>
|