为了兼容 easycom 模式,不和应用自身的 cXxx 组件冲突,把 cXxx 改名为 ucXxx

This commit is contained in:
陆柯 2020-06-19 09:58:16 +08:00
parent 32f1c753d0
commit ff7dc3ce3a
25 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,8 @@ module.exports = {
'】】】】】】】】】】】') '】】】】】】】】】】】')
}, },
sleep: (ms)=>new Promise((resolve, reject)=>setTimeout(resolve, ms)),
async request(obj){ async request(obj){
obj.method = 'POST' obj.method = 'POST'
@ -101,7 +103,7 @@ module.exports = {
// #ifdef H5 // #ifdef H5
document.title = windowTitle || page.$store.getters['i18n/getAppName'] || page.appName // 必须放在 setNavigationBarTitle 之后,否则会被其覆盖掉。 document.title = windowTitle || page.$store.getters['i18n/getAppName'] || page.appName // 必须放在 setNavigationBarTitle 之后,否则会被其覆盖掉。
// #endif // #endif
page.$store.commit('i18n/setTabbar') // 必须要在有 tab 的页面里重置才能成功 page.$store.commit('i18n/setTabbar') // 必须要在有 tab 的页面里重置才有效果
}, },
localeText(){ localeText(){

View File

@ -1,6 +1,5 @@
<script> <script>
export default { export default {
name: 'cColorText',
props: { props: {
colorText: { colorText: {
type: String, type: String,

View File

Before

Width:  |  Height:  |  Size: 777 B

After

Width:  |  Height:  |  Size: 777 B

View File

Before

Width:  |  Height:  |  Size: 599 B

After

Width:  |  Height:  |  Size: 599 B

View File

Before

Width:  |  Height:  |  Size: 985 B

After

Width:  |  Height:  |  Size: 985 B

View File

Before

Width:  |  Height:  |  Size: 671 B

After

Width:  |  Height:  |  Size: 671 B

View File

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 649 B

View File

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

View File

Before

Width:  |  Height:  |  Size: 702 B

After

Width:  |  Height:  |  Size: 702 B

View File

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

View File

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 780 B

View File

Before

Width:  |  Height:  |  Size: 604 B

After

Width:  |  Height:  |  Size: 604 B

View File

Before

Width:  |  Height:  |  Size: 994 B

After

Width:  |  Height:  |  Size: 994 B

View File

Before

Width:  |  Height:  |  Size: 672 B

After

Width:  |  Height:  |  Size: 672 B

View File

@ -1,9 +1,9 @@
<!-- <!--
// based on Pagination https://ext.dcloud.net.cn/plugin?id=32 // based on Pagination https://ext.dcloud.net.cn/plugin?id=32
// 使 uni-icons
--> -->
<script> <script>
export default { export default {
name: 'cPager',
props: { props: {
leftText: { leftText: {
type: String, type: String,

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -1,5 +1,7 @@
<!-- <!--
Based on tki-qrcode 组件 https://github.com/q310550690/uni-app-qrcode , https://ext.dcloud.net.cn/plugin?id=39 Based on tki-qrcode 组件 https://github.com/q310550690/uni-app-qrcode , https://ext.dcloud.net.cn/plugin?id=39
// app: https://github.com/alei817927/qrcode
// h5import VueQriously from 'vue-qriously'; Vue.use(VueQriously)
--> -->
<template xlang="wxml" minapp="mpvue"> <template xlang="wxml" minapp="mpvue">
<view class="cQrcode"> <view class="cQrcode">
@ -17,7 +19,6 @@
import QRCode from "./qrcode.js" import QRCode from "./qrcode.js"
let qrcode let qrcode
export default { export default {
name: "cQrcode",
props: { props: {
cid: { cid: {
type: String, type: String,

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB