zs 1 年之前
父節點
當前提交
24d51e3ac8
共有 29 個文件被更改,包括 9349 次插入1 次删除
  1. 16 0
      .hbuilderx/launch.json
  2. 0 1
      pages/index/index.vue
  3. 27 0
      unpackage/dist/dev/mp-weixin/app.js
  4. 12 0
      unpackage/dist/dev/mp-weixin/app.json
  5. 2362 0
      unpackage/dist/dev/mp-weixin/app.wxss
  6. 6735 0
      unpackage/dist/dev/mp-weixin/common/vendor.js
  7. 28 0
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  8. 6 0
      unpackage/dist/dev/mp-weixin/pages/index/index.json
  9. 1 0
      unpackage/dist/dev/mp-weixin/pages/index/index.wxml
  10. 6 0
      unpackage/dist/dev/mp-weixin/pages/index/index.wxss
  11. 29 0
      unpackage/dist/dev/mp-weixin/project.config.json
  12. 7 0
      unpackage/dist/dev/mp-weixin/project.private.config.json
  13. 二進制
      unpackage/dist/dev/mp-weixin/static/c1.png
  14. 二進制
      unpackage/dist/dev/mp-weixin/static/c2.png
  15. 二進制
      unpackage/dist/dev/mp-weixin/static/c3.png
  16. 二進制
      unpackage/dist/dev/mp-weixin/static/c4.png
  17. 二進制
      unpackage/dist/dev/mp-weixin/static/c5.png
  18. 二進制
      unpackage/dist/dev/mp-weixin/static/c6.png
  19. 二進制
      unpackage/dist/dev/mp-weixin/static/c7.png
  20. 二進制
      unpackage/dist/dev/mp-weixin/static/c8.png
  21. 二進制
      unpackage/dist/dev/mp-weixin/static/c9.png
  22. 20 0
      unpackage/dist/dev/mp-weixin/static/customicons.css
  23. 二進制
      unpackage/dist/dev/mp-weixin/static/customicons.ttf
  24. 二進制
      unpackage/dist/dev/mp-weixin/static/logo.png
  25. 二進制
      unpackage/dist/dev/mp-weixin/static/uni.png
  26. 88 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.js
  27. 4 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.json
  28. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.wxml
  29. 7 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.wxss

+ 16 - 0
.hbuilderx/launch.json

@@ -0,0 +1,16 @@
+{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+    "version": "0.0",
+    "configurations": [{
+     	"default" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"mp-weixin" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"type" : "uniCloud"
+     }
+    ]
+}

+ 0 - 1
pages/index/index.vue

@@ -1,6 +1,5 @@
 <template>
 	<view class="container">
-		
 		<view class="intro">本项目已包含uni ui组件,无需import和注册,可直接使用。在代码区键入字母u,即可通过代码助手列出所有可用组件。光标置于组件名称处按F1,即可查看组件文档。</view>
 		<text class="intro">详见:</text>
 		<uni-link :href="href" :text="href"></uni-link>

+ 27 - 0
unpackage/dist/dev/mp-weixin/app.js

@@ -0,0 +1,27 @@
+"use strict";
+Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
+const common_vendor = require("./common/vendor.js");
+if (!Math) {
+  "./pages/index/index.js";
+}
+const _sfc_main = {
+  onLaunch: function() {
+    console.warn("当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!");
+    console.log("App Launch");
+  },
+  onShow: function() {
+    console.log("App Show");
+  },
+  onHide: function() {
+    console.log("App Hide");
+  }
+};
+const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/project/足球比赛/match_applet/App.vue"]]);
+function createApp() {
+  const app = common_vendor.createSSRApp(App);
+  return {
+    app
+  };
+}
+createApp().app.mount("#app");
+exports.createApp = createApp;

+ 12 - 0
unpackage/dist/dev/mp-weixin/app.json

@@ -0,0 +1,12 @@
+{
+  "pages": [
+    "pages/index/index"
+  ],
+  "window": {
+    "navigationBarTextStyle": "black",
+    "navigationBarTitleText": "uni-app",
+    "navigationBarBackgroundColor": "#F8F8F8",
+    "backgroundColor": "#F8F8F8"
+  },
+  "usingComponents": {}
+}

File diff suppressed because it is too large
+ 2362 - 0
unpackage/dist/dev/mp-weixin/app.wxss


File diff suppressed because it is too large
+ 6735 - 0
unpackage/dist/dev/mp-weixin/common/vendor.js


+ 28 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.js

@@ -0,0 +1,28 @@
+"use strict";
+const common_vendor = require("../../common/vendor.js");
+const _sfc_main = {
+  data() {
+    return {
+      href: "https://uniapp.dcloud.io/component/README?id=uniui"
+    };
+  },
+  methods: {}
+};
+if (!Array) {
+  const _easycom_uni_link2 = common_vendor.resolveComponent("uni-link");
+  _easycom_uni_link2();
+}
+const _easycom_uni_link = () => "../../uni_modules/uni-link/components/uni-link/uni-link.js";
+if (!Math) {
+  _easycom_uni_link();
+}
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+  return {
+    a: common_vendor.p({
+      href: $data.href,
+      text: $data.href
+    })
+  };
+}
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/project/足球比赛/match_applet/pages/index/index.vue"]]);
+wx.createPage(MiniProgramPage);

+ 6 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.json

@@ -0,0 +1,6 @@
+{
+  "navigationBarTitleText": "uni-app",
+  "usingComponents": {
+    "uni-link": "../../uni_modules/uni-link/components/uni-link/uni-link"
+  }
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.wxml

@@ -0,0 +1 @@
+<view class="container"><view class="intro">本项目已包含uni ui组件,无需import和注册,可直接使用。在代码区键入字母u,即可通过代码助手列出所有可用组件。光标置于组件名称处按F1,即可查看组件文档。</view><text class="intro">详见:</text><uni-link wx:if="{{a}}" u-i="5b29e0b4-0" bind:__l="__l" u-p="{{a}}"></uni-link></view>

+ 6 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.wxss

@@ -0,0 +1,6 @@
+
+.container {
+		padding: 20px;
+		font-size: 14px;
+		line-height: 24px;
+}

+ 29 - 0
unpackage/dist/dev/mp-weixin/project.config.json

@@ -0,0 +1,29 @@
+{
+  "description": "项目配置文件。",
+  "packOptions": {
+    "ignore": [],
+    "include": []
+  },
+  "setting": {
+    "urlCheck": false,
+    "es6": true,
+    "postcss": false,
+    "minified": false,
+    "newFeature": true,
+    "bigPackageSizeSupport": true,
+    "babelSetting": {
+      "ignore": [],
+      "disablePlugins": [],
+      "outputPath": ""
+    }
+  },
+  "compileType": "miniprogram",
+  "libVersion": "3.2.0",
+  "appid": "touristappid",
+  "projectname": "match_applet",
+  "condition": {},
+  "editorSetting": {
+    "tabIndent": "insertSpaces",
+    "tabSize": 2
+  }
+}

+ 7 - 0
unpackage/dist/dev/mp-weixin/project.private.config.json

@@ -0,0 +1,7 @@
+{
+  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+  "projectname": "match_applet",
+  "setting": {
+    "compileHotReLoad": true
+  }
+}

二進制
unpackage/dist/dev/mp-weixin/static/c1.png


二進制
unpackage/dist/dev/mp-weixin/static/c2.png


二進制
unpackage/dist/dev/mp-weixin/static/c3.png


二進制
unpackage/dist/dev/mp-weixin/static/c4.png


二進制
unpackage/dist/dev/mp-weixin/static/c5.png


二進制
unpackage/dist/dev/mp-weixin/static/c6.png


二進制
unpackage/dist/dev/mp-weixin/static/c7.png


二進制
unpackage/dist/dev/mp-weixin/static/c8.png


二進制
unpackage/dist/dev/mp-weixin/static/c9.png


+ 20 - 0
unpackage/dist/dev/mp-weixin/static/customicons.css

@@ -0,0 +1,20 @@
+@font-face {
+  font-family: "customicons"; /* Project id 2878519 */
+  src:url('/static/customicons.ttf') format('truetype');
+}
+
+.customicons {
+  font-family: "customicons" !important;
+}
+
+.youxi:before {
+  content: "\e60e";
+}
+
+.wenjian:before {
+  content: "\e60f";
+}
+
+.zhuanfa:before {
+  content: "\e610";
+}

二進制
unpackage/dist/dev/mp-weixin/static/customicons.ttf


二進制
unpackage/dist/dev/mp-weixin/static/logo.png


二進制
unpackage/dist/dev/mp-weixin/static/uni.png


+ 88 - 0
unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.js

@@ -0,0 +1,88 @@
+"use strict";
+const common_vendor = require("../../../../common/vendor.js");
+const _sfc_main = {
+  name: "uniLink",
+  props: {
+    href: {
+      type: String,
+      default: ""
+    },
+    text: {
+      type: String,
+      default: ""
+    },
+    download: {
+      type: String,
+      default: ""
+    },
+    showUnderLine: {
+      type: [Boolean, String],
+      default: true
+    },
+    copyTips: {
+      type: String,
+      default: "已自动复制网址,请在手机浏览器里粘贴该网址"
+    },
+    color: {
+      type: String,
+      default: "#999999"
+    },
+    fontSize: {
+      type: [Number, String],
+      default: 14
+    }
+  },
+  computed: {
+    isShowA() {
+      if ((this.isMail() || this.isTel()) && this._isH5 === true) {
+        return true;
+      }
+      return false;
+    }
+  },
+  created() {
+    this._isH5 = null;
+  },
+  methods: {
+    isMail() {
+      return this.href.startsWith("mailto:");
+    },
+    isTel() {
+      return this.href.startsWith("tel:");
+    },
+    openURL() {
+      common_vendor.index.setClipboardData({
+        data: this.href
+      });
+      common_vendor.index.showModal({
+        content: this.copyTips,
+        showCancel: false
+      });
+    },
+    makePhoneCall(phoneNumber) {
+      common_vendor.index.makePhoneCall({
+        phoneNumber
+      });
+    }
+  }
+};
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+  return common_vendor.e({
+    a: $options.isShowA
+  }, $options.isShowA ? {
+    b: common_vendor.t($props.text),
+    c: $props.href,
+    d: $props.showUnderLine === true || $props.showUnderLine === "true" ? 1 : "",
+    e: $props.color,
+    f: $props.fontSize + "px",
+    g: $props.download
+  } : {
+    h: common_vendor.t($props.text),
+    i: $props.showUnderLine === true || $props.showUnderLine === "true" ? 1 : "",
+    j: $props.color,
+    k: $props.fontSize + "px",
+    l: common_vendor.o((...args) => $options.openURL && $options.openURL(...args))
+  });
+}
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/project/足球比赛/match_applet/uni_modules/uni-link/components/uni-link/uni-link.vue"]]);
+wx.createComponent(Component);

+ 4 - 0
unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.json

@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.wxml

@@ -0,0 +1 @@
+<navigator wx:if="{{a}}" href="{{c}}" class="{{['uni-link', d && 'uni-link--withline']}}" style="{{'color:' + e + ';' + ('font-size:' + f)}}" download="{{g}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else>{{b}}</block></navigator><text wx:else class="{{['uni-link', i && 'uni-link--withline']}}" style="{{'color:' + j + ';' + ('font-size:' + k)}}" bindtap="{{l}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else>{{h}}</block></text>

+ 7 - 0
unpackage/dist/dev/mp-weixin/uni_modules/uni-link/components/uni-link/uni-link.wxss

@@ -0,0 +1,7 @@
+
+.uni-link {
+		cursor: pointer;
+}
+.uni-link--withline {
+		text-decoration: underline;
+}