为了兼容 easycom 模式,不和应用自身的 cXxx 组件冲突,把 cXxx 改名为 ucXxx
4
index.js
@ -6,6 +6,8 @@ module.exports = {
|
||||
'】】】】】】】】】】】')
|
||||
},
|
||||
|
||||
sleep: (ms)=>new Promise((resolve, reject)=>setTimeout(resolve, ms)),
|
||||
|
||||
async request(obj){
|
||||
obj.method = 'POST'
|
||||
|
||||
@ -101,7 +103,7 @@ module.exports = {
|
||||
// #ifdef H5
|
||||
document.title = windowTitle || page.$store.getters['i18n/getAppName'] || page.appName // 必须放在 setNavigationBarTitle 之后,否则会被其覆盖掉。
|
||||
// #endif
|
||||
page.$store.commit('i18n/setTabbar') // 必须要在有 tab 的页面里重置才能成功
|
||||
page.$store.commit('i18n/setTabbar') // 必须要在有 tab 的页面里重置才有效果
|
||||
},
|
||||
|
||||
localeText(){
|
||||
|
@ -1,6 +1,5 @@
|
||||
<script>
|
||||
export default {
|
||||
name: 'cColorText',
|
||||
props: {
|
||||
colorText: {
|
||||
type: String,
|
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 985 B After Width: | Height: | Size: 985 B |
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 671 B |
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 780 B After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 994 B After Width: | Height: | Size: 994 B |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 672 B |
@ -1,9 +1,9 @@
|
||||
<!--
|
||||
// based on Pagination 分页器组件: https://ext.dcloud.net.cn/plugin?id=32
|
||||
// 我修改过的版本,使用本地图标文件,不用 uni-icons。
|
||||
-->
|
||||
<script>
|
||||
export default {
|
||||
name: 'cPager',
|
||||
props: {
|
||||
leftText: {
|
||||
type: String,
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
@ -1,5 +1,7 @@
|
||||
<!--
|
||||
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
|
||||
// 另一个h5里二维码解决方案:import VueQriously from 'vue-qriously'; Vue.use(VueQriously)
|
||||
-->
|
||||
<template xlang="wxml" minapp="mpvue">
|
||||
<view class="cQrcode">
|
||||
@ -17,7 +19,6 @@
|
||||
import QRCode from "./qrcode.js"
|
||||
let qrcode
|
||||
export default {
|
||||
name: "cQrcode",
|
||||
props: {
|
||||
cid: {
|
||||
type: String,
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |