| 1234567891011121314151617181920212223242526272829303132333435363738 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const common_assets = require("../../common/assets.js");
- const _sfc_main = {
- __name: "index",
- setup(__props) {
- const version = common_vendor.ref("1.0.0");
- const copyText = (text) => {
- common_vendor.index.setClipboardData({
- data: text,
- success: () => {
- common_vendor.index.showToast({
- title: "已复制到剪贴板",
- icon: "none"
- });
- }
- });
- };
- const makePhoneCall = () => {
- common_vendor.index.makePhoneCall({
- phoneNumber: "400-xxx-xxxx",
- fail: () => {
- copyText("400-xxx-xxxx");
- }
- });
- };
- return (_ctx, _cache) => {
- return {
- a: common_assets._imports_0,
- b: common_vendor.t(version.value),
- c: common_vendor.o(($event) => copyText("www.nongxiaoyu.com")),
- d: common_vendor.o(makePhoneCall),
- e: common_vendor.o(($event) => copyText("service@nongxiaoyu.com"))
- };
- };
- }
- };
- wx.createPage(_sfc_main);
|