123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!-- 新建标签 -->
- <template>
- <view class="container-wrap">
- <uni-nav-bar title="新建标签" :status-bar="true" background-color="#3F92F9" color="#FFF">
- <view slot="left">
- <u-icon name="account-fill" color="#FFF" size="35"></u-icon>
- <span style="padding: 0 5rpx;color: #FFFFFF;">{{ userInfo.name }}</span>
- </view>
- <view slot="right" @tap="$utils.back()">
- <span style="color: #FFFFFF;">返回</span>
- </view>
- </uni-nav-bar>
- <view class="container flex-column-center">
- <!-- <u-button type="primary" @click="$utils.open('/pages/tag/tag?type=1')" style="width: 100%;margin-bottom: 20rpx;">生成标签</u-button>
- <u-button type="primary" @click="startScan" style="width: 100%;">标签读取</u-button> -->
- <div class="box flex-column-center">
- <u-image height="400rpx" mode="aspectFit" src="../../static/images/newQr.png" @click="$utils.open('/pages/tag/tag?type=1')"></u-image>
- <view class="title">
- 创建二维码标签
- </view>
- </div>
- <div class="box flex-column-center">
- <u-image height="300rpx" mode="aspectFit" src="../../static/images/newRFID.png" @click="$utils.open('/pages/tag/tag?type=2')"></u-image>
- <view class="title">
- 创建RFID标签
- </view>
- </div>
- </view>
- <view class="footer">
- <my-fixed-button></my-fixed-button>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- };
- },
- methods: {
-
- },
- onLoad() {
-
- }
- }
- </script>
- <style lang="scss" scoped>
- @import '../../static/css/mycss.scss';
- .container-wrap {
- .container {
- height: calc(100vh - 300rpx);
- overflow: hidden;
- .box {
- flex: 1;
- width: 100%;
- &:first-child {
- border: 1px solid #9e9e9e;
- }
- }
- .title {
- font-size: 42rpx;
- font-weight: bold;
- }
- }
- }
- </style>
|