Browse Source

去除依赖

master
Enzo 4 years ago
parent
commit
947ae2c55d
  1. 4
      main.js
  2. 13
      pages/order/order-details.vue

4
main.js

@ -37,10 +37,6 @@ Vue.prototype.$toast=msg=>{
})
}
//H5复制到剪切板
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)
//路由跳转
Vue.prototype.$routerGo = (obj) => {
uni.navigateTo({

13
pages/order/order-details.vue

@ -37,7 +37,7 @@
<text class="text-gray">订单编号</text>
<view>
<text class="margin-right">67432428794847982374</text>
<text class="text-orange text-sm">复制</text>
<text class="text-orange text-sm" @click="copy()">复制</text>
</view>
</view>
<view class="cu-bar padding-lr solid-bottom">
@ -65,8 +65,7 @@
<self-line/>
<view class="bg-white flex flex-direction justify-around align-center text-center padding-tb">
<view>
<tki-qrcode ref="qrcode" @result="qrR" :val="area" :size="120" unit="px" background="#fff" foreground="#000"
pdground="#000" :onval="true" :loadMake="true" :icon="require('@/static/images/system/user-default.jpg')" />
<image src="../../static/tu.png" mode="widthFix" style="height: 150px;width: 150px;"></image>
</view>
<view class="flex justify-around align-center text-center margin-top-sm">
<view>
@ -95,7 +94,6 @@
</template>
<script>
import tkiQrcode from "tki-qrcode" //
import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
export default {
mixins: [MescrollMixin], // 使mixin
@ -113,9 +111,6 @@
price: '', //
}
},
components: {
tkiQrcode
},
computed: {
disabled() {
//
@ -133,10 +128,6 @@
},1000)
},
methods: {
//
qrR(data) {
this.base64Img = data;
},
//
copy(text) {
//app

Loading…
Cancel
Save