| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <template>
- <view class="content-box">
- <uni-nav-bar fixed="true" statusBar="true" left-icon="back" :title="title" background-color="#F7F9FA"
- color="#000" @clickLeft="back"></uni-nav-bar>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- title: '',
- dataObj: {
-
- },
- }
- },
- onLoad(options) {
- this.title = options.taskName
- },
- methods: {
- // 相机扫码
- HandlScanCode() {
- let _this = this
- uni.scanCode({
- success: function(res) {
- console.log(res)
- }
- })
- //_this.Scancodedate('res')
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .content-box {
- height: 100vh;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- }
- </style>
|