Commit 282b04c1 by 李伟康

新增隐私协议

1 parent 60d21be9
Showing 373 changed files with 18097 additions and 29 deletions
...@@ -114,7 +114,8 @@ ...@@ -114,7 +114,8 @@
"glsx-image": "/components/image/index", "glsx-image": "/components/image/index",
"authorize": "/components/Authorize/Authorize", "authorize": "/components/Authorize/Authorize",
"popup": "/components/Popup/Popup", "popup": "/components/Popup/Popup",
"goods-action": "/components/GoodsAction/GoodsAction" "goods-action": "/components/GoodsAction/GoodsAction",
"glsx-privacy":"glsx-applet-component/GlsxPrivacy/index"
}, },
"style": "v2", "style": "v2",
"resolveAlias": { "resolveAlias": {
...@@ -131,5 +132,6 @@ ...@@ -131,5 +132,6 @@
"version": "1.0.2", "version": "1.0.2",
"provider": "wxe10067a63c1856ac" "provider": "wxe10067a63c1856ac"
} }
} },
"__usePrivacyCheck__": true
} }
\ No newline at end of file \ No newline at end of file
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 12);
/******/ })
/************************************************************************/
/******/ ({
/***/ 12:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
/**
* 组件的属性列表
*/
properties: {
pickerShow: {
type: Boolean,
value: false
}
},
/**
* 组件的初始数据
*/
data: {
date: '2016-09-01'
},
/**
* 组件的方法列表
*/
methods: {
initDate: function initDate() {
var now = new Date();
var dateArray = [];
for (var i = 1; i < 16; i++) {
dateArray.push(new Date(new Date().setDate(now.getDate() + i)).format('yyyy-MM-dd'));
}
var hour = 9;
var hourList = [];
for (var _i = 0; _i < 8; _i++) {
var _hour = _i + hour < 10 ? '0' + (_i + hour) : _i + hour;
hourList.push(_hour);
}
this.setData({
dateArray: dateArray,
timeArray: [hourList, ['00', '30']]
});
}
},
lifetimes: {
attached: function attached() {
this.initDate();
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/DatePicker/index.js"],"names":["Component","properties","pickerShow","type","Boolean","value","data","date","methods","initDate","now","Date","dateArray","i","push","setDate","getDate","format","hour","hourList","_hour","setData","timeArray","lifetimes","attached"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACR;;;AAGAC,cAAY;AACVC,gBAAY;AACVC,YAAMC,OADI;AAEVC,aAAO;AAFG;AADF,GAJJ;;AAWR;;;AAGAC,QAAM;AACJC,UAAM;AADF,GAdE;;AAkBR;;;AAGAC,WAAS;AACPC,YADO,sBACI;AACT,UAAMC,MAAM,IAAIC,IAAJ,EAAZ;AACA,UAAMC,YAAY,EAAlB;AACA,WAAK,IAAIC,IAAI,CAAb,EAAgBA,IAAI,EAApB,EAAwBA,GAAxB,EAA6B;AAC3BD,kBAAUE,IAAV,CAAe,IAAIH,IAAJ,CAAS,IAAIA,IAAJ,GAAWI,OAAX,CAAmBL,IAAIM,OAAJ,KAAgBH,CAAnC,CAAT,EAAgDI,MAAhD,CAAuD,YAAvD,CAAf;AACD;AACD,UAAMC,OAAO,CAAb;AACA,UAAMC,WAAW,EAAjB;AACA,WAAK,IAAIN,KAAI,CAAb,EAAgBA,KAAI,CAApB,EAAuBA,IAAvB,EAA4B;AAC1B,YAAMO,QAAQP,KAAIK,IAAJ,GAAW,EAAX,UAAoBL,KAAIK,IAAxB,IAAiCL,KAAIK,IAAnD;AACAC,iBAASL,IAAT,CAAcM,KAAd;AACD;AACD,WAAKC,OAAL,CAAa;AACXT,4BADW;AAEXU,mBAAW,CAACH,QAAD,EAAW,CAAC,IAAD,EAAO,IAAP,CAAX;AAFA,OAAb;AAID;AAjBM,GArBD;AAwCRI,aAAW;AACTC,YADS,sBACE;AACT,WAAKf,QAAL;AACD;AAHQ;AAxCH,CAAV,E","file":"DatePicker\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 12);\n","Component({\n /**\n * 组件的属性列表\n */\n properties: {\n pickerShow: {\n type: Boolean,\n value: false,\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n date: '2016-09-01',\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n initDate() {\n const now = new Date()\n const dateArray = []\n for (let i = 1; i < 16; i++) {\n dateArray.push(new Date(new Date().setDate(now.getDate() + i)).format('yyyy-MM-dd'))\n }\n const hour = 9\n const hourList = []\n for (let i = 0; i < 8; i++) {\n const _hour = i + hour < 10 ? `0${i + hour}` : i + hour\n hourList.push(_hour)\n }\n this.setData({\n dateArray,\n timeArray: [hourList, ['00', '30']]\n })\n },\n },\n lifetimes: {\n attached() {\n this.initDate()\n }\n }\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<!-- <view wx:if="{{pickerShow}}" class="dialog_mask {{pickerShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="bindCancelDate"></view>
<view class="dialog_container">
<view class="header flex_scb">
<view class="cancle" bindtap="bindCancelDate">取消</view>
<view class="title">日期选择</view>
<view class="comfirm" bindtap="bindConfirmDate">确定</view>
</view>
<view class="main">
<picker mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
<view class="picker">
当前选择: {{date}}
</view>
</picker>
</view>
</view>
</view> -->
<picker wx:if="{{pickerShow}}" mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
<view class="picker">
当前选择: {{date}}
</view>
</picker>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 70%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main {
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
@font-face {
font-family: 'gl-iconfont';
src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAD5oAA0AAAAAhUAAAD4OAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACFSBEICoHoWIGzIguCMAABNgIkA4JEBCAFhSYHjgUbdGhVRmaMAwDs8LRGImzWXCXN/v+eoMYYPpQHoma2CZwQNk1kdkqjNEvLpNI82suMN5x0nslgi6XT/OrgfYHDBYALx/y47W1248QJ5lHYGpV/23t5EeHSEK2egW0jf5KTd3j+t/kHgYsgcIWLn4sgP8UfmHIRwTRQPqKBP8RPmpgG9lFLrdDaAvMzKO2jrkFr2dea2mq1tdQ2Xb0+m7S3rG21X7W33K/1ttqvvQ9WLVv37Nw+NUuIqTxK5GBBo/otKSuRlcMJiOhvv9ePIwoCCQMKNAq08Sa1BJLiJIGX51ULI3N7/F6bioGXRsj0+T8A4KU5LLWJHTA8EBw8g5zEq22V3Vg/ugEHCiCjz80H/qf5yfz/2lwlonVgZVh+4Wfk7Sx7uEiPSnKKDL1O/bu48w533uk82s121xgSSu1ssOnc/Ei/0u8NCZK4L0+ABMQj0yvQ7qwhwEQd+d8qINtKFLggF3Ej2LrC1EVdacefgmQnLQ8zwYQ8PRhKAKdVWnNJCXFYvgiwTca7htJ9bGzsTYX2/2/T3lZjR/sBHfRPxVQ0zE2D9Z37ZqQHMyPNjLweWG0seUGW1v9IowVJ3p9lR19eMIQIxtYHWSHJXg4SVuHT56THouYyZZo2PxWXddoybZYxrQvT1RYBcYGEpfe/j9gZyOm7gQrXmHom2rlsko5losaFivwDz5AKQqyp6lUC4RMKmxS2kwAAuDz45Hih7oUfLHwgGcllVCJFspDATV4X4Xg1AKEh4PYiMveoAr22xw3gfiBLaOu7X9VAa1Gy4hkwt2hRz10EJ+Ff0H2lOMGP6XhTcPA+gLsEWZeQMc4kLa98gsbPklFS299hK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WAAEABAAAAAIAAAAAeNpjYGBgZACCq0vUOUD0g0sndWA0AETrBvgAAA==') format('woff'), url('gl-iconfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
.gl-iconfont {
font-family: "gl-iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.gl-icon-the-refresh:before {
content: "\e700";
}
.gl-icon-home1:before {
content: "\e6fd";
}
.gl-icon-folder:before {
content: "\e6b5";
}
.gl-icon-font:before {
content: "\e6b1";
}
.gl-icon-html1:before {
content: "\e6b2";
}
.gl-icon-xml:before {
content: "\e6b3";
}
.gl-icon-pdf:before {
content: "\e6b4";
}
.gl-icon-lock:before {
content: "\e702";
}
.gl-icon-at1:before {
content: "\e6f6";
}
.gl-icon-pgs1:before {
content: "\e6b0";
}
.gl-icon-marketing-fill:before {
content: "\e6eb";
}
.gl-icon-on-the-left1:before {
content: "\e6af";
}
.gl-icon-board21:before {
content: "\e6dd";
}
.gl-icon-a-testcaselibrary1:before {
content: "\e6e2";
}
.gl-icon-combined-shape:before {
content: "\e767";
}
.gl-icon-doublearrow:before {
content: "\e768";
}
.gl-icon-questiontalk1:before {
content: "\e769";
}
.gl-icon-on-the-left:before {
content: "\e766";
}
.gl-icon-smallarrow-simple-up1:before {
content: "\e74f";
}
.gl-icon-task-created1:before {
content: "\e750";
}
.gl-icon-the-calendar:before {
content: "\e751";
}
.gl-icon-task-board:before {
content: "\e753";
}
.gl-icon-the-arrow:before {
content: "\e754";
}
.gl-icon-tick:before {
content: "\e755";
}
.gl-icon-state-check:before {
content: "\e756";
}
.gl-icon-tick2:before {
content: "\e757";
}
.gl-icon-star:before {
content: "\e758";
}
.gl-icon-the-sorting22:before {
content: "\e759";
}
.gl-icon-triangle-down:before {
content: "\e75b";
}
.gl-icon-triangle-left1:before {
content: "\e75c";
}
.gl-icon-warning1:before {
content: "\e75d";
}
.gl-icon-towards:before {
content: "\e75e";
}
.gl-icon-upload-file1:before {
content: "\e75f";
}
.gl-icon-video21:before {
content: "\e760";
}
.gl-icon-to-do:before {
content: "\e761";
}
.gl-icon-triangle-up:before {
content: "\e762";
}
.gl-icon-the-sorting1:before {
content: "\e763";
}
.gl-icon-warning-o:before {
content: "\e764";
}
.gl-icon-triangle-right:before {
content: "\e765";
}
.gl-icon-favorite1:before {
content: "\e6e3";
}
.gl-icon-headset:before {
content: "\e720";
}
.gl-icon-full-screen:before {
content: "\e721";
}
.gl-icon-headest-fill:before {
content: "\e722";
}
.gl-icon-filter:before {
content: "\e723";
}
.gl-icon-filter-tick:before {
content: "\e725";
}
.gl-icon-heart-o:before {
content: "\e726";
}
.gl-icon-flag:before {
content: "\e727";
}
.gl-icon-home-fill21:before {
content: "\e728";
}
.gl-icon-heart:before {
content: "\e729";
}
.gl-icon-more:before {
content: "\e72a";
}
.gl-icon-more-vertical:before {
content: "\e72c";
}
.gl-icon-mark-as-read1:before {
content: "\e72e";
}
.gl-icon-plus:before {
content: "\e730";
}
.gl-icon-leave1:before {
content: "\e731";
}
.gl-icon-link:before {
content: "\e732";
}
.gl-icon-org-user:before {
content: "\e733";
}
.gl-icon-lock-fill:before {
content: "\e734";
}
.gl-icon-icon-mute1:before {
content: "\e735";
}
.gl-icon-loading:before {
content: "\e736";
}
.gl-icon-a-smallarrow-simple-up2:before {
content: "\e737";
}
.gl-icon-microphone:before {
content: "\e738";
}
.gl-icon-pause:before {
content: "\e739";
}
.gl-icon-plus-fill:before {
content: "\e73a";
}
.gl-icon-picture1:before {
content: "\e73b";
}
.gl-icon-smallarrow-simple-down1:before {
content: "\e73c";
}
.gl-icon-repeat:before {
content: "\e73d";
}
.gl-icon-poweroff:before {
content: "\e73e";
}
.gl-icon-play:before {
content: "\e73f";
}
.gl-icon-right:before {
content: "\e740";
}
.gl-icon-scanning1:before {
content: "\e742";
}
.gl-icon-location:before {
content: "\e743";
}
.gl-icon-phone-o:before {
content: "\e744";
}
.gl-icon-inbox:before {
content: "\e745";
}
.gl-icon-projectid1:before {
content: "\e746";
}
.gl-icon-nav:before {
content: "\e747";
}
.gl-icon-print:before {
content: "\e748";
}
.gl-icon-pencil:before {
content: "\e749";
}
.gl-icon-search:before {
content: "\e74a";
}
.gl-icon-member-group:before {
content: "\e74b";
}
.gl-icon-remove:before {
content: "\e74c";
}
.gl-icon-qrcode:before {
content: "\e74d";
}
.gl-icon-fullday:before {
content: "\e74e";
}
.gl-icon-checkbox:before {
content: "\e6d9";
}
.gl-icon-add:before {
content: "\e6da";
}
.gl-icon-arrow-switch:before {
content: "\e6db";
}
.gl-icon-add-user:before {
content: "\e6dc";
}
.gl-icon-circle-info-o:before {
content: "\e6de";
}
.gl-icon-circle-arrow-up-o:before {
content: "\e6df";
}
.gl-icon-circle-arrow-left-o:before {
content: "\e6e0";
}
.gl-icon-created-fill:before {
content: "\e6e1";
}
.gl-icon-checkbox-ios-checked:before {
content: "\e6e4";
}
.gl-icon-calendar-tick:before {
content: "\e6e5";
}
.gl-icon-coupon:before {
content: "\e6e6";
}
.gl-icon-cog:before {
content: "\e6e7";
}
.gl-icon-circle-error-o:before {
content: "\e6e8";
}
.gl-icon-circle-info:before {
content: "\e6e9";
}
.gl-icon-envelope:before {
content: "\e6ea";
}
.gl-icon-copy:before {
content: "\e6f3";
}
.gl-icon-circle-plus1:before {
content: "\e6f4";
}
.gl-icon-circle-chevron-down-o:before {
content: "\e6f5";
}
.gl-icon-bookkeeping-logo:before {
content: "\e6f7";
}
.gl-icon-draggable:before {
content: "\e6f8";
}
.gl-icon-edit:before {
content: "\e6f9";
}
.gl-icon-circle-arrow-right-o:before {
content: "\e6fa";
}
.gl-icon-activity-fill:before {
content: "\e70d";
}
.gl-icon-custom-number:before {
content: "\e70e";
}
.gl-icon-favorite-fill:before {
content: "\e70f";
}
.gl-icon-error:before {
content: "\e710";
}
.gl-icon-bell-fill:before {
content: "\e711";
}
.gl-icon-circle-question:before {
content: "\e712";
}
.gl-icon-credit-card:before {
content: "\e713";
}
.gl-icon-correct:before {
content: "\e714";
}
.gl-icon-eye-fill:before {
content: "\e715";
}
.gl-icon-clock:before {
content: "\e716";
}
.gl-icon-eye-slash:before {
content: "\e717";
}
.gl-icon-circle-arrow-down-o:before {
content: "\e719";
}
.gl-icon-camera:before {
content: "\e71a";
}
.gl-icon-dig:before {
content: "\e71b";
}
.gl-icon-dig2:before {
content: "\e71c";
}
.gl-icon-circle-user-o:before {
content: "\e71d";
}
.gl-icon-eye:before {
content: "\e71e";
}
.gl-icon-custom-text1:before {
content: "\e71f";
}
.gl-icon-home-fill2:before {
content: "\e6c8";
}
.gl-icon-triangle-left:before {
content: "\e6ca";
}
.gl-icon-leave:before {
content: "\e6c9";
}
.gl-icon-projectid:before {
content: "\e6cb";
}
.gl-icon-upload-file:before {
content: "\e6cd";
}
.gl-icon-smallarrow-simple-down:before {
content: "\e6ce";
}
.gl-icon-warning:before {
content: "\e6cf";
}
.gl-icon-mark-as-read:before {
content: "\e6d1";
}
.gl-icon-icon-mute:before {
content: "\e6d2";
}
.gl-icon-picture:before {
content: "\e6d3";
}
.gl-icon-scanning:before {
content: "\e6d4";
}
.gl-icon-custom-text:before {
content: "\e6d5";
}
.gl-icon-smallarrow-simple-up:before {
content: "\e6d6";
}
.gl-icon-task-created:before {
content: "\e6d7";
}
.gl-icon-video2:before {
content: "\e6d8";
}
.gl-icon-activity:before {
content: "\e6fc";
}
.gl-icon-excel:before {
content: "\e701";
}
.gl-icon-photo:before {
content: "\e704";
}
.gl-icon-music:before {
content: "\e707";
}
.gl-icon-ppt:before {
content: "\e708";
}
.gl-icon-others:before {
content: "\e709";
}
.gl-icon-video:before {
content: "\e70a";
}
.gl-icon-zip:before {
content: "\e70b";
}
.gl-icon-salepre:before {
content: "\e6fb";
}
.gl-icon-equity:before {
content: "\e6fe";
}
.gl-icon-authorize:before {
content: "\e6ff";
}
.gl-icon-marketing:before {
content: "\e6f2";
}
.gl-icon-capital1:before {
content: "\e6a9";
}
.gl-icon-settings:before {
content: "\e6ec";
}
.gl-icon-home:before {
content: "\e6ed";
}
.gl-icon-outbound:before {
content: "\e6ee";
}
.gl-icon-custom:before {
content: "\e6ef";
}
.gl-icon-drainage:before {
content: "\e6f0";
}
.gl-icon-services:before {
content: "\e6f1";
}
.gl-icon-book:before {
content: "\e6b8";
}
.gl-icon-small-right:before {
content: "\e66a";
}
.gl-icon-small-up:before {
content: "\e66b";
}
.gl-icon-arrow-up:before {
content: "\e660";
}
.gl-icon-arrow-down:before {
content: "\e661";
}
.gl-icon-arrow-right:before {
content: "\e662";
}
.gl-icon-circle-plus:before {
content: "\e656";
}
.gl-icon-favorite:before {
content: "\e653";
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 15);
/******/ })
/************************************************************************/
/******/ ({
/***/ 15:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
externalClasses: ['icon-class-customer', 'dot-class-customer', 'info-class-customer'],
data: {},
properties: {
iconName: String,
fontSize: Number,
color: String,
info: null,
dot: Boolean
},
methods: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLIcon/index.js"],"names":["Component","externalClasses","data","properties","iconName","String","fontSize","Number","color","info","dot","Boolean","methods"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,qBAAD,EAAwB,oBAAxB,EAA8C,qBAA9C,CADT;AAERC,QAAM,EAFE;AAGRC,cAAY;AACVC,cAAUC,MADA;AAEVC,cAAUC,MAFA;AAGVC,WAAOH,MAHG;AAIVI,UAAM,IAJI;AAKVC,SAAKC;AALK,GAHJ;AAURC,WAAS;AAVD,CAAV,E","file":"GLIcon\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 15);\n","Component({\n externalClasses: ['icon-class-customer', 'dot-class-customer', 'info-class-customer'],\n data: {},\n properties: {\n iconName: String,\n fontSize: Number,\n color: String,\n info: null,\n dot: Boolean,\n },\n methods: {}\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"info": "../Info/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="{{iconName}} gl-iconfont icon-box icon-class-customer" style="font-size: {{fontSize+'rpx'}};color: {{color}};width: {{fontSize+'rpx'}}">
<block wx:if="{{info!==null || dot}}">
<info dot="{{dot}}" info="{{info}}" dot-class-customer="dot-class-customer" info-class-customer="info-class-customer"></info>
</block>
</view>
\ No newline at end of file \ No newline at end of file
@import './iconfont.wxss';
.icon-box {
position: relative;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 21);
/******/ })
/************************************************************************/
/******/ ({
/***/ 21:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
externalClasses: ['plat-num-item-customer'],
data: {},
properties: {
platObj: Object,
platNumberList: Array
},
methods: {
chooseLicensePlate: function chooseLicensePlate() {
this.triggerEvent('chooseLicensePlate');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLPlate/index.js"],"names":["Component","externalClasses","data","properties","platObj","Object","platNumberList","Array","methods","chooseLicensePlate","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,wBAAD,CADT;AAERC,QAAM,EAFE;AAGRC,cAAY;AACVC,aAASC,MADC;AAEVC,oBAAgBC;AAFN,GAHJ;AAORC,WAAS;AACPC,sBADO,gCACc;AACnB,WAAKC,YAAL,CAAkB,oBAAlB;AACD;AAHM;AAPD,CAAV,E","file":"GLPlate\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 21);\n","Component({\n externalClasses: ['plat-num-item-customer'],\n data: {},\n properties: {\n platObj: Object,\n platNumberList: Array\n },\n methods: {\n chooseLicensePlate() {\n this.triggerEvent('chooseLicensePlate')\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="value {{!platObj.platNumber?'placeholder-style':''}}" bindtap="chooseLicensePlate">
<!-- <block wx:if="{{platObj.platNumber}}">{{platObj.platPrefix || ''}}{{platObj.platNumber}}</block>
<block wx:else>请选择</block> -->
<view class="plat-num-box">
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '京' : platObj.platPrefix}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[0]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[1]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[2]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[3]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[4]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[5]}}</view>
<view class="plat-num-item plat-num-item-customer {{platNumberList.length <= 6 ? 'plat-num-placeholder' : ''}}">
{{platNumberList.length <= 6 ? '新能源' : platNumberList[6]}}
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.plat-num-box {
display: flex;
justify-content: space-between;
}
.plat-num-item {
box-sizing: border-box;
flex-shrink: 0;
text-align: center;
width: 60rpx;
height: 80rpx;
padding: 20rpx 16rpx;
background: rgba(50, 127, 250, 0.1);
border-radius: 8rpx;
border: 2rpx solid rgba(50, 127, 250, 0.15);
margin-right: 20rpx;
}
.plat-num-item:last-child {
background: #f3ffe7;
border: 2rpx solid #e0f8c9;
margin-right: 0;
}
.plat-num-placeholder {
font-size: 18rpx;
line-height: 40rpx;
padding: 20rpx 0;
color: #b1b1b3;
}
.placeholder-style {
color: #b1b1b3;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 20);
/******/ })
/************************************************************************/
/******/ ({
/***/ 20:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
data: {},
properties: {
popupShow: Boolean,
height: {
type: String,
value: '70%'
}
},
options: {
multipleSlots: true // 复数插槽: 是
},
methods: {
// 关闭弹窗
close: function close() {
this.triggerEvent('closePopup');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLPopup/index.js"],"names":["Component","data","properties","popupShow","Boolean","height","type","String","value","options","multipleSlots","methods","close","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,QAAM,EADE;AAERC,cAAY;AACVC,eAAWC,OADD;AAEVC,YAAQ;AACNC,YAAMC,MADA;AAENC,aAAO;AAFD;AAFE,GAFJ;AASRC,WAAS;AACPC,mBAAe,IADR,CACa;AADb,GATD;AAYRC,WAAS;AACP;AACAC,SAFO,mBAEC;AACN,WAAKC,YAAL,CAAkB,YAAlB;AACD;AAJM;AAZD,CAAV,E","file":"GLPopup\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 20);\n","Component({\n data: {},\n properties: {\n popupShow: Boolean,\n height: {\n type: String,\n value: '70%',\n }\n },\n options: {\n multipleSlots: true // 复数插槽: 是\n },\n methods: {\n // 关闭弹窗\n close() {\n this.triggerEvent('closePopup')\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{popupShow}}" class="dialog_mask {{popupShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="close"></view>
<view class="dialog_container" style="height:{{ height }}">
<view class="header flex_scb">
<slot name="left-widget"></slot>
<slot name="title"></slot>
<slot name="right-widget"></slot>
</view>
<view class="main">
<slot name="body"></slot>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main {
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 22);
/******/ })
/************************************************************************/
/******/ ({
/***/ 22:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
data: {
deactiveStyle: {},
activeStyle: {},
tabActive: 0
},
properties: {
tabObj: {
type: Object,
value: {},
observer: function observer(n) {
this.setData({
deactiveStyle: n.mainStyle.deactiveClass,
activeStyle: n.mainStyle.activeClass
});
}
}
},
methods: {
changeTab: function changeTab(e) {
console.log(e);
this.setData({
tabActive: e.currentTarget.dataset.index
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLTab/index.js"],"names":["Component","data","deactiveStyle","activeStyle","tabActive","properties","tabObj","type","Object","value","observer","n","setData","mainStyle","deactiveClass","activeClass","methods","changeTab","e","console","log","currentTarget","dataset","index"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,QAAM;AACJC,mBAAe,EADX;AAEJC,iBAAa,EAFT;AAGJC,eAAW;AAHP,GADE;AAMRC,cAAY;AACVC,YAAQ;AACNC,YAAMC,MADA;AAENC,aAAO,EAFD;AAGNC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKC,OAAL,CAAa;AACXV,yBAAeS,EAAEE,SAAF,CAAYC,aADhB;AAEXX,uBAAaQ,EAAEE,SAAF,CAAYE;AAFd,SAAb;AAID;AARK;AADE,GANJ;AAkBRC,WAAS;AACPC,aADO,qBACGC,CADH,EACM;AACXC,cAAQC,GAAR,CAAYF,CAAZ;AACA,WAAKN,OAAL,CAAa;AACXR,mBAAWc,EAAEG,aAAF,CAAgBC,OAAhB,CAAwBC;AADxB,OAAb;AAGD;AANM;AAlBD,CAAV,E","file":"GLTab\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 22);\n","Component({\n data: {\n deactiveStyle: {},\n activeStyle: {},\n tabActive: 0\n },\n properties: {\n tabObj: {\n type: Object,\n value: {},\n observer: function (n) {\n this.setData({\n deactiveStyle: n.mainStyle.deactiveClass,\n activeStyle: n.mainStyle.activeClass\n })\n },\n }\n },\n methods: {\n changeTab(e) {\n console.log(e);\n this.setData({\n tabActive: e.currentTarget.dataset.index\n })\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="tab-box" style="justify-content: {{tabObj.mainStyle.flexClass}}">
<block wx:for="{{tabObj.tabList}}" wx:key="index">
<view style="font-size: {{index == tabActive? activeStyle.fontSize+'rpx':deactiveStyle.fontSize+'rpx'}};color: {{index == tabActive? activeStyle.color:deactiveStyle.color}}; font-weight: {{index == tabActive? activeStyle.fontWeight:deactiveStyle.fontWeight}}" bind:tap="changeTab" data-index="{{index}}">
{{item.name}}{{index}}
</view>
</block>
</view>
\ No newline at end of file \ No newline at end of file
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 17);
/******/ })
/************************************************************************/
/******/ ({
/***/ 17:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _WxValidate = __webpack_require__(18);
var _WxValidate2 = _interopRequireDefault(_WxValidate);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var utils = __webpack_require__(19); /*
* @Description: 表单框架
* @Author: huyue
* @Date: 2023-04-28 16:19:53
* @LastEditors: huyue
* @LastEditTime: 2023-08-10 16:54:00
*/
Component({
externalClasses: ['switch-active-class', 'switch-class', 'switch-item-class', 'lable-class'],
options: {
multipleSlots: true // 复数插槽: 是
},
data: {
formDataObj: {},
formDataList: []
},
properties: {
/**
* formObj:表单数据绑定的对象
*/
formObj: {
type: Object,
value: {},
observer: function observer(n) {
this.setData({
formDataObj: n
});
}
},
/**
* formData:表单配置数据
*/
formData: {
type: Array,
value: [],
observer: function observer(n) {
console.log(n);
this.initValidate(n);
this.setData({
formDataList: n
});
}
},
/**
* inline:表单配置是否一行展示
*/
inline: {
type: Boolean,
value: true
},
/**
* themeStyle: 主题样式
*/
themeStyle: {
type: String,
value: '#3582EE'
},
textPostion: {
type: String,
value: 'right'
}
},
methods: {
// 初始化选项值
getOptionsList: function getOptionsList(optionList, refreshSigle) {
var _this = this;
console.log(optionList, refreshSigle);
if (refreshSigle) {
var _setData;
// 深拷贝传值
var cloneList = utils.deepClone(optionList[refreshSigle]);
var index = this.data.formDataList.findIndex(function (k) {
return k.name === refreshSigle;
});
this.setData((_setData = {}, _setData['formDataList[' + index + '].valueList'] = cloneList, _setData));
} else {
this.data.formDataList.forEach(function (item, index) {
if (optionList[item.name] && optionList[item.name].length) {
var _this$setData;
// 深拷贝传值
var _cloneList = utils.deepClone(optionList[item.name]);
_this.setData((_this$setData = {}, _this$setData['formDataList[' + index + '].valueList'] = _cloneList, _this$setData));
}
});
console.log(this.data.formDataList, '===');
}
},
// 表单验证规则
initValidate: function initValidate(obj) {
var rules = {};
// const messages = {}
obj.forEach(function (item) {
if (item.rules) {
rules[item.name] = item.rules;
// messages[item.name] = {
// required: item.rulesMessage || '请输入' + item.lable
// }
}
});
console.log(rules);
// console.log(messages);
this.WxValidate = new _WxValidate2.default(rules);
},
// 获取GlsxFormItem的值
getFormItemValue: function getFormItemValue(e) {
var _setData3;
// const value = this.selectComponent('#GlsxFormItem').formDataObj
console.log(e);
var _e$detail = e.detail,
name = _e$detail.name,
value = _e$detail.value,
type = _e$detail.type;
if (type === 'muiltiImg') {
var _setData2;
this.data.formDataObj[name].splice(value, 1);
this.setData((_setData2 = {}, _setData2['formDataObj.' + name] = this.data.formDataObj[name], _setData2));
return;
}
this.setData((_setData3 = {}, _setData3['formDataObj.' + name] = value, _setData3));
// 加change事件,告知表单项变化
this.triggerEvent('changeFormItem', e.detail);
},
// 验证表单数据
// eslint-disable-next-line consistent-return
validateFormData: function validateFormData() {
var params = this.data.formDataObj;
if (!this.WxValidate.checkForm(params)) {
var error = this.WxValidate.errorList;
return error;
}
},
// 返回formObj的值
returnFormObj: function returnFormObj() {
return this.data.formDataObj;
},
// select事件
customClick: function customClick(e) {
var clickName = e.detail + 'Click';
console.log(clickName);
this.triggerEvent(clickName, e.detail);
}
},
// 组件页面生周期
lifetimes: {
created: function created() {
// 在组件实例刚刚被创建时执行
// 初始化验证规则函数
this.initValidate();
}
}
});
/***/ }),
/***/ 18:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/**
* 表单验证
*
* @param {Object} rules 验证字段的规则
* @param {Object} messages 验证字段的提示信息
*
*/
var WxValidate = function () {
function WxValidate() {
var rules = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
_classCallCheck(this, WxValidate);
Object.assign(this, {
data: {},
rules: rules,
messages: messages
});
this.__init();
}
/**
* __init
*/
WxValidate.prototype.__init = function __init() {
this.__initMethods();
this.__initDefaults();
this.__initData();
};
/**
* 初始化数据
*/
WxValidate.prototype.__initData = function __initData() {
this.form = {};
this.errorList = [];
};
/**
* 初始化默认提示信息
*/
WxValidate.prototype.__initDefaults = function __initDefaults() {
this.defaults = {
messages: {
required: '这是必填字段。',
email: '请输入有效的电子邮件地址。',
tel: '请输入11位的手机号码。',
url: '请输入有效的网址。',
date: '请输入有效的日期。',
dateISO: '请输入有效的日期(ISO),例如:2009-06-23,1998/01/22。',
number: '请输入有效的数字。',
digits: '只能输入数字。',
idcard: '请输入18位的有效身份证。',
equalTo: this.formatTpl('输入值必须和 {0} 相同。'),
contains: this.formatTpl('输入值必须包含 {0}。'),
minlength: this.formatTpl('最少要输入 {0} 个字符。'),
maxlength: this.formatTpl('最多可以输入 {0} 个字符。'),
rangelength: this.formatTpl('请输入长度在 {0} 到 {1} 之间的字符。'),
min: this.formatTpl('请输入不小于 {0} 的数值。'),
max: this.formatTpl('请输入不大于 {0} 的数值。'),
range: this.formatTpl('请输入范围在 {0} 到 {1} 之间的数值。')
}
};
};
/**
* 初始化默认验证方法
*/
WxValidate.prototype.__initMethods = function __initMethods() {
var that = this;
that.methods = {
/**
* 验证必填元素
*/
required: function required(value, param) {
if (!that.depend(param)) {
return 'dependency-mismatch';
} else if (typeof value === 'number') {
value = value.toString();
} else if (typeof value === 'boolean') {
return !0;
}
return value.length > 0;
},
/**
* 验证电子邮箱格式
*/
email: function email(value) {
return that.optional(value) ||
// eslint-disable-next-line no-useless-escape
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(value);
},
/**
* 验证手机格式
*/
tel: function tel(value) {
return that.optional(value) || /^((0\d{2,3}-\d{7,8})|(1[3456789]\d{9}))$/.test(value);
},
/**
* 验证URL格式
*/
url: function url(value) {
return that.optional(value) ||
// eslint-disable-next-line max-len
/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(value);
},
/**
* 验证日期格式
*/
date: function date(value) {
return that.optional(value) || !/Invalid|NaN/.test(new Date(value).toString());
},
/**
* 验证ISO类型的日期格式
*/
dateISO: function dateISO(value) {
return that.optional(value) ||
// eslint-disable-next-line no-useless-escape
/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
},
/**
* 验证十进制数字
*/
number: function number(value) {
return that.optional(value) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(value);
},
/**
* 验证整数
*/
digits: function digits(value) {
return that.optional(value) || /^\d+$/.test(value);
},
/**
* 验证身份证号码
*/
idcard: function idcard(value) {
return that.optional(value) || /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(value);
},
/**
* 验证两个输入框的内容是否相同
*/
equalTo: function equalTo(value, param) {
return that.optional(value) || value === that.data[param];
},
/**
* 验证是否包含某个值
*/
contains: function contains(value, param) {
return that.optional(value) || value.indexOf(param) >= 0;
},
/**
* 验证最小长度
*/
minlength: function minlength(value, param) {
return that.optional(value) || value.length >= param;
},
/**
* 验证最大长度
*/
maxlength: function maxlength(value, param) {
return that.optional(value) || value.length <= param;
},
/**
* 验证一个长度范围[min, max]
*/
rangelength: function rangelength(value, param) {
return that.optional(value) || value.length >= param[0] && value.length <= param[1];
},
/**
* 验证最小值
*/
min: function min(value, param) {
return that.optional(value) || value >= param;
},
/**
* 验证最大值
*/
max: function max(value, param) {
return that.optional(value) || value <= param;
},
/**
* 验证一个值范围[min, max]
*/
range: function range(value, param) {
return that.optional(value) || value >= param[0] && value <= param[1];
}
};
};
/**
* 添加自定义验证方法
* @param {String} name 方法名
* @param {Function} method 函数体,接收两个参数(value, param),value表示元素的值,param表示参数
* @param {String} message 提示信息
*/
WxValidate.prototype.addMethod = function addMethod(name, method, message) {
this.methods[name] = method;
this.defaults.messages[name] = message !== undefined ? message : this.defaults.messages[name];
};
/**
* 判断验证方法是否存在
*/
WxValidate.prototype.isValidMethod = function isValidMethod(value) {
var methods = [];
for (var method in this.methods) {
if (method && typeof this.methods[method] === 'function') {
methods.push(method);
}
}
return methods.indexOf(value) !== -1;
};
/**
* 格式化提示信息模板
*/
WxValidate.prototype.formatTpl = function formatTpl(source, params) {
var that = this;
if (arguments.length === 1) {
return function () {
// eslint-disable-next-line prefer-rest-params
var args = Array.from(arguments);
args.unshift(source);
return that.formatTpl.apply(this, args);
};
}
if (params === undefined) {
return source;
}
if (arguments.length > 2 && params.constructor !== Array) {
// eslint-disable-next-line prefer-rest-params
params = Array.from(arguments).slice(1);
}
if (params.constructor !== Array) {
params = [params];
}
params.forEach(function (n, i) {
source = source.replace(new RegExp('\\{' + i + '\\}', 'g'), function () {
return n;
});
});
return source;
};
/**
* 判断规则依赖是否存在
*/
// eslint-disable-next-line class-methods-use-this
WxValidate.prototype.depend = function depend(param) {
switch (typeof param === 'undefined' ? 'undefined' : _typeof(param)) {
case 'boolean':
// eslint-disable-next-line no-self-assign
param = param;
break;
case 'string':
param = !!param.length;
break;
case 'function':
param = param();
// eslint-disable-next-line no-fallthrough
default:
param = !0;
}
return param;
};
/**
* 判断输入值是否为空
*/
WxValidate.prototype.optional = function optional(value) {
return !this.methods.required(value) && 'dependency-mismatch';
};
/**
* 获取自定义字段的提示信息
* @param {String} param 字段名
* @param {Object} rule 规则
*/
// eslint-disable-next-line consistent-return
WxValidate.prototype.customMessage = function customMessage(param, rule) {
var params = this.messages[param];
var isObject = (typeof params === 'undefined' ? 'undefined' : _typeof(params)) === 'object';
if (params && isObject) return params[rule.method];
};
/**
* 获取某个指定字段的提示信息
* @param {String} param 字段名
* @param {Object} rule 规则
*/
WxValidate.prototype.defaultMessage = function defaultMessage(param, rule) {
var message = this.customMessage(param, rule) || this.defaults.messages[rule.method];
var type = typeof message === 'undefined' ? 'undefined' : _typeof(message);
if (type === 'undefined') {
message = 'Warning: No message defined for ' + rule.method + '.';
} else if (type === 'function') {
message = message.call(this, rule.parameters);
}
return message;
};
/**
* 缓存错误信息
* @param {String} param 字段名
* @param {Object} rule 规则
* @param {String} value 元素的值
*/
WxValidate.prototype.formatTplAndAdd = function formatTplAndAdd(param, rule, value) {
var msg = this.defaultMessage(param, rule);
this.errorList.push({
param: param,
msg: msg,
value: value
});
};
/**
* 验证某个指定字段的规则
* @param {String} param 字段名
* @param {Object} rules 规则
* @param {Object} data 需要验证的数据对象
*/
WxValidate.prototype.checkParam = function checkParam(param, rules, data) {
// 缓存数据对象
this.data = data;
// 缓存字段对应的值
var value = data[param] !== null && data[param] !== undefined ? data[param] : '';
// 遍历某个指定字段的所有规则,依次验证规则,否则缓存错误信息
for (var method in rules) {
// 判断验证方法是否存在
if (this.isValidMethod(method)) {
// 缓存规则的属性及值
var rule = {
method: method,
parameters: rules[method]
};
// 调用验证方法
var result = this.methods[method](value, rule.parameters);
// 若result返回值为dependency-mismatch,则说明该字段的值为空或非必填字段
if (result === 'dependency-mismatch') {
continue;
}
this.setValue(param, method, result, value);
// 判断是否通过验证,否则缓存错误信息,跳出循环
if (!result) {
this.formatTplAndAdd(param, rule, value);
break;
}
}
}
};
/**
* 设置字段的默认验证值
* @param {String} param 字段名
*/
WxValidate.prototype.setView = function setView(param) {
this.form[param] = {
$name: param,
$valid: true,
$invalid: false,
$error: {},
$success: {},
// eslint-disable-next-line quotes
$viewValue: ''
};
};
/**
* 设置字段的验证值
* @param {String} param 字段名
* @param {String} method 字段的方法
* @param {Boolean} result 是否通过验证
* @param {String} value 字段的值
*/
WxValidate.prototype.setValue = function setValue(param, method, result, value) {
var params = this.form[param];
params.$valid = result;
params.$invalid = !result;
params.$error[method] = !result;
params.$success[method] = result;
params.$viewValue = value;
};
/**
* 验证所有字段的规则,返回验证是否通过
* @param {Object} data 需要验证数据对象
*/
WxValidate.prototype.checkForm = function checkForm(data) {
this.__initData();
// eslint-disable-next-line guard-for-in
for (var param in this.rules) {
this.setView(param);
this.checkParam(param, this.rules[param], data);
}
return this.valid();
};
/**
* 返回验证是否通过
*/
WxValidate.prototype.valid = function valid() {
return this.size() === 0;
};
/**
* 返回错误信息的个数
*/
WxValidate.prototype.size = function size() {
return this.errorList.length;
};
/**
* 返回所有错误信息
*/
WxValidate.prototype.validationErrors = function validationErrors() {
return this.errorList;
};
return WxValidate;
}();
exports.default = WxValidate;
/***/ }),
/***/ 19:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
module.exports = {
getFlag: function getFlag() {
return true;
},
deepClone: function deepClone(target) {
var map = new WeakMap();
function isObject(target) {
return (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target || typeof target === 'function';
}
function clone(data) {
if (!isObject(data)) {
return data;
}
if ([Date, RegExp].includes(data.constructor)) {
return new data.constructor(data);
}
if (typeof data === 'function') {
// eslint-disable-next-line no-new-func
return new Function('return ' + data.toString())();
}
var exist = map.get(data);
if (exist) {
return exist;
}
if (data instanceof Map) {
var _result = new Map();
map.set(data, _result);
data.forEach(function (val, key) {
if (isObject(val)) {
_result.set(key, clone(val));
} else {
_result.set(key, val);
}
});
return _result;
}
if (data instanceof Set) {
var _result2 = new Set();
map.set(data, _result2);
data.forEach(function (val) {
if (isObject(val)) {
_result2.add(clone(val));
} else {
_result2.add(val);
}
});
return _result2;
}
var keys = Reflect.ownKeys(data);
var allDesc = Object.getOwnPropertyDescriptors(data);
var result = Object.create(Object.getPrototypeOf(data), allDesc);
map.set(data, result);
keys.forEach(function (key) {
var val = data[key];
if (isObject(val)) {
result[key] = clone(val);
} else {
result[key] = val;
}
});
return result;
}
return clone(target);
}
};
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GlsxForm/index.js","webpack:///./src/WxValidate.js","webpack:///./src/utils.js"],"names":["utils","require","Component","externalClasses","options","multipleSlots","data","formDataObj","formDataList","properties","formObj","type","Object","value","observer","n","setData","formData","Array","console","log","initValidate","inline","Boolean","themeStyle","String","textPostion","methods","getOptionsList","optionList","refreshSigle","cloneList","deepClone","index","findIndex","k","name","forEach","item","length","obj","rules","WxValidate","getFormItemValue","e","detail","splice","triggerEvent","validateFormData","params","checkForm","error","errorList","returnFormObj","customClick","clickName","lifetimes","created","messages","assign","__init","__initMethods","__initDefaults","__initData","form","defaults","required","email","tel","url","date","dateISO","number","digits","idcard","equalTo","formatTpl","contains","minlength","maxlength","rangelength","min","max","range","that","param","depend","toString","optional","test","Date","indexOf","addMethod","method","message","undefined","isValidMethod","push","source","arguments","args","from","unshift","apply","constructor","slice","i","replace","RegExp","customMessage","rule","isObject","defaultMessage","call","parameters","formatTplAndAdd","msg","checkParam","result","setValue","setView","$name","$valid","$invalid","$error","$success","$viewValue","valid","size","validationErrors","module","exports","getFlag","target","map","WeakMap","clone","includes","Function","exist","get","Map","set","val","key","Set","add","keys","Reflect","ownKeys","allDesc","getOwnPropertyDescriptors","create","getPrototypeOf"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AC3EA;;;;;;AAEA,IAAMA,QAAQC,mBAAOA,CAACA,EAAUA,CAAhC,C,CATA;;;;;;;;;AAWAC,UAAU;AACRC,mBAAiB,CACf,qBADe,EAEf,cAFe,EAGf,mBAHe,EAIf,aAJe,CADT;AAORC,WAAS;AACPC,mBAAe,IADR,CACc;AADd,GAPD;AAURC,QAAM;AACJC,iBAAa,EADT;AAEJC,kBAAc;AAFV,GAVE;AAcRC,cAAY;AACV;;;AAGAC,aAAS;AACPC,YAAMC,MADC;AAEPC,aAAO,EAFA;AAGPC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKC,OAAL,CAAa;AACXT,uBAAaQ;AADF,SAAb;AAGD;AAPM,KAJC;AAaV;;;AAGAE,cAAU;AACRN,YAAMO,KADE;AAERL,aAAO,EAFC;AAGRC,gBAAU,kBAAUC,CAAV,EAAa;AACrBI,gBAAQC,GAAR,CAAYL,CAAZ;AACA,aAAKM,YAAL,CAAkBN,CAAlB;AACA,aAAKC,OAAL,CAAa;AACXR,wBAAcO;AADH,SAAb;AAGD;AATO,KAhBA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AAM0G,MAAMzI,KAAK0I,GAAL,CAAZ;AACA,YAAIjC,SAASgC,GAAT,CAAJ,EAAmB;AACjBzB,iBAAO0B,GAAP,IAAcR,MAAMO,GAAN,CAAd;AACD,SAFD,MAEO;AACLzB,iBAAO0B,GAAP,IAAcD,GAAd;AACD;AACF,OAPD;AAQA,aAAOzB,MAAP;AACD;AACD,WAAOkB,MAAMH,MAAN,CAAP;AACD;AA/Dc,CAAjB,C","file":"GlsxForm\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 17);\n","/*\n * @Description: 表单框架\n * @Author: huyue\n * @Date: 2023-04-28 16:19:53\n * @LastEditors: huyue\n * @LastEditTime: 2023-08-10 16:54:00\n */\nimport WxValidate from '../WxValidate';\n\nconst utils = require('../utils');\n\nComponent({\n externalClasses: [\n 'switch-active-class',\n 'switch-class',\n 'switch-item-class',\n 'lable-class',\n ],\n options: {\n multipleSlots: true, // 复数插槽: 是\n },\n data: {\n formDataObj: {},\n formDataList: [],\n },\n properties: {\n /**\n * formObj:表单数据绑定的对象\n */\n formObj: {\n type: Object,\n value: {},\n observer: function (n) {\n this.setData({\n formDataObj: n,\n });\n },\n },\n /**\n * formData:表单配置数据\n */\n formData: {\n type: Array,\n value: [],\n observer: function (n) {\n console.log(n);\n this.initValidate(n);\n this.setData({\n formDataList: n,\n });\n },\n },\n /**\n * inline:表单配置是否一行展示\n */\n inline: {\n type: Boolean,\n value: true,\n },\n /**\n * themeStyle: 主题样式\n */\n themeStyle: {\n type: String,\n value: '#3582EE'\n },\n textPostion: {\n type: String,\n value: 'right'\n }\n },\n methods: {\n // 初始化选项值\n getOptionsList(optionList, refreshSigle) {\n console.log(optionList, refreshSigle);\n if (refreshSigle) {\n // 深拷贝传值\n const cloneList = utils.deepClone(optionList[refreshSigle]);\n const index = this.data.formDataList.findIndex(\n (k) => k.name === refreshSigle\n );\n\n this.setData({\n [`formDataList[${index}].valueList`]: cloneList,\n });\n } else {\n this.data.formDataList.forEach((item, index) => {\n if (optionList[item.name] && optionList[item.name].length) {\n // 深拷贝传值\n const cloneList = utils.deepClone(optionList[item.name]);\n this.setData({\n [`formDataList[${index}].valueList`]: cloneList,\n });\n }\n });\n console.log(this.data.formDataList, '===');\n }\n },\n // 表单验证规则\n initValidate(obj) {\n const rules = {};\n // const messages = {}\n obj.forEach((item) => {\n if (item.rules) {\n rules[item.name] = item.rules;\n // messages[item.name] = {\n // required: item.rulesMessage || '请输入' + item.lable\n // }\n }\n });\n console.log(rules);\n // console.log(messages);\n this.WxValidate = new WxValidate(rules);\n },\n // 获取GlsxFormItem的值\n getFormItemValue(e) {\n // const value = this.selectComponent('#GlsxFormItem').formDataObj\n console.log(e);\n const {name, value, type} = e.detail;\n if (type === 'muiltiImg') {\n this.data.formDataObj[name].splice(value, 1)\n this.setData({\n [`formDataObj.${name}`]: this.data.formDataObj[name],\n })\n return\n }\n this.setData({\n [`formDataObj.${name}`]: value,\n })\n // 加change事件,告知表单项变化\n this.triggerEvent('changeFormItem', e.detail)\n },\n // 验证表单数据\n // eslint-disable-next-line consistent-return\n validateFormData() {\n const params = this.data.formDataObj;\n if (!this.WxValidate.checkForm(params)) {\n const error = this.WxValidate.errorList;\n return error;\n }\n },\n // 返回formObj的值\n returnFormObj() {\n return this.data.formDataObj;\n },\n // select事件\n customClick(e) {\n const clickName = e.detail + 'Click';\n console.log(clickName);\n this.triggerEvent(clickName, e.detail);\n }\n },\n // 组件页面生周期\n lifetimes: {\n created: function () {\n // 在组件实例刚刚被创建时执行\n // 初始化验证规则函数\n this.initValidate();\n },\n },\n});\n","/**\n * 表单验证\n *\n * @param {Object} rules 验证字段的规则\n * @param {Object} messages 验证字段的提示信息\n *\n */\nclass WxValidate {\n constructor(rules = {}, messages = {}) {\n Object.assign(this, {\n data: {},\n rules,\n messages,\n });\n this.__init();\n }\n\n /**\n * __init\n */\n __init() {\n this.__initMethods();\n this.__initDefaults();\n this.__initData();\n }\n\n /**\n * 初始化数据\n */\n __initData() {\n this.form = {};\n this.errorList = [];\n }\n\n /**\n * 初始化默认提示信息\n */\n __initDefaults() {\n this.defaults = {\n messages: {\n required: '这是必填字段。',\n email: '请输入有效的电子邮件地址。',\n tel: '请输入11位的手机号码。',\n url: '请输入有效的网址。',\n date: '请输入有效的日期。',\n dateISO: '请输入有效的日期(ISO),例如:2009-06-23,1998/01/22。',\n number: '请输入有效的数字。',\n digits: '只能输入数字。',\n idcard: '请输入18位的有效身份证。',\n equalTo: this.formatTpl('输入值必须和 {0} 相同。'),\n contains: this.formatTpl('输入值必须包含 {0}。'),\n minlength: this.formatTpl('最少要输入 {0} 个字符。'),\n maxlength: this.formatTpl('最多可以输入 {0} 个字符。'),\n rangelength: this.formatTpl('请输入长度在 {0} 到 {1} 之间的字符。'),\n min: this.formatTpl('请输入不小于 {0} 的数值。'),\n max: this.formatTpl('请输入不大于 {0} 的数值。'),\n range: this.formatTpl('请输入范围在 {0} 到 {1} 之间的数值。'),\n },\n };\n }\n\n /**\n * 初始化默认验证方法\n */\n __initMethods() {\n const that = this;\n that.methods = {\n /**\n * 验证必填元素\n */\n required(value, param) {\n if (!that.depend(param)) {\n return 'dependency-mismatch';\n } else if (typeof value === 'number') {\n value = value.toString();\n } else if (typeof value === 'boolean') {\n return !0;\n }\n\n return value.length > 0;\n },\n /**\n * 验证电子邮箱格式\n */\n email(value) {\n return (\n that.optional(value) ||\n // eslint-disable-next-line no-useless-escape\n /^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(\n value\n )\n );\n },\n /**\n * 验证手机格式\n */\n tel(value) {\n return (\n that.optional(value) ||\n /^((0\\d{2,3}-\\d{7,8})|(1[3456789]\\d{9}))$/.test(value)\n );\n },\n /**\n * 验证URL格式\n */\n url(value) {\n return (\n that.optional(value) ||\n // eslint-disable-next-line max-len\n /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})).?)(?::\\d{2,5})?(?:[/?#]\\S*)?$/i.test(\n value\n )\n );\n },\n /**\n * 验证日期格式\n */\n date(value) {\n return (\n that.optional(value) ||\n !/Invalid|NaN/.test(new Date(value).toString())\n );\n },\n /**\n * 验证ISO类型的日期格式\n */\n dateISO(value) {\n return (\n that.optional(value) ||\n // eslint-disable-next-line no-useless-escape\n /^\\d{4}[\\/\\-](0?[1-9]|1[012])[\\/\\-](0?[1-9]|[12][0-9]|3[01])$/.test(\n value\n )\n );\n },\n /**\n * 验证十进制数字\n */\n number(value) {\n return (\n that.optional(value) ||\n /^(?:-?\\d+|-?\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$/.test(value)\n );\n },\n /**\n * 验证整数\n */\n digits(value) {\n return that.optional(value) || /^\\d+$/.test(value);\n },\n /**\n * 验证身份证号码\n */\n idcard(value) {\n return (\n that.optional(value) ||\n /^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9]|X)$/.test(\n value\n )\n );\n },\n /**\n * 验证两个输入框的内容是否相同\n */\n equalTo(value, param) {\n return that.optional(value) || value === that.data[param];\n },\n /**\n * 验证是否包含某个值\n */\n contains(value, param) {\n return that.optional(value) || value.indexOf(param) >= 0;\n },\n /**\n * 验证最小长度\n */\n minlength(value, param) {\n return that.optional(value) || value.length >= param;\n },\n /**\n * 验证最大长度\n */\n maxlength(value, param) {\n return that.optional(value) || value.length <= param;\n },\n /**\n * 验证一个长度范围[min, max]\n */\n rangelength(value, param) {\n return (\n that.optional(value) ||\n (value.length >= param[0] && value.length <= param[1])\n );\n },\n /**\n * 验证最小值\n */\n min(value, param) {\n return that.optional(value) || value >= param;\n },\n /**\n * 验证最大值\n */\n max(value, param) {\n return that.optional(value) || value <= param;\n },\n /**\n * 验证一个值范围[min, max]\n */\n range(value, param) {\n return that.optional(value) || (value >= param[0] && value <= param[1]);\n },\n };\n }\n\n /**\n * 添加自定义验证方法\n * @param {String} name 方法名\n * @param {Function} method 函数体,接收两个参数(value, param),value表示元素的值,param表示参数\n * @param {String} message 提示信息\n */\n addMethod(name, method, message) {\n this.methods[name] = method;\n this.defaults.messages[name] =\n message !== undefined ? message : this.defaults.messages[name];\n }\n\n /**\n * 判断验证方法是否存在\n */\n isValidMethod(value) {\n const methods = [];\n for (const method in this.methods) {\n if (method && typeof this.methods[method] === 'function') {\n methods.push(method);\n }\n }\n return methods.indexOf(value) !== -1;\n }\n\n /**\n * 格式化提示信息模板\n */\n formatTpl(source, params) {\n const that = this;\n if (arguments.length === 1) {\n return function () {\n // eslint-disable-next-line prefer-rest-params\n const args = Array.from(arguments);\n args.unshift(source);\n return that.formatTpl.apply(this, args);\n };\n }\n if (params === undefined) {\n return source;\n }\n if (arguments.length > 2 && params.constructor !== Array) {\n // eslint-disable-next-line prefer-rest-params\n params = Array.from(arguments).slice(1);\n }\n if (params.constructor !== Array) {\n params = [params];\n }\n params.forEach(function (n, i) {\n source = source.replace(new RegExp('\\\\{' + i + '\\\\}', 'g'), function () {\n return n;\n });\n });\n return source;\n }\n\n /**\n * 判断规则依赖是否存在\n */\n // eslint-disable-next-line class-methods-use-this\n depend(param) {\n switch (typeof param) {\n case 'boolean':\n // eslint-disable-next-line no-self-assign\n param = param;\n break;\n case 'string':\n param = !!param.length;\n break;\n case 'function':\n param = param();\n // eslint-disable-next-line no-fallthrough\n default:\n param = !0;\n }\n return param;\n }\n\n /**\n * 判断输入值是否为空\n */\n optional(value) {\n return !this.methods.required(value) && 'dependency-mismatch';\n }\n\n /**\n * 获取自定义字段的提示信息\n * @param {String} param 字段名\n * @param {Object} rule 规则\n */\n // eslint-disable-next-line consistent-return\n customMessage(param, rule) {\n const params = this.messages[param];\n const isObject = typeof params === 'object';\n if (params && isObject) return params[rule.method];\n }\n\n /**\n * 获取某个指定字段的提示信息\n * @param {String} param 字段名\n * @param {Object} rule 规则\n */\n defaultMessage(param, rule) {\n let message =\n this.customMessage(param, rule) || this.defaults.messages[rule.method];\n const type = typeof message;\n\n if (type === 'undefined') {\n message = `Warning: No message defined for ${rule.method}.`;\n } else if (type === 'function') {\n message = message.call(this, rule.parameters);\n }\n\n return message;\n }\n\n /**\n * 缓存错误信息\n * @param {String} param 字段名\n * @param {Object} rule 规则\n * @param {String} value 元素的值\n */\n formatTplAndAdd(param, rule, value) {\n const msg = this.defaultMessage(param, rule);\n\n this.errorList.push({\n param: param,\n msg: msg,\n value: value,\n });\n }\n\n /**\n * 验证某个指定字段的规则\n * @param {String} param 字段名\n * @param {Object} rules 规则\n * @param {Object} data 需要验证的数据对象\n */\n checkParam(param, rules, data) {\n // 缓存数据对象\n this.data = data;\n\n // 缓存字段对应的值\n const value =\n data[param] !== null && data[param] !== undefined ? data[param] : '';\n\n // 遍历某个指定字段的所有规则,依次验证规则,否则缓存错误信息\n for (const method in rules) {\n // 判断验证方法是否存在\n if (this.isValidMethod(method)) {\n // 缓存规则的属性及值\n const rule = {\n method: method,\n parameters: rules[method],\n };\n\n // 调用验证方法\n const result = this.methods[method](value, rule.parameters);\n\n // 若result返回值为dependency-mismatch,则说明该字段的值为空或非必填字段\n if (result === 'dependency-mismatch') {\n continue;\n }\n\n this.setValue(param, method, result, value);\n\n // 判断是否通过验证,否则缓存错误信息,跳出循环\n if (!result) {\n this.formatTplAndAdd(param, rule, value);\n break;\n }\n }\n }\n }\n\n /**\n * 设置字段的默认验证值\n * @param {String} param 字段名\n */\n setView(param) {\n this.form[param] = {\n $name: param,\n $valid: true,\n $invalid: false,\n $error: {},\n $success: {},\n // eslint-disable-next-line quotes\n $viewValue: ``,\n };\n }\n\n /**\n * 设置字段的验证值\n * @param {String} param 字段名\n * @param {String} method 字段的方法\n * @param {Boolean} result 是否通过验证\n * @param {String} value 字段的值\n */\n setValue(param, method, result, value) {\n const params = this.form[param];\n params.$valid = result;\n params.$invalid = !result;\n params.$error[method] = !result;\n params.$success[method] = result;\n params.$viewValue = value;\n }\n\n /**\n * 验证所有字段的规则,返回验证是否通过\n * @param {Object} data 需要验证数据对象\n */\n checkForm(data) {\n this.__initData();\n\n // eslint-disable-next-line guard-for-in\n for (const param in this.rules) {\n this.setView(param)\n this.checkParam(param, this.rules[param], data)\n }\n\n return this.valid();\n }\n\n /**\n * 返回验证是否通过\n */\n valid() {\n return this.size() === 0;\n }\n\n /**\n * 返回错误信息的个数\n */\n size() {\n return this.errorList.length;\n }\n\n /**\n * 返回所有错误信息\n */\n validationErrors() {\n return this.errorList;\n }\n}\n\nexport default WxValidate;\n","module.exports = {\n getFlag() {\n return true\n },\n deepClone(target) {\n const map = new WeakMap()\n function isObject(target) {\n return (typeof target === 'object' && target) || typeof target === 'function'\n }\n function clone(data) {\n if (!isObject(data)) {\n return data\n }\n if ([Date, RegExp].includes(data.constructor)) {\n return new data.constructor(data)\n }\n if (typeof data === 'function') {\n // eslint-disable-next-line no-new-func\n return new Function('return ' + data.toString())()\n }\n const exist = map.get(data)\n if (exist) {\n return exist\n }\n if (data instanceof Map) {\n const result = new Map()\n map.set(data, result)\n data.forEach((val, key) => {\n if (isObject(val)) {\n result.set(key, clone(val))\n } else {\n result.set(key, val)\n }\n })\n return result\n }\n if (data instanceof Set) {\n const result = new Set()\n map.set(data, result)\n data.forEach(val => {\n if (isObject(val)) {\n result.add(clone(val))\n } else {\n result.add(val)\n }\n })\n return result\n }\n const keys = Reflect.ownKeys(data)\n const allDesc = Object.getOwnPropertyDescriptors(data)\n const result = Object.create(Object.getPrototypeOf(data), allDesc)\n map.set(data, result)\n keys.forEach(key => {\n const val = data[key]\n if (isObject(val)) {\n result[key] = clone(val)\n } else {\n result[key] = val\n }\n })\n return result\n }\n return clone(target)\n }\n}\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"GlsxFormItem": "../GlsxFormItem/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="container">
<form>
<view class="apply-info">
<block wx:for="{{formDataList}}" wx:key="index">
<block wx:if="{{!item.isHidden}}">
<GlsxFormItem
switch-item-class="switch-item-class"
switch-active-class="switch-active-class"
switch-class="switch-class"
lable-class="lable-class"
inline="{{inline}}"
textPostion="{{textPostion}}"
formItem="{{item}}"
formObj="{{formDataObj}}"
bind:getFormItemValue="getFormItemValue"
bind:customClick="customClick"
themeStyle="{{themeStyle}}"
>
<slot name="{{item.name}}"></slot>
<slot name="{{item.lableStyle}}"></slot>
</GlsxFormItem>
</block>
</block>
</view>
</form>
</view>
.info-item {
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
}
.info-item:last-child {
border-bottom: none;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 16);
/******/ })
/************************************************************************/
/******/ ({
/***/ 16:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description:
* @Author: huyue
* @Date: 2023-04-28 16:19:53
* @LastEditors: huyue
* @LastEditTime: 2023-05-05 10:00:50
*/
Component({
externalClasses: ['switch-active-class', 'switch-class', 'switch-item-class', 'lable-class'],
data: {
// 显示省市
provinceShow: false,
// 显示日期时间
dateTimeShow: false,
// 图片地址前缀
prefix: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/glsx-applet-comonents/'
},
properties: {
/**
* formItem:表单某一项的配置数据
* 其中的参数:
* type:标签类型 必填
* lable:标签页面显示名称 必填
* name:标签名称 必填
* rules: 验证规则,Object, 非必填
* textLeft: 输入框文字的位置,非必填,默认靠右,填了靠左
*/
formItem: {
type: Object,
value: {},
observer: function observer() {
// this.init(n)
}
},
/**
* formObj:表单数据绑定的对象
*/
formObj: {
type: Object,
value: {}
},
/**
* inline:表单配置是否一行展示
*/
inline: {
type: Boolean,
value: true
},
/**
* themeStyle: 主题样式
*/
themeStyle: {
type: String,
value: '#3582EE'
},
textPostion: {
type: String,
value: 'right'
}
},
methods: {
// 输入框输入触发
handleInput: function handleInput(e) {
var name = e.currentTarget.dataset.name;
var inputValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: inputValue });
},
// 点击触发省市弹框
// showProvince() {
// console.log(333);
// this.setData({
// provinceShow: !this.data.provinceShow
// })
// },
// 获取省市数据
// getProvinceCode(e) {
// let address = e.detail.provinceNameData.toString()
// address = address.replace(/,/g, '-')
// this.setData({
// 'platformObj.code': e.detail.codeData,
// 'platformObj.address': address,
// 'platformObj.name': e.detail.provinceNameData,
// })
// },
// 默认开关切换
switch1Change: function switch1Change(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
this.triggerEvent('getFormItemValue', { name: name, value: e.detail.value });
},
// 自定义开关切换
switch2Change: function switch2Change(e) {
console.log(e);
var _e$currentTarget$data = e.currentTarget.dataset,
index = _e$currentTarget$data.index,
name = _e$currentTarget$data.name;
this.triggerEvent('getFormItemValue', { name: name, value: index });
},
// 点击触发时间日期弹框
// showDatePicker() {
// this.setData({
// dateTimeShow: !this.data.dateTimeShow
// })
// }
// 自定义框点击事件
customClick: function customClick(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
this.triggerEvent('customClick', name);
},
// 单选框点击
radioChange: function radioChange(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
var checkValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: checkValue });
},
// 获取选择时间
changeTime: function changeTime(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
var timeValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: timeValue });
},
// 获取选择日期
changeDate: function changeDate(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
var dateValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: dateValue });
},
// 图片删除(单个)
delSingleImg: function delSingleImg(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
this.triggerEvent('getFormItemValue', { name: name, value: '' });
},
// 图片删除(多个)
delmultiImg: function delmultiImg(e) {
console.log(e);
var _e$currentTarget$data2 = e.currentTarget.dataset,
name = _e$currentTarget$data2.name,
index = _e$currentTarget$data2.index;
this.triggerEvent('getFormItemValue', { name: name, value: index, type: 'muiltiImg' });
}
},
// 组件生命周期
lifetimes: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GlsxFormItem/index.js"],"names":["Component","externalClasses","data","provinceShow","dateTimeShow","prefix","properties","formItem","type","Object","value","observer","formObj","inline","Boolean","themeStyle","String","textPostion","methods","handleInput","e","name","currentTarget","dataset","inputValue","detail","triggerEvent","switch1Change","console","log","switch2Change","index","customClick","radioChange","checkValue","changeTime","timeValue","changeDate","dateValue","delSingleImg","delmultiImg","lifetimes"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;;;;;;;AAOAA,UAAU;AACRC,mBAAiB,CAAC,qBAAD,EAAwB,cAAxB,EAAwC,mBAAxC,EAA6D,aAA7D,CADT;AAERC,QAAM;AACJ;AACAC,kBAAc,KAFV;AAGJ;AACAC,kBAAc,KAJV;AAKJ;AACAC,YAAQ;AANJ,GAFE;AAURC,cAAY;AACV;;;;;;;;;AASAC,cAAU;AACRC,YAAMC,MADE;AAERC,aAAO,EAFC;AAGRC,gBAAU,oBAAY;AACpB;AACD;AALO,KAVA;AAiBV;;;AAGAC,aAAS;AACPJ,YAAMC,MADC;AAEPC,aAAO;AAFA,KApBC;AAwBV;;;AAGAG,YAAQ;AACNL,YAAMM,OADA;AAENJ,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C,GAAR,CAAYT,CAAZ;AADa,mCAESA,EAAEE,aAAF,CAAgBC,OAFzB;AAAA,UAENF,IAFM,0BAENA,IAFM;AAAA,UAEAU,KAFA,0BAEAA,KAFA;;AAGb,WAAKL,YAAL,CAAkB,kBAAlB,EAAsC,EAACL,UAAD,EAAOX,OAAOqB,KAAd,EAAqBvB,MAAM,WAA3B,EAAtC;AACD;AAhFM,GAtDD;;AAyIR;AACAiC,aAAW;AA1IH,CAAV,E","file":"GlsxFormItem\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 16);\n","/*\n * @Description:\n * @Author: huyue\n * @Date: 2023-04-28 16:19:53\n * @LastEditors: huyue\n * @LastEditTime: 2023-05-05 10:00:50\n */\nComponent({\n externalClasses: ['switch-active-class', 'switch-class', 'switch-item-class', 'lable-class'],\n data: {\n // 显示省市\n provinceShow: false,\n // 显示日期时间\n dateTimeShow: false,\n // 图片地址前缀\n prefix: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/glsx-applet-comonents/'\n },\n properties: {\n /**\n * formItem:表单某一项的配置数据\n * 其中的参数:\n * type:标签类型 必填\n * lable:标签页面显示名称 必填\n * name:标签名称 必填\n * rules: 验证规则,Object, 非必填\n * textLeft: 输入框文字的位置,非必填,默认靠右,填了靠左\n */\n formItem: {\n type: Object,\n value: {},\n observer: function () {\n // this.init(n)\n },\n },\n /**\n * formObj:表单数据绑定的对象\n */\n formObj: {\n type: Object,\n value: {}\n },\n /**\n * inline:表单配置是否一行展示\n */\n inline: {\n type: Boolean,\n value: true\n },\n /**\n * themeStyle: 主题样式\n */\n themeStyle: {\n type: String,\n value: '#3582EE'\n },\n textPostion: {\n type: String,\n value: 'right'\n }\n },\n\n methods: {\n // 输入框输入触发\n handleInput(e) {\n const {name} = e.currentTarget.dataset\n const inputValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: inputValue})\n },\n // 点击触发省市弹框\n // showProvince() {\n // console.log(333);\n // this.setData({\n // provinceShow: !this.data.provinceShow\n // })\n // },\n // 获取省市数据\n // getProvinceCode(e) {\n // let address = e.detail.provinceNameData.toString()\n // address = address.replace(/,/g, '-')\n // this.setData({\n // 'platformObj.code': e.detail.codeData,\n // 'platformObj.address': address,\n // 'platformObj.name': e.detail.provinceNameData,\n // })\n // },\n // 默认开关切换\n switch1Change(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: e.detail.value})\n },\n // 自定义开关切换\n switch2Change(e) {\n console.log(e);\n const {index, name} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: index})\n },\n // 点击触发时间日期弹框\n // showDatePicker() {\n // this.setData({\n // dateTimeShow: !this.data.dateTimeShow\n // })\n // }\n // 自定义框点击事件\n customClick(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n this.triggerEvent('customClick', name)\n },\n // 单选框点击\n radioChange(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n const checkValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: checkValue})\n },\n // 获取选择时间\n changeTime(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n const timeValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: timeValue})\n },\n // 获取选择日期\n changeDate(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n const dateValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: dateValue})\n },\n // 图片删除(单个)\n delSingleImg(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: ''})\n },\n // 图片删除(多个)\n delmultiImg(e) {\n console.log(e);\n const {name, index} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: index, type: 'muiltiImg'})\n }\n },\n\n // 组件生命周期\n lifetimes: {\n }\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"province": "../province/index",
"date-picker": "../DatePicker/index",
"gl-image": "../Image/index",
"gl-icon": "../GLIcon/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="info-list switch-flex {{inline ? 'flex' : ''}}" data-name="{{formItem.name}}">
<view class="info-label label-class {{formItem.rules.required ? 'require':''}}">
<!-- lable插槽 -->
<block wx:if="{{formItem.lableStyle}}">
<slot name="{{item.lableStyle}}"></slot>
</block>
<!-- 可选输入lable -->
<!-- <block wx:if="{{formItem.type == 'selectInput'}}">
<view>
{{formItem.selectLable[0]]}}
</view>
</block> -->
<!-- 普通lable -->
<block wx:else>
<view class="{{inline? '' : 'bottom-class'}}">{{formItem.label}}</view>
</block>
</view>
<!-- input 框 -->
<block wx:if="{{formItem.type == 'input'}}">
<input name="{{formItem.name}}" type="text" class="form-input" style="text-align: {{textPostion}}" placeholder-class="placeholder" placeholder="{{formItem.placeholder || '请输入'+formItem.label}}" value="{{formObj[formItem.name]}}" bindinput="handleInput" data-name="{{formItem.name}}"></input>
</block>
<!-- 单选框 -->
<block wx:if="{{formItem.type == 'radio'}}">
<radio-group name="{{formItem.name}}" class="radio-wrap" bindchange="radioChange" data-name="{{formItem.name}}">
<label class="radio-label" wx:for="{{formItem.valueList}}" wx:for-item="i" wx:key="*this">
<radio value="{{i[formItem.valueName] || i.value}}" color="{{themeStyle}}" checked="{{formObj[formItem.name] == index}}" />
{{i[formItem.valueLabel] || i.label}}
</label>
</radio-group>
</block>
<!-- switch -->
<block wx:if="{{formItem.type == 'switch'}}">
<!-- 判断是否是自定义的 -->
<block wx:if="{{!formItem.isUserDefined}}">
<switch checked="{{formObj[formItem.name]}}" color="{{themeStyle}}" data-name="{{formItem.name}}" bindchange="switch1Change" />
</block>
<block wx:else>
<view class="user-defined-switch switch-class">
<block wx:for="{{formItem.valueList}}" wx:for-item="i" wx:key="*this">
<view class="user-defined-switch-item switch-item-class {{formObj[formItem.name] == i[formItem.valueName] ? 'switch-active-class switch-item-active': ''}}" data-index="{{i[formItem.valueName]}}" data-name="{{formItem.name}}" catchtap="switch2Change">
{{i[formItem.valueLabel] || i.label}}
</view>
</block>
</view>
</block>
</block>
<!-- timePicker 框 -->
<block wx:if="{{formItem.type == 'timePicker'}}">
<picker class="relative {{inline ? 'content-width' : ''}}" mode="time" value="{{formObj[formItem.name]}}" bindchange="changeTime" data-name="{{formItem.name}}" start="{{formItem.startTime || ''}}" end="{{formItem.endTime || ''}}">
<view class="cell {{formObj[formItem.name] ? 'value' : 'placeholder'}} {{ 'cell-' + textPostion }}">
<view class="cell-text" style="text-align: {{textPostion}}">{{formObj[formItem.name] ? formObj[formItem.name] : (formItem.placeholder ||'请选择时间')}}</view>
<gl-image class='arrow' imagePath="{{formItem.icon || prefix+'icon/arrow-x.png'}}"></gl-image>
</view>
</picker>
</block>
<!-- datePicker 框 -->
<block wx:if="{{formItem.type == 'datePicker'}}">
<picker class="relative {{inline ? 'content-width' : ''}}" mode="date" bindchange="changeDate" data-name="{{formItem.name}}" value="{{formObj[formItem.name]}}" start="{{formItem.startDate || ''}}" end="{{formItem.endDate || ''}}">
<view class="cell {{formObj[formItem.name] ? 'value' : 'placeholder'}}">
<view class="cell-text" style="text-align: {{textPostion}}">
{{formObj[formItem.name] ? formObj[formItem.name] : (formItem.placeholder ||'请选择日期')}}
</view>
<gl-image class="arrow" imagePath="{{formItem.icon || prefix+'icon/arrow-x.png'}}"></gl-image>
</view>
</picker>
</block>
<!-- 选择框 -->
<block wx:if="{{formItem.type == 'customSelect'}}">
<view class="{{inline ? 'content-width' : ''}}" bindtap="customClick" data-name="{{formItem.name}}">
<view class="info-content relative">
<block wx:if="{{!formObj[formItem.name].length}}">
<view class="cell placeholder {{ 'cell-' + textPostion }}">{{formItem.placeholder || '请选择' + formItem.label }}</view>
</block>
<block wx:else>
<view class="cell-text" style="text-align: {{textPostion}}">{{formObj[formItem.name]}}</view>
</block>
<view>
<image webp class="arrow" src="{{formItem.icon || prefix+'icon/arrow-x.png'}}" />
</view>
</view>
</view>
</block>
<!-- 自定义插槽框 -->
<block wx:if="{{formItem.type == 'customSlot'}}">
<view class="{{inline ? 'content-width' : ''}}">
<slot name="{{item.name}}"></slot>
</view>
</block>
<!-- 图片上传 -->
<block wx:if="{{formItem.type == 'imgUpload'}}">
<!-- 多个且有值 -->
<block wx:if="{{formItem.multiple && formObj[formItem.name].length}}">
<view class="multi-img-box">
<block wx:for="{{formObj[formItem.name]}}" wx:for-item="imgItem" wx:for-index="imgIndex" wx:key="imgIndex">
<view class="upload-box">
<image webp src="{{imgItem}}" alt="" />
<gl-icon class="del-icon" color="#999999" iconName="{{'gl-icon-error'}}" fontSize="{{32}}" bindtap="delmultiImg" data-index="{{imgIndex}}" data-name="{{formItem.name}}"></gl-icon>
</view>
</block>
</view>
</block>
<!-- 单个且有值 -->
<block wx:if="{{!formItem.multiple && formObj[formItem.name]}}">
<view class="upload-box">
<image webp src="{{formObj[formItem.name]}}" alt="" />
<gl-icon class="del-icon" color="#999999" iconName="{{'gl-icon-error'}}" fontSize="{{32}}" bindtap="delSingleImg" data-name="{{formItem.name}}"></gl-icon>
</view>
</block>
<!-- 无值 -->
<block wx:if="{{formItem.multiple ? (!formObj[formItem.name].length || formObj[formItem.name].length < formItem.multiple) : !formObj[formItem.name]}}">
<view class="upload-box center">
<view class="upload-box-item">
<gl-icon class="center" iconName="{{formItem.iconName || 'gl-icon-plus'}}" fontSize="{{formItem.fontSize || 70}}"></gl-icon>
<view>{{formItem.placeholder}}</view>
</view>
</view>
</block>
</block>
</view>
\ No newline at end of file \ No newline at end of file
.flex {
display: flex;
}
.info-list {
/* display: flex; */
/* position: relative; */
align-content: center;
padding: 40rpx;
}
.info-lable {
display: inline-flex;
align-items: center;
width: 25%;
font-weight: 400;
font-size: 28rpx;
color: #2d2d33;
}
.form-input {
width: 75%;
/* margin-left: 26rpx; */
}
.require.info-lable::after {
content: "*";
display: inline-block;
color: #eb4e4e;
margin-left: 4rpx;
}
.cell {
display: flex;
align-items: center;
width: 100%;
}
.cell-right {
justify-content: flex-end;
}
.cell-center {
justify-content: center;
}
.cell-left {
justify-content: space-between;
}
.cell-text {
width: 100%;
}
.placeholder {
color: #C3C3C3;
font-size: 28rpx;
}
.form-input.right {
text-align: right;
direction: rtl;
}
.radio-wrap {
display: flex;
flex: 1;
font-size: 28rpx;
justify-content: space-evenly;
}
.info-content {
width: 100%;
display: flex;
justify-content: space-between;
}
.select-img {
width: 40rpx;
height: 40rpx;
}
/* cell */
.cell-value {
flex: 1;
}
.arrow {
display: inline-block;
/* position: absolute;
right: 0rpx;
top: 50%;
transform: translateY(-50%); */
width: 28rpx;
height: 28rpx;
}
.arrow image {
width: 28rpx;
height: 28rpx;
}
.user-defined-switch {
display: flex;
border: 2rpx solid #3582EE;
border-radius: 15rpx;
width: 240rpx;
height: 64rpx;
line-height: 64rpx;
text-align: center;
-webkit-border-radius: 15rpx;
-moz-border-radius: 15rpx;
-ms-border-radius: 15rpx;
-o-border-radius: 15rpx;
}
.user-defined-switch-item {
width: 120rpx;
height: 64rpx;
border-radius: 12rpx;
-webkit-border-radius: 12rpx;
-moz-border-radius: 12rpx;
-ms-border-radius: 12rpx;
-o-border-radius: 12rpx;
}
.switch-item-active {
background: #3582EE;
color: #fff;
}
.switch-flex {
justify-content: space-between;
}
.relative {
position: relative;
}
.content-width {
width: 75%;
}
.upload-box {
width: 202rpx;
height: 202rpx;
background: #F4F5F7;
border: 2rpx solid #EFF0F2;
border-radius: 12rpx;
position: relative;
margin-bottom: 10rpx;
}
.upload-box-item {
font-weight: 400;
font-size: 28rpx;
color: #888888;
}
.upload-box image {
width: 202rpx;
height: 202rpx;
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
.del-icon {
position: absolute;
top: -10rpx;
right: -10rpx;
}
.multi-img-box {
display: flex;
justify-content: inherit;
flex-wrap: wrap;
}
.bottom-class {
margin-bottom: 10rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 23);
/******/ })
/************************************************************************/
/******/ ({
/***/ 23:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var privacyHandler = void 0;
var privacyResolves = new Set();
var closeOtherPagePopUpHooks = new Set();
wx.onNeedPrivacyAuthorization(function (resolve) {
console.log(resolve, '-=-=-=-=-=-');
if (typeof privacyHandler === 'function') {
privacyHandler(resolve);
}
});
var closeOtherPagePopUp = function closeOtherPagePopUp(closePopUp) {
closeOtherPagePopUpHooks.forEach(function (hook) {
if (closePopUp !== hook) {
hook();
}
});
};
Component({
properties: {
appletName: {
type: String,
value: ''
}
},
data: {
title: '用户隐私保护提示',
desc1: '感谢您使用本游戏,您使用本游戏前应当阅井同意',
urlTitle: '《用户隐私保护指引》',
desc2: '当您点击同意并开始时用产品服务时,即表示你已理解并同息该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏。',
showPrivacy: false,
height: 0
},
lifetimes: {
attached: function attached() {
var _this = this;
var closePopUp = function closePopUp() {
_this.disPopUp();
};
privacyHandler = function privacyHandler(resolve) {
privacyResolves.add(resolve);
_this.popUp();
// 额外逻辑:当前页面的隐私弹窗弹起的时候,关掉其他页面的隐私弹窗
closeOtherPagePopUp(closePopUp);
};
closeOtherPagePopUpHooks.add(closePopUp);
this.closePopUp = closePopUp;
},
detached: function detached() {
closeOtherPagePopUpHooks.delete(this.closePopUp);
}
},
methods: {
handleAgree: function handleAgree() {
this.disPopUp();
// 这里演示了同时调用多个wx隐私接口时要如何处理:让隐私弹窗保持单例,点击一次同意按钮即可让所有pending中的wx隐私接口继续执行 (看page/index/index中的 wx.getClipboardData 和 wx.startCompass)
privacyResolves.forEach(function (resolve) {
resolve({
event: 'agree',
buttonId: 'agree-btn'
});
});
privacyResolves.clear();
this.triggerEvent('agreeClick');
},
handleDisagree: function handleDisagree() {
this.disPopUp();
privacyResolves.forEach(function (resolve) {
resolve({
event: 'disagree'
});
});
privacyResolves.clear();
this.triggerEvent('disagreeClick');
},
popUp: function popUp() {
if (this.data.showPrivacy === false) {
this.setData({
showPrivacy: true
});
}
},
disPopUp: function disPopUp() {
if (this.data.showPrivacy === true) {
this.setData({
showPrivacy: false
});
}
},
openPrivacyContract: function openPrivacyContract() {
wx.openPrivacyContract({
success: function success() {
console.log('openPrivacyContract success');
},
fail: function fail(res) {
console.error('openPrivacyContract fail', res);
}
});
},
handleOpenPrivacyContract: function handleOpenPrivacyContract() {
// 打开隐私协议页面
wx.openPrivacyContract({
success: function success() {}, // 打开成功
fail: function fail() {}, // 打开失败
complete: function complete() {}
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GlsxPrivacy/index.js"],"names":["privacyHandler","privacyResolves","Set","closeOtherPagePopUpHooks","wx","onNeedPrivacyAuthorization","console","log","resolve","closeOtherPagePopUp","closePopUp","forEach","hook","Component","properties","appletName","type","String","value","data","title","desc1","urlTitle","desc2","showPrivacy","height","lifetimes","attached","disPopUp","add","popUp","detached","delete","methods","handleAgree","event","buttonId","clear","triggerEvent","handleDisagree","setData","openPrivacyContract","success","fail","error","res","handleOpenPrivacyContract","complete"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,IAAIA,uBAAJ;AACA,IAAMC,kBAAkB,IAAIC,GAAJ,EAAxB;AACA,IAAMC,2BAA2B,IAAID,GAAJ,EAAjC;;AAEAE,GAAGC,0BAAH,CAA8B,mBAAW;AACvCC,UAAQC,GAAR,CAAYC,OAAZ,EAAqB,aAArB;AACA,MAAI,OAAOR,cAAP,KAA0B,UAA9B,EAA0C;AACxCA,mBAAeQ,OAAf;AACD;AACF,CALD;;AAOA,IAAMC,sBAAsB,SAAtBA,mBAAsB,CAACC,UAAD,EAAgB;AAC1CP,2BAAyBQ,OAAzB,CAAiC,gBAAQ;AACvC,QAAID,eAAeE,IAAnB,EAAyB;AACvBA;AACD;AACF,GAJD;AAKD,CAND;;AAQAC,UAAU;AACRC,cAAY;AACVC,gBAAY;AACVC,YAAMC,MADI;AAEVC,aAAO;AAFG;AADF,GADJ;AAORC,QAAM;AACJC,WAAO,UADH;AAEJC,WAAO,wBAFH;AAGJC,cAAU,YAHN;AAIJC,WAAO,8DAJH;AAKJC,iBAAa,KALT;AAMJC,YAAQ;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AAS,mBAAM;AACbpC,kBAAQC,GAAR,CAAY,6BAAZ;AACD,SAHoB;AAIrBoC,cAAM,mBAAO;AACXrC,kBAAQsC,KAAR,CAAc,0BAAd,EAA0CC,GAA1C;AACD;AANoB,OAAvB;AAQD,KA9CM;AA+CPC,6BA/CO,uCA+CqB;AAC1B;AACA1C,SAAGqC,mBAAH,CAAuB;AACrBC,iBAAS,mBAAM,CAAE,CADI,EACF;AACnBC,cAAM,gBAAM,CAAE,CAFO,EAEL;AAChBI,kBAAU,oBAAM,CAAE;AAHG,OAAvB;AAKD;AAtDM;AAlCD,CAAV,E","file":"GlsxPrivacy\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 23);\n","let privacyHandler\r\nconst privacyResolves = new Set()\r\nconst closeOtherPagePopUpHooks = new Set()\r\n\r\nwx.onNeedPrivacyAuthorization(resolve => {\r\n console.log(resolve, '-=-=-=-=-=-')\r\n if (typeof privacyHandler === 'function') {\r\n privacyHandler(resolve)\r\n }\r\n})\r\n\r\nconst closeOtherPagePopUp = (closePopUp) => {\r\n closeOtherPagePopUpHooks.forEach(hook => {\r\n if (closePopUp !== hook) {\r\n hook()\r\n }\r\n })\r\n}\r\n\r\nComponent({\r\n properties: {\r\n appletName: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n data: {\r\n title: '用户隐私保护提示',\r\n desc1: '感谢您使用本游戏,您使用本游戏前应当阅井同意',\r\n urlTitle: '《用户隐私保护指引》',\r\n desc2: '当您点击同意并开始时用产品服务时,即表示你已理解并同息该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏。',\r\n showPrivacy: false,\r\n height: 0,\r\n },\r\n lifetimes: {\r\n attached: function () {\r\n const closePopUp = () => {\r\n this.disPopUp()\r\n }\r\n privacyHandler = resolve => {\r\n privacyResolves.add(resolve)\r\n this.popUp()\r\n // 额外逻辑:当前页面的隐私弹窗弹起的时候,关掉其他页面的隐私弹窗\r\n closeOtherPagePopUp(closePopUp)\r\n }\r\n closeOtherPagePopUpHooks.add(closePopUp)\r\n\r\n this.closePopUp = closePopUp\r\n },\r\n detached: function () {\r\n closeOtherPagePopUpHooks.delete(this.closePopUp)\r\n }\r\n },\r\n methods: {\r\n handleAgree() {\r\n this.disPopUp()\r\n // 这里演示了同时调用多个wx隐私接口时要如何处理:让隐私弹窗保持单例,点击一次同意按钮即可让所有pending中的wx隐私接口继续执行 (看page/index/index中的 wx.getClipboardData 和 wx.startCompass)\r\n privacyResolves.forEach(resolve => {\r\n resolve({\r\n event: 'agree',\r\n buttonId: 'agree-btn'\r\n })\r\n })\r\n privacyResolves.clear()\r\n this.triggerEvent('agreeClick')\r\n },\r\n handleDisagree() {\r\n this.disPopUp()\r\n privacyResolves.forEach(resolve => {\r\n resolve({\r\n event: 'disagree',\r\n })\r\n })\r\n privacyResolves.clear()\r\n this.triggerEvent('disagreeClick')\r\n },\r\n popUp() {\r\n if (this.data.showPrivacy === false) {\r\n this.setData({\r\n showPrivacy: true\r\n })\r\n }\r\n },\r\n disPopUp() {\r\n if (this.data.showPrivacy === true) {\r\n this.setData({\r\n showPrivacy: false\r\n })\r\n }\r\n },\r\n openPrivacyContract() {\r\n wx.openPrivacyContract({\r\n success: () => {\r\n console.log('openPrivacyContract success')\r\n },\r\n fail: res => {\r\n console.error('openPrivacyContract fail', res)\r\n }\r\n })\r\n },\r\n handleOpenPrivacyContract() {\r\n // 打开隐私协议页面\r\n wx.openPrivacyContract({\r\n success: () => {}, // 打开成功\r\n fail: () => {}, // 打开失败\r\n complete: () => {}\r\n })\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{showPrivacy}}">
<view class="pop-wrapper">
<view class="pop-box">
<view class="pop-content">
<view class="pop-title">{{appletName ? appletName : '隐私协议'}}</view>
<view class="pop-text">在您使用{{appletName}}服务之前,请仔细阅读《隐私协议》和《服务使用协议》。如您同意协议内容,请点击“同意”开始使用{{appletName}}。</view>
<view class="pop-privacy" bindtap="handleOpenPrivacyContract">《用户隐私保护指引》</view>
</view>
<view class="pop-bottom">
<button id="disagree-btn"
type="default"
class="pop-btn disagree-btn"
bindtap="handleDisagree"
>拒绝</button>
<button id="agree-btn"
type="default"
open-type="agreePrivacyAuthorization"
class="pop-btn agree-btn"
bindagreeprivacyauthorization="handleAgree"
>同意</button>
</view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.pop-wrapper {
position: fixed;
background-color: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
}
.pop-box {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 85%;
/* height: 640rpx; */
background: #FFFFFF;
border-radius: 16rpx;
}
.pop-content {
padding: 64rpx 48rpx;
box-sizing: border-box;
}
.pop-title {
width: 100%;
height: 48rpx;
text-align: center;
font-weight: 500;
font-size: 34rpx;
color: rgba(0, 0, 0, 0.9);
}
.pop-text {
margin: 32rpx 0 32rpx;
font-weight: 400;
font-size: 34rpx;
color: rgba(0, 0, 0, 0.5);
line-height: 48rpx;
letter-spacing: 0;
}
.pop-privacy {
font-weight: 400;
font-size: 30rpx;
color: #576B95;
letter-spacing: 0;
margin-top: 16rpx;
}
.pop-bottom {
display: flex;
border-top: 1px solid #ededed;
height: 112rpx;
/* border-radius: 0 0 16rpx 16rpx; */
}
.pop-btn {
width: 50%;
background-color: #fff !important;
font-weight: 500;
font-size: 34rpx;
letter-spacing: 2rpx;
line-height: 48rpx;
padding: 32rpx 0;
}
.disagree-btn {
border-right: 2rpx solid #ededed;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.agree-btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
color: #576B95 !important;
}
.pop-btn::after {
border: none;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 13);
/******/ })
/************************************************************************/
/******/ ({
/***/ 13:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
data: {},
properties: {
imagePath: {
type: String,
value: ''
}
},
methods: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/Image/index.js"],"names":["Component","data","properties","imagePath","type","String","value","methods"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,QAAM,EADE;AAERC,cAAY;AACVC,eAAW;AACTC,YAAMC,MADG;AAETC,aAAO;AAFE;AADD,GAFJ;AAQRC,WAAS;AARD,CAAV,E","file":"Image\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 13);\n","Component({\n data: {},\n properties: {\n imagePath: {\n type: String,\n value: ''\n }\n },\n methods: {}\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<image src="{{imagePath}}" mode="{{mode}}" lazy-load></image>
\ No newline at end of file \ No newline at end of file
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 14);
/******/ })
/************************************************************************/
/******/ ({
/***/ 14:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
externalClasses: ['dot-class-customer', 'info-class-customer'],
data: {},
properties: {
info: null,
dot: Boolean
},
methods: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/Info/index.js"],"names":["Component","externalClasses","data","properties","info","dot","Boolean","methods"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,oBAAD,EAAuB,qBAAvB,CADT;AAERC,QAAM,EAFE;AAGRC,cAAY;AACVC,UAAM,IADI;AAEVC,SAAKC;AAFK,GAHJ;AAORC,WAAS;AAPD,CAAV,E","file":"Info\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 14);\n","Component({\n externalClasses: ['dot-class-customer', 'info-class-customer'],\n data: {},\n properties: {\n info: null,\n dot: Boolean,\n },\n methods: {}\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="info {{dot? 'dot-class':'info-class'}} dot-class-customer info-class-customer">
{{dot ? '' : info}}
</view>
\ No newline at end of file \ No newline at end of file
.info {
position: absolute;
}
.dot-class {
top: 0;
right: -2rpx;
width: 10rpx;
height: 10rpx;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
background: #F36261;
}
.info-class {
top: 0;
right: -10rpx;
color: #fff;
font-size: 20rpx;
width: 36rpx;
height: 22rpx;
line-height: 22rpx;
border-radius: 22rpx;
background: #F36261;
border-radius: 12rpx;
text-align: center;
-webkit-border-radius: 22rpx;
-moz-border-radius: 22rpx;
-ms-border-radius: 22rpx;
-o-border-radius: 22rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 8);
/******/ })
/************************************************************************/
/******/ ({
/***/ 8:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-13 14:26:56
* @LastEditors: huyue
* @LastEditTime: 2022-12-16 18:01:02
*/
Component({
/**
* 组件的属性列表
*/
properties: {
activityList: {
type: Array,
value: []
}
},
/**
* 组件的初始数据
*/
data: {
current: 0,
statusMap: {
1: '活动未开始',
2: '活动进行中',
3: '活动已结束'
}
},
/**
* 组件的方法列表
*/
methods: {
toActivity: function toActivity(e) {
var activityid = e.currentTarget.dataset.activityid;
this.triggerEvent('activityClick', activityid);
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/activity-swiper/index.js"],"names":["Component","properties","activityList","type","Array","value","data","current","statusMap","methods","toActivity","e","activityid","currentTarget","dataset","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;;;;;;;AAOAA,UAAU;AACR;;;AAGAC,cAAY;AACVC,kBAAc;AACZC,YAAMC,KADM;AAEZC,aAAO;AAFK;AADJ,GAJJ;;AAWR;;;AAGAC,QAAM;AACJC,aAAS,CADL;AAEJC,eAAW;AACT,SAAG,OADM;AAET,SAAG,OAFM;AAGT,SAAG;AAHM;AAFP,GAdE;;AAuBR;;;AAGAC,WAAS;AACPC,cADO,sBACIC,CADJ,EACO;AAAA,UACLC,UADK,GACSD,EAAEE,aAAF,CAAgBC,OADzB,CACLF,UADK;;AAEZ,WAAKG,YAAL,CAAkB,eAAlB,EAAmCH,UAAnC;AACD;AAJM;AA1BD,CAAV,E","file":"activity-swiper\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","/*\n * @Description: huyue\n * @Author: huyue\n * @Date: 2022-12-13 14:26:56\n * @LastEditors: huyue\n * @LastEditTime: 2022-12-16 18:01:02\n */\nComponent({\n /**\n * 组件的属性列表\n */\n properties: {\n activityList: {\n type: Array,\n value: []\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n current: 0,\n statusMap: {\n 1: '活动未开始',\n 2: '活动进行中',\n 3: '活动已结束'\n }\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n toActivity(e) {\n const {activityid} = e.currentTarget.dataset\n this.triggerEvent('activityClick', activityid)\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<block wx:if="{{activityList.length}}">
<swiper class="activity-scroll" vertical="true" circular="true" autoplay current="{{current}}" interval="3000">
<block wx:for="{{activityList}}" wx:key="index">
<swiper-item class="swiper-item" bindtap="toActivity" data-activityId="{{item.id}}">
<view class="bg-activity">
<image webp src="../assets/bg-activity.png"></image>
<view class="activity-status">{{statusMap[item.status]}}</view>
</view>
<view class="acitvity-name">{{item.activityName}} <text wx:if="{{item.provinceCity}}"> {{'(' + item.provinceCity + ')'}} </text></view>
</swiper-item>
</block>
</swiper>
</block>
.activity-scroll {
display: flex;
justify-items: center;
background: #FFF4D8;
border-radius: 8rpx;
margin: 12rpx 20rpx 26rpx;
font-weight: 400;
font-size: 26rpx;
color: #F68B0C;
letter-spacing: 0;
padding: 11rpx 12rpx;
height: 36rpx;
}
.swiper-item {
display: flex;
align-items: center;
}
.bg-activity {
position: relative;
width: 126rpx;
height: 36rpx;
margin-right: 12rpx;
}
.bg-activity image {
width: 100%;
height: 100%;
}
.bg-activity .activity-status {
position: absolute;
width: 126rpx;
font-weight: 500;
font-size: 20rpx;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 32rpx;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.acitvity-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
tag: {
type: [String, Number],
value: ''
},
title: {
type: [String, Number],
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
}
});
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/card/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","mode","lazyLoad","Boolean","tag","Number","title","data","imagePath"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMK,OADE;AAERH,aAAO;AAFC,KATA;AAaVI,SAAK;AACHN,YAAM,CAACC,MAAD,EAASM,MAAT,CADH;AAEHL,aAAO;AAFJ,KAbK;AAiBVM,WAAO;AACLR,YAAM,CAACC,MAAD,EAASM,MAAT,CADD;AAELL,aAAO;AAFF;AAjBG,GALJ;;AA4BR;;;AAGAO,QAAM;AACJC,eAAW;AADP;;AA/BE,CAAV,E","file":"card\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n src: {\r\n type: String,\r\n value: ''\r\n },\r\n mode: {\r\n type: String,\r\n value: 'widthFix'\r\n },\r\n lazyLoad: {\r\n type: Boolean,\r\n value: true\r\n },\r\n tag: {\r\n type: [String, Number],\r\n value: ''\r\n },\r\n title: {\r\n type: [String, Number],\r\n value: ''\r\n }\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n imagePath: ''\r\n },\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<!--components/image/index.wxml-->
<view class="gl_card custom-class">
<view class="img_box">
<image class="img" src="{{src}}" webp mode="{{mode}}" lazy-load="{{lazyLoad}}" />
<view class="tag" wx:if="{{tag}}">
{{tag}}
</view>
</view>
<view class="title" wx:if="{{title}}">
{{title}}
</view>
</view>
\ No newline at end of file \ No newline at end of file
.gl_card {
width: 176rpx;
/* height: 172rpx; */
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
border-radius: 8rpx;
/* margin:20rpx; */
}
.gl_card .img_box {
position: relative;
width: 100%;
height: 120rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.gl_card .img_box .img {
width: 100%;
}
.gl_card .img_box .tag {
position: absolute;
top: 0;
left: 0;
/* width: 41px; */
height: 32rpx;
background: #D7F5E5;
border-radius: 4rpx;
padding: 0 8rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #21AB60;
}
.title {
/* height: 52rpx; */
/* line-height: 52rpx; */
padding: 10rpx 16rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #323436;
/* overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; */
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 5);
/******/ })
/************************************************************************/
/******/ ({
/***/ 5:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
/**
* 组件的属性列表
*/
properties: {
list: {
type: Array,
value: [],
observer: function observer(n) {
this.init(n);
}
},
index: {
type: Number,
value: 0,
observer: function observer(n) {
this.setData({
menusActive: n
});
}
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: '',
// 一级菜单选中值
menusActive: 0,
// 二级菜单选中值
subMenusActive: 0,
tabsActive: 1,
productList: [],
videoList: [],
posterList: [],
operationVideoList: [],
sceneCode: '',
listData: [],
// 第三级菜单数组
subMenuList: []
},
ready: function ready() {},
methods: {
// 菜单点击事件
menuClick: function menuClick(e) {
var id = e.currentTarget.dataset.id;
var info = e.currentTarget.dataset.info;
var sceneCode = '';
var subMenuList = [];
var infoIndex = void 0;
var initMenuData = info;
sceneCode = info.sceneCode;
subMenuList = info.subList;
// 有三级菜单的话修改o值
if (info.subList && info.subList.length && info.isShow) {
info = info.subList.find(function (item) {
return item.isShow;
});
infoIndex = initMenuData.subList.findIndex(function (item) {
return item.id === info.id;
});
}
console.log(id);
this.setData({
productList: info.productList || [],
videoList: info.videoList || [],
posterList: info.posterList || [],
operationVideoList: info.operationVideoList || [],
// 重置为第一个
tabsActive: 1,
menusActive: id,
sceneCode: sceneCode,
// 第三级菜单清空
subMenusActive: infoIndex,
subMenuList: subMenuList || []
});
this.triggerEvent('menuClick', {
info: e.currentTarget.dataset.info,
id: id
});
},
// 右侧tab菜单点击事件
tabsClick: function tabsClick(e) {
var id = e.currentTarget.dataset.id;
this.setData({
tabsActive: id
});
},
// 初始化数据
init: function init(list) {
// const o = list[0] ? list[0] : {}
var o = void 0;
// 用来复制数据传给父组件
var initMenuData = void 0;
var listData = [];
var sceneCode = void 0;
var subMenuList = void 0;
var infoIndex = void 0;
if (!list.length) {
o = {};
} else {
// 判断二级/三级下内容是否为空,不为空的话添加isShow字段
listData = this.searchEmptyMenu(list);
o = initMenuData = this.data.index === 0 ? list[0] : list[this.data.index];
sceneCode = o.sceneCode;
subMenuList = o.subList;
// 有三级菜单的话修改o值
if (o.subList && o.subList.length && o.isShow) {
o = o.subList.find(function (item) {
return item.isShow;
});
infoIndex = initMenuData.subList.findIndex(function (item) {
return item.id === o.id;
});
}
}
console.log(o, infoIndex, 'ooo');
this.setData({
listData: listData,
productList: o.productList || [],
videoList: o.videoList || [],
operationVideoList: o.operationVideoList || [],
posterList: o.posterList || [],
sceneCode: sceneCode || '',
subMenuList: subMenuList || [],
subMenusActive: infoIndex
});
this.triggerEvent('initMenu', initMenuData);
},
// 查找无上架内容菜单
searchEmptyMenu: function searchEmptyMenu(list) {
list.forEach(function (item) {
// 如果有第三级菜单
if (item.subList && item.subList.length) {
// 判断三级菜单下是否有内容
var sublistFlag = 0;
item.subList.forEach(function (subItem) {
if (subItem.productList.length || subItem.operationVideoList.length || subItem.videoList.length || subItem.posterList.length) {
subItem.isShow = true;
sublistFlag += 1;
}
});
// eslint-disable-next-line no-unneeded-ternary
item.isShow = sublistFlag > 0 ? true : false;
} else if (item.productList && item.productList.length || item.operationVideoList && item.operationVideoList.length || item.videoList && item.videoList.length || item.posterList && item.posterList.length) {
item.isShow = true;
}
});
return list;
},
// 删除无上架内容菜单
// deleteMenu(index) {
// }
// 产品点击事件
productClick: function productClick(e) {
var info = e.currentTarget.dataset.info;
this.triggerEvent('proClick', info);
},
// 视频点击事件
videoClick: function videoClick(e) {
var info = e.currentTarget.dataset.info;
var tabsActive = this.data.tabsActive;
this.triggerEvent('videoClick', { info: info, tabsActive: tabsActive });
},
// 第三级菜单点击
subMenuClick: function subMenuClick(e) {
var _e$currentTarget$data = e.currentTarget.dataset,
id = _e$currentTarget$data.id,
info = _e$currentTarget$data.info;
this.setData({
productList: info.productList || [],
videoList: info.videoList || [],
posterList: info.posterList || [],
operationVideoList: info.operationVideoList || [],
subMenusActive: id,
tabsActive: 1
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/discover/index.js"],"names":["Component","externalClasses","properties","list","type","Array","value","observer","n","init","index","Number","setData","menusActive","data","imagePath","subMenusActive","tabsActive","productList","videoList","posterList","operationVideoList","sceneCode","listData","subMenuList","ready","methods","menuClick","e","id","currentTarget","dataset","info","infoIndex","initMenuData","subList","length","isShow","find","item","findIndex","console","log","triggerEvent","tabsClick","o","searchEmptyMenu","forEach","sublistFlag","subItem","productClick","videoClick","subMenuClick"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAC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M;;;AAiIP;AACAmB,cAlIO,sBAkIIvB,CAlIJ,EAkIO;AACZ,UAAMI,OAAOJ,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBC,IAArC;AADY,UAELf,UAFK,GAES,KAAKH,IAFd,CAELG,UAFK;;AAGZ,WAAK0B,YAAL,CAAkB,YAAlB,EAAgC,EAACX,UAAD,EAAOf,sBAAP,EAAhC;AACD,KAtIM;;;AAwIP;AACAmC,gBAzIO,wBAyIMxB,CAzIN,EAyIS;AAAA,kCACKA,EAAEE,aAAF,CAAgBC,OADrB;AAAA,UACPF,EADO,yBACPA,EADO;AAAA,UACHG,IADG,yBACHA,IADG;;AAEd,WAAKpB,OAAL,CAAa;AACXM,qBAAac,KAAKd,WAAL,IAAoB,EADtB;AAEXC,mBAAWa,KAAKb,SAAL,IAAkB,EAFlB;AAGXC,oBAAYY,KAAKZ,UAAL,IAAmB,EAHpB;AAIXC,4BAAoBW,KAAKX,kBAAL,IAA2B,EAJpC;AAKXL,wBAAgBa,EALL;AAMXZ,oBAAY;AAND,OAAb;AAQD;AAnJM;AA7CD,CAAV,E","file":"discover\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 5);\n","// 商品card\nComponent({\n externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],\n /**\n * 组件的属性列表\n */\n properties: {\n list: {\n type: Array,\n value: [],\n observer: function (n) {\n this.init(n);\n },\n },\n index: {\n type: Number,\n value: 0,\n observer: function (n) {\n this.setData({\n menusActive: n,\n });\n },\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n imagePath: '',\n // 一级菜单选中值\n menusActive: 0,\n // 二级菜单选中值\n subMenusActive: 0,\n tabsActive: 1,\n productList: [],\n videoList: [],\n posterList: [],\n operationVideoList: [],\n sceneCode: '',\n listData: [],\n // 第三级菜单数组\n subMenuList: []\n },\n\n ready: function () {},\n methods: {\n // 菜单点击事件\n menuClick(e) {\n const {id} = e.currentTarget.dataset;\n let {info} = e.currentTarget.dataset;\n\n let sceneCode = ''\n let subMenuList = []\n let infoIndex\n const initMenuData = info\n\n sceneCode = info.sceneCode\n subMenuList = info.subList\n // 有三级菜单的话修改o值\n if (info.subList && info.subList.length && info.isShow) {\n info = info.subList.find((item) => item.isShow);\n infoIndex = initMenuData.subList.findIndex((item) => item.id === info.id);\n }\n console.log(id);\n this.setData({\n productList: info.productList || [],\n videoList: info.videoList || [],\n posterList: info.posterList || [],\n operationVideoList: info.operationVideoList || [],\n // 重置为第一个\n tabsActive: 1,\n menusActive: id,\n sceneCode: sceneCode,\n // 第三级菜单清空\n subMenusActive: infoIndex,\n subMenuList: subMenuList || []\n });\n this.triggerEvent('menuClick', {\n info: e.currentTarget.dataset.info,\n id,\n });\n },\n\n // 右侧tab菜单点击事件\n tabsClick(e) {\n const id = e.currentTarget.dataset.id;\n this.setData({\n tabsActive: id,\n });\n },\n\n // 初始化数据\n init(list) {\n // const o = list[0] ? list[0] : {}\n let o\n // 用来复制数据传给父组件\n let initMenuData\n let listData = []\n let sceneCode\n let subMenuList\n let infoIndex\n\n if (!list.length) {\n o = {};\n } else {\n // 判断二级/三级下内容是否为空,不为空的话添加isShow字段\n listData = this.searchEmptyMenu(list);\n\n o = initMenuData = this.data.index === 0 ? list[0] : list[this.data.index];\n sceneCode = o.sceneCode\n subMenuList = o.subList\n // 有三级菜单的话修改o值\n if (o.subList && o.subList.length && o.isShow) {\n o = o.subList.find((item) => item.isShow);\n infoIndex = initMenuData.subList.findIndex((item) => item.id === o.id);\n }\n }\n console.log(o, infoIndex, 'ooo');\n this.setData({\n listData,\n productList: o.productList || [],\n videoList: o.videoList || [],\n operationVideoList: o.operationVideoList || [],\n posterList: o.posterList || [],\n sceneCode: sceneCode || '',\n subMenuList: subMenuList || [],\n subMenusActive: infoIndex,\n });\n this.triggerEvent('initMenu', initMenuData)\n },\n\n // 查找无上架内容菜单\n searchEmptyMenu(list) {\n list.forEach((item) => {\n // 如果有第三级菜单\n if (item.subList && item.subList.length) {\n // 判断三级菜单下是否有内容\n let sublistFlag = 0;\n item.subList.forEach((subItem) => {\n if (\n subItem.productList.length ||\n subItem.operationVideoList.length ||\n subItem.videoList.length ||\n subItem.posterList.length\n ) {\n subItem.isShow = true;\n sublistFlag += 1;\n }\n });\n // eslint-disable-next-line no-unneeded-ternary\n item.isShow = sublistFlag > 0 ? true : false;\n } else if (\n (item.productList && item.productList.length) ||\n (item.operationVideoList && item.operationVideoList.length) ||\n (item.videoList && item.videoList.length) ||\n (item.posterList && item.posterList.length)\n ) {\n item.isShow = true;\n }\n });\n return list;\n },\n\n // 删除无上架内容菜单\n // deleteMenu(index) {\n\n // }\n\n // 产品点击事件\n productClick(e) {\n const info = e.currentTarget.dataset.info;\n this.triggerEvent('proClick', info);\n },\n\n // 视频点击事件\n videoClick(e) {\n const info = e.currentTarget.dataset.info;\n const {tabsActive} = this.data;\n this.triggerEvent('videoClick', {info, tabsActive});\n },\n\n // 第三级菜单点击\n subMenuClick(e) {\n const {id, info} = e.currentTarget.dataset;\n this.setData({\n productList: info.productList || [],\n videoList: info.videoList || [],\n posterList: info.posterList || [],\n operationVideoList: info.operationVideoList || [],\n subMenusActive: id,\n tabsActive: 1\n });\n }\n },\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-sidebar": "../sidebar/index",
"gl-sidebar-item": "../sidebar-item/index",
"gl-card": "../card/index",
"gl-video": "../video/index",
"gl-posters": "../posters/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-discover custom-class">
<!-- 左侧菜单 开始 -->
<view class="left-sidebar" wx:if="{{list && list.length}}">
<gl-sidebar active-key="{{menusActive}}" bind:change="onChange">
<block wx:for="{{listData}}" wx:key="index">
<gl-sidebar-item wx:if="{{item.isShow}}" data-id="{{index}}" data-info="{{item}}" catchtap="menuClick" sidebar-active-custom="sidebar-active-custom">
{{item.name}}
</gl-sidebar-item>
</block>
</gl-sidebar>
</view>
<!-- 左侧菜单 end -->
<!-- 右侧内容 开始 -->
<view class="right-content">
<!-- 三级菜单 -->
<scroll-view wx:if="{{subMenuList.length}}" class="sub-menu-scroll" enable-flex scroll-x>
<block wx:for="{{subMenuList}}" wx:key="index">
<view wx:if="{{item.isShow}}" class="sub-menu-item {{index == subMenusActive ? 'sub-menu-active-custom sub-menu-active-item' : ''}}" data-id="{{index}}" data-info="{{item}}" catchtap="subMenuClick">
{{item.name}}
</view>
</block>
</scroll-view>
<!-- 产品列表 开始 -->
<block wx:if="{{productList && productList.length}}">
<view class="head" wx:if="{{productList && productList.length}}">特色方案</view>
<view class="list-box">
<gl-card wx:for="{{productList}}" wx:key="index" title="{{item.proName}}" src="{{item.prodImg}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="productClick"></gl-card>
<view class="hidden_cell" wx:for="{{3-productList.length%3}}" wx:key="index"></view>
</view>
</block>
<!-- 产品列表 end -->
<view class="head-menu">
<view class="cell {{tabsActive == 1?'cell-active':''}}" data-id="1" catchtap="tabsClick">
案例视频
</view>
<view class="cell {{tabsActive == 2?'cell-active':''}}" data-id="2" catchtap="tabsClick" wx:if="{{posterList && posterList.length}}">
营销海报
</view>
<view class="cell {{tabsActive == 3?'cell-active':''}}" data-id="3" catchtap="tabsClick">
操作指引
</view>
</view>
<view class="list-box" wx:if="{{tabsActive == 1}}">
<block wx:if="{{!videoList.length}}">
<image class="no-video novideo-img" src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/no-video.png" />
</block>
<block wx:else>
<gl-video wx:for="{{videoList}}" wx:key="index" title="{{item.name}}" src="{{item.posterUrl}}" user-avatar="{{item.avatar}}" user-name="{{item.manufacturer || '嘀加智慧'}}" visit="{{item.view}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="videoClick"></gl-video>
</block>
</view>
<view class="list-box" wx:if="{{tabsActive == 2}}">
<gl-posters wx:for="{{posterList}}" wx:key="index" title="{{item.name}}" src="{{item.src}}" custom-class="card"></gl-posters>
</view>
<view class="list-box" wx:if="{{tabsActive == 3}}">
<block wx:if="{{!operationVideoList.length}}">
<image class="no-video novideo-img" src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/no-video.png" />
</block>
<block wx:else>
<gl-video wx:for="{{operationVideoList}}" wx:key="index" title="{{item.name}}" src="{{item.posterUrl}}" user-avatar="{{item.avatar}}" user-name="{{item.manufacturer || '嘀加智慧'}}" visit="{{item.view}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="videoClick"></gl-video>
</block>
</view>
</view>
<!-- 右侧内容 end -->
</view>
\ No newline at end of file \ No newline at end of file
.gl-discover {
display: flex;
height: 100%;
width: 100%;
overflow: hidden;
}
.left-sidebar {
flex-shrink: 0;
width: 116rpx;
}
.right-content {
flex: 1;
overflow: hidden;
background: #fff;
box-sizing: border-box;
}
.head {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
padding: 0 32rpx;
margin-bottom: 16rpx;
}
.hidden_cell {
width: 176rpx;
}
.list-box {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 0 32rpx;
margin-bottom: 12rpx;
}
.list-box .card {
margin: 0 0 20rpx 0;
}
.list-box .video_cell {
margin: 0 0 20rpx 0;
}
.head-menu {
display: flex;
align-items: center;
padding: 0 32rpx;
margin-bottom: 16rpx;
}
.head-menu .cell {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 26rpx;
color: #8A8C90;
margin-right: 40rpx;
}
.head-menu .cell-active {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
}
.no-video {
margin: 16rpx auto 32rpx;
display: block;
width: 100%;
border-radius: 16rpx;
}
.sub-menu-scroll {
padding: 0 32rpx 20rpx 32rpx;
display: flex;
flex-direction: row;
height: 48rpx;
flex: 1;
}
.sub-menu-item {
height: 48rpx;
background: #F7F7F7;
border-radius: 24rpx;
padding: 0 24rpx;
font-weight: 400;
font-size: 24rpx;
color: #333333;
line-height: 48rpx;
margin-right: 24rpx;
word-break: keep-all;
}
.sub-menu-active-item {
background: #5850FF;
font-weight: 600;
font-size: 24rpx;
color: #FFFFFF;
}
.sub-menu-item:last-child {
margin-right: 0;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 4);
/******/ })
/************************************************************************/
/******/ ({
/***/ 4:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: ''
},
lazyLoad: {
type: Boolean,
value: true
},
title: {
type: [String, Number],
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: '',
showPreviewPoster: false,
posterPath: ''
},
methods: {
// 预览海报
previewPoster: function previewPoster() {
var url = this.data.src;
this.setData({
posterPath: url,
showPreviewPoster: true
});
},
// 关闭海报预览
closePreviewPoster: function closePreviewPoster() {
this.setData({
posterPath: '',
showPreviewPoster: false
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/posters/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","mode","lazyLoad","Boolean","title","Number","data","imagePath","showPreviewPoster","posterPath","methods","previewPoster","url","setData","closePreviewPoster"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMK,OADE;AAERH,aAAO;AAFC,KATA;AAaVI,WAAO;AACLN,YAAM,CAACC,MAAD,EAASM,MAAT,CADD;AAELL,aAAO;AAFF;AAbG,GALJ;;AAwBR;;;AAGAM,QAAM;AACJC,eAAW,EADP;AAEJC,uBAAmB,KAFf;AAGJC,gBAAY;AAHR,GA3BE;;AAiCRC,WAAS;AACP;AACAC,iBAFO,2BAES;AACd,UAAMC,MAAM,KAAKN,IAAL,CAAUT,GAAtB;AACA,WAAKgB,OAAL,CAAa;AACXJ,oBAAYG,GADD;AAEXJ,2BAAmB;AAFR,OAAb;AAID,KARM;;;AAUP;AACAM,sBAXO,gCAWc;AACnB,WAAKD,OAAL,CAAa;AACXJ,oBAAY,EADD;AAEXD,2BAAmB;AAFR,OAAb;AAID;AAhBM;;AAjCD,CAAV,E","file":"posters\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n","// 商品card\nComponent({\n externalClasses: ['custom-class'],\n /**\n * 组件的属性列表\n */\n properties: {\n src: {\n type: String,\n value: ''\n },\n mode: {\n type: String,\n value: ''\n },\n lazyLoad: {\n type: Boolean,\n value: true\n },\n title: {\n type: [String, Number],\n value: ''\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n imagePath: '',\n showPreviewPoster: false,\n posterPath: ''\n },\n\n methods: {\n // 预览海报\n previewPoster() {\n const url = this.data.src;\n this.setData({\n posterPath: url,\n showPreviewPoster: true\n })\n },\n\n // 关闭海报预览\n closePreviewPoster() {\n this.setData({\n posterPath: '',\n showPreviewPoster: false\n })\n }\n }\n\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file \ No newline at end of file
<!--components/image/index.wxml-->
<view class="gl-poster custom-class" catchtap="previewPoster">
<view class="img_box">
<image
class="img"
src="{{src}}"
mode="{{mode}}"
lazy-load="{{lazyLoad}}"
/>
</view>
<view class="title" wx:if="{{title}}">
{{title}}
</view>
</view>
<!--预览海报弹框 开始-->
<view class="preview-poster" wx:if="{{showPreviewPoster}}">
<view class="preview-blk" catchtap="closePreviewPoster"></view>
<view class="preview-box">
<view class="preview-box-inner">
<view class="perview-cloese" catchtap="closePreviewPoster">
<image
class="img"
src="../assets/close.png"
mode="widthFix"
lazy-load
/>
</view>
<view class="preview-image">
<image
class="img"
src="{{posterPath}}"
mode="widthFix"
lazy-load
show-menu-by-longpress
/>
</view>
<view class="perview-title">
<image class="img" src="../assets/fingerprint.png" />
<text class="cl">长按图片转发</text>
</view>
</view>
</view>
</view>
<!--预览海报弹框 end-->
.gl-poster {
width: 276rpx;
height: 552rpx;
background: #FFFFFF;
border-radius: 8rpx;
/* margin: 20rpx; */
}
.gl-poster .img_box {
position: relative;
width: 100%;
height: 492rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.gl-poster .img_box .img {
width: 100%;
height: 100%;
}
.title {
height: 60rpx;
line-height: 60rpx;
/* padding: 0 16rpx; */
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #3666FE;
background: rgba(54, 102, 254, 0.1);
border-radius: 0 0 12rpx 12rpx;
text-align: center;
}
/* .preview-poster{
position: fixed;
top:50%;
left:50%;
transform: translate(-50%,-50%);
} */
.preview-poster .preview-blk {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #000;
opacity: 0.5;
filter: blur(2px);
z-index: 10;
}
.preview-poster .preview-box {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 11;
padding: 0 96rpx;
width: 100%;
box-sizing: border-box;
}
.preview-box-inner {
position: relative;
background: #fff;
display: flex;
flex-direction: column;
border-radius: 16rpx;
}
.perview-cloese {
position: absolute;
width: 56rpx;
height: 56rpx;
top: -92rpx;
right: 0;
}
.perview-cloese .img {
width: 100%;
height: 100%;
}
.preview-image {
padding: 32rpx;
}
.preview-image .img {
width: 100%;
max-height: 880rpx;
border-radius: 8rpx;
}
.perview-title {
display: flex;
align-items: center;
justify-content: center;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 16px;
color: #5850FF;
height: 90rpx;
}
.perview-title .img {
width: 40rpx;
height: 40rpx;
margin-right: 12rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 11);
/******/ })
/************************************************************************/
/******/ ({
/***/ 11:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
/**
* 组件的属性列表
*/
properties: {
provinceShow: Boolean,
provinceList: {
type: Array,
observer: function observer(val) {
console.log(val, '++++');
this.setData({
provinceList: val
});
}
}
},
/**
* 组件的初始数据
*/
data: {
region: [0, 0, 0], // 地址每列的index
regionCode: [],
provinceList: []
},
/**
* 组件的方法列表
*/
methods: {
// emitHideRegion(){},
// 省市切换
bindChange: function bindChange(e) {
// 用于对比滑动的是哪一列数据
var val = e.detail.value;
if (this.data.region[0] !== val[0]) {
// 如果滑动的是第一列数据,让二三列恢复到0
this.setData({
region: [val[0], 0, 0]
});
} else if (this.data.region[1] !== val[1]) {
// 滑动的是第二列数据
this.setData({
region: [val[0], val[1], 0]
});
} else {
this.setData({
region: e.detail.value
});
}
},
// 确定提交
comfirm: function comfirm() {
var _data = this.data,
provinceList = _data.provinceList,
region = _data.region;
// 省市code
var provinceCode = provinceList[region[0]].value;
var cityCode = provinceList[region[0]].children[region[1]].value;
var townCode = provinceList[region[0]].children[region[1]].children[region[2]].value;
var codeData = [provinceCode, cityCode, townCode];
// 省市名称
var provinceName = provinceList[region[0]].label;
var cityName = provinceList[region[0]].children[region[1]].label;
var townName = provinceList[region[0]].children[region[1]].children[region[2]].label;
var provinceNameData = [provinceName, cityName, townName];
this.triggerEvent('getProvinceCode', { codeData: codeData, provinceNameData: provinceNameData });
this.triggerEvent('cancelProvince');
},
// 取消
cancel: function cancel() {
this.triggerEvent('cancelProvince');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/province/index.js"],"names":["Component","properties","provinceShow","Boolean","provinceList","type","Array","observer","val","console","log","setData","data","region","regionCode","methods","bindChange","e","detail","value","comfirm","provinceCode","cityCode","children","townCode","codeData","provinceName","label","cityName","townName","provinceNameData","triggerEvent","cancel"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACR;;;AAGAC,cAAY;AACVC,kBAAcC,OADJ;AAEVC,kBAAc;AACZC,YAAMC,KADM;AAEZC,gBAAU,kBAAUC,GAA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EAAwBU,QAAxB,CAAiCV,OAAO,CAAP,CAAjC,EAA4CU,QAA5C,CAAqDV,OAAO,CAAP,CAArD,EAAgEM,KAAjF;AACA,UAAMM,WAAW,CAACJ,YAAD,EAAeC,QAAf,EAAyBE,QAAzB,CAAjB;AACA;AACA,UAAME,eAAetB,aAAaS,OAAO,CAAP,CAAb,EAAwBc,KAA7C;AACA,UAAMC,WAAWxB,aAAaS,OAAO,CAAP,CAAb,EAAwBU,QAAxB,CAAiCV,OAAO,CAAP,CAAjC,EAA4Cc,KAA7D;AACA,UAAME,WAAWzB,aAAaS,OAAO,CAAP,CAAb,EAAwBU,QAAxB,CAAiCV,OAAO,CAAP,CAAjC,EAA4CU,QAA5C,CAAqDV,OAAO,CAAP,CAArD,EAAgEc,KAAjF;AACA,UAAMG,mBAAmB,CAACJ,YAAD,EAAeE,QAAf,EAAyBC,QAAzB,CAAzB;AACA,WAAKE,YAAL,CAAkB,iBAAlB,EAAqC,EAACN,kBAAD,EAAWK,kCAAX,EAArC;AACA,WAAKC,YAAL,CAAkB,gBAAlB;AACD,KArCM;;AAsCP;AACAC,UAvCO,oBAuCE;AACP,WAAKD,YAAL,CAAkB,gBAAlB;AACD;AAzCM;AA7BD,CAAV,E","file":"province\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 11);\n","Component({\n /**\n * 组件的属性列表\n */\n properties: {\n provinceShow: Boolean,\n provinceList: {\n type: Array,\n observer: function (val) {\n console.log(val, '++++');\n this.setData({\n provinceList: val\n })\n }\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n region: [0, 0, 0], // 地址每列的index\n regionCode: [],\n provinceList: []\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n // emitHideRegion(){},\n // 省市切换\n bindChange(e) {\n // 用于对比滑动的是哪一列数据\n const val = e.detail.value\n if (this.data.region[0] !== val[0]) {\n // 如果滑动的是第一列数据,让二三列恢复到0\n this.setData({\n region: [val[0], 0, 0]\n })\n } else if (this.data.region[1] !== val[1]) {\n // 滑动的是第二列数据\n this.setData({\n region: [val[0], val[1], 0]\n })\n } else {\n this.setData({\n region: e.detail.value\n })\n }\n },\n // 确定提交\n comfirm() {\n const {provinceList, region} = this.data\n // 省市code\n const provinceCode = provinceList[region[0]].value\n const cityCode = provinceList[region[0]].children[region[1]].value\n const townCode = provinceList[region[0]].children[region[1]].children[region[2]].value\n const codeData = [provinceCode, cityCode, townCode]\n // 省市名称\n const provinceName = provinceList[region[0]].label\n const cityName = provinceList[region[0]].children[region[1]].label\n const townName = provinceList[region[0]].children[region[1]].children[region[2]].label\n const provinceNameData = [provinceName, cityName, townName]\n this.triggerEvent('getProvinceCode', {codeData, provinceNameData})\n this.triggerEvent('cancelProvince')\n },\n // 取消\n cancel() {\n this.triggerEvent('cancelProvince')\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{provinceShow}}" class="dialog_mask {{provinceShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="cancel"></view>
<view class="dialog_container">
<view class="header flex_scb">
<view class="cancle" bindtap="cancel">取消</view>
<view class="title">城市地区</view>
<view class="comfirm" bindtap="comfirm">确定</view>
</view>
<view class="main">
<picker-view indicator-style="height: 50px;" style="width: 100%; height: 100%;" value="{{region}}" bindchange="bindChange">
<picker-view-column>
<view wx:for="{{provinceList}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
<picker-view-column>
<view wx:for="{{provinceList[region[0]].children}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
<picker-view-column>
<view wx:for="{{provinceList[region[0]].children[region[1]].children}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
</picker-view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 70%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main {
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 9);
/******/ })
/************************************************************************/
/******/ ({
/***/ 9:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-15 17:13:19
* @LastEditors: huyue
* @LastEditTime: 2023-02-06 15:28:18
*/
Component({
externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
/**
* 组件的属性列表
*/
properties: {
// 顶部菜单
hasMenu: {
type: Boolean,
value: false
},
// 增值转化Data
list: {
type: Array,
observer: function observer(n) {
this.init(n);
}
},
// banner下活动轮播数据
activityList: {
type: Array,
value: []
},
// currentScenIndex: {
// type: Number,
// observer(n) {
// this.setData({
// currentScen: n,
// });
// },
// },
// 选中活动tab下标,默认第一个
discoverIndex: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
currentScen: 0,
scrollLeft: 0,
bannerSrc: '',
defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png',
sceneCode: '',
listData: []
},
/**
* 组件的方法列表
*/
methods: {
// 初始化数据,新增数字化转型案例视频
init: function init(n) {
if (n.length === 0) return;
var operationVideoList = [];
var videoList = [];
// 递归算出得到所有视频
n.forEach(function (item) {
operationVideoList = operationVideoList.concat(item.operationVideoList);
videoList = videoList.concat(item.videoList);
if (item.subList.length) {
item.subList.forEach(function (itm) {
operationVideoList = operationVideoList.concat(itm.operationVideoList);
videoList = videoList.concat(itm.videoList);
});
}
});
n.push({
name: '数字化转型案例',
videoList: videoList,
operationVideoList: operationVideoList
});
this.setData({
listData: n
});
},
// 点击特色产品
proClick: function proClick(e) {
var sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode;
console.log(e.detail, sceneCode);
this.triggerEvent('proClick', { info: e.detail, sceneCode: sceneCode });
},
// 点击案例视频
videoClick: function videoClick(e) {
var sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode;
console.log(sceneCode);
this.triggerEvent('videoClick', { info: e.detail, sceneCode: sceneCode });
},
// 活动点击
activityClick: function activityClick(e) {
this.triggerEvent('activityClick', e.detail);
},
// 点击场景banner
senceClick: function senceClick() {
var _this = this;
var info = this.data.listData.find(function (item) {
return item.sceneCode === _this.data.sceneCode;
});
console.log(info);
this.triggerEvent('senceClick', info);
},
// 点击切换菜单
menuClick: function menuClick(e) {
var menuInfo = this.data.listData.find(function (item) {
return item.sceneCode === e.detail.info.sceneCode;
});
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
discoverIndex: e.detail.id,
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
},
// 初始化
initMenu: function initMenu(e) {
var menuInfo = e.detail;
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/scenario/index.js"],"names":["Component","externalClasses","properties","hasMenu","type","Boolean","value","list","Array","observer","n","init","activityList","discoverIndex","Number","data","currentScen","scrollLeft","bannerSrc","defaultBannerSrc","sceneCode","listData","methods","length","operationVideoList","videoList","forEach","concat","item","subList","itm","push","name","setData","proClick","e","console","log","detail","triggerEvent","info","videoClick","activityClick","senceClick","find","menuClick","menuInfo","banner","id","initMenu"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;Q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L,CAAkB,YAAlB,EAAgCC,IAAhC;AACD,KAjDM;;AAkDP;AACAK,aAnDO,qBAmDGV,CAnDH,EAmDM;AACX,UAAMW,WAAW,KAAK/B,IAAL,CAAUM,QAAV,CAAmBuB,IAAnB,CACf,UAAChB,IAAD;AAAA,eAAUA,KAAKR,SAAL,KAAmBe,EAAEG,MAAF,CAASE,IAAT,CAAcpB,SAA3C;AAAA,OADe,CAAjB;AAGA,UAAMF,YAAY4B,SAASC,MAA3B;AACA,UAAM3B,YAAY0B,SAAS1B,SAA3B;AACA,WAAKa,OAAL,CAAa;AACXpB,uBAAesB,EAAEG,MAAF,CAASU,EADb;AAEX9B,4BAFW;AAGXE;AAHW,OAAb;AAKD,KA9DM;;AA+DP;AACA6B,YAhEO,oBAgEEd,CAhEF,EAgEK;AACV,UAAMW,WAAWX,EAAEG,MAAnB;AACA,UAAMpB,YAAY4B,SAASC,MAA3B;AACA,UAAM3B,YAAY0B,SAAS1B,SAA3B;AACA,WAAKa,OAAL,CAAa;AACXf,4BADW;AAEXE;AAFW,OAAb;AAID;AAxEM;AArDD,CAAV,E","file":"scenario\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n","/*\n * @Description: huyue\n * @Author: huyue\n * @Date: 2022-12-15 17:13:19\n * @LastEditors: huyue\n * @LastEditTime: 2023-02-06 15:28:18\n */\nComponent({\n externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],\n /**\n * 组件的属性列表\n */\n properties: {\n // 顶部菜单\n hasMenu: {\n type: Boolean,\n value: false,\n },\n // 增值转化Data\n list: {\n type: Array,\n observer: function (n) {\n this.init(n)\n }\n },\n // banner下活动轮播数据\n activityList: {\n type: Array,\n value: [],\n },\n // currentScenIndex: {\n // type: Number,\n // observer(n) {\n // this.setData({\n // currentScen: n,\n // });\n // },\n // },\n // 选中活动tab下标,默认第一个\n discoverIndex: {\n type: Number,\n value: 0\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n currentScen: 0,\n scrollLeft: 0,\n bannerSrc: '',\n defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png',\n sceneCode: '',\n listData: []\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n // 初始化数据,新增数字化转型案例视频\n init(n) {\n if (n.length === 0) return\n let operationVideoList = []\n let videoList = []\n // 递归算出得到所有视频\n n.forEach(item => {\n operationVideoList = operationVideoList.concat(item.operationVideoList)\n videoList = videoList.concat(item.videoList)\n if (item.subList.length) {\n item.subList.forEach(itm => {\n operationVideoList = operationVideoList.concat(itm.operationVideoList)\n videoList = videoList.concat(itm.videoList)\n })\n }\n })\n n.push({\n name: '数字化转型案例',\n videoList: videoList,\n operationVideoList: operationVideoList\n })\n this.setData({\n listData: n\n })\n },\n // 点击特色产品\n proClick(e) {\n const sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode\n console.log(e.detail, sceneCode);\n this.triggerEvent('proClick', {info: e.detail, sceneCode});\n },\n // 点击案例视频\n videoClick(e) {\n const sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode\n console.log(sceneCode);\n this.triggerEvent('videoClick', {info: e.detail, sceneCode});\n },\n // 活动点击\n activityClick(e) {\n this.triggerEvent('activityClick', e.detail);\n },\n // 点击场景banner\n senceClick() {\n const info = this.data.listData.find(\n (item) => item.sceneCode === this.data.sceneCode\n );\n console.log(info);\n this.triggerEvent('senceClick', info);\n },\n // 点击切换菜单\n menuClick(e) {\n const menuInfo = this.data.listData.find(\n (item) => item.sceneCode === e.detail.info.sceneCode\n );\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n discoverIndex: e.detail.id,\n bannerSrc,\n sceneCode\n });\n },\n // 初始化\n initMenu(e) {\n const menuInfo = e.detail\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n bannerSrc,\n sceneCode\n })\n },\n },\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-scene": "../scene/index",
"glsx-discover": "../discover/index",
"activity-swiper": "../activity-swiper/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="scenario-menu custom-class" wx:if="{{hasMenu}}">
<scroll-view scroll-x scroll-with-animation scroll-left="{{scrollLeft}}" class="menu-list">
<view wx:for="{{listData}}" wx:key="index" class="menu-item {{item.sceneid==currentScen?'menu-active':''}}" catchtap="selectScenario" data-id="{{item.sceneid}}">{{item.name}}</view>
</scroll-view>
</view>
<gl-scene wx:if="{{listData.length}}" src="{{bannerSrc ? bannerSrc : defaultBannerSrc}}" bind:click="senceClick"></gl-scene>
<activity-swiper activityList="{{activityList}}" bindactivityClick="activityClick"></activity-swiper>
<!-- <glsx-discover index="{{discoverIndex}}" list="{{productData[currentScen]}}" bindchange="onchange" bind:proClick="proClick" bind:videoClick="videoClick"></glsx-discover> -->
<glsx-discover
wx:if="{{listData.length}}"
index="{{discoverIndex}}"
list="{{listData}}"
bindchange="onchange"
bind:menuClick="menuClick"
bind:initMenu="initMenu"
bind:proClick="proClick"
bind:videoClick="videoClick"
novideo-img="novideo-img"
sub-menu-active-custom="sub-menu-active-custom"
sidebar-active-custom="sidebar-active-custom"
>
</glsx-discover>
.scenario-menu {
width: 100%;
height: 88rpx;
/* overflow-x: auto; */
-webkit-overflow-scrolling: touch;
}
.scenario-menu::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
.scenario-menu .menu-list {
padding: 0 20rpx;
display: inline-block;
white-space: nowrap;
box-sizing: border-box;
}
.scenario-menu .menu-list .menu-item {
display: inline-block;
width: 150rpx;
text-align: center;
line-height: 80rpx;
font-weight: 400;
font-size: 28rpx;
color: #323436;
}
.scenario-menu .menu-list .menu-item.menu-active {
position: relative;
font-weight: 600;
width: 190rpx;
font-size: 36rpx;
color: #323436;
}
.menu-active::after {
display: inline-block;
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 40rpx;
height: 8rpx;
background-color: #5850FF;
border-radius: 4rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 6);
/******/ })
/************************************************************************/
/******/ ({
/***/ 6:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: '',
observer: function observer(n) {
this.setData({
imagePath: n
});
}
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
useSlot: {
type: Boolean,
value: false
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
},
methods: {
// 点击事件
clickEvent: function clickEvent() {
this.triggerEvent('click');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/scene/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","observer","n","setData","imagePath","mode","lazyLoad","Boolean","useSlot","data","methods","clickEvent","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO,EAFJ;AAGHC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKC,OAAL,CAAa;AACXC,qBAAWF;AADA,SAAb;AAGD;AAPE,KADK;AAUVG,UAAM;AACJP,YAAMC,MADF;AAEJC,aAAO;AAFH,KAVI;AAcVM,cAAU;AACRR,YAAMS,OADE;AAERP,aAAO;AAFC,KAdA;AAkBVQ,aAAS;AACPV,YAAMS,OADC;AAEPP,aAAO;AAFA;AAlBC,GALJ;;AA6BR;;;AAGAS,QAAM;AACJL,eAAW;AADP,GAhCE;;AAoCRM,WAAS;;AAEP;AACAC,cAHO,wBAGM;AACX,WAAKC,YAAL,CAAkB,OAAlB;AACD;AALM;;AApCD,CAAV,E","file":"scene\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n src: {\r\n type: String,\r\n value: '',\r\n observer: function (n) {\r\n this.setData({\r\n imagePath: n\r\n })\r\n }\r\n },\r\n mode: {\r\n type: String,\r\n value: 'widthFix'\r\n },\r\n lazyLoad: {\r\n type: Boolean,\r\n value: true\r\n },\r\n useSlot: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n imagePath: ''\r\n },\r\n\r\n methods: {\r\n\r\n // 点击事件\r\n clickEvent() {\r\n this.triggerEvent('click')\r\n }\r\n\r\n }\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
<view class="gl-scene custom-class" catchtap="clickEvent">
<image
class="img"
src="{{imagePath}}"
mode="{{mode}}"
lazy-load
webp
wx:if="{{imagePath}}"
/>
<view class="inner" wx:if="{{useSlot}}">
<slot/>
</view>
</view>
.gl-scene {
position: relative;
margin: 20rpx;
height: 254rpx;
overflow: hidden;
border-radius: 20rpx;
}
.gl-scene .img {
width: 100%;
height: 100%;
}
.inner {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 3);
/******/ })
/************************************************************************/
/******/ ({
/***/ 3:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class', 'active-class', 'sidebar-active-custom'],
relations: {
'../sidebar/index': {
type: 'parent',
linked: function linked() {
// 每次被插入到 custom-ul 时执行,target是 custom-ul 节点实例对象,触发在 attached 生命周期之后
},
linkChanged: function linkChanged() {
// 每次被移动后执行,target是 custom-ul 节点实例对象,触发在 moved 生命周期之后
},
unlinked: function unlinked() {
// 每次被移除时执行,target是 custom-ul 节点实例对象,触发在 detached 生命周期之后
}
}
},
/**
* 组件的属性列表
*/
properties: {
title: {
type: String,
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
selected: ''
},
methods: {
// 设置选中
setActive: function setActive(selected) {
return this.setData({ selected: selected });
},
// 点击事件
onClick: function onClick() {
var _this = this;
var parent = this.getParents();
if (!parent || this.data.disabled) {
return;
}
var index = parent.data.children.indexOf(this);
parent.setActive(index);
_this.triggerEvent('click', index);
parent.triggerEvent('change', index);
},
// 获取父级元素
getParents: function getParents() {
var nodes = this.getRelationNodes('../sidebar/index');
var node = nodes[0];
return node;
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/sidebar-item/index.js"],"names":["Component","externalClasses","relations","type","linked","linkChanged","unlinked","properties","title","String","value","data","selected","methods","setActive","setData","onClick","_this","parent","getParents","disabled","index","children","indexOf","triggerEvent","nodes","getRelationNodes","node"],"mappings":";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IAAP,CAAYW,QAAZ,CAAqBC,OAArB,CAA6B,IAA7B,CAAd;AACAL,aAAOJ,SAAP,CAAiBO,KAAjB;AACAJ,YAAMO,YAAN,CAAmB,OAAnB,EAA4BH,KAA5B;AACAH,aAAOM,YAAP,CAAoB,QAApB,EAA8BH,KAA9B;AACD,KAjBM;;;AAmBP;AACAF,cApBO,wBAoBM;AACX,UAAMM,QAAQ,KAAKC,gBAAL,CAAsB,kBAAtB,CAAd;AACA,UAAMC,OAAOF,MAAM,CAAN,CAAb;AACA,aAAOE,IAAP;AACD;AAxBM;;AAjCD,CAAV,E","file":"sidebar-item\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","// 商品card\nComponent({\n externalClasses: ['custom-class', 'active-class', 'sidebar-active-custom'],\n relations: {\n '../sidebar/index': {\n type: 'parent',\n linked: function () {\n // 每次被插入到 custom-ul 时执行,target是 custom-ul 节点实例对象,触发在 attached 生命周期之后\n },\n linkChanged: function () {\n // 每次被移动后执行,target是 custom-ul 节点实例对象,触发在 moved 生命周期之后\n },\n unlinked: function () {\n // 每次被移除时执行,target是 custom-ul 节点实例对象,触发在 detached 生命周期之后\n }\n\n }\n },\n /**\n * 组件的属性列表\n */\n properties: {\n title: {\n type: String,\n value: ''\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n selected: ''\n },\n methods: {\n // 设置选中\n setActive: function (selected) {\n return this.setData({selected: selected});\n },\n\n // 点击事件\n onClick() {\n const _this = this;\n const parent = this.getParents();\n if (!parent || this.data.disabled) {\n return;\n }\n const index = parent.data.children.indexOf(this);\n parent.setActive(index)\n _this.triggerEvent('click', index);\n parent.triggerEvent('change', index);\n },\n\n // 获取父级元素\n getParents() {\n const nodes = this.getRelationNodes('../sidebar/index')\n const node = nodes[0]\n return node;\n }\n\n }\n\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="sidebar-item custom-class" bind:tap="onClick">
<view class="inner-text {{selected?'sidebar-item-active sidebar-active-custom':''}}">
<view class="text" wx:if="{{ title }}">{{ title }}</view>
<slot wx:else />
</view>
</view>
.sidebar-item {
height: 88rpx;
line-height: 88rpx;
/* background: rgba(204, 206, 209, 0.20); */
}
.inner-text {
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-family: PingFangSC-Medium;
font-size: 24rpx;
color: #2D2D33;
text-align: center;
padding-left: 10rpx;
line-height: 30rpx;
height: 100%;
}
.sidebar-item-active {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 24rpx;
color: #5850FF;
background: #fff;
}
.sidebar-item-active:after {
display: block;
content: "";
width: 6rpx;
height: 40rpx;
background: #5850FF;
border-radius: 0 4rpx 4rpx 0;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 2);
/******/ })
/************************************************************************/
/******/ ({
/***/ 2:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
relations: {
'../sidebar-item/index': {
type: 'child',
linked: function linked(target) {
// 每次有 custom-li 被插入时执行,target是该节点实例对象,触发在该节点 attached 生命周期之后
console.log(target);
this.setActive(this.data.activeKey);
},
linkChanged: function linkChanged() {
// 每次有 custom-li 被移动后执行,target是该节点实例对象,触发在该节点 moved 生命周期之后
},
unlinked: function unlinked() {
// 每次有 custom-li 被移除时执行,target是该节点实例对象,触发在该节点 detached 生命周期之后
}
}
},
/**
* 组件的属性列表
*/
properties: {
activeKey: {
type: Number,
default: 0,
observer: function observer(key) {
this.setActive(key);
}
}
},
/**
* 组件的初始数据
*/
data: {
currentActive: 0,
children: []
},
methods: {
// 设置选中
setActive: function setActive(key) {
var child = this.getAllChild();
var currentActive = this.data.currentActive;
var stack = [];
this.setData({
currentActive: key
});
if (currentActive !== key && child[currentActive]) {
stack.push(child[currentActive].setActive(false));
}
if (child[key]) {
stack.push(child[key].setActive(true));
}
return Promise.all(stack);
},
// 获取所有的子nodes
getAllChild: function getAllChild() {
var nodes = this.getRelationNodes('../sidebar-item/index');
this.setData({
children: nodes
});
return nodes;
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/sidebar/index.js"],"names":["Component","externalClasses","relations","type","linked","target","console","log","setActive","data","activeKey","linkChanged","unlinked","properties","Number","default","observer","key","currentActive","children","methods","child","getAllChild","stack","setData","push","Promise","all","nodes","getRelationNodes"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,w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AAX;AACD;AACD,UAAIa,MAAMJ,GAAN,CAAJ,EAAgB;AACdM,cAAME,IAAN,CAAWJ,MAAMJ,GAAN,EAAWT,SAAX,CAAqB,IAArB,CAAX;AACD;AACD,aAAOkB,QAAQC,GAAR,CAAYJ,KAAZ,CAAP;AACD,KAjBM;;;AAmBP;AACAD,eApBO,yBAoBO;AACZ,UAAMM,QAAQ,KAAKC,gBAAL,CAAsB,uBAAtB,CAAd;AACA,WAAKL,OAAL,CAAa;AACXL,kBAAUS;AADC,OAAb;AAGA,aAAOA,KAAP;AACD;AA1BM;;AAxCD,CAAV,E","file":"sidebar\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n relations: {\r\n '../sidebar-item/index': {\r\n type: 'child',\r\n linked: function (target) {\r\n // 每次有 custom-li 被插入时执行,target是该节点实例对象,触发在该节点 attached 生命周期之后\r\n console.log(target)\r\n this.setActive(this.data.activeKey);\r\n },\r\n linkChanged: function () {\r\n // 每次有 custom-li 被移动后执行,target是该节点实例对象,触发在该节点 moved 生命周期之后\r\n },\r\n unlinked: function () {\r\n // 每次有 custom-li 被移除时执行,target是该节点实例对象,触发在该节点 detached 生命周期之后\r\n }\r\n }\r\n\r\n },\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n activeKey: {\r\n type: Number,\r\n default: 0,\r\n observer: function (key) {\r\n this.setActive(key)\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n currentActive: 0,\r\n children: []\r\n },\r\n\r\n methods: {\r\n\r\n // 设置选中\r\n setActive(key) {\r\n const child = this.getAllChild()\r\n const currentActive = this.data.currentActive\r\n const stack = [];\r\n this.setData({\r\n currentActive: key\r\n })\r\n if (currentActive !== key && child[currentActive]) {\r\n stack.push(child[currentActive].setActive(false));\r\n }\r\n if (child[key]) {\r\n stack.push(child[key].setActive(true));\r\n }\r\n return Promise.all(stack);\r\n },\r\n\r\n // 获取所有的子nodes\r\n getAllChild() {\r\n const nodes = this.getRelationNodes('../sidebar-item/index')\r\n this.setData({\r\n children: nodes\r\n })\r\n return nodes;\r\n },\r\n\r\n }\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-sidebar custom-class">
<slot/>
</view>
.gl-sidebar {
display: flex;
flex-direction: column;
background: rgba(204, 206, 209, 0.2);
width: 116rpx;
height: 100%;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 10);
/******/ })
/************************************************************************/
/******/ ({
/***/ 10:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-15 17:13:19
* @LastEditors: huyue
* @LastEditTime: 2022-12-29 15:13:16
*/
Component({
externalClasses: ['glscene-class', 'gldiscover-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
options: {
multipleSlots: true // 在组件定义时的选项中启用多 slot 支持
},
/**
* 组件的属性列表
*/
properties: {
// 客户数字化Data
list: {
type: Array
// observer: function (n) {
// this.init(n)
// }
},
// 选中活动tab下标,默认第一个
discoverIndex: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
bannerSrc: '',
defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png'
},
/**
* 组件的方法列表
*/
methods: {
// // 初始化数据,新增数字化转型案例视频
// init(n) {
// if (n.length === 0) return
// let operationVideoList = []
// let videoList = []
// n.forEach(item => {
// operationVideoList = operationVideoList.concat(item.operationVideoList)
// videoList = videoList.concat(item.videoList)
// })
// this.data.list.push({
// name: '数字化转型案例',
// videoList: videoList,
// operationVideoList: operationVideoList
// })
// this.setData({
// list: this.data.list
// })
// },
// 点击特色产品
proClick: function proClick(e) {
var sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode;
this.triggerEvent('proClick', { info: e.detail, sceneCode: sceneCode });
},
// 点击案例视频或操作指引
videoClick: function videoClick(e) {
var sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode;
this.triggerEvent('videoClick', { info: e.detail, sceneCode: sceneCode });
},
// 点击切换菜单
menuClick: function menuClick(e) {
var menuInfo = this.data.list.find(function (item) {
return item.sceneCode === e.detail.info.sceneCode;
});
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
discoverIndex: e.detail.id,
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
},
// 点击场景banner
senceClick: function senceClick() {
var _this = this;
var info = this.data.list.find(function (item) {
return item.sceneCode === _this.data.sceneCode;
});
this.triggerEvent('senceClick', info);
},
// 初始化菜单
initMenu: function initMenu(e) {
var menuInfo = e.detail;
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/subscription/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","list","type","Array","discoverIndex","Number","value","data","bannerSrc","defaultBannerSrc","methods","proClick","e","sceneCode","triggerEvent","info","detail","videoClick","menuClick","menuInfo","find","item","banner","setData","id","senceClick","initMenu"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;;;;;;;AAOAA,UAAU;AACRC,mBAAiB,CAAC,eAAD,EAAkB,kBAAlB,EAAsC,aAAtC,EAAqD,wBAArD,EAA+E,uBAA/E,CADT;AAERC,WAAS;AACPC,mBAAe,IADR,CACa;AADb,GAFD;AAKR;;;AAGAC,cAAY;AACV;AACAC,UAAM;AACJC,YAAMC;AACN;AACA;AACA;AAJI,KAFI;AAQV;AACAC,mBAAe;AACbF,YAAMG,MADO;AAEbC,aAAO;AAFM;AATL,GARJ;;AAuBR;;;AAGAC,QAAM;AACJC,eAAW,EADP;AAEJC,sBAAkB;AAFd,GA1BE;;AA+BR;;;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;AAGA,WAAKC,YAAL,CAAkB,YAAlB,EAAgCC,IAAhC;AACD,KAjDM;;;AAmDP;AACAW,YApDO,oBAoDEd,CApDF,EAoDK;AACV,UAAMO,WAAWP,EAAEI,MAAnB;AACA,UAAMR,YAAYW,SAASG,MAA3B;AACA,UAAMT,YAAYM,SAASN,SAA3B;AACA,WAAKU,OAAL,CAAa;AACXf,4BADW;AAEXK;AAFW,OAAb;AAID;AA5DM;AAlCD,CAAV,E","file":"subscription\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","/*\n * @Description: huyue\n * @Author: huyue\n * @Date: 2022-12-15 17:13:19\n * @LastEditors: huyue\n * @LastEditTime: 2022-12-29 15:13:16\n */\nComponent({\n externalClasses: ['glscene-class', 'gldiscover-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],\n options: {\n multipleSlots: true // 在组件定义时的选项中启用多 slot 支持\n },\n /**\n * 组件的属性列表\n */\n properties: {\n // 客户数字化Data\n list: {\n type: Array,\n // observer: function (n) {\n // this.init(n)\n // }\n },\n // 选中活动tab下标,默认第一个\n discoverIndex: {\n type: Number,\n value: 0\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n bannerSrc: '',\n defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png'\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n // // 初始化数据,新增数字化转型案例视频\n // init(n) {\n // if (n.length === 0) return\n // let operationVideoList = []\n // let videoList = []\n // n.forEach(item => {\n // operationVideoList = operationVideoList.concat(item.operationVideoList)\n // videoList = videoList.concat(item.videoList)\n // })\n // this.data.list.push({\n // name: '数字化转型案例',\n // videoList: videoList,\n // operationVideoList: operationVideoList\n // })\n // this.setData({\n // list: this.data.list\n // })\n // },\n\n // 点击特色产品\n proClick(e) {\n const sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode\n this.triggerEvent('proClick', {info: e.detail, sceneCode});\n },\n // 点击案例视频或操作指引\n videoClick(e) {\n const sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode\n this.triggerEvent('videoClick', {info: e.detail, sceneCode});\n },\n // 点击切换菜单\n menuClick(e) {\n const menuInfo = this.data.list.find(\n (item) => item.sceneCode === e.detail.info.sceneCode\n );\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n discoverIndex: e.detail.id,\n bannerSrc,\n sceneCode\n });\n },\n // 点击场景banner\n senceClick() {\n const info = this.data.list.find(\n (item) => item.sceneCode === this.data.sceneCode\n );\n this.triggerEvent('senceClick', info);\n },\n\n // 初始化菜单\n initMenu(e) {\n const menuInfo = e.detail\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n bannerSrc,\n sceneCode\n })\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-scene": "../scene/index",
"glsx-discover": "../discover/index"
}
}
\ No newline at end of file \ No newline at end of file
<gl-scene wx:if="{{list.length}}" src="{{bannerSrc ? bannerSrc : defaultBannerSrc}}" custom-class="glscene-class" bind:click="senceClick"></gl-scene>
<glsx-discover
wx:if="{{list.length}}"
index="{{discoverIndex}}"
bind:menuClick="menuClick"
list="{{list}}"
bind:proClick="proClick"
bind:videoClick="videoClick"
bind:initMenu="initMenu"
custom-class="gldiscover-class"
novideo-img="novideo-img"
sub-menu-active-custom="sub-menu-active-custom"
sidebar-active-custom="sidebar-active-custom"
></glsx-discover>
module.exports = {
getFlag() {
return true
},
deepClone(target) {
const map = new WeakMap()
function isObject(target) {
return (typeof target === 'object' && target) || typeof target === 'function'
}
function clone(data) {
if (!isObject(data)) {
return data
}
if ([Date, RegExp].includes(data.constructor)) {
return new data.constructor(data)
}
if (typeof data === 'function') {
// eslint-disable-next-line no-new-func
return new Function('return ' + data.toString())()
}
const exist = map.get(data)
if (exist) {
return exist
}
if (data instanceof Map) {
const result = new Map()
map.set(data, result)
data.forEach((val, key) => {
if (isObject(val)) {
result.set(key, clone(val))
} else {
result.set(key, val)
}
})
return result
}
if (data instanceof Set) {
const result = new Set()
map.set(data, result)
data.forEach(val => {
if (isObject(val)) {
result.add(clone(val))
} else {
result.add(val)
}
})
return result
}
const keys = Reflect.ownKeys(data)
const allDesc = Object.getOwnPropertyDescriptors(data)
const result = Object.create(Object.getPrototypeOf(data), allDesc)
map.set(data, result)
keys.forEach(key => {
const val = data[key]
if (isObject(val)) {
result[key] = clone(val)
} else {
result[key] = val
}
})
return result
}
return clone(target)
}
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 7);
/******/ })
/************************************************************************/
/******/ ({
/***/ 7:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class', 'video-play-class'],
/**
* 组件的属性列表
*/
properties: {
list: {
type: Object,
value: {},
observer: function observer(n) {
if (Object.keys(n).length) {
this.init(n);
}
}
},
likeList: {
type: Array,
value: []
}
},
/**
* 组件的初始数据
*/
data: {
current: {},
idx: 0
},
methods: {
// 初始化
init: function init(list) {
this.setData({
current: list
});
},
// 选择视频
chooseVideo: function chooseVideo(e) {
var info = e.currentTarget.dataset.info || {};
this.setData({
current: info
});
console.log(e.target.dataset);
this.triggerEvent('chooseVideo', e.target.dataset.info);
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/video-detail/index.js"],"names":["Component","externalClasses","properties","list","type","Object","value","observer","n","keys","length","init","likeList","Array","data","current","idx","methods","setData","chooseVideo","e","info","currentTarget","dataset","console","log","target","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;ACjFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,kBAAjB,CADT;AAER;;;AAGAC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO,EAFH;AAGJC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,YAAIH,OAAOI,IAAP,CAAYD,CAAZ,EAAeE,MAAnB,EAA2B;AACzB,eAAKC,IAAL,CAAUH,CAAV;AACD;AACF;AAPG,KADI;AAUVI,cAAU;AACRR,YAAMS,KADE;AAERP,aAAO;AAFC;AAVA,GALJ;;AAqBR;;;AAGAQ,QAAM;AACJC,aAAS,EADL;AAEJC,SAAK;AAFD,GAxBE;;AA6BRC,WAAS;;AAEP;AACAN,QAHO,gBAGFR,IAHE,EAGI;AACT,WAAKe,OAAL,CAAa;AACXH,iBAASZ;AADE,OAAb;AAGD,KAPM;;;AASP;AACAgB,eAVO,uBAUKC,CAVL,EAUQ;AACb,UAAMC,OAAOD,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBF,IAAxB,IAAgC,EAA7C;AACA,WAAKH,OAAL,CAAa;AACXH,iBAASM;AADE,OAAb;AAGAG,cAAQC,GAAR,CAAYL,EAAEM,MAAF,CAASH,OAArB;AACA,WAAKI,YAAL,CAAkB,aAAlB,EAAiCP,EAAEM,MAAF,CAASH,OAAT,CAAiBF,IAAlD;AACD;AAjBM;;AA7BD,CAAV,E","file":"video-detail\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n","\n// 商品card\nComponent({\n externalClasses: ['custom-class', 'video-play-class'],\n /**\n * 组件的属性列表\n */\n properties: {\n list: {\n type: Object,\n value: {},\n observer: function (n) {\n if (Object.keys(n).length) {\n this.init(n)\n }\n }\n },\n likeList: {\n type: Array,\n value: []\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n current: {},\n idx: 0\n },\n\n methods: {\n\n // 初始化\n init(list) {\n this.setData({\n current: list\n })\n },\n\n // 选择视频\n chooseVideo(e) {\n const info = e.currentTarget.dataset.info || {}\n this.setData({\n current: info\n })\n console.log(e.target.dataset);\n this.triggerEvent('chooseVideo', e.target.dataset.info)\n }\n }\n\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-video": "../video/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-video-page custom-class">
<view class="video-play-box video-play-class" wx:if="{{list || list.videoUrl}}">
<video
src="{{current.vedioUrl}}"
class="video-box"
></video>
</view>
<view class="video-title">
<view class="title">
{{current.title}}
</view>
<view class="total">
<image class="img" src="../assets/eye.png" />
<text class="">{{current.view}}</text>
</view>
</view>
<view class="video-content" wx:if="{{likeList || likeList.length}}">
<view class="head">猜你喜欢</view>
<scroll-view
class="video-list"
enable-flex
scroll-x
>
<view
class="cell"
wx:for="{{likeList}}"
wx:key="index"
>
<gl-video
src="{{item.prodImg}}"
title="{{item.proName}}"
user-name="{{item.manufacturer || '嘀加智慧'}}"
visit="{{item.view}}"
data-info="{{item}}"
data-index="{{index}}"
catchtap="chooseVideo"
></gl-video>
</view>
</scroll-view>
</view>
</view>
.gl-video-page {
display: flex;
flex-direction: column;
height: 100vh;
}
.video-play-box {
flex-shrink: 0;
height: 422rpx;
width: 100%;
}
.video-box {
width: 100%;
height: 100%;
}
.video-title {
display: flex;
align-items: flex-start;
justify-content: space-between;
padding: 16rpx 32rpx;
}
.video-title .title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32rpx;
color: #323436;
}
.total {
flex-shrink: 0;
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #5A6066;
margin-left: 30rpx;
}
.total .img {
width: 28rpx;
height: 28rpx;
margin-right: 4rpx;
}
.video-content {
flex: 1;
overflow-y: auto;
}
.video-content .head {
padding: 0 32rpx;
margin: 80rpx 0 0 0;
}
.video-list {
height: 400rpx;
display: flex;
flex-direction: row;
padding: 16rpx 32rpx;
box-sizing: border-box;
background: #fff;
}
.video-list .cell {
margin: 0 20rpx 0 0;
}
.video-list .cell:last-child {
margin: 0;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */,
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
userName: {
type: [String, Number],
value: ''
},
avatar: {
type: String,
value: '../assets/avatar.png'
},
title: {
type: [String, Number],
value: ''
},
visit: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
}
});
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/video/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","mode","lazyLoad","Boolean","userName","Number","avatar","title","visit","data","imagePath"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMK,OADE;AAERH,aAAO;AAFC,KATA;AAaVI,cAAU;AACRN,YAAM,CAACC,MAAD,EAASM,MAAT,CADE;AAERL,aAAO;AAFC,KAbA;AAiBVM,YAAQ;AACNR,YAAMC,MADA;AAENC,aAAO;AAFD,KAjBE;AAqBVO,WAAO;AACLT,YAAM,CAACC,MAAD,EAASM,MAAT,CADD;AAELL,aAAO;AAFF,KArBG;AAyBVQ,WAAO;AACLV,YAAMO,MADD;AAELL,aAAO;AAFF;;AAzBG,GALJ;;AAqCR;;;AAGAS,QAAM;AACJC,eAAW;AADP;;AAxCE,CAAV,E","file":"video\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n src: {\r\n type: String,\r\n value: ''\r\n },\r\n mode: {\r\n type: String,\r\n value: 'widthFix'\r\n },\r\n lazyLoad: {\r\n type: Boolean,\r\n value: true\r\n },\r\n userName: {\r\n type: [String, Number],\r\n value: ''\r\n },\r\n avatar: {\r\n type: String,\r\n value: '../assets/avatar.png'\r\n },\r\n title: {\r\n type: [String, Number],\r\n value: ''\r\n },\r\n visit: {\r\n type: Number,\r\n value: 0\r\n }\r\n\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n imagePath: ''\r\n },\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-video custom-class">
<view class="video-box">
<image class="img" src="{{src}}" webp mode="{{mode}}" lazy-load="{{lazyLoad}}" wx:if="{{src}}" />
<image class="play" src="../assets/play.png" lazy-load />
</view>
<view class="video-fooeter">
<view class="video-title">
{{title}}
</view>
<view class="video-info">
<view class="avatar">
<image class="img" src="{{avatar}}" lazy-load wx:if="{{avatar}}" />
<view class="name">{{userName}}</view>
</view>
<view class="total">
<image class="img" src="../assets/eye.png" />
<text class="">{{visit}}</text>
</view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.gl-video {
width: 276rpx;
height: 316rpx;
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
border-radius: 12rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.video-box {
position: relative;
width: 100%;
height: 168rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.video-box .img {
width: 100%;
}
.video-box .play {
position: absolute;
width: 42rpx;
height: 42rpx;
left: 19rpx;
bottom: 19rpx;
}
.video-fooeter {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 8rpx 0;
}
.video-title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
padding: 0 16rpx;
}
.avatar {
display: flex;
align-items: center;
flex: 1;
flex-shrink: 0;
overflow: hidden;
}
.avatar .img {
width: 32rpx;
height: 32rpx;
border-radius: 100%;
flex-shrink: 0;
}
.avatar .name {
display: inline-block;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #5A6066;
margin-left: 4rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 100%;
}
.video-info {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16rpx;
box-sizing: border-box;
width: 100%;
}
.total {
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 20rpx;
color: #5A6066;
}
.total .img {
width: 20rpx;
height: 20rpx;
margin-right: 4rpx;
}
...@@ -4,7 +4,7 @@ var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexport ...@@ -4,7 +4,7 @@ var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexport
var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; }; var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } }; var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; }; var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
__DEFINE__(1689250267950, function(require, module, exports) { __DEFINE__(1693791796469, function(require, module, exports) {
/* /*
* @Descripttion: api封装类 * @Descripttion: api封装类
* @version: 1.0.0 * @version: 1.0.0
...@@ -225,8 +225,8 @@ class GlMapApi { ...@@ -225,8 +225,8 @@ class GlMapApi {
} }
if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });exports.default = GlMapApi; if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });exports.default = GlMapApi;
}, function(modId) {var map = {"./request":1689250267951}; return __REQUIRE__(map[modId], modId); }) }, function(modId) {var map = {"./request":1693791796470}; return __REQUIRE__(map[modId], modId); })
__DEFINE__(1689250267951, function(require, module, exports) { __DEFINE__(1693791796470, function(require, module, exports) {
/* /*
* @Descripttion: 定义一个Request类,用于封装请求高德地图API的方法 * @Descripttion: 定义一个Request类,用于封装请求高德地图API的方法
* @version: 1.0.0 * @version: 1.0.0
...@@ -340,8 +340,8 @@ class Request { ...@@ -340,8 +340,8 @@ class Request {
} }
if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });exports.default = Request; if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });exports.default = Request;
}, function(modId) { var map = {"./lib/md5":1689250267952,"./lib/qs":1689250267953,"./constants":1689250267954,"./helper":1689250267955}; return __REQUIRE__(map[modId], modId); }) }, function(modId) { var map = {"./lib/md5":1693791796471,"./lib/qs":1693791796472,"./constants":1693791796473,"./helper":1693791796474}; return __REQUIRE__(map[modId], modId); })
__DEFINE__(1689250267952, function(require, module, exports) { __DEFINE__(1693791796471, function(require, module, exports) {
(function () { (function () {
...@@ -1017,7 +1017,7 @@ __DEFINE__(1689250267952, function(require, module, exports) { ...@@ -1017,7 +1017,7 @@ __DEFINE__(1689250267952, function(require, module, exports) {
} }
})(); })();
}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
__DEFINE__(1689250267953, function(require, module, exports) { __DEFINE__(1693791796472, function(require, module, exports) {
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Qs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Qs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
...@@ -1658,7 +1658,7 @@ module.exports = { ...@@ -1658,7 +1658,7 @@ module.exports = {
}); });
}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
__DEFINE__(1689250267954, function(require, module, exports) { __DEFINE__(1693791796473, function(require, module, exports) {
/* /*
* @Descripttion: 常量类 * @Descripttion: 常量类
* @version: 1.0.0 * @version: 1.0.0
...@@ -1671,7 +1671,7 @@ __DEFINE__(1689250267954, function(require, module, exports) { ...@@ -1671,7 +1671,7 @@ __DEFINE__(1689250267954, function(require, module, exports) {
if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });var MAP_OPTIONS = exports.MAP_OPTIONS = { domain: 'https://restapi.amap.com', KEY: '373bd88fa36ebc0247d60281386b6cec', SECRET: 'a2a93fa04721a36819d86b71cb31fe41' }; if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });var MAP_OPTIONS = exports.MAP_OPTIONS = { domain: 'https://restapi.amap.com', KEY: '373bd88fa36ebc0247d60281386b6cec', SECRET: 'a2a93fa04721a36819d86b71cb31fe41' };
}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
__DEFINE__(1689250267955, function(require, module, exports) { __DEFINE__(1693791796474, function(require, module, exports) {
/* /*
* @Descripttion:帮助类 * @Descripttion:帮助类
* @version: 1.0.0 * @version: 1.0.0
...@@ -1684,7 +1684,7 @@ __DEFINE__(1689250267955, function(require, module, exports) { ...@@ -1684,7 +1684,7 @@ __DEFINE__(1689250267955, function(require, module, exports) {
if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });var isMiniprogram = exports.isMiniprogram = !window; if (!exports.__esModule) Object.defineProperty(exports, "__esModule", { value: true });var isMiniprogram = exports.isMiniprogram = !window;
}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
return __REQUIRE__(1689250267950); return __REQUIRE__(1693791796469);
})() })()
//miniprogram-npm-outsideDeps=["./stringify","./parse","./formats","./utils"] //miniprogram-npm-outsideDeps=["./stringify","./parse","./formats","./utils"]
//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
This diff could not be displayed because it is too large.
...@@ -4,7 +4,7 @@ var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexport ...@@ -4,7 +4,7 @@ var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexport
var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; }; var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } }; var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; }; var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
__DEFINE__(1689250267956, function(require, module, exports) { __DEFINE__(1693791796475, function(require, module, exports) {
Object.defineProperty(exports, '__esModule', { value: true }); Object.defineProperty(exports, '__esModule', { value: true });
...@@ -171,7 +171,7 @@ exports.enableBoundaryChecking = enableBoundaryChecking; ...@@ -171,7 +171,7 @@ exports.enableBoundaryChecking = enableBoundaryChecking;
exports['default'] = index; exports['default'] = index;
}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); }) }, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
return __REQUIRE__(1689250267956); return __REQUIRE__(1693791796475);
})() })()
//miniprogram-npm-outsideDeps=[] //miniprogram-npm-outsideDeps=[]
//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/**\r\n * @desc 解决浮动运算问题,避免小数点后产生多位数和计算精度损失。\r\n *\r\n * 问题示例:2.3 + 2.4 = 4.699999999999999,1.0 - 0.9 = 0.09999999999999998\r\n */\r\n/**\r\n * Correct the given number to specifying significant digits.\r\n *\r\n * @param num The input number\r\n * @param precision An integer specifying the number of significant digits\r\n *\r\n * @example strip(0.09999999999999998) === 0.1 // true\r\n */\r\nfunction strip(num, precision) {\r\n if (precision === void 0) { precision = 15; }\r\n return +parseFloat(Number(num).toPrecision(precision));\r\n}\r\n/**\r\n * Return digits length of a number.\r\n *\r\n * @param num The input number\r\n */\r\nfunction digitLength(num) {\r\n // Get digit length of e\r\n var eSplit = num.toString().split(/[eE]/);\r\n var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);\r\n return len > 0 ? len : 0;\r\n}\r\n/**\r\n * Convert the given number to integer, support scientific notation.\r\n * The number will be scale up if it is decimal.\r\n *\r\n * @param num The input number\r\n */\r\nfunction float2Fixed(num) {\r\n if (num.toString().indexOf('e') === -1) {\r\n return Number(num.toString().replace('.', ''));\r\n }\r\n var dLen = digitLength(num);\r\n return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);\r\n}\r\n/**\r\n * Log a warning if the given number is out of bounds.\r\n *\r\n * @param num The input number\r\n */\r\nfunction checkBoundary(num) {\r\n if (_boundaryCheckingState) {\r\n if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {\r\n console.warn(num + \" is beyond boundary when transfer to integer, the results may not be accurate\");\r\n }\r\n }\r\n}\r\n/**\r\n * Create an operation to support rest params.\r\n *\r\n * @param operation The original operation\r\n */\r\nfunction createOperation(operation) {\r\n return function () {\r\n var nums = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n nums[_i] = arguments[_i];\r\n }\r\n var first = nums[0], others = nums.slice(1);\r\n return others.reduce(function (prev, next) { return operation(prev, next); }, first);\r\n };\r\n}\r\n/**\r\n * Accurate multiplication.\r\n *\r\n * @param nums The numbers to multiply\r\n */\r\nvar times = createOperation(function (num1, num2) {\r\n var num1Changed = float2Fixed(num1);\r\n var num2Changed = float2Fixed(num2);\r\n var baseNum = digitLength(num1) + digitLength(num2);\r\n var leftValue = num1Changed * num2Changed;\r\n checkBoundary(leftValue);\r\n return leftValue / Math.pow(10, baseNum);\r\n});\r\n/**\r\n * Accurate addition.\r\n *\r\n * @param nums The numbers to add\r\n */\r\nvar plus = createOperation(function (num1, num2) {\r\n // 取最大的小数位\r\n var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));\r\n // 把小数都转为整数然后再计算\r\n return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;\r\n});\r\n/**\r\n * Accurate subtraction.\r\n *\r\n * @param nums The numbers to subtract\r\n */\r\nvar minus = createOperation(function (num1, num2) {\r\n var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));\r\n return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;\r\n});\r\n/**\r\n * Accurate division.\r\n *\r\n * @param nums The numbers to divide\r\n */\r\nvar divide = createOperation(function (num1, num2) {\r\n var num1Changed = float2Fixed(num1);\r\n var num2Changed = float2Fixed(num2);\r\n checkBoundary(num1Changed);\r\n checkBoundary(num2Changed);\r\n // fix: 类似 10 ** -4 为 0.00009999999999999999,strip 修正\r\n return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));\r\n});\r\n/**\r\n * Accurate rounding method.\r\n *\r\n * @param num The number to round\r\n * @param decimal An integer specifying the decimal digits\r\n */\r\nfunction round(num, decimal) {\r\n var base = Math.pow(10, decimal);\r\n var result = divide(Math.round(Math.abs(times(num, base))), base);\r\n if (num < 0 && result !== 0) {\r\n result = times(result, -1);\r\n }\r\n return result;\r\n}\r\nvar _boundaryCheckingState = true;\r\n/**\r\n * Whether to check the bounds of number, default is enabled.\r\n *\r\n * @param flag The value to indicate whether is enabled\r\n */\r\nfunction enableBoundaryChecking(flag) {\r\n if (flag === void 0) { flag = true; }\r\n _boundaryCheckingState = flag;\r\n}\r\nvar index = {\r\n strip: strip,\r\n plus: plus,\r\n minus: minus,\r\n times: times,\r\n divide: divide,\r\n round: round,\r\n digitLength: digitLength,\r\n float2Fixed: float2Fixed,\r\n enableBoundaryChecking: enableBoundaryChecking,\r\n};\n\nexports.strip = strip;\nexports.plus = plus;\nexports.minus = minus;\nexports.times = times;\nexports.divide = divide;\nexports.round = round;\nexports.digitLength = digitLength;\nexports.float2Fixed = float2Fixed;\nexports.enableBoundaryChecking = enableBoundaryChecking;\nexports['default'] = index;\n"]}
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\r\n\r\nObject.defineProperty(exports, '__esModule', { value: true });\r\n\r\n/**\r\n * @desc 解决浮动运算问题,避免小数点后产生多位数和计算精度损失。\r\n *\r\n * 问题示例:2.3 + 2.4 = 4.699999999999999,1.0 - 0.9 = 0.09999999999999998\r\n */\r\n/**\r\n * Correct the given number to specifying significant digits.\r\n *\r\n * @param num The input number\r\n * @param precision An integer specifying the number of significant digits\r\n *\r\n * @example strip(0.09999999999999998) === 0.1 // true\r\n */\r\nfunction strip(num, precision) {\r\n if (precision === void 0) { precision = 15; }\r\n return +parseFloat(Number(num).toPrecision(precision));\r\n}\r\n/**\r\n * Return digits length of a number.\r\n *\r\n * @param num The input number\r\n */\r\nfunction digitLength(num) {\r\n // Get digit length of e\r\n var eSplit = num.toString().split(/[eE]/);\r\n var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);\r\n return len > 0 ? len : 0;\r\n}\r\n/**\r\n * Convert the given number to integer, support scientific notation.\r\n * The number will be scale up if it is decimal.\r\n *\r\n * @param num The input number\r\n */\r\nfunction float2Fixed(num) {\r\n if (num.toString().indexOf('e') === -1) {\r\n return Number(num.toString().replace('.', ''));\r\n }\r\n var dLen = digitLength(num);\r\n return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);\r\n}\r\n/**\r\n * Log a warning if the given number is out of bounds.\r\n *\r\n * @param num The input number\r\n */\r\nfunction checkBoundary(num) {\r\n if (_boundaryCheckingState) {\r\n if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {\r\n console.warn(num + \" is beyond boundary when transfer to integer, the results may not be accurate\");\r\n }\r\n }\r\n}\r\n/**\r\n * Create an operation to support rest params.\r\n *\r\n * @param operation The original operation\r\n */\r\nfunction createOperation(operation) {\r\n return function () {\r\n var nums = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n nums[_i] = arguments[_i];\r\n }\r\n var first = nums[0], others = nums.slice(1);\r\n return others.reduce(function (prev, next) { return operation(prev, next); }, first);\r\n };\r\n}\r\n/**\r\n * Accurate multiplication.\r\n *\r\n * @param nums The numbers to multiply\r\n */\r\nvar times = createOperation(function (num1, num2) {\r\n var num1Changed = float2Fixed(num1);\r\n var num2Changed = float2Fixed(num2);\r\n var baseNum = digitLength(num1) + digitLength(num2);\r\n var leftValue = num1Changed * num2Changed;\r\n checkBoundary(leftValue);\r\n return leftValue / Math.pow(10, baseNum);\r\n});\r\n/**\r\n * Accurate addition.\r\n *\r\n * @param nums The numbers to add\r\n */\r\nvar plus = createOperation(function (num1, num2) {\r\n // 取最大的小数位\r\n var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));\r\n // 把小数都转为整数然后再计算\r\n return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;\r\n});\r\n/**\r\n * Accurate subtraction.\r\n *\r\n * @param nums The numbers to subtract\r\n */\r\nvar minus = createOperation(function (num1, num2) {\r\n var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));\r\n return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;\r\n});\r\n/**\r\n * Accurate division.\r\n *\r\n * @param nums The numbers to divide\r\n */\r\nvar divide = createOperation(function (num1, num2) {\r\n var num1Changed = float2Fixed(num1);\r\n var num2Changed = float2Fixed(num2);\r\n checkBoundary(num1Changed);\r\n checkBoundary(num2Changed);\r\n // fix: 类似 10 ** -4 为 0.00009999999999999999,strip 修正\r\n return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));\r\n});\r\n/**\r\n * Accurate rounding method.\r\n *\r\n * @param num The number to round\r\n * @param decimal An integer specifying the decimal digits\r\n */\r\nfunction round(num, decimal) {\r\n var base = Math.pow(10, decimal);\r\n var result = divide(Math.round(Math.abs(times(num, base))), base);\r\n if (num < 0 && result !== 0) {\r\n result = times(result, -1);\r\n }\r\n return result;\r\n}\r\nvar _boundaryCheckingState = true;\r\n/**\r\n * Whether to check the bounds of number, default is enabled.\r\n *\r\n * @param flag The value to indicate whether is enabled\r\n */\r\nfunction enableBoundaryChecking(flag) {\r\n if (flag === void 0) { flag = true; }\r\n _boundaryCheckingState = flag;\r\n}\r\nvar index = {\r\n strip: strip,\r\n plus: plus,\r\n minus: minus,\r\n times: times,\r\n divide: divide,\r\n round: round,\r\n digitLength: digitLength,\r\n float2Fixed: float2Fixed,\r\n enableBoundaryChecking: enableBoundaryChecking,\r\n};\r\n\r\nexports.strip = strip;\r\nexports.plus = plus;\r\nexports.minus = minus;\r\nexports.times = times;\r\nexports.divide = divide;\r\nexports.round = round;\r\nexports.digitLength = digitLength;\r\nexports.float2Fixed = float2Fixed;\r\nexports.enableBoundaryChecking = enableBoundaryChecking;\r\nexports['default'] = index;\r\n"]}
\ No newline at end of file \ No newline at end of file
{
"plugins": [
["module-resolver", {
"root": ["./src"],
"alias": {}
}]
],
"presets": [
["env", {"loose": true, "modules": "commonjs"}]
]
}
\ No newline at end of file \ No newline at end of file
module.exports = {
'extends': [
'airbnb-base',
'plugin:promise/recommended'
],
'parser': '@typescript-eslint/parser',
'plugins': ['@typescript-eslint'],
'parserOptions': {
'ecmaVersion': 9,
'ecmaFeatures': {
'jsx': false
},
'sourceType': 'module'
},
'env': {
'es6': true,
'node': true,
'jest': true
},
'plugins': [
'import',
'node',
'promise'
],
'rules': {
'max-len': ['error', {code: 300}],
'arrow-parens': 'off',
'comma-dangle': [
'error',
'only-multiline'
],
'complexity': ['error', 20],
'func-names': 'off',
'global-require': 'off',
'handle-callback-err': [
'error',
'^(err|error)$'
],
'import/no-unresolved': [
'error',
{
'caseSensitive': true,
'commonjs': true,
'ignore': ['^[^.]']
}
],
'import/prefer-default-export': 'off',
'linebreak-style': 'off',
'no-catch-shadow': 'error',
'no-continue': 'off',
'no-div-regex': 'warn',
'no-else-return': 'off',
'no-param-reassign': 'off',
'no-plusplus': 'off',
'no-shadow': 'off',
'no-multi-assign': 'off',
'no-underscore-dangle': 'off',
'node/no-deprecated-api': 'error',
'node/process-exit-as-throw': 'error',
'no-tabs': 'off',
'no-console': 'off',
'object-curly-spacing': [
'error',
'never'
],
'operator-linebreak': [
'error',
'after',
{
'overrides': {
':': 'before',
'?': 'before'
}
}
],
'prefer-arrow-callback': 'off',
'prefer-destructuring': 'off',
'prefer-template': 'off',
'quote-props': [
1,
'as-needed',
{
'unnecessary': true
}
],
'semi': 'off',
'no-await-in-loop': 'off',
'no-restricted-syntax': 'off',
'promise/always-return': 'off',
'object-shorthand': 'off',
"singleQuote": true, // 单引号替代双引号
"trailingComma": "none"// 末尾禁止添加逗号
},
'globals': {
'window': true,
'document': true,
'App': true,
'Page': true,
'Component': true,
'Behavior': true,
'wx': true,
'getCurrentPages': true,
}
}
MIT License
Copyright (c) 2018 wechat-miniprogram
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# miniprogram-custom-component
## 使用之前
使用 glsx-applet-components Weapp 前,请确保你已经学习过微信官方的 [小程序简易教程](https://developers.weixin.qq.com/miniprogram/dev/framework/) 和 [自定义组件介绍](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/)。
## 安装
### 方式一. 通过 npm 安装 (推荐)
小程序已经支持使用 npm 安装第三方包,详见 [npm 支持](https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html?search-key=npm)
```bash
# 通过 npm 安装
npm i glsx-applet-component --S
# 通过 yarn 安装
yarn add glsx-applet-component --production
# 安装 0.x 版本
npm i glsx-applet-component -S --production
### 方式二. 下载代码
直接通过 git 下载 glsx-applet-component Weapp 源代码,并将 `dist` 目录拷贝到自己的项目中。
## 使用组件
以按钮组件为例,只需要在 json 文件中引入按钮对应的自定义组件即可
```json
{
"usingComponents": {
"gl-button": "/path/to/glsx-applet-component/button/index"
}
}
```
接着就可以在 wxml 中直接使用组件
```html
<gl-button type="primary">按钮</gl-button>
## 在开发者工具中预览
```bash
# 安装项目依赖
npm install
# 执行组件编译
npm run dev
```
小程序自定义组件开发模板:
* 支持使用 less 语法编写 wxss 文件
* 使用 webpack 构建 js
* 支持自定义组件单元测试
* 支持 eslint
* 支持多入口构建
## 使用
* 使用[命令行工具](https://github.com/wechat-miniprogram/miniprogram-cli)进行初始化
* 直接从 github 上 clone 下来
## 开发
1. 安装依赖:
```
npm install
```
2. 执行命令:
```
npm run dev
```
默认会在包根目录下生成 miniprogram\_dev 目录,src 中的源代码会被构建并生成到 miniprogram\_dev/components 目录下。如果需要监听文件变化动态构建,则可以执行命令:
```
npm run watch
```
> ps: 如果 minirpogram\_dev 目录下已存在小程序 demo,执行`npm run dev`则不会再将 tools 下的 demo 拷贝到此目录下。而执行`npm run watch`则会监听 tools 目录下的 demo 变动并进行拷贝。
3. 生成的 miniprogram\_dev 目录是一个小程序项目目录,以此目录作为小程序项目目录在开发者工具中打开即可查看自定义组件被使用的效果。
4. 进阶:
* 如果有额外的构建需求,可自行修改 tools 目录中的构建脚本。
* 内置支持 webpack、less 语法、sourcemap 等功能,默认关闭。如若需要可以自行修改 tools/config.js 配置文件中相关配置。
* 内置支持多入口构建,如若需要可自行调整 tools/config.js 配置文件的 entry 字段。
* 默认开启 eslint,可自行调整规则或在 tools/config.js 中注释掉 eslint-loader 行来关闭此功能。
## 发布
> ps: 发布前得确保已经执行构建,小程序 npm 包只有构建出来的目录是真正被使用到的。
1. 如果还没有 npm 帐号,可以到[ npm 官网](https://www.npmjs.com/)注册一个 npm 帐号。
2. 在本地登录 npm 帐号,在本地执行:
```
npm adduser
```
或者
```
npm login
```
3. 在已完成编写的 npm 包根目录下执行:
```
npm publish
```
到此,npm 包就成功发布到 npm 平台了。
> PS:一些开发者在开发过程中可能修改过 npm 的源,所以当进行登录或发布时需要注意要将源切回 npm 的源。
## 目录结构
以下为推荐使用的目录结构,如果有必要开发者也可以自行做一些调整:
```
|--miniprogram_dev // 开发环境构建目录
|--miniprogram_dist // 生产环境构建目录
|--src // 源码
| |--components // 通用自定义组件
| |--images // 图片资源
| |
| |--xxx.js/xxx.wxml/xxx.json/xxx.wxss // 暴露的 js 模块/自定义组件入口文件
|
|--test // 测试用例
|--tools // 构建相关代码
| |--demo // demo 小程序目录,开发环境下会被拷贝生成到 miniprogram_dev 目录中
| |--config.js // 构建相关配置文件
|
|--gulpfile.js
```
> PS:对外暴露的 js 模块/自定义组件请放在 src 目录下,不宜放置在过深的目录。另外新增的暴露模块需要在 tools/config.js 的 entry 字段中补充,不然不会进行构建。
## 测试
* 执行测试用例:
```
npm run test
```
* 执行测试用例并进入 node inspect 调试:
```
npm run test-debug
```
* 检测覆盖率:
```
npm run coverage
```
测试用例放在 test 目录下,使用 **miniprogram-simulate** 工具集进行测试,[点击此处查看](https://github.com/wechat-miniprogram/miniprogram-simulate/blob/master/README.md)使用方法。在测试中可能需要变更或调整工具集中的一些方法,可在 test/utils 下自行实现。
## 其他命令
* 清空 miniprogram_dist 目录:
```
npm run clean
```
* 清空 miniprogam_dev 目录:
```
npm run clean-dev
```
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 12);
/******/ })
/************************************************************************/
/******/ ({
/***/ 12:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
/**
* 组件的属性列表
*/
properties: {
pickerShow: {
type: Boolean,
value: false
}
},
/**
* 组件的初始数据
*/
data: {
date: '2016-09-01'
},
/**
* 组件的方法列表
*/
methods: {
initDate: function initDate() {
var now = new Date();
var dateArray = [];
for (var i = 1; i < 16; i++) {
dateArray.push(new Date(new Date().setDate(now.getDate() + i)).format('yyyy-MM-dd'));
}
var hour = 9;
var hourList = [];
for (var _i = 0; _i < 8; _i++) {
var _hour = _i + hour < 10 ? '0' + (_i + hour) : _i + hour;
hourList.push(_hour);
}
this.setData({
dateArray: dateArray,
timeArray: [hourList, ['00', '30']]
});
}
},
lifetimes: {
attached: function attached() {
this.initDate();
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/DatePicker/index.js"],"names":["Component","properties","pickerShow","type","Boolean","value","data","date","methods","initDate","now","Date","dateArray","i","push","setDate","getDate","format","hour","hourList","_hour","setData","timeArray","lifetimes","attached"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACR;;;AAGAC,cAAY;AACVC,gBAAY;AACVC,YAAMC,OADI;AAEVC,aAAO;AAFG;AADF,GAJJ;;AAWR;;;AAGAC,QAAM;AACJC,UAAM;AADF,GAdE;;AAkBR;;;AAGAC,WAAS;AACPC,YADO,sBACI;AACT,UAAMC,MAAM,IAAIC,IAAJ,EAAZ;AACA,UAAMC,YAAY,EAAlB;AACA,WAAK,IAAIC,IAAI,CAAb,EAAgBA,IAAI,EAApB,EAAwBA,GAAxB,EAA6B;AAC3BD,kBAAUE,IAAV,CAAe,IAAIH,IAAJ,CAAS,IAAIA,IAAJ,GAAWI,OAAX,CAAmBL,IAAIM,OAAJ,KAAgBH,CAAnC,CAAT,EAAgDI,MAAhD,CAAuD,YAAvD,CAAf;AACD;AACD,UAAMC,OAAO,CAAb;AACA,UAAMC,WAAW,EAAjB;AACA,WAAK,IAAIN,KAAI,CAAb,EAAgBA,KAAI,CAApB,EAAuBA,IAAvB,EAA4B;AAC1B,YAAMO,QAAQP,KAAIK,IAAJ,GAAW,EAAX,UAAoBL,KAAIK,IAAxB,IAAiCL,KAAIK,IAAnD;AACAC,iBAASL,IAAT,CAAcM,KAAd;AACD;AACD,WAAKC,OAAL,CAAa;AACXT,4BADW;AAEXU,mBAAW,CAACH,QAAD,EAAW,CAAC,IAAD,EAAO,IAAP,CAAX;AAFA,OAAb;AAID;AAjBM,GArBD;AAwCRI,aAAW;AACTC,YADS,sBACE;AACT,WAAKf,QAAL;AACD;AAHQ;AAxCH,CAAV,E","file":"DatePicker\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 12);\n","Component({\n /**\n * 组件的属性列表\n */\n properties: {\n pickerShow: {\n type: Boolean,\n value: false,\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n date: '2016-09-01',\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n initDate() {\n const now = new Date()\n const dateArray = []\n for (let i = 1; i < 16; i++) {\n dateArray.push(new Date(new Date().setDate(now.getDate() + i)).format('yyyy-MM-dd'))\n }\n const hour = 9\n const hourList = []\n for (let i = 0; i < 8; i++) {\n const _hour = i + hour < 10 ? `0${i + hour}` : i + hour\n hourList.push(_hour)\n }\n this.setData({\n dateArray,\n timeArray: [hourList, ['00', '30']]\n })\n },\n },\n lifetimes: {\n attached() {\n this.initDate()\n }\n }\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<!-- <view wx:if="{{pickerShow}}" class="dialog_mask {{pickerShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="bindCancelDate"></view>
<view class="dialog_container">
<view class="header flex_scb">
<view class="cancle" bindtap="bindCancelDate">取消</view>
<view class="title">日期选择</view>
<view class="comfirm" bindtap="bindConfirmDate">确定</view>
</view>
<view class="main">
<picker mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
<view class="picker">
当前选择: {{date}}
</view>
</picker>
</view>
</view>
</view> -->
<picker wx:if="{{pickerShow}}" mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
<view class="picker">
当前选择: {{date}}
</view>
</picker>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 70%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main {
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
@font-face {
font-family: 'gl-iconfont';
src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAD5oAA0AAAAAhUAAAD4OAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACFSBEICoHoWIGzIguCMAABNgIkA4JEBCAFhSYHjgUbdGhVRmaMAwDs8LRGImzWXCXN/v+eoMYYPpQHoma2CZwQNk1kdkqjNEvLpNI82suMN5x0nslgi6XT/OrgfYHDBYALx/y47W1248QJ5lHYGpV/23t5EeHSEK2egW0jf5KTd3j+t/kHgYsgcIWLn4sgP8UfmHIRwTRQPqKBP8RPmpgG9lFLrdDaAvMzKO2jrkFr2dea2mq1tdQ2Xb0+m7S3rG21X7W33K/1ttqvvQ9WLVv37Nw+NUuIqTxK5GBBo/otKSuRlcMJiOhvv9ePIwoCCQMKNAq08Sa1BJLiJIGX51ULI3N7/F6bioGXRsj0+T8A4KU5LLWJHTA8EBw8g5zEq22V3Vg/ugEHCiCjz80H/qf5yfz/2lwlonVgZVh+4Wfk7Sx7uEiPSnKKDL1O/bu48w533uk82s121xgSSu1ssOnc/Ei/0u8NCZK4L0+ABMQj0yvQ7qwhwEQd+d8qINtKFLggF3Ej2LrC1EVdacefgmQnLQ8zwYQ8PRhKAKdVWnNJCXFYvgiwTca7htJ9bGzsTYX2/2/T3lZjR/sBHfRPxVQ0zE2D9Z37ZqQHMyPNjLweWG0seUGW1v9IowVJ3p9lR19eMIQIxtYHWSHJXg4SVuHT56THouYyZZo2PxWXddoybZYxrQvT1RYBcYGEpfe/j9gZyOm7gQrXmHom2rlsko5losaFivwDz5AKQqyp6lUC4RMK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9MA7ejJ97LSO2VP51OTo8mX5eBlW7WZCa00tnx6W+tGu87lQ7XAymR/0621SjdNyy3uaxnonGdbkqmKM5k68TfwZtsZOQG7Dz9B4K2PAwAAAAAAAAB//8AAgABAAAADAAAABYAAAACAAEAAwCWAAEABAAAAAIAAAAAeNpjYGBgZACCq0vUOUD0g0sndWA0AETrBvgAAA==') format('woff'), url('gl-iconfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
.gl-iconfont {
font-family: "gl-iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.gl-icon-the-refresh:before {
content: "\e700";
}
.gl-icon-home1:before {
content: "\e6fd";
}
.gl-icon-folder:before {
content: "\e6b5";
}
.gl-icon-font:before {
content: "\e6b1";
}
.gl-icon-html1:before {
content: "\e6b2";
}
.gl-icon-xml:before {
content: "\e6b3";
}
.gl-icon-pdf:before {
content: "\e6b4";
}
.gl-icon-lock:before {
content: "\e702";
}
.gl-icon-at1:before {
content: "\e6f6";
}
.gl-icon-pgs1:before {
content: "\e6b0";
}
.gl-icon-marketing-fill:before {
content: "\e6eb";
}
.gl-icon-on-the-left1:before {
content: "\e6af";
}
.gl-icon-board21:before {
content: "\e6dd";
}
.gl-icon-a-testcaselibrary1:before {
content: "\e6e2";
}
.gl-icon-combined-shape:before {
content: "\e767";
}
.gl-icon-doublearrow:before {
content: "\e768";
}
.gl-icon-questiontalk1:before {
content: "\e769";
}
.gl-icon-on-the-left:before {
content: "\e766";
}
.gl-icon-smallarrow-simple-up1:before {
content: "\e74f";
}
.gl-icon-task-created1:before {
content: "\e750";
}
.gl-icon-the-calendar:before {
content: "\e751";
}
.gl-icon-task-board:before {
content: "\e753";
}
.gl-icon-the-arrow:before {
content: "\e754";
}
.gl-icon-tick:before {
content: "\e755";
}
.gl-icon-state-check:before {
content: "\e756";
}
.gl-icon-tick2:before {
content: "\e757";
}
.gl-icon-star:before {
content: "\e758";
}
.gl-icon-the-sorting22:before {
content: "\e759";
}
.gl-icon-triangle-down:before {
content: "\e75b";
}
.gl-icon-triangle-left1:before {
content: "\e75c";
}
.gl-icon-warning1:before {
content: "\e75d";
}
.gl-icon-towards:before {
content: "\e75e";
}
.gl-icon-upload-file1:before {
content: "\e75f";
}
.gl-icon-video21:before {
content: "\e760";
}
.gl-icon-to-do:before {
content: "\e761";
}
.gl-icon-triangle-up:before {
content: "\e762";
}
.gl-icon-the-sorting1:before {
content: "\e763";
}
.gl-icon-warning-o:before {
content: "\e764";
}
.gl-icon-triangle-right:before {
content: "\e765";
}
.gl-icon-favorite1:before {
content: "\e6e3";
}
.gl-icon-headset:before {
content: "\e720";
}
.gl-icon-full-screen:before {
content: "\e721";
}
.gl-icon-headest-fill:before {
content: "\e722";
}
.gl-icon-filter:before {
content: "\e723";
}
.gl-icon-filter-tick:before {
content: "\e725";
}
.gl-icon-heart-o:before {
content: "\e726";
}
.gl-icon-flag:before {
content: "\e727";
}
.gl-icon-home-fill21:before {
content: "\e728";
}
.gl-icon-heart:before {
content: "\e729";
}
.gl-icon-more:before {
content: "\e72a";
}
.gl-icon-more-vertical:before {
content: "\e72c";
}
.gl-icon-mark-as-read1:before {
content: "\e72e";
}
.gl-icon-plus:before {
content: "\e730";
}
.gl-icon-leave1:before {
content: "\e731";
}
.gl-icon-link:before {
content: "\e732";
}
.gl-icon-org-user:before {
content: "\e733";
}
.gl-icon-lock-fill:before {
content: "\e734";
}
.gl-icon-icon-mute1:before {
content: "\e735";
}
.gl-icon-loading:before {
content: "\e736";
}
.gl-icon-a-smallarrow-simple-up2:before {
content: "\e737";
}
.gl-icon-microphone:before {
content: "\e738";
}
.gl-icon-pause:before {
content: "\e739";
}
.gl-icon-plus-fill:before {
content: "\e73a";
}
.gl-icon-picture1:before {
content: "\e73b";
}
.gl-icon-smallarrow-simple-down1:before {
content: "\e73c";
}
.gl-icon-repeat:before {
content: "\e73d";
}
.gl-icon-poweroff:before {
content: "\e73e";
}
.gl-icon-play:before {
content: "\e73f";
}
.gl-icon-right:before {
content: "\e740";
}
.gl-icon-scanning1:before {
content: "\e742";
}
.gl-icon-location:before {
content: "\e743";
}
.gl-icon-phone-o:before {
content: "\e744";
}
.gl-icon-inbox:before {
content: "\e745";
}
.gl-icon-projectid1:before {
content: "\e746";
}
.gl-icon-nav:before {
content: "\e747";
}
.gl-icon-print:before {
content: "\e748";
}
.gl-icon-pencil:before {
content: "\e749";
}
.gl-icon-search:before {
content: "\e74a";
}
.gl-icon-member-group:before {
content: "\e74b";
}
.gl-icon-remove:before {
content: "\e74c";
}
.gl-icon-qrcode:before {
content: "\e74d";
}
.gl-icon-fullday:before {
content: "\e74e";
}
.gl-icon-checkbox:before {
content: "\e6d9";
}
.gl-icon-add:before {
content: "\e6da";
}
.gl-icon-arrow-switch:before {
content: "\e6db";
}
.gl-icon-add-user:before {
content: "\e6dc";
}
.gl-icon-circle-info-o:before {
content: "\e6de";
}
.gl-icon-circle-arrow-up-o:before {
content: "\e6df";
}
.gl-icon-circle-arrow-left-o:before {
content: "\e6e0";
}
.gl-icon-created-fill:before {
content: "\e6e1";
}
.gl-icon-checkbox-ios-checked:before {
content: "\e6e4";
}
.gl-icon-calendar-tick:before {
content: "\e6e5";
}
.gl-icon-coupon:before {
content: "\e6e6";
}
.gl-icon-cog:before {
content: "\e6e7";
}
.gl-icon-circle-error-o:before {
content: "\e6e8";
}
.gl-icon-circle-info:before {
content: "\e6e9";
}
.gl-icon-envelope:before {
content: "\e6ea";
}
.gl-icon-copy:before {
content: "\e6f3";
}
.gl-icon-circle-plus1:before {
content: "\e6f4";
}
.gl-icon-circle-chevron-down-o:before {
content: "\e6f5";
}
.gl-icon-bookkeeping-logo:before {
content: "\e6f7";
}
.gl-icon-draggable:before {
content: "\e6f8";
}
.gl-icon-edit:before {
content: "\e6f9";
}
.gl-icon-circle-arrow-right-o:before {
content: "\e6fa";
}
.gl-icon-activity-fill:before {
content: "\e70d";
}
.gl-icon-custom-number:before {
content: "\e70e";
}
.gl-icon-favorite-fill:before {
content: "\e70f";
}
.gl-icon-error:before {
content: "\e710";
}
.gl-icon-bell-fill:before {
content: "\e711";
}
.gl-icon-circle-question:before {
content: "\e712";
}
.gl-icon-credit-card:before {
content: "\e713";
}
.gl-icon-correct:before {
content: "\e714";
}
.gl-icon-eye-fill:before {
content: "\e715";
}
.gl-icon-clock:before {
content: "\e716";
}
.gl-icon-eye-slash:before {
content: "\e717";
}
.gl-icon-circle-arrow-down-o:before {
content: "\e719";
}
.gl-icon-camera:before {
content: "\e71a";
}
.gl-icon-dig:before {
content: "\e71b";
}
.gl-icon-dig2:before {
content: "\e71c";
}
.gl-icon-circle-user-o:before {
content: "\e71d";
}
.gl-icon-eye:before {
content: "\e71e";
}
.gl-icon-custom-text1:before {
content: "\e71f";
}
.gl-icon-home-fill2:before {
content: "\e6c8";
}
.gl-icon-triangle-left:before {
content: "\e6ca";
}
.gl-icon-leave:before {
content: "\e6c9";
}
.gl-icon-projectid:before {
content: "\e6cb";
}
.gl-icon-upload-file:before {
content: "\e6cd";
}
.gl-icon-smallarrow-simple-down:before {
content: "\e6ce";
}
.gl-icon-warning:before {
content: "\e6cf";
}
.gl-icon-mark-as-read:before {
content: "\e6d1";
}
.gl-icon-icon-mute:before {
content: "\e6d2";
}
.gl-icon-picture:before {
content: "\e6d3";
}
.gl-icon-scanning:before {
content: "\e6d4";
}
.gl-icon-custom-text:before {
content: "\e6d5";
}
.gl-icon-smallarrow-simple-up:before {
content: "\e6d6";
}
.gl-icon-task-created:before {
content: "\e6d7";
}
.gl-icon-video2:before {
content: "\e6d8";
}
.gl-icon-activity:before {
content: "\e6fc";
}
.gl-icon-excel:before {
content: "\e701";
}
.gl-icon-photo:before {
content: "\e704";
}
.gl-icon-music:before {
content: "\e707";
}
.gl-icon-ppt:before {
content: "\e708";
}
.gl-icon-others:before {
content: "\e709";
}
.gl-icon-video:before {
content: "\e70a";
}
.gl-icon-zip:before {
content: "\e70b";
}
.gl-icon-salepre:before {
content: "\e6fb";
}
.gl-icon-equity:before {
content: "\e6fe";
}
.gl-icon-authorize:before {
content: "\e6ff";
}
.gl-icon-marketing:before {
content: "\e6f2";
}
.gl-icon-capital1:before {
content: "\e6a9";
}
.gl-icon-settings:before {
content: "\e6ec";
}
.gl-icon-home:before {
content: "\e6ed";
}
.gl-icon-outbound:before {
content: "\e6ee";
}
.gl-icon-custom:before {
content: "\e6ef";
}
.gl-icon-drainage:before {
content: "\e6f0";
}
.gl-icon-services:before {
content: "\e6f1";
}
.gl-icon-book:before {
content: "\e6b8";
}
.gl-icon-small-right:before {
content: "\e66a";
}
.gl-icon-small-up:before {
content: "\e66b";
}
.gl-icon-arrow-up:before {
content: "\e660";
}
.gl-icon-arrow-down:before {
content: "\e661";
}
.gl-icon-arrow-right:before {
content: "\e662";
}
.gl-icon-circle-plus:before {
content: "\e656";
}
.gl-icon-favorite:before {
content: "\e653";
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 15);
/******/ })
/************************************************************************/
/******/ ({
/***/ 15:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
externalClasses: ['icon-class-customer', 'dot-class-customer', 'info-class-customer'],
data: {},
properties: {
iconName: String,
fontSize: Number,
color: String,
info: null,
dot: Boolean
},
methods: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLIcon/index.js"],"names":["Component","externalClasses","data","properties","iconName","String","fontSize","Number","color","info","dot","Boolean","methods"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,qBAAD,EAAwB,oBAAxB,EAA8C,qBAA9C,CADT;AAERC,QAAM,EAFE;AAGRC,cAAY;AACVC,cAAUC,MADA;AAEVC,cAAUC,MAFA;AAGVC,WAAOH,MAHG;AAIVI,UAAM,IAJI;AAKVC,SAAKC;AALK,GAHJ;AAURC,WAAS;AAVD,CAAV,E","file":"GLIcon\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 15);\n","Component({\n externalClasses: ['icon-class-customer', 'dot-class-customer', 'info-class-customer'],\n data: {},\n properties: {\n iconName: String,\n fontSize: Number,\n color: String,\n info: null,\n dot: Boolean,\n },\n methods: {}\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"info": "../Info/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="{{iconName}} gl-iconfont icon-box icon-class-customer" style="font-size: {{fontSize+'rpx'}};color: {{color}};width: {{fontSize+'rpx'}}">
<block wx:if="{{info!==null || dot}}">
<info dot="{{dot}}" info="{{info}}" dot-class-customer="dot-class-customer" info-class-customer="info-class-customer"></info>
</block>
</view>
\ No newline at end of file \ No newline at end of file
@import './iconfont.wxss';
.icon-box {
position: relative;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 21);
/******/ })
/************************************************************************/
/******/ ({
/***/ 21:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
externalClasses: ['plat-num-item-customer'],
data: {},
properties: {
platObj: Object,
platNumberList: Array
},
methods: {
chooseLicensePlate: function chooseLicensePlate() {
this.triggerEvent('chooseLicensePlate');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLPlate/index.js"],"names":["Component","externalClasses","data","properties","platObj","Object","platNumberList","Array","methods","chooseLicensePlate","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,wBAAD,CADT;AAERC,QAAM,EAFE;AAGRC,cAAY;AACVC,aAASC,MADC;AAEVC,oBAAgBC;AAFN,GAHJ;AAORC,WAAS;AACPC,sBADO,gCACc;AACnB,WAAKC,YAAL,CAAkB,oBAAlB;AACD;AAHM;AAPD,CAAV,E","file":"GLPlate\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 21);\n","Component({\n externalClasses: ['plat-num-item-customer'],\n data: {},\n properties: {\n platObj: Object,\n platNumberList: Array\n },\n methods: {\n chooseLicensePlate() {\n this.triggerEvent('chooseLicensePlate')\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="value {{!platObj.platNumber?'placeholder-style':''}}" bindtap="chooseLicensePlate">
<!-- <block wx:if="{{platObj.platNumber}}">{{platObj.platPrefix || ''}}{{platObj.platNumber}}</block>
<block wx:else>请选择</block> -->
<view class="plat-num-box">
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '京' : platObj.platPrefix}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[0]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[1]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[2]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[3]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[4]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[5]}}</view>
<view class="plat-num-item plat-num-item-customer {{platNumberList.length <= 6 ? 'plat-num-placeholder' : ''}}">
{{platNumberList.length <= 6 ? '新能源' : platNumberList[6]}}
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.plat-num-box {
display: flex;
justify-content: space-between;
}
.plat-num-item {
box-sizing: border-box;
flex-shrink: 0;
text-align: center;
width: 60rpx;
height: 80rpx;
padding: 20rpx 16rpx;
background: rgba(50, 127, 250, 0.1);
border-radius: 8rpx;
border: 2rpx solid rgba(50, 127, 250, 0.15);
margin-right: 20rpx;
}
.plat-num-item:last-child {
background: #f3ffe7;
border: 2rpx solid #e0f8c9;
margin-right: 0;
}
.plat-num-placeholder {
font-size: 18rpx;
line-height: 40rpx;
padding: 20rpx 0;
color: #b1b1b3;
}
.placeholder-style {
color: #b1b1b3;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 20);
/******/ })
/************************************************************************/
/******/ ({
/***/ 20:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
data: {},
properties: {
popupShow: Boolean,
height: {
type: String,
value: '70%'
}
},
options: {
multipleSlots: true // 复数插槽: 是
},
methods: {
// 关闭弹窗
close: function close() {
this.triggerEvent('closePopup');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLPopup/index.js"],"names":["Component","data","properties","popupShow","Boolean","height","type","String","value","options","multipleSlots","methods","close","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,QAAM,EADE;AAERC,cAAY;AACVC,eAAWC,OADD;AAEVC,YAAQ;AACNC,YAAMC,MADA;AAENC,aAAO;AAFD;AAFE,GAFJ;AASRC,WAAS;AACPC,mBAAe,IADR,CACa;AADb,GATD;AAYRC,WAAS;AACP;AACAC,SAFO,mBAEC;AACN,WAAKC,YAAL,CAAkB,YAAlB;AACD;AAJM;AAZD,CAAV,E","file":"GLPopup\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 20);\n","Component({\n data: {},\n properties: {\n popupShow: Boolean,\n height: {\n type: String,\n value: '70%',\n }\n },\n options: {\n multipleSlots: true // 复数插槽: 是\n },\n methods: {\n // 关闭弹窗\n close() {\n this.triggerEvent('closePopup')\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{popupShow}}" class="dialog_mask {{popupShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="close"></view>
<view class="dialog_container" style="height:{{ height }}">
<view class="header flex_scb">
<slot name="left-widget"></slot>
<slot name="title"></slot>
<slot name="right-widget"></slot>
</view>
<view class="main">
<slot name="body"></slot>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main {
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 22);
/******/ })
/************************************************************************/
/******/ ({
/***/ 22:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
data: {
deactiveStyle: {},
activeStyle: {},
tabActive: 0
},
properties: {
tabObj: {
type: Object,
value: {},
observer: function observer(n) {
this.setData({
deactiveStyle: n.mainStyle.deactiveClass,
activeStyle: n.mainStyle.activeClass
});
}
}
},
methods: {
changeTab: function changeTab(e) {
console.log(e);
this.setData({
tabActive: e.currentTarget.dataset.index
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GLTab/index.js"],"names":["Component","data","deactiveStyle","activeStyle","tabActive","properties","tabObj","type","Object","value","observer","n","setData","mainStyle","deactiveClass","activeClass","methods","changeTab","e","console","log","currentTarget","dataset","index"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,QAAM;AACJC,mBAAe,EADX;AAEJC,iBAAa,EAFT;AAGJC,eAAW;AAHP,GADE;AAMRC,cAAY;AACVC,YAAQ;AACNC,YAAMC,MADA;AAENC,aAAO,EAFD;AAGNC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKC,OAAL,CAAa;AACXV,yBAAeS,EAAEE,SAAF,CAAYC,aADhB;AAEXX,uBAAaQ,EAAEE,SAAF,CAAYE;AAFd,SAAb;AAID;AARK;AADE,GANJ;AAkBRC,WAAS;AACPC,aADO,qBACGC,CADH,EACM;AACXC,cAAQC,GAAR,CAAYF,CAAZ;AACA,WAAKN,OAAL,CAAa;AACXR,mBAAWc,EAAEG,aAAF,CAAgBC,OAAhB,CAAwBC;AADxB,OAAb;AAGD;AANM;AAlBD,CAAV,E","file":"GLTab\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 22);\n","Component({\n data: {\n deactiveStyle: {},\n activeStyle: {},\n tabActive: 0\n },\n properties: {\n tabObj: {\n type: Object,\n value: {},\n observer: function (n) {\n this.setData({\n deactiveStyle: n.mainStyle.deactiveClass,\n activeStyle: n.mainStyle.activeClass\n })\n },\n }\n },\n methods: {\n changeTab(e) {\n console.log(e);\n this.setData({\n tabActive: e.currentTarget.dataset.index\n })\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="tab-box" style="justify-content: {{tabObj.mainStyle.flexClass}}">
<block wx:for="{{tabObj.tabList}}" wx:key="index">
<view style="font-size: {{index == tabActive? activeStyle.fontSize+'rpx':deactiveStyle.fontSize+'rpx'}};color: {{index == tabActive? activeStyle.color:deactiveStyle.color}}; font-weight: {{index == tabActive? activeStyle.fontWeight:deactiveStyle.fontWeight}}" bind:tap="changeTab" data-index="{{index}}">
{{item.name}}{{index}}
</view>
</block>
</view>
\ No newline at end of file \ No newline at end of file
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 17);
/******/ })
/************************************************************************/
/******/ ({
/***/ 17:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _WxValidate = __webpack_require__(18);
var _WxValidate2 = _interopRequireDefault(_WxValidate);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var utils = __webpack_require__(19); /*
* @Description: 表单框架
* @Author: huyue
* @Date: 2023-04-28 16:19:53
* @LastEditors: huyue
* @LastEditTime: 2023-08-10 16:54:00
*/
Component({
externalClasses: ['switch-active-class', 'switch-class', 'switch-item-class', 'lable-class'],
options: {
multipleSlots: true // 复数插槽: 是
},
data: {
formDataObj: {},
formDataList: []
},
properties: {
/**
* formObj:表单数据绑定的对象
*/
formObj: {
type: Object,
value: {},
observer: function observer(n) {
this.setData({
formDataObj: n
});
}
},
/**
* formData:表单配置数据
*/
formData: {
type: Array,
value: [],
observer: function observer(n) {
console.log(n);
this.initValidate(n);
this.setData({
formDataList: n
});
}
},
/**
* inline:表单配置是否一行展示
*/
inline: {
type: Boolean,
value: true
},
/**
* themeStyle: 主题样式
*/
themeStyle: {
type: String,
value: '#3582EE'
},
textPostion: {
type: String,
value: 'right'
}
},
methods: {
// 初始化选项值
getOptionsList: function getOptionsList(optionList, refreshSigle) {
var _this = this;
console.log(optionList, refreshSigle);
if (refreshSigle) {
var _setData;
// 深拷贝传值
var cloneList = utils.deepClone(optionList[refreshSigle]);
var index = this.data.formDataList.findIndex(function (k) {
return k.name === refreshSigle;
});
this.setData((_setData = {}, _setData['formDataList[' + index + '].valueList'] = cloneList, _setData));
} else {
this.data.formDataList.forEach(function (item, index) {
if (optionList[item.name] && optionList[item.name].length) {
var _this$setData;
// 深拷贝传值
var _cloneList = utils.deepClone(optionList[item.name]);
_this.setData((_this$setData = {}, _this$setData['formDataList[' + index + '].valueList'] = _cloneList, _this$setData));
}
});
console.log(this.data.formDataList, '===');
}
},
// 表单验证规则
initValidate: function initValidate(obj) {
var rules = {};
// const messages = {}
obj.forEach(function (item) {
if (item.rules) {
rules[item.name] = item.rules;
// messages[item.name] = {
// required: item.rulesMessage || '请输入' + item.lable
// }
}
});
console.log(rules);
// console.log(messages);
this.WxValidate = new _WxValidate2.default(rules);
},
// 获取GlsxFormItem的值
getFormItemValue: function getFormItemValue(e) {
var _setData3;
// const value = this.selectComponent('#GlsxFormItem').formDataObj
console.log(e);
var _e$detail = e.detail,
name = _e$detail.name,
value = _e$detail.value,
type = _e$detail.type;
if (type === 'muiltiImg') {
var _setData2;
this.data.formDataObj[name].splice(value, 1);
this.setData((_setData2 = {}, _setData2['formDataObj.' + name] = this.data.formDataObj[name], _setData2));
return;
}
this.setData((_setData3 = {}, _setData3['formDataObj.' + name] = value, _setData3));
// 加change事件,告知表单项变化
this.triggerEvent('changeFormItem', e.detail);
},
// 验证表单数据
// eslint-disable-next-line consistent-return
validateFormData: function validateFormData() {
var params = this.data.formDataObj;
if (!this.WxValidate.checkForm(params)) {
var error = this.WxValidate.errorList;
return error;
}
},
// 返回formObj的值
returnFormObj: function returnFormObj() {
return this.data.formDataObj;
},
// select事件
customClick: function customClick(e) {
var clickName = e.detail + 'Click';
console.log(clickName);
this.triggerEvent(clickName, e.detail);
}
},
// 组件页面生周期
lifetimes: {
created: function created() {
// 在组件实例刚刚被创建时执行
// 初始化验证规则函数
this.initValidate();
}
}
});
/***/ }),
/***/ 18:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/**
* 表单验证
*
* @param {Object} rules 验证字段的规则
* @param {Object} messages 验证字段的提示信息
*
*/
var WxValidate = function () {
function WxValidate() {
var rules = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
_classCallCheck(this, WxValidate);
Object.assign(this, {
data: {},
rules: rules,
messages: messages
});
this.__init();
}
/**
* __init
*/
WxValidate.prototype.__init = function __init() {
this.__initMethods();
this.__initDefaults();
this.__initData();
};
/**
* 初始化数据
*/
WxValidate.prototype.__initData = function __initData() {
this.form = {};
this.errorList = [];
};
/**
* 初始化默认提示信息
*/
WxValidate.prototype.__initDefaults = function __initDefaults() {
this.defaults = {
messages: {
required: '这是必填字段。',
email: '请输入有效的电子邮件地址。',
tel: '请输入11位的手机号码。',
url: '请输入有效的网址。',
date: '请输入有效的日期。',
dateISO: '请输入有效的日期(ISO),例如:2009-06-23,1998/01/22。',
number: '请输入有效的数字。',
digits: '只能输入数字。',
idcard: '请输入18位的有效身份证。',
equalTo: this.formatTpl('输入值必须和 {0} 相同。'),
contains: this.formatTpl('输入值必须包含 {0}。'),
minlength: this.formatTpl('最少要输入 {0} 个字符。'),
maxlength: this.formatTpl('最多可以输入 {0} 个字符。'),
rangelength: this.formatTpl('请输入长度在 {0} 到 {1} 之间的字符。'),
min: this.formatTpl('请输入不小于 {0} 的数值。'),
max: this.formatTpl('请输入不大于 {0} 的数值。'),
range: this.formatTpl('请输入范围在 {0} 到 {1} 之间的数值。')
}
};
};
/**
* 初始化默认验证方法
*/
WxValidate.prototype.__initMethods = function __initMethods() {
var that = this;
that.methods = {
/**
* 验证必填元素
*/
required: function required(value, param) {
if (!that.depend(param)) {
return 'dependency-mismatch';
} else if (typeof value === 'number') {
value = value.toString();
} else if (typeof value === 'boolean') {
return !0;
}
return value.length > 0;
},
/**
* 验证电子邮箱格式
*/
email: function email(value) {
return that.optional(value) ||
// eslint-disable-next-line no-useless-escape
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(value);
},
/**
* 验证手机格式
*/
tel: function tel(value) {
return that.optional(value) || /^((0\d{2,3}-\d{7,8})|(1[3456789]\d{9}))$/.test(value);
},
/**
* 验证URL格式
*/
url: function url(value) {
return that.optional(value) ||
// eslint-disable-next-line max-len
/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(value);
},
/**
* 验证日期格式
*/
date: function date(value) {
return that.optional(value) || !/Invalid|NaN/.test(new Date(value).toString());
},
/**
* 验证ISO类型的日期格式
*/
dateISO: function dateISO(value) {
return that.optional(value) ||
// eslint-disable-next-line no-useless-escape
/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
},
/**
* 验证十进制数字
*/
number: function number(value) {
return that.optional(value) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(value);
},
/**
* 验证整数
*/
digits: function digits(value) {
return that.optional(value) || /^\d+$/.test(value);
},
/**
* 验证身份证号码
*/
idcard: function idcard(value) {
return that.optional(value) || /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(value);
},
/**
* 验证两个输入框的内容是否相同
*/
equalTo: function equalTo(value, param) {
return that.optional(value) || value === that.data[param];
},
/**
* 验证是否包含某个值
*/
contains: function contains(value, param) {
return that.optional(value) || value.indexOf(param) >= 0;
},
/**
* 验证最小长度
*/
minlength: function minlength(value, param) {
return that.optional(value) || value.length >= param;
},
/**
* 验证最大长度
*/
maxlength: function maxlength(value, param) {
return that.optional(value) || value.length <= param;
},
/**
* 验证一个长度范围[min, max]
*/
rangelength: function rangelength(value, param) {
return that.optional(value) || value.length >= param[0] && value.length <= param[1];
},
/**
* 验证最小值
*/
min: function min(value, param) {
return that.optional(value) || value >= param;
},
/**
* 验证最大值
*/
max: function max(value, param) {
return that.optional(value) || value <= param;
},
/**
* 验证一个值范围[min, max]
*/
range: function range(value, param) {
return that.optional(value) || value >= param[0] && value <= param[1];
}
};
};
/**
* 添加自定义验证方法
* @param {String} name 方法名
* @param {Function} method 函数体,接收两个参数(value, param),value表示元素的值,param表示参数
* @param {String} message 提示信息
*/
WxValidate.prototype.addMethod = function addMethod(name, method, message) {
this.methods[name] = method;
this.defaults.messages[name] = message !== undefined ? message : this.defaults.messages[name];
};
/**
* 判断验证方法是否存在
*/
WxValidate.prototype.isValidMethod = function isValidMethod(value) {
var methods = [];
for (var method in this.methods) {
if (method && typeof this.methods[method] === 'function') {
methods.push(method);
}
}
return methods.indexOf(value) !== -1;
};
/**
* 格式化提示信息模板
*/
WxValidate.prototype.formatTpl = function formatTpl(source, params) {
var that = this;
if (arguments.length === 1) {
return function () {
// eslint-disable-next-line prefer-rest-params
var args = Array.from(arguments);
args.unshift(source);
return that.formatTpl.apply(this, args);
};
}
if (params === undefined) {
return source;
}
if (arguments.length > 2 && params.constructor !== Array) {
// eslint-disable-next-line prefer-rest-params
params = Array.from(arguments).slice(1);
}
if (params.constructor !== Array) {
params = [params];
}
params.forEach(function (n, i) {
source = source.replace(new RegExp('\\{' + i + '\\}', 'g'), function () {
return n;
});
});
return source;
};
/**
* 判断规则依赖是否存在
*/
// eslint-disable-next-line class-methods-use-this
WxValidate.prototype.depend = function depend(param) {
switch (typeof param === 'undefined' ? 'undefined' : _typeof(param)) {
case 'boolean':
// eslint-disable-next-line no-self-assign
param = param;
break;
case 'string':
param = !!param.length;
break;
case 'function':
param = param();
// eslint-disable-next-line no-fallthrough
default:
param = !0;
}
return param;
};
/**
* 判断输入值是否为空
*/
WxValidate.prototype.optional = function optional(value) {
return !this.methods.required(value) && 'dependency-mismatch';
};
/**
* 获取自定义字段的提示信息
* @param {String} param 字段名
* @param {Object} rule 规则
*/
// eslint-disable-next-line consistent-return
WxValidate.prototype.customMessage = function customMessage(param, rule) {
var params = this.messages[param];
var isObject = (typeof params === 'undefined' ? 'undefined' : _typeof(params)) === 'object';
if (params && isObject) return params[rule.method];
};
/**
* 获取某个指定字段的提示信息
* @param {String} param 字段名
* @param {Object} rule 规则
*/
WxValidate.prototype.defaultMessage = function defaultMessage(param, rule) {
var message = this.customMessage(param, rule) || this.defaults.messages[rule.method];
var type = typeof message === 'undefined' ? 'undefined' : _typeof(message);
if (type === 'undefined') {
message = 'Warning: No message defined for ' + rule.method + '.';
} else if (type === 'function') {
message = message.call(this, rule.parameters);
}
return message;
};
/**
* 缓存错误信息
* @param {String} param 字段名
* @param {Object} rule 规则
* @param {String} value 元素的值
*/
WxValidate.prototype.formatTplAndAdd = function formatTplAndAdd(param, rule, value) {
var msg = this.defaultMessage(param, rule);
this.errorList.push({
param: param,
msg: msg,
value: value
});
};
/**
* 验证某个指定字段的规则
* @param {String} param 字段名
* @param {Object} rules 规则
* @param {Object} data 需要验证的数据对象
*/
WxValidate.prototype.checkParam = function checkParam(param, rules, data) {
// 缓存数据对象
this.data = data;
// 缓存字段对应的值
var value = data[param] !== null && data[param] !== undefined ? data[param] : '';
// 遍历某个指定字段的所有规则,依次验证规则,否则缓存错误信息
for (var method in rules) {
// 判断验证方法是否存在
if (this.isValidMethod(method)) {
// 缓存规则的属性及值
var rule = {
method: method,
parameters: rules[method]
};
// 调用验证方法
var result = this.methods[method](value, rule.parameters);
// 若result返回值为dependency-mismatch,则说明该字段的值为空或非必填字段
if (result === 'dependency-mismatch') {
continue;
}
this.setValue(param, method, result, value);
// 判断是否通过验证,否则缓存错误信息,跳出循环
if (!result) {
this.formatTplAndAdd(param, rule, value);
break;
}
}
}
};
/**
* 设置字段的默认验证值
* @param {String} param 字段名
*/
WxValidate.prototype.setView = function setView(param) {
this.form[param] = {
$name: param,
$valid: true,
$invalid: false,
$error: {},
$success: {},
// eslint-disable-next-line quotes
$viewValue: ''
};
};
/**
* 设置字段的验证值
* @param {String} param 字段名
* @param {String} method 字段的方法
* @param {Boolean} result 是否通过验证
* @param {String} value 字段的值
*/
WxValidate.prototype.setValue = function setValue(param, method, result, value) {
var params = this.form[param];
params.$valid = result;
params.$invalid = !result;
params.$error[method] = !result;
params.$success[method] = result;
params.$viewValue = value;
};
/**
* 验证所有字段的规则,返回验证是否通过
* @param {Object} data 需要验证数据对象
*/
WxValidate.prototype.checkForm = function checkForm(data) {
this.__initData();
// eslint-disable-next-line guard-for-in
for (var param in this.rules) {
this.setView(param);
this.checkParam(param, this.rules[param], data);
}
return this.valid();
};
/**
* 返回验证是否通过
*/
WxValidate.prototype.valid = function valid() {
return this.size() === 0;
};
/**
* 返回错误信息的个数
*/
WxValidate.prototype.size = function size() {
return this.errorList.length;
};
/**
* 返回所有错误信息
*/
WxValidate.prototype.validationErrors = function validationErrors() {
return this.errorList;
};
return WxValidate;
}();
exports.default = WxValidate;
/***/ }),
/***/ 19:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
module.exports = {
getFlag: function getFlag() {
return true;
},
deepClone: function deepClone(target) {
var map = new WeakMap();
function isObject(target) {
return (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target || typeof target === 'function';
}
function clone(data) {
if (!isObject(data)) {
return data;
}
if ([Date, RegExp].includes(data.constructor)) {
return new data.constructor(data);
}
if (typeof data === 'function') {
// eslint-disable-next-line no-new-func
return new Function('return ' + data.toString())();
}
var exist = map.get(data);
if (exist) {
return exist;
}
if (data instanceof Map) {
var _result = new Map();
map.set(data, _result);
data.forEach(function (val, key) {
if (isObject(val)) {
_result.set(key, clone(val));
} else {
_result.set(key, val);
}
});
return _result;
}
if (data instanceof Set) {
var _result2 = new Set();
map.set(data, _result2);
data.forEach(function (val) {
if (isObject(val)) {
_result2.add(clone(val));
} else {
_result2.add(val);
}
});
return _result2;
}
var keys = Reflect.ownKeys(data);
var allDesc = Object.getOwnPropertyDescriptors(data);
var result = Object.create(Object.getPrototypeOf(data), allDesc);
map.set(data, result);
keys.forEach(function (key) {
var val = data[key];
if (isObject(val)) {
result[key] = clone(val);
} else {
result[key] = val;
}
});
return result;
}
return clone(target);
}
};
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GlsxForm/index.js","webpack:///./src/WxValidate.js","webpack:///./src/utils.js"],"names":["utils","require","Component","externalClasses","options","multipleSlots","data","formDataObj","formDataList","properties","formObj","type","Object","value","observer","n","setData","formData","Array","console","log","initValidate","inline","Boolean","themeStyle","String","textPostion","methods","getOptionsList","optionList","refreshSigle","cloneList","deepClone","index","findIndex","k","name","forEach","item","length","obj","rules","WxValidate","getFormItemValue","e","detail","splice","triggerEvent","validateFormData","params","checkForm","error","errorList","returnFormObj","customClick","clickName","lifetimes","created","messages","assign","__init","__initMethods","__initDefaults","__initData","form","defaults","required","email","tel","url","date","dateISO","number","digits","idcard","equalTo","formatTpl","contains","minlength","maxlength","rangelength","min","max","range","that","param","depend","toString","optional","test","Date","indexOf","addMethod","method","message","undefined","isValidMethod","push","source","arguments","args","from","unshift","apply","constructor","slice","i","replace","RegExp","customMessage","rule","isObject","defaultMessage","call","parameters","formatTplAndAdd","msg","checkParam","result","setValue","setView","$name","$valid","$invalid","$error","$success","$viewValue","valid","size","validationErrors","module","exports","getFlag","target","map","WeakMap","clone","includes","Function","exist","get","Map","set","val","key","Set","add","keys","Reflect","ownKeys","allDesc","getOwnPropertyDescriptors","create","getPrototypeOf"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AC3EA;;;;;;AAEA,IAAMA,QAAQC,mBAAOA,CAACA,EAAUA,CAAhC,C,CATA;;;;;;;;;AAWAC,UAAU;AACRC,mBAAiB,CACf,qBADe,EAEf,cAFe,EAGf,mBAHe,EAIf,aAJe,CADT;AAORC,WAAS;AACPC,mBAAe,IADR,CACc;AADd,GAPD;AAURC,QAAM;AACJC,iBAAa,EADT;AAEJC,kBAAc;AAFV,GAVE;AAcRC,cAAY;AACV;;;AAGAC,aAAS;AACPC,YAAMC,MADC;AAEPC,aAAO,EAFA;AAGPC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKC,OAAL,CAAa;AACXT,uBAAaQ;AADF,SAAb;AAGD;AAPM,KAJC;AAaV;;;AAGAE,cAAU;AACRN,YAAMO,KADE;AAERL,aAAO,EAFC;AAGRC,gB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Ac5I,OAAO6I,cAAP,CAAsBnJ,IAAtB,CAAd,EAA2CgJ,OAA3C,CAAf;AACAhB,UAAIQ,GAAJ,CAAQxI,IAAR,EAAcgH,MAAd;AACA6B,WAAK9G,OAAL,CAAa,eAAO;AAClB,YAAM0G,MAAMzI,KAAK0I,GAAL,CAAZ;AACA,YAAIjC,SAASgC,GAAT,CAAJ,EAAmB;AACjBzB,iBAAO0B,GAAP,IAAcR,MAAMO,GAAN,CAAd;AACD,SAFD,MAEO;AACLzB,iBAAO0B,GAAP,IAAcD,GAAd;AACD;AACF,OAPD;AAQA,aAAOzB,MAAP;AACD;AACD,WAAOkB,MAAMH,MAAN,CAAP;AACD;AA/Dc,CAAjB,C","file":"GlsxForm\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 17);\n","/*\n * @Description: 表单框架\n * @Author: huyue\n * @Date: 2023-04-28 16:19:53\n * @LastEditors: huyue\n * @LastEditTime: 2023-08-10 16:54:00\n */\nimport WxValidate from '../WxValidate';\n\nconst utils = require('../utils');\n\nComponent({\n externalClasses: [\n 'switch-active-class',\n 'switch-class',\n 'switch-item-class',\n 'lable-class',\n ],\n options: {\n multipleSlots: true, // 复数插槽: 是\n },\n data: {\n formDataObj: {},\n formDataList: [],\n },\n properties: {\n /**\n * formObj:表单数据绑定的对象\n */\n formObj: {\n type: Object,\n value: {},\n observer: function (n) {\n this.setData({\n formDataObj: n,\n });\n },\n },\n /**\n * formData:表单配置数据\n */\n formData: {\n type: Array,\n value: [],\n observer: function (n) {\n console.log(n);\n this.initValidate(n);\n this.setData({\n formDataList: n,\n });\n },\n },\n /**\n * inline:表单配置是否一行展示\n */\n inline: {\n type: Boolean,\n value: true,\n },\n /**\n * themeStyle: 主题样式\n */\n themeStyle: {\n type: String,\n value: '#3582EE'\n },\n textPostion: {\n type: String,\n value: 'right'\n }\n },\n methods: {\n // 初始化选项值\n getOptionsList(optionList, refreshSigle) {\n console.log(optionList, refreshSigle);\n if (refreshSigle) {\n // 深拷贝传值\n const cloneList = utils.deepClone(optionList[refreshSigle]);\n const index = this.data.formDataList.findIndex(\n (k) => k.name === refreshSigle\n );\n\n this.setData({\n [`formDataList[${index}].valueList`]: cloneList,\n });\n } else {\n this.data.formDataList.forEach((item, index) => {\n if (optionList[item.name] && optionList[item.name].length) {\n // 深拷贝传值\n const cloneList = utils.deepClone(optionList[item.name]);\n this.setData({\n [`formDataList[${index}].valueList`]: cloneList,\n });\n }\n });\n console.log(this.data.formDataList, '===');\n }\n },\n // 表单验证规则\n initValidate(obj) {\n const rules = {};\n // const messages = {}\n obj.forEach((item) => {\n if (item.rules) {\n rules[item.name] = item.rules;\n // messages[item.name] = {\n // required: item.rulesMessage || '请输入' + item.lable\n // }\n }\n });\n console.log(rules);\n // console.log(messages);\n this.WxValidate = new WxValidate(rules);\n },\n // 获取GlsxFormItem的值\n getFormItemValue(e) {\n // const value = this.selectComponent('#GlsxFormItem').formDataObj\n console.log(e);\n const {name, value, type} = e.detail;\n if (type === 'muiltiImg') {\n this.data.formDataObj[name].splice(value, 1)\n this.setData({\n [`formDataObj.${name}`]: this.data.formDataObj[name],\n })\n return\n }\n this.setData({\n [`formDataObj.${name}`]: value,\n })\n // 加change事件,告知表单项变化\n this.triggerEvent('changeFormItem', e.detail)\n },\n // 验证表单数据\n // eslint-disable-next-line consistent-return\n validateFormData() {\n const params = this.data.formDataObj;\n if (!this.WxValidate.checkForm(params)) {\n const error = this.WxValidate.errorList;\n return error;\n }\n },\n // 返回formObj的值\n returnFormObj() {\n return this.data.formDataObj;\n },\n // select事件\n customClick(e) {\n const clickName = e.detail + 'Click';\n console.log(clickName);\n this.triggerEvent(clickName, e.detail);\n }\n },\n // 组件页面生周期\n lifetimes: {\n created: function () {\n // 在组件实例刚刚被创建时执行\n // 初始化验证规则函数\n this.initValidate();\n },\n },\n});\n","/**\n * 表单验证\n *\n * @param {Object} rules 验证字段的规则\n * @param {Object} messages 验证字段的提示信息\n *\n */\nclass WxValidate {\n constructor(rules = {}, messages = {}) {\n Object.assign(this, {\n data: {},\n rules,\n messages,\n });\n this.__init();\n }\n\n /**\n * __init\n */\n __init() {\n this.__initMethods();\n this.__initDefaults();\n this.__initData();\n }\n\n /**\n * 初始化数据\n */\n __initData() {\n this.form = {};\n this.errorList = [];\n }\n\n /**\n * 初始化默认提示信息\n */\n __initDefaults() {\n this.defaults = {\n messages: {\n required: '这是必填字段。',\n email: '请输入有效的电子邮件地址。',\n tel: '请输入11位的手机号码。',\n url: '请输入有效的网址。',\n date: '请输入有效的日期。',\n dateISO: '请输入有效的日期(ISO),例如:2009-06-23,1998/01/22。',\n number: '请输入有效的数字。',\n digits: '只能输入数字。',\n idcard: '请输入18位的有效身份证。',\n equalTo: this.formatTpl('输入值必须和 {0} 相同。'),\n contains: this.formatTpl('输入值必须包含 {0}。'),\n minlength: this.formatTpl('最少要输入 {0} 个字符。'),\n maxlength: this.formatTpl('最多可以输入 {0} 个字符。'),\n rangelength: this.formatTpl('请输入长度在 {0} 到 {1} 之间的字符。'),\n min: this.formatTpl('请输入不小于 {0} 的数值。'),\n max: this.formatTpl('请输入不大于 {0} 的数值。'),\n range: this.formatTpl('请输入范围在 {0} 到 {1} 之间的数值。'),\n },\n };\n }\n\n /**\n * 初始化默认验证方法\n */\n __initMethods() {\n const that = this;\n that.methods = {\n /**\n * 验证必填元素\n */\n required(value, param) {\n if (!that.depend(param)) {\n return 'dependency-mismatch';\n } else if (typeof value === 'number') {\n value = value.toString();\n } else if (typeof value === 'boolean') {\n return !0;\n }\n\n return value.length > 0;\n },\n /**\n * 验证电子邮箱格式\n */\n email(value) {\n return (\n that.optional(value) ||\n // eslint-disable-next-line no-useless-escape\n /^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(\n value\n )\n );\n },\n /**\n * 验证手机格式\n */\n tel(value) {\n return (\n that.optional(value) ||\n /^((0\\d{2,3}-\\d{7,8})|(1[3456789]\\d{9}))$/.test(value)\n );\n },\n /**\n * 验证URL格式\n */\n url(value) {\n return (\n that.optional(value) ||\n // eslint-disable-next-line max-len\n /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})).?)(?::\\d{2,5})?(?:[/?#]\\S*)?$/i.test(\n value\n )\n );\n },\n /**\n * 验证日期格式\n */\n date(value) {\n return (\n that.optional(value) ||\n !/Invalid|NaN/.test(new Date(value).toString())\n );\n },\n /**\n * 验证ISO类型的日期格式\n */\n dateISO(value) {\n return (\n that.optional(value) ||\n // eslint-disable-next-line no-useless-escape\n /^\\d{4}[\\/\\-](0?[1-9]|1[012])[\\/\\-](0?[1-9]|[12][0-9]|3[01])$/.test(\n value\n )\n );\n },\n /**\n * 验证十进制数字\n */\n number(value) {\n return (\n that.optional(value) ||\n /^(?:-?\\d+|-?\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$/.test(value)\n );\n },\n /**\n * 验证整数\n */\n digits(value) {\n return that.optional(value) || /^\\d+$/.test(value);\n },\n /**\n * 验证身份证号码\n */\n idcard(value) {\n return (\n that.optional(value) ||\n /^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9]|X)$/.test(\n value\n )\n );\n },\n /**\n * 验证两个输入框的内容是否相同\n */\n equalTo(value, param) {\n return that.optional(value) || value === that.data[param];\n },\n /**\n * 验证是否包含某个值\n */\n contains(value, param) {\n return that.optional(value) || value.indexOf(param) >= 0;\n },\n /**\n * 验证最小长度\n */\n minlength(value, param) {\n return that.optional(value) || value.length >= param;\n },\n /**\n * 验证最大长度\n */\n maxlength(value, param) {\n return that.optional(value) || value.length <= param;\n },\n /**\n * 验证一个长度范围[min, max]\n */\n rangelength(value, param) {\n return (\n that.optional(value) ||\n (value.length >= param[0] && value.length <= param[1])\n );\n },\n /**\n * 验证最小值\n */\n min(value, param) {\n return that.optional(value) || value >= param;\n },\n /**\n * 验证最大值\n */\n max(value, param) {\n return that.optional(value) || value <= param;\n },\n /**\n * 验证一个值范围[min, max]\n */\n range(value, param) {\n return that.optional(value) || (value >= param[0] && value <= param[1]);\n },\n };\n }\n\n /**\n * 添加自定义验证方法\n * @param {String} name 方法名\n * @param {Function} method 函数体,接收两个参数(value, param),value表示元素的值,param表示参数\n * @param {String} message 提示信息\n */\n addMethod(name, method, message) {\n this.methods[name] = method;\n this.defaults.messages[name] =\n message !== undefined ? message : this.defaults.messages[name];\n }\n\n /**\n * 判断验证方法是否存在\n */\n isValidMethod(value) {\n const methods = [];\n for (const method in this.methods) {\n if (method && typeof this.methods[method] === 'function') {\n methods.push(method);\n }\n }\n return methods.indexOf(value) !== -1;\n }\n\n /**\n * 格式化提示信息模板\n */\n formatTpl(source, params) {\n const that = this;\n if (arguments.length === 1) {\n return function () {\n // eslint-disable-next-line prefer-rest-params\n const args = Array.from(arguments);\n args.unshift(source);\n return that.formatTpl.apply(this, args);\n };\n }\n if (params === undefined) {\n return source;\n }\n if (arguments.length > 2 && params.constructor !== Array) {\n // eslint-disable-next-line prefer-rest-params\n params = Array.from(arguments).slice(1);\n }\n if (params.constructor !== Array) {\n params = [params];\n }\n params.forEach(function (n, i) {\n source = source.replace(new RegExp('\\\\{' + i + '\\\\}', 'g'), function () {\n return n;\n });\n });\n return source;\n }\n\n /**\n * 判断规则依赖是否存在\n */\n // eslint-disable-next-line class-methods-use-this\n depend(param) {\n switch (typeof param) {\n case 'boolean':\n // eslint-disable-next-line no-self-assign\n param = param;\n break;\n case 'string':\n param = !!param.length;\n break;\n case 'function':\n param = param();\n // eslint-disable-next-line no-fallthrough\n default:\n param = !0;\n }\n return param;\n }\n\n /**\n * 判断输入值是否为空\n */\n optional(value) {\n return !this.methods.required(value) && 'dependency-mismatch';\n }\n\n /**\n * 获取自定义字段的提示信息\n * @param {String} param 字段名\n * @param {Object} rule 规则\n */\n // eslint-disable-next-line consistent-return\n customMessage(param, rule) {\n const params = this.messages[param];\n const isObject = typeof params === 'object';\n if (params && isObject) return params[rule.method];\n }\n\n /**\n * 获取某个指定字段的提示信息\n * @param {String} param 字段名\n * @param {Object} rule 规则\n */\n defaultMessage(param, rule) {\n let message =\n this.customMessage(param, rule) || this.defaults.messages[rule.method];\n const type = typeof message;\n\n if (type === 'undefined') {\n message = `Warning: No message defined for ${rule.method}.`;\n } else if (type === 'function') {\n message = message.call(this, rule.parameters);\n }\n\n return message;\n }\n\n /**\n * 缓存错误信息\n * @param {String} param 字段名\n * @param {Object} rule 规则\n * @param {String} value 元素的值\n */\n formatTplAndAdd(param, rule, value) {\n const msg = this.defaultMessage(param, rule);\n\n this.errorList.push({\n param: param,\n msg: msg,\n value: value,\n });\n }\n\n /**\n * 验证某个指定字段的规则\n * @param {String} param 字段名\n * @param {Object} rules 规则\n * @param {Object} data 需要验证的数据对象\n */\n checkParam(param, rules, data) {\n // 缓存数据对象\n this.data = data;\n\n // 缓存字段对应的值\n const value =\n data[param] !== null && data[param] !== undefined ? data[param] : '';\n\n // 遍历某个指定字段的所有规则,依次验证规则,否则缓存错误信息\n for (const method in rules) {\n // 判断验证方法是否存在\n if (this.isValidMethod(method)) {\n // 缓存规则的属性及值\n const rule = {\n method: method,\n parameters: rules[method],\n };\n\n // 调用验证方法\n const result = this.methods[method](value, rule.parameters);\n\n // 若result返回值为dependency-mismatch,则说明该字段的值为空或非必填字段\n if (result === 'dependency-mismatch') {\n continue;\n }\n\n this.setValue(param, method, result, value);\n\n // 判断是否通过验证,否则缓存错误信息,跳出循环\n if (!result) {\n this.formatTplAndAdd(param, rule, value);\n break;\n }\n }\n }\n }\n\n /**\n * 设置字段的默认验证值\n * @param {String} param 字段名\n */\n setView(param) {\n this.form[param] = {\n $name: param,\n $valid: true,\n $invalid: false,\n $error: {},\n $success: {},\n // eslint-disable-next-line quotes\n $viewValue: ``,\n };\n }\n\n /**\n * 设置字段的验证值\n * @param {String} param 字段名\n * @param {String} method 字段的方法\n * @param {Boolean} result 是否通过验证\n * @param {String} value 字段的值\n */\n setValue(param, method, result, value) {\n const params = this.form[param];\n params.$valid = result;\n params.$invalid = !result;\n params.$error[method] = !result;\n params.$success[method] = result;\n params.$viewValue = value;\n }\n\n /**\n * 验证所有字段的规则,返回验证是否通过\n * @param {Object} data 需要验证数据对象\n */\n checkForm(data) {\n this.__initData();\n\n // eslint-disable-next-line guard-for-in\n for (const param in this.rules) {\n this.setView(param)\n this.checkParam(param, this.rules[param], data)\n }\n\n return this.valid();\n }\n\n /**\n * 返回验证是否通过\n */\n valid() {\n return this.size() === 0;\n }\n\n /**\n * 返回错误信息的个数\n */\n size() {\n return this.errorList.length;\n }\n\n /**\n * 返回所有错误信息\n */\n validationErrors() {\n return this.errorList;\n }\n}\n\nexport default WxValidate;\n","module.exports = {\n getFlag() {\n return true\n },\n deepClone(target) {\n const map = new WeakMap()\n function isObject(target) {\n return (typeof target === 'object' && target) || typeof target === 'function'\n }\n function clone(data) {\n if (!isObject(data)) {\n return data\n }\n if ([Date, RegExp].includes(data.constructor)) {\n return new data.constructor(data)\n }\n if (typeof data === 'function') {\n // eslint-disable-next-line no-new-func\n return new Function('return ' + data.toString())()\n }\n const exist = map.get(data)\n if (exist) {\n return exist\n }\n if (data instanceof Map) {\n const result = new Map()\n map.set(data, result)\n data.forEach((val, key) => {\n if (isObject(val)) {\n result.set(key, clone(val))\n } else {\n result.set(key, val)\n }\n })\n return result\n }\n if (data instanceof Set) {\n const result = new Set()\n map.set(data, result)\n data.forEach(val => {\n if (isObject(val)) {\n result.add(clone(val))\n } else {\n result.add(val)\n }\n })\n return result\n }\n const keys = Reflect.ownKeys(data)\n const allDesc = Object.getOwnPropertyDescriptors(data)\n const result = Object.create(Object.getPrototypeOf(data), allDesc)\n map.set(data, result)\n keys.forEach(key => {\n const val = data[key]\n if (isObject(val)) {\n result[key] = clone(val)\n } else {\n result[key] = val\n }\n })\n return result\n }\n return clone(target)\n }\n}\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"GlsxFormItem": "../GlsxFormItem/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="container">
<form>
<view class="apply-info">
<block wx:for="{{formDataList}}" wx:key="index">
<block wx:if="{{!item.isHidden}}">
<GlsxFormItem
switch-item-class="switch-item-class"
switch-active-class="switch-active-class"
switch-class="switch-class"
lable-class="lable-class"
inline="{{inline}}"
textPostion="{{textPostion}}"
formItem="{{item}}"
formObj="{{formDataObj}}"
bind:getFormItemValue="getFormItemValue"
bind:customClick="customClick"
themeStyle="{{themeStyle}}"
>
<slot name="{{item.name}}"></slot>
<slot name="{{item.lableStyle}}"></slot>
</GlsxFormItem>
</block>
</block>
</view>
</form>
</view>
.info-item {
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
}
.info-item:last-child {
border-bottom: none;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 16);
/******/ })
/************************************************************************/
/******/ ({
/***/ 16:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description:
* @Author: huyue
* @Date: 2023-04-28 16:19:53
* @LastEditors: huyue
* @LastEditTime: 2023-05-05 10:00:50
*/
Component({
externalClasses: ['switch-active-class', 'switch-class', 'switch-item-class', 'lable-class'],
data: {
// 显示省市
provinceShow: false,
// 显示日期时间
dateTimeShow: false,
// 图片地址前缀
prefix: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/glsx-applet-comonents/'
},
properties: {
/**
* formItem:表单某一项的配置数据
* 其中的参数:
* type:标签类型 必填
* lable:标签页面显示名称 必填
* name:标签名称 必填
* rules: 验证规则,Object, 非必填
* textLeft: 输入框文字的位置,非必填,默认靠右,填了靠左
*/
formItem: {
type: Object,
value: {},
observer: function observer() {
// this.init(n)
}
},
/**
* formObj:表单数据绑定的对象
*/
formObj: {
type: Object,
value: {}
},
/**
* inline:表单配置是否一行展示
*/
inline: {
type: Boolean,
value: true
},
/**
* themeStyle: 主题样式
*/
themeStyle: {
type: String,
value: '#3582EE'
},
textPostion: {
type: String,
value: 'right'
}
},
methods: {
// 输入框输入触发
handleInput: function handleInput(e) {
var name = e.currentTarget.dataset.name;
var inputValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: inputValue });
},
// 点击触发省市弹框
// showProvince() {
// console.log(333);
// this.setData({
// provinceShow: !this.data.provinceShow
// })
// },
// 获取省市数据
// getProvinceCode(e) {
// let address = e.detail.provinceNameData.toString()
// address = address.replace(/,/g, '-')
// this.setData({
// 'platformObj.code': e.detail.codeData,
// 'platformObj.address': address,
// 'platformObj.name': e.detail.provinceNameData,
// })
// },
// 默认开关切换
switch1Change: function switch1Change(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
this.triggerEvent('getFormItemValue', { name: name, value: e.detail.value });
},
// 自定义开关切换
switch2Change: function switch2Change(e) {
console.log(e);
var _e$currentTarget$data = e.currentTarget.dataset,
index = _e$currentTarget$data.index,
name = _e$currentTarget$data.name;
this.triggerEvent('getFormItemValue', { name: name, value: index });
},
// 点击触发时间日期弹框
// showDatePicker() {
// this.setData({
// dateTimeShow: !this.data.dateTimeShow
// })
// }
// 自定义框点击事件
customClick: function customClick(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
this.triggerEvent('customClick', name);
},
// 单选框点击
radioChange: function radioChange(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
var checkValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: checkValue });
},
// 获取选择时间
changeTime: function changeTime(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
var timeValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: timeValue });
},
// 获取选择日期
changeDate: function changeDate(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
var dateValue = e.detail.value;
this.triggerEvent('getFormItemValue', { name: name, value: dateValue });
},
// 图片删除(单个)
delSingleImg: function delSingleImg(e) {
console.log(e);
var name = e.currentTarget.dataset.name;
this.triggerEvent('getFormItemValue', { name: name, value: '' });
},
// 图片删除(多个)
delmultiImg: function delmultiImg(e) {
console.log(e);
var _e$currentTarget$data2 = e.currentTarget.dataset,
name = _e$currentTarget$data2.name,
index = _e$currentTarget$data2.index;
this.triggerEvent('getFormItemValue', { name: name, value: index, type: 'muiltiImg' });
}
},
// 组件生命周期
lifetimes: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GlsxFormItem/index.js"],"names":["Component","externalClasses","data","provinceShow","dateTimeShow","prefix","properties","formItem","type","Object","value","observer","formObj","inline","Boolean","themeStyle","String","textPostion","methods","handleInput","e","name","currentTarget","dataset","inputValue","detail","triggerEvent","switch1Change","console","log","switch2Change","index","customClick","radioChange","checkValue","changeTime","timeValue","changeDate","dateValue","delSingleImg","delmultiImg","lifetimes"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;;;;;;;AAOAA,UAAU;AACRC,mBAAiB,CAAC,qBAAD,EAAwB,cAAxB,EAAwC,mBAAxC,EAA6D,aAA7D,CADT;AAERC,QAAM;AACJ;AACAC,kBAAc,KAFV;AAGJ;AACAC,kBAAc,KAJV;AAKJ;AACAC,YAAQ;AANJ,GAFE;AAURC,cAAY;AACV;;;;;;;;;AASAC,cAAU;AACRC,YAAMC,MADE;AAERC,aAAO,EAFC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IAFO;;AAGd,WAAKK,YAAL,CAAkB,kBAAlB,EAAsC,EAACL,UAAD,EAAOX,OAAO,EAAd,EAAtC;AACD,KA1EM;;AA2EP;AACA8B,eA5EO,uBA4EKpB,CA5EL,EA4EQ;AACbQ,cAAQC,GAAR,CAAYT,CAAZ;AADa,mCAESA,EAAEE,aAAF,CAAgBC,OAFzB;AAAA,UAENF,IAFM,0BAENA,IAFM;AAAA,UAEAU,KAFA,0BAEAA,KAFA;;AAGb,WAAKL,YAAL,CAAkB,kBAAlB,EAAsC,EAACL,UAAD,EAAOX,OAAOqB,KAAd,EAAqBvB,MAAM,WAA3B,EAAtC;AACD;AAhFM,GAtDD;;AAyIR;AACAiC,aAAW;AA1IH,CAAV,E","file":"GlsxFormItem\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 16);\n","/*\n * @Description:\n * @Author: huyue\n * @Date: 2023-04-28 16:19:53\n * @LastEditors: huyue\n * @LastEditTime: 2023-05-05 10:00:50\n */\nComponent({\n externalClasses: ['switch-active-class', 'switch-class', 'switch-item-class', 'lable-class'],\n data: {\n // 显示省市\n provinceShow: false,\n // 显示日期时间\n dateTimeShow: false,\n // 图片地址前缀\n prefix: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/glsx-applet-comonents/'\n },\n properties: {\n /**\n * formItem:表单某一项的配置数据\n * 其中的参数:\n * type:标签类型 必填\n * lable:标签页面显示名称 必填\n * name:标签名称 必填\n * rules: 验证规则,Object, 非必填\n * textLeft: 输入框文字的位置,非必填,默认靠右,填了靠左\n */\n formItem: {\n type: Object,\n value: {},\n observer: function () {\n // this.init(n)\n },\n },\n /**\n * formObj:表单数据绑定的对象\n */\n formObj: {\n type: Object,\n value: {}\n },\n /**\n * inline:表单配置是否一行展示\n */\n inline: {\n type: Boolean,\n value: true\n },\n /**\n * themeStyle: 主题样式\n */\n themeStyle: {\n type: String,\n value: '#3582EE'\n },\n textPostion: {\n type: String,\n value: 'right'\n }\n },\n\n methods: {\n // 输入框输入触发\n handleInput(e) {\n const {name} = e.currentTarget.dataset\n const inputValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: inputValue})\n },\n // 点击触发省市弹框\n // showProvince() {\n // console.log(333);\n // this.setData({\n // provinceShow: !this.data.provinceShow\n // })\n // },\n // 获取省市数据\n // getProvinceCode(e) {\n // let address = e.detail.provinceNameData.toString()\n // address = address.replace(/,/g, '-')\n // this.setData({\n // 'platformObj.code': e.detail.codeData,\n // 'platformObj.address': address,\n // 'platformObj.name': e.detail.provinceNameData,\n // })\n // },\n // 默认开关切换\n switch1Change(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: e.detail.value})\n },\n // 自定义开关切换\n switch2Change(e) {\n console.log(e);\n const {index, name} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: index})\n },\n // 点击触发时间日期弹框\n // showDatePicker() {\n // this.setData({\n // dateTimeShow: !this.data.dateTimeShow\n // })\n // }\n // 自定义框点击事件\n customClick(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n this.triggerEvent('customClick', name)\n },\n // 单选框点击\n radioChange(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n const checkValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: checkValue})\n },\n // 获取选择时间\n changeTime(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n const timeValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: timeValue})\n },\n // 获取选择日期\n changeDate(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n const dateValue = e.detail.value\n this.triggerEvent('getFormItemValue', {name, value: dateValue})\n },\n // 图片删除(单个)\n delSingleImg(e) {\n console.log(e);\n const {name} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: ''})\n },\n // 图片删除(多个)\n delmultiImg(e) {\n console.log(e);\n const {name, index} = e.currentTarget.dataset\n this.triggerEvent('getFormItemValue', {name, value: index, type: 'muiltiImg'})\n }\n },\n\n // 组件生命周期\n lifetimes: {\n }\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"province": "../province/index",
"date-picker": "../DatePicker/index",
"gl-image": "../Image/index",
"gl-icon": "../GLIcon/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="info-list switch-flex {{inline ? 'flex' : ''}}" data-name="{{formItem.name}}">
<view class="info-label label-class {{formItem.rules.required ? 'require':''}}">
<!-- lable插槽 -->
<block wx:if="{{formItem.lableStyle}}">
<slot name="{{item.lableStyle}}"></slot>
</block>
<!-- 可选输入lable -->
<!-- <block wx:if="{{formItem.type == 'selectInput'}}">
<view>
{{formItem.selectLable[0]]}}
</view>
</block> -->
<!-- 普通lable -->
<block wx:else>
<view class="{{inline? '' : 'bottom-class'}}">{{formItem.label}}</view>
</block>
</view>
<!-- input 框 -->
<block wx:if="{{formItem.type == 'input'}}">
<input name="{{formItem.name}}" type="text" class="form-input" style="text-align: {{textPostion}}" placeholder-class="placeholder" placeholder="{{formItem.placeholder || '请输入'+formItem.label}}" value="{{formObj[formItem.name]}}" bindinput="handleInput" data-name="{{formItem.name}}"></input>
</block>
<!-- 单选框 -->
<block wx:if="{{formItem.type == 'radio'}}">
<radio-group name="{{formItem.name}}" class="radio-wrap" bindchange="radioChange" data-name="{{formItem.name}}">
<label class="radio-label" wx:for="{{formItem.valueList}}" wx:for-item="i" wx:key="*this">
<radio value="{{i[formItem.valueName] || i.value}}" color="{{themeStyle}}" checked="{{formObj[formItem.name] == index}}" />
{{i[formItem.valueLabel] || i.label}}
</label>
</radio-group>
</block>
<!-- switch -->
<block wx:if="{{formItem.type == 'switch'}}">
<!-- 判断是否是自定义的 -->
<block wx:if="{{!formItem.isUserDefined}}">
<switch checked="{{formObj[formItem.name]}}" color="{{themeStyle}}" data-name="{{formItem.name}}" bindchange="switch1Change" />
</block>
<block wx:else>
<view class="user-defined-switch switch-class">
<block wx:for="{{formItem.valueList}}" wx:for-item="i" wx:key="*this">
<view class="user-defined-switch-item switch-item-class {{formObj[formItem.name] == i[formItem.valueName] ? 'switch-active-class switch-item-active': ''}}" data-index="{{i[formItem.valueName]}}" data-name="{{formItem.name}}" catchtap="switch2Change">
{{i[formItem.valueLabel] || i.label}}
</view>
</block>
</view>
</block>
</block>
<!-- timePicker 框 -->
<block wx:if="{{formItem.type == 'timePicker'}}">
<picker class="relative {{inline ? 'content-width' : ''}}" mode="time" value="{{formObj[formItem.name]}}" bindchange="changeTime" data-name="{{formItem.name}}" start="{{formItem.startTime || ''}}" end="{{formItem.endTime || ''}}">
<view class="cell {{formObj[formItem.name] ? 'value' : 'placeholder'}} {{ 'cell-' + textPostion }}">
<view class="cell-text" style="text-align: {{textPostion}}">{{formObj[formItem.name] ? formObj[formItem.name] : (formItem.placeholder ||'请选择时间')}}</view>
<gl-image class='arrow' imagePath="{{formItem.icon || prefix+'icon/arrow-x.png'}}"></gl-image>
</view>
</picker>
</block>
<!-- datePicker 框 -->
<block wx:if="{{formItem.type == 'datePicker'}}">
<picker class="relative {{inline ? 'content-width' : ''}}" mode="date" bindchange="changeDate" data-name="{{formItem.name}}" value="{{formObj[formItem.name]}}" start="{{formItem.startDate || ''}}" end="{{formItem.endDate || ''}}">
<view class="cell {{formObj[formItem.name] ? 'value' : 'placeholder'}}">
<view class="cell-text" style="text-align: {{textPostion}}">
{{formObj[formItem.name] ? formObj[formItem.name] : (formItem.placeholder ||'请选择日期')}}
</view>
<gl-image class="arrow" imagePath="{{formItem.icon || prefix+'icon/arrow-x.png'}}"></gl-image>
</view>
</picker>
</block>
<!-- 选择框 -->
<block wx:if="{{formItem.type == 'customSelect'}}">
<view class="{{inline ? 'content-width' : ''}}" bindtap="customClick" data-name="{{formItem.name}}">
<view class="info-content relative">
<block wx:if="{{!formObj[formItem.name].length}}">
<view class="cell placeholder {{ 'cell-' + textPostion }}">{{formItem.placeholder || '请选择' + formItem.label }}</view>
</block>
<block wx:else>
<view class="cell-text" style="text-align: {{textPostion}}">{{formObj[formItem.name]}}</view>
</block>
<view>
<image webp class="arrow" src="{{formItem.icon || prefix+'icon/arrow-x.png'}}" />
</view>
</view>
</view>
</block>
<!-- 自定义插槽框 -->
<block wx:if="{{formItem.type == 'customSlot'}}">
<view class="{{inline ? 'content-width' : ''}}">
<slot name="{{item.name}}"></slot>
</view>
</block>
<!-- 图片上传 -->
<block wx:if="{{formItem.type == 'imgUpload'}}">
<!-- 多个且有值 -->
<block wx:if="{{formItem.multiple && formObj[formItem.name].length}}">
<view class="multi-img-box">
<block wx:for="{{formObj[formItem.name]}}" wx:for-item="imgItem" wx:for-index="imgIndex" wx:key="imgIndex">
<view class="upload-box">
<image webp src="{{imgItem}}" alt="" />
<gl-icon class="del-icon" color="#999999" iconName="{{'gl-icon-error'}}" fontSize="{{32}}" bindtap="delmultiImg" data-index="{{imgIndex}}" data-name="{{formItem.name}}"></gl-icon>
</view>
</block>
</view>
</block>
<!-- 单个且有值 -->
<block wx:if="{{!formItem.multiple && formObj[formItem.name]}}">
<view class="upload-box">
<image webp src="{{formObj[formItem.name]}}" alt="" />
<gl-icon class="del-icon" color="#999999" iconName="{{'gl-icon-error'}}" fontSize="{{32}}" bindtap="delSingleImg" data-name="{{formItem.name}}"></gl-icon>
</view>
</block>
<!-- 无值 -->
<block wx:if="{{formItem.multiple ? (!formObj[formItem.name].length || formObj[formItem.name].length < formItem.multiple) : !formObj[formItem.name]}}">
<view class="upload-box center">
<view class="upload-box-item">
<gl-icon class="center" iconName="{{formItem.iconName || 'gl-icon-plus'}}" fontSize="{{formItem.fontSize || 70}}"></gl-icon>
<view>{{formItem.placeholder}}</view>
</view>
</view>
</block>
</block>
</view>
\ No newline at end of file \ No newline at end of file
.flex {
display: flex;
}
.info-list {
/* display: flex; */
/* position: relative; */
align-content: center;
padding: 40rpx;
}
.info-lable {
display: inline-flex;
align-items: center;
width: 25%;
font-weight: 400;
font-size: 28rpx;
color: #2d2d33;
}
.form-input {
width: 75%;
/* margin-left: 26rpx; */
}
.require.info-lable::after {
content: "*";
display: inline-block;
color: #eb4e4e;
margin-left: 4rpx;
}
.cell {
display: flex;
align-items: center;
width: 100%;
}
.cell-right {
justify-content: flex-end;
}
.cell-center {
justify-content: center;
}
.cell-left {
justify-content: space-between;
}
.cell-text {
width: 100%;
}
.placeholder {
color: #C3C3C3;
font-size: 28rpx;
}
.form-input.right {
text-align: right;
direction: rtl;
}
.radio-wrap {
display: flex;
flex: 1;
font-size: 28rpx;
justify-content: space-evenly;
}
.info-content {
width: 100%;
display: flex;
justify-content: space-between;
}
.select-img {
width: 40rpx;
height: 40rpx;
}
/* cell */
.cell-value {
flex: 1;
}
.arrow {
display: inline-block;
/* position: absolute;
right: 0rpx;
top: 50%;
transform: translateY(-50%); */
width: 28rpx;
height: 28rpx;
}
.arrow image {
width: 28rpx;
height: 28rpx;
}
.user-defined-switch {
display: flex;
border: 2rpx solid #3582EE;
border-radius: 15rpx;
width: 240rpx;
height: 64rpx;
line-height: 64rpx;
text-align: center;
-webkit-border-radius: 15rpx;
-moz-border-radius: 15rpx;
-ms-border-radius: 15rpx;
-o-border-radius: 15rpx;
}
.user-defined-switch-item {
width: 120rpx;
height: 64rpx;
border-radius: 12rpx;
-webkit-border-radius: 12rpx;
-moz-border-radius: 12rpx;
-ms-border-radius: 12rpx;
-o-border-radius: 12rpx;
}
.switch-item-active {
background: #3582EE;
color: #fff;
}
.switch-flex {
justify-content: space-between;
}
.relative {
position: relative;
}
.content-width {
width: 75%;
}
.upload-box {
width: 202rpx;
height: 202rpx;
background: #F4F5F7;
border: 2rpx solid #EFF0F2;
border-radius: 12rpx;
position: relative;
margin-bottom: 10rpx;
}
.upload-box-item {
font-weight: 400;
font-size: 28rpx;
color: #888888;
}
.upload-box image {
width: 202rpx;
height: 202rpx;
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
.del-icon {
position: absolute;
top: -10rpx;
right: -10rpx;
}
.multi-img-box {
display: flex;
justify-content: inherit;
flex-wrap: wrap;
}
.bottom-class {
margin-bottom: 10rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 23);
/******/ })
/************************************************************************/
/******/ ({
/***/ 23:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var privacyHandler = void 0;
var privacyResolves = new Set();
var closeOtherPagePopUpHooks = new Set();
wx.onNeedPrivacyAuthorization(function (resolve) {
console.log(resolve, '-=-=-=-=-=-');
if (typeof privacyHandler === 'function') {
privacyHandler(resolve);
}
});
var closeOtherPagePopUp = function closeOtherPagePopUp(closePopUp) {
closeOtherPagePopUpHooks.forEach(function (hook) {
if (closePopUp !== hook) {
hook();
}
});
};
Component({
properties: {
appletName: {
type: String,
value: ''
}
},
data: {
title: '用户隐私保护提示',
desc1: '感谢您使用本游戏,您使用本游戏前应当阅井同意',
urlTitle: '《用户隐私保护指引》',
desc2: '当您点击同意并开始时用产品服务时,即表示你已理解并同息该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏。',
showPrivacy: false,
height: 0
},
lifetimes: {
attached: function attached() {
var _this = this;
var closePopUp = function closePopUp() {
_this.disPopUp();
};
privacyHandler = function privacyHandler(resolve) {
privacyResolves.add(resolve);
_this.popUp();
// 额外逻辑:当前页面的隐私弹窗弹起的时候,关掉其他页面的隐私弹窗
closeOtherPagePopUp(closePopUp);
};
closeOtherPagePopUpHooks.add(closePopUp);
this.closePopUp = closePopUp;
},
detached: function detached() {
closeOtherPagePopUpHooks.delete(this.closePopUp);
}
},
methods: {
handleAgree: function handleAgree() {
this.disPopUp();
// 这里演示了同时调用多个wx隐私接口时要如何处理:让隐私弹窗保持单例,点击一次同意按钮即可让所有pending中的wx隐私接口继续执行 (看page/index/index中的 wx.getClipboardData 和 wx.startCompass)
privacyResolves.forEach(function (resolve) {
resolve({
event: 'agree',
buttonId: 'agree-btn'
});
});
privacyResolves.clear();
this.triggerEvent('agreeClick');
},
handleDisagree: function handleDisagree() {
this.disPopUp();
privacyResolves.forEach(function (resolve) {
resolve({
event: 'disagree'
});
});
privacyResolves.clear();
this.triggerEvent('disagreeClick');
},
popUp: function popUp() {
if (this.data.showPrivacy === false) {
this.setData({
showPrivacy: true
});
}
},
disPopUp: function disPopUp() {
if (this.data.showPrivacy === true) {
this.setData({
showPrivacy: false
});
}
},
openPrivacyContract: function openPrivacyContract() {
wx.openPrivacyContract({
success: function success() {
console.log('openPrivacyContract success');
},
fail: function fail(res) {
console.error('openPrivacyContract fail', res);
}
});
},
handleOpenPrivacyContract: function handleOpenPrivacyContract() {
// 打开隐私协议页面
wx.openPrivacyContract({
success: function success() {}, // 打开成功
fail: function fail() {}, // 打开失败
complete: function complete() {}
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/GlsxPrivacy/index.js"],"names":["privacyHandler","privacyResolves","Set","closeOtherPagePopUpHooks","wx","onNeedPrivacyAuthorization","console","log","resolve","closeOtherPagePopUp","closePopUp","forEach","hook","Component","properties","appletName","type","String","value","data","title","desc1","urlTitle","desc2","showPrivacy","height","lifetimes","attached","disPopUp","add","popUp","detached","delete","methods","handleAgree","event","buttonId","clear","triggerEvent","handleDisagree","setData","openPrivacyContract","success","fail","error","res","handleOpenPrivacyContract","complete"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,IAAIA,uBAAJ;AACA,IAAMC,kBAAkB,IAAIC,GAAJ,EAAxB;AACA,IAAMC,2BAA2B,IAAID,GAAJ,EAAjC;;AAEAE,GAAGC,0BAAH,CAA8B,mBAAW;AACvCC,UAAQC,GAAR,CAAYC,OAAZ,EAAqB,aAArB;AACA,MAAI,OAAOR,cAAP,KAA0B,UAA9B,EAA0C;AACxCA,mBAAeQ,OAAf;AACD;AACF,CALD;;AAOA,IAAMC,sBAAsB,SAAtBA,mBAAsB,CAACC,UAAD,EAAgB;AAC1CP,2BAAyBQ,OAAzB,CAAiC,gBAAQ;AACvC,QAAID,eAAeE,IAAnB,EAAyB;AACvBA;AACD;AACF,GAJD;AAKD,CAND;;AAQAC,UAAU;AACRC,cAAY;AACVC,gBAAY;AACVC,YAA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AAV,KAA0B,IAA9B,EAAoC;AAClC,aAAKgB,OAAL,CAAa;AACXhB,uBAAa;AADF,SAAb;AAGD;AACF,KApCM;AAqCPiB,uBArCO,iCAqCe;AACpBrC,SAAGqC,mBAAH,CAAuB;AACrBC,iBAAS,mBAAM;AACbpC,kBAAQC,GAAR,CAAY,6BAAZ;AACD,SAHoB;AAIrBoC,cAAM,mBAAO;AACXrC,kBAAQsC,KAAR,CAAc,0BAAd,EAA0CC,GAA1C;AACD;AANoB,OAAvB;AAQD,KA9CM;AA+CPC,6BA/CO,uCA+CqB;AAC1B;AACA1C,SAAGqC,mBAAH,CAAuB;AACrBC,iBAAS,mBAAM,CAAE,CADI,EACF;AACnBC,cAAM,gBAAM,CAAE,CAFO,EAEL;AAChBI,kBAAU,oBAAM,CAAE;AAHG,OAAvB;AAKD;AAtDM;AAlCD,CAAV,E","file":"GlsxPrivacy\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 23);\n","let privacyHandler\r\nconst privacyResolves = new Set()\r\nconst closeOtherPagePopUpHooks = new Set()\r\n\r\nwx.onNeedPrivacyAuthorization(resolve => {\r\n console.log(resolve, '-=-=-=-=-=-')\r\n if (typeof privacyHandler === 'function') {\r\n privacyHandler(resolve)\r\n }\r\n})\r\n\r\nconst closeOtherPagePopUp = (closePopUp) => {\r\n closeOtherPagePopUpHooks.forEach(hook => {\r\n if (closePopUp !== hook) {\r\n hook()\r\n }\r\n })\r\n}\r\n\r\nComponent({\r\n properties: {\r\n appletName: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n data: {\r\n title: '用户隐私保护提示',\r\n desc1: '感谢您使用本游戏,您使用本游戏前应当阅井同意',\r\n urlTitle: '《用户隐私保护指引》',\r\n desc2: '当您点击同意并开始时用产品服务时,即表示你已理解并同息该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏。',\r\n showPrivacy: false,\r\n height: 0,\r\n },\r\n lifetimes: {\r\n attached: function () {\r\n const closePopUp = () => {\r\n this.disPopUp()\r\n }\r\n privacyHandler = resolve => {\r\n privacyResolves.add(resolve)\r\n this.popUp()\r\n // 额外逻辑:当前页面的隐私弹窗弹起的时候,关掉其他页面的隐私弹窗\r\n closeOtherPagePopUp(closePopUp)\r\n }\r\n closeOtherPagePopUpHooks.add(closePopUp)\r\n\r\n this.closePopUp = closePopUp\r\n },\r\n detached: function () {\r\n closeOtherPagePopUpHooks.delete(this.closePopUp)\r\n }\r\n },\r\n methods: {\r\n handleAgree() {\r\n this.disPopUp()\r\n // 这里演示了同时调用多个wx隐私接口时要如何处理:让隐私弹窗保持单例,点击一次同意按钮即可让所有pending中的wx隐私接口继续执行 (看page/index/index中的 wx.getClipboardData 和 wx.startCompass)\r\n privacyResolves.forEach(resolve => {\r\n resolve({\r\n event: 'agree',\r\n buttonId: 'agree-btn'\r\n })\r\n })\r\n privacyResolves.clear()\r\n this.triggerEvent('agreeClick')\r\n },\r\n handleDisagree() {\r\n this.disPopUp()\r\n privacyResolves.forEach(resolve => {\r\n resolve({\r\n event: 'disagree',\r\n })\r\n })\r\n privacyResolves.clear()\r\n this.triggerEvent('disagreeClick')\r\n },\r\n popUp() {\r\n if (this.data.showPrivacy === false) {\r\n this.setData({\r\n showPrivacy: true\r\n })\r\n }\r\n },\r\n disPopUp() {\r\n if (this.data.showPrivacy === true) {\r\n this.setData({\r\n showPrivacy: false\r\n })\r\n }\r\n },\r\n openPrivacyContract() {\r\n wx.openPrivacyContract({\r\n success: () => {\r\n console.log('openPrivacyContract success')\r\n },\r\n fail: res => {\r\n console.error('openPrivacyContract fail', res)\r\n }\r\n })\r\n },\r\n handleOpenPrivacyContract() {\r\n // 打开隐私协议页面\r\n wx.openPrivacyContract({\r\n success: () => {}, // 打开成功\r\n fail: () => {}, // 打开失败\r\n complete: () => {}\r\n })\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{showPrivacy}}">
<view class="pop-wrapper">
<view class="pop-box">
<view class="pop-content">
<view class="pop-title">{{appletName ? appletName : '隐私协议'}}</view>
<view class="pop-text">在您使用{{appletName}}服务之前,请仔细阅读《隐私协议》和《服务使用协议》。如您同意协议内容,请点击“同意”开始使用{{appletName}}。</view>
<view class="pop-privacy" bindtap="handleOpenPrivacyContract">《用户隐私保护指引》</view>
</view>
<view class="pop-bottom">
<button id="disagree-btn"
type="default"
class="pop-btn disagree-btn"
bindtap="handleDisagree"
>拒绝</button>
<button id="agree-btn"
type="default"
open-type="agreePrivacyAuthorization"
class="pop-btn agree-btn"
bindagreeprivacyauthorization="handleAgree"
>同意</button>
</view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.pop-wrapper {
position: fixed;
background-color: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
}
.pop-box {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 85%;
/* height: 640rpx; */
background: #FFFFFF;
border-radius: 16rpx;
}
.pop-content {
padding: 64rpx 48rpx;
box-sizing: border-box;
}
.pop-title {
width: 100%;
height: 48rpx;
text-align: center;
font-weight: 500;
font-size: 34rpx;
color: rgba(0, 0, 0, 0.9);
}
.pop-text {
margin: 32rpx 0 32rpx;
font-weight: 400;
font-size: 34rpx;
color: rgba(0, 0, 0, 0.5);
line-height: 48rpx;
letter-spacing: 0;
}
.pop-privacy {
font-weight: 400;
font-size: 30rpx;
color: #576B95;
letter-spacing: 0;
margin-top: 16rpx;
}
.pop-bottom {
display: flex;
border-top: 1px solid #ededed;
height: 112rpx;
/* border-radius: 0 0 16rpx 16rpx; */
}
.pop-btn {
width: 50%;
background-color: #fff !important;
font-weight: 500;
font-size: 34rpx;
letter-spacing: 2rpx;
line-height: 48rpx;
padding: 32rpx 0;
}
.disagree-btn {
border-right: 2rpx solid #ededed;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.agree-btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
color: #576B95 !important;
}
.pop-btn::after {
border: none;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 13);
/******/ })
/************************************************************************/
/******/ ({
/***/ 13:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
data: {},
properties: {
imagePath: {
type: String,
value: ''
}
},
methods: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/Image/index.js"],"names":["Component","data","properties","imagePath","type","String","value","methods"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,QAAM,EADE;AAERC,cAAY;AACVC,eAAW;AACTC,YAAMC,MADG;AAETC,aAAO;AAFE;AADD,GAFJ;AAQRC,WAAS;AARD,CAAV,E","file":"Image\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 13);\n","Component({\n data: {},\n properties: {\n imagePath: {\n type: String,\n value: ''\n }\n },\n methods: {}\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<image src="{{imagePath}}" mode="{{mode}}" lazy-load></image>
\ No newline at end of file \ No newline at end of file
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 14);
/******/ })
/************************************************************************/
/******/ ({
/***/ 14:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
externalClasses: ['dot-class-customer', 'info-class-customer'],
data: {},
properties: {
info: null,
dot: Boolean
},
methods: {}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/Info/index.js"],"names":["Component","externalClasses","data","properties","info","dot","Boolean","methods"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,oBAAD,EAAuB,qBAAvB,CADT;AAERC,QAAM,EAFE;AAGRC,cAAY;AACVC,UAAM,IADI;AAEVC,SAAKC;AAFK,GAHJ;AAORC,WAAS;AAPD,CAAV,E","file":"Info\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 14);\n","Component({\n externalClasses: ['dot-class-customer', 'info-class-customer'],\n data: {},\n properties: {\n info: null,\n dot: Boolean,\n },\n methods: {}\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="info {{dot? 'dot-class':'info-class'}} dot-class-customer info-class-customer">
{{dot ? '' : info}}
</view>
\ No newline at end of file \ No newline at end of file
.info {
position: absolute;
}
.dot-class {
top: 0;
right: -2rpx;
width: 10rpx;
height: 10rpx;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
background: #F36261;
}
.info-class {
top: 0;
right: -10rpx;
color: #fff;
font-size: 20rpx;
width: 36rpx;
height: 22rpx;
line-height: 22rpx;
border-radius: 22rpx;
background: #F36261;
border-radius: 12rpx;
text-align: center;
-webkit-border-radius: 22rpx;
-moz-border-radius: 22rpx;
-ms-border-radius: 22rpx;
-o-border-radius: 22rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 8);
/******/ })
/************************************************************************/
/******/ ({
/***/ 8:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-13 14:26:56
* @LastEditors: huyue
* @LastEditTime: 2022-12-16 18:01:02
*/
Component({
/**
* 组件的属性列表
*/
properties: {
activityList: {
type: Array,
value: []
}
},
/**
* 组件的初始数据
*/
data: {
current: 0,
statusMap: {
1: '活动未开始',
2: '活动进行中',
3: '活动已结束'
}
},
/**
* 组件的方法列表
*/
methods: {
toActivity: function toActivity(e) {
var activityid = e.currentTarget.dataset.activityid;
this.triggerEvent('activityClick', activityid);
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/activity-swiper/index.js"],"names":["Component","properties","activityList","type","Array","value","data","current","statusMap","methods","toActivity","e","activityid","currentTarget","dataset","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;;;;;;;AAOAA,UAAU;AACR;;;AAGAC,cAAY;AACVC,kBAAc;AACZC,YAAMC,KADM;AAEZC,aAAO;AAFK;AADJ,GAJJ;;AAWR;;;AAGAC,QAAM;AACJC,aAAS,CADL;AAEJC,eAAW;AACT,SAAG,OADM;AAET,SAAG,OAFM;AAGT,SAAG;AAHM;AAFP,GAdE;;AAuBR;;;AAGAC,WAAS;AACPC,cADO,sBACIC,CADJ,EACO;AAAA,UACLC,UADK,GACSD,EAAEE,aAAF,CAAgBC,OADzB,CACLF,UADK;;AAEZ,WAAKG,YAAL,CAAkB,eAAlB,EAAmCH,UAAnC;AACD;AAJM;AA1BD,CAAV,E","file":"activity-swiper\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","/*\n * @Description: huyue\n * @Author: huyue\n * @Date: 2022-12-13 14:26:56\n * @LastEditors: huyue\n * @LastEditTime: 2022-12-16 18:01:02\n */\nComponent({\n /**\n * 组件的属性列表\n */\n properties: {\n activityList: {\n type: Array,\n value: []\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n current: 0,\n statusMap: {\n 1: '活动未开始',\n 2: '活动进行中',\n 3: '活动已结束'\n }\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n toActivity(e) {\n const {activityid} = e.currentTarget.dataset\n this.triggerEvent('activityClick', activityid)\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<block wx:if="{{activityList.length}}">
<swiper class="activity-scroll" vertical="true" circular="true" autoplay current="{{current}}" interval="3000">
<block wx:for="{{activityList}}" wx:key="index">
<swiper-item class="swiper-item" bindtap="toActivity" data-activityId="{{item.id}}">
<view class="bg-activity">
<image webp src="../assets/bg-activity.png"></image>
<view class="activity-status">{{statusMap[item.status]}}</view>
</view>
<view class="acitvity-name">{{item.activityName}} <text wx:if="{{item.provinceCity}}"> {{'(' + item.provinceCity + ')'}} </text></view>
</swiper-item>
</block>
</swiper>
</block>
.activity-scroll {
display: flex;
justify-items: center;
background: #FFF4D8;
border-radius: 8rpx;
margin: 12rpx 20rpx 26rpx;
font-weight: 400;
font-size: 26rpx;
color: #F68B0C;
letter-spacing: 0;
padding: 11rpx 12rpx;
height: 36rpx;
}
.swiper-item {
display: flex;
align-items: center;
}
.bg-activity {
position: relative;
width: 126rpx;
height: 36rpx;
margin-right: 12rpx;
}
.bg-activity image {
width: 100%;
height: 100%;
}
.bg-activity .activity-status {
position: absolute;
width: 126rpx;
font-weight: 500;
font-size: 20rpx;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 32rpx;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.acitvity-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
tag: {
type: [String, Number],
value: ''
},
title: {
type: [String, Number],
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
}
});
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/card/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","mode","lazyLoad","Boolean","tag","Number","title","data","imagePath"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMK,OADE;AAERH,aAAO;AAFC,KATA;AAaVI,SAAK;AACHN,YAAM,CAACC,MAAD,EAASM,MAAT,CADH;AAEHL,aAAO;AAFJ,KAbK;AAiBVM,WAAO;AACLR,YAAM,CAACC,MAAD,EAASM,MAAT,CADD;AAELL,aAAO;AAFF;AAjBG,GALJ;;AA4BR;;;AAGAO,QAAM;AACJC,eAAW;AADP;;AA/BE,CAAV,E","file":"card\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n src: {\r\n type: String,\r\n value: ''\r\n },\r\n mode: {\r\n type: String,\r\n value: 'widthFix'\r\n },\r\n lazyLoad: {\r\n type: Boolean,\r\n value: true\r\n },\r\n tag: {\r\n type: [String, Number],\r\n value: ''\r\n },\r\n title: {\r\n type: [String, Number],\r\n value: ''\r\n }\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n imagePath: ''\r\n },\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<!--components/image/index.wxml-->
<view class="gl_card custom-class">
<view class="img_box">
<image class="img" src="{{src}}" webp mode="{{mode}}" lazy-load="{{lazyLoad}}" />
<view class="tag" wx:if="{{tag}}">
{{tag}}
</view>
</view>
<view class="title" wx:if="{{title}}">
{{title}}
</view>
</view>
\ No newline at end of file \ No newline at end of file
.gl_card {
width: 176rpx;
/* height: 172rpx; */
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
border-radius: 8rpx;
/* margin:20rpx; */
}
.gl_card .img_box {
position: relative;
width: 100%;
height: 120rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.gl_card .img_box .img {
width: 100%;
}
.gl_card .img_box .tag {
position: absolute;
top: 0;
left: 0;
/* width: 41px; */
height: 32rpx;
background: #D7F5E5;
border-radius: 4rpx;
padding: 0 8rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #21AB60;
}
.title {
/* height: 52rpx; */
/* line-height: 52rpx; */
padding: 10rpx 16rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #323436;
/* overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; */
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 5);
/******/ })
/************************************************************************/
/******/ ({
/***/ 5:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
/**
* 组件的属性列表
*/
properties: {
list: {
type: Array,
value: [],
observer: function observer(n) {
this.init(n);
}
},
index: {
type: Number,
value: 0,
observer: function observer(n) {
this.setData({
menusActive: n
});
}
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: '',
// 一级菜单选中值
menusActive: 0,
// 二级菜单选中值
subMenusActive: 0,
tabsActive: 1,
productList: [],
videoList: [],
posterList: [],
operationVideoList: [],
sceneCode: '',
listData: [],
// 第三级菜单数组
subMenuList: []
},
ready: function ready() {},
methods: {
// 菜单点击事件
menuClick: function menuClick(e) {
var id = e.currentTarget.dataset.id;
var info = e.currentTarget.dataset.info;
var sceneCode = '';
var subMenuList = [];
var infoIndex = void 0;
var initMenuData = info;
sceneCode = info.sceneCode;
subMenuList = info.subList;
// 有三级菜单的话修改o值
if (info.subList && info.subList.length && info.isShow) {
info = info.subList.find(function (item) {
return item.isShow;
});
infoIndex = initMenuData.subList.findIndex(function (item) {
return item.id === info.id;
});
}
console.log(id);
this.setData({
productList: info.productList || [],
videoList: info.videoList || [],
posterList: info.posterList || [],
operationVideoList: info.operationVideoList || [],
// 重置为第一个
tabsActive: 1,
menusActive: id,
sceneCode: sceneCode,
// 第三级菜单清空
subMenusActive: infoIndex,
subMenuList: subMenuList || []
});
this.triggerEvent('menuClick', {
info: e.currentTarget.dataset.info,
id: id
});
},
// 右侧tab菜单点击事件
tabsClick: function tabsClick(e) {
var id = e.currentTarget.dataset.id;
this.setData({
tabsActive: id
});
},
// 初始化数据
init: function init(list) {
// const o = list[0] ? list[0] : {}
var o = void 0;
// 用来复制数据传给父组件
var initMenuData = void 0;
var listData = [];
var sceneCode = void 0;
var subMenuList = void 0;
var infoIndex = void 0;
if (!list.length) {
o = {};
} else {
// 判断二级/三级下内容是否为空,不为空的话添加isShow字段
listData = this.searchEmptyMenu(list);
o = initMenuData = this.data.index === 0 ? list[0] : list[this.data.index];
sceneCode = o.sceneCode;
subMenuList = o.subList;
// 有三级菜单的话修改o值
if (o.subList && o.subList.length && o.isShow) {
o = o.subList.find(function (item) {
return item.isShow;
});
infoIndex = initMenuData.subList.findIndex(function (item) {
return item.id === o.id;
});
}
}
console.log(o, infoIndex, 'ooo');
this.setData({
listData: listData,
productList: o.productList || [],
videoList: o.videoList || [],
operationVideoList: o.operationVideoList || [],
posterList: o.posterList || [],
sceneCode: sceneCode || '',
subMenuList: subMenuList || [],
subMenusActive: infoIndex
});
this.triggerEvent('initMenu', initMenuData);
},
// 查找无上架内容菜单
searchEmptyMenu: function searchEmptyMenu(list) {
list.forEach(function (item) {
// 如果有第三级菜单
if (item.subList && item.subList.length) {
// 判断三级菜单下是否有内容
var sublistFlag = 0;
item.subList.forEach(function (subItem) {
if (subItem.productList.length || subItem.operationVideoList.length || subItem.videoList.length || subItem.posterList.length) {
subItem.isShow = true;
sublistFlag += 1;
}
});
// eslint-disable-next-line no-unneeded-ternary
item.isShow = sublistFlag > 0 ? true : false;
} else if (item.productList && item.productList.length || item.operationVideoList && item.operationVideoList.length || item.videoList && item.videoList.length || item.posterList && item.posterList.length) {
item.isShow = true;
}
});
return list;
},
// 删除无上架内容菜单
// deleteMenu(index) {
// }
// 产品点击事件
productClick: function productClick(e) {
var info = e.currentTarget.dataset.info;
this.triggerEvent('proClick', info);
},
// 视频点击事件
videoClick: function videoClick(e) {
var info = e.currentTarget.dataset.info;
var tabsActive = this.data.tabsActive;
this.triggerEvent('videoClick', { info: info, tabsActive: tabsActive });
},
// 第三级菜单点击
subMenuClick: function subMenuClick(e) {
var _e$currentTarget$data = e.currentTarget.dataset,
id = _e$currentTarget$data.id,
info = _e$currentTarget$data.info;
this.setData({
productList: info.productList || [],
videoList: info.videoList || [],
posterList: info.posterList || [],
operationVideoList: info.operationVideoList || [],
subMenusActive: id,
tabsActive: 1
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/discover/index.js"],"names":["Component","externalClasses","properties","list","type","Array","value","observer","n","init","index","Number","setData","menusActive","data","imagePath","subMenusActive","tabsActive","productList","videoList","posterList","operationVideoList","sceneCode","listData","subMenuList","ready","methods","menuClick","e","id","currentTarget","dataset","info","infoIndex","initMenuData","subList","length","isShow","find","item","findIndex","console","log","triggerEvent","tabsClick","o","searchEmptyMenu","forEach","sublistFlag","subItem","productClick","videoClick","subMenuClick"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,aAAjB,EAAgC,wBAAhC,EAA0D,uBAA1D,CADT;AAER;;;AAGAC,cAAY;AACVC,UAAM;AACJC,YAAMC,KADF;AAEJC,aAAO,EAFH;AAGJC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKC,IAAL,CAAUD,CAAV;AACD;AALG,KADI;AAQVE,WAAO;AACLN,YAAMO,MADD;AAELL,aAAO,CAFF;AAGLC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKI,OAAL,CAAa;AACXC,uBAAaL;AADF,SAAb;AAGD;AAPI;AARG,GALJ;;AAwBR;;;AAGAM,QAAM;AACJC,eAAW,EADP;AAEJ;AACAF,iBAAa,CAHT;AAIJ;AACAG,oBAAgB,CALZ;AAMJC,gBAAY,CANR;AAOJC,iBAAa,EAPT;AAQJC,eAAW,EARP;AASJC,gBAAY,EATR;AAUJC,wBAAoB,EAVhB;AAWJC,eAAW,EAX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ACA+C,gBA5HO,wBA4HMtB,CA5HN,EA4HS;AACd,UAAMI,OAAOJ,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBC,IAArC;AACA,WAAKW,YAAL,CAAkB,UAAlB,EAA8BX,IAA9B;AACD,KA/HM;;;AAiIP;AACAmB,cAlIO,sBAkIIvB,CAlIJ,EAkIO;AACZ,UAAMI,OAAOJ,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBC,IAArC;AADY,UAELf,UAFK,GAES,KAAKH,IAFd,CAELG,UAFK;;AAGZ,WAAK0B,YAAL,CAAkB,YAAlB,EAAgC,EAACX,UAAD,EAAOf,sBAAP,EAAhC;AACD,KAtIM;;;AAwIP;AACAmC,gBAzIO,wBAyIMxB,CAzIN,EAyIS;AAAA,kCACKA,EAAEE,aAAF,CAAgBC,OADrB;AAAA,UACPF,EADO,yBACPA,EADO;AAAA,UACHG,IADG,yBACHA,IADG;;AAEd,WAAKpB,OAAL,CAAa;AACXM,qBAAac,KAAKd,WAAL,IAAoB,EADtB;AAEXC,mBAAWa,KAAKb,SAAL,IAAkB,EAFlB;AAGXC,oBAAYY,KAAKZ,UAAL,IAAmB,EAHpB;AAIXC,4BAAoBW,KAAKX,kBAAL,IAA2B,EAJpC;AAKXL,wBAAgBa,EALL;AAMXZ,oBAAY;AAND,OAAb;AAQD;AAnJM;AA7CD,CAAV,E","file":"discover\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 5);\n","// 商品card\nComponent({\n externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],\n /**\n * 组件的属性列表\n */\n properties: {\n list: {\n type: Array,\n value: [],\n observer: function (n) {\n this.init(n);\n },\n },\n index: {\n type: Number,\n value: 0,\n observer: function (n) {\n this.setData({\n menusActive: n,\n });\n },\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n imagePath: '',\n // 一级菜单选中值\n menusActive: 0,\n // 二级菜单选中值\n subMenusActive: 0,\n tabsActive: 1,\n productList: [],\n videoList: [],\n posterList: [],\n operationVideoList: [],\n sceneCode: '',\n listData: [],\n // 第三级菜单数组\n subMenuList: []\n },\n\n ready: function () {},\n methods: {\n // 菜单点击事件\n menuClick(e) {\n const {id} = e.currentTarget.dataset;\n let {info} = e.currentTarget.dataset;\n\n let sceneCode = ''\n let subMenuList = []\n let infoIndex\n const initMenuData = info\n\n sceneCode = info.sceneCode\n subMenuList = info.subList\n // 有三级菜单的话修改o值\n if (info.subList && info.subList.length && info.isShow) {\n info = info.subList.find((item) => item.isShow);\n infoIndex = initMenuData.subList.findIndex((item) => item.id === info.id);\n }\n console.log(id);\n this.setData({\n productList: info.productList || [],\n videoList: info.videoList || [],\n posterList: info.posterList || [],\n operationVideoList: info.operationVideoList || [],\n // 重置为第一个\n tabsActive: 1,\n menusActive: id,\n sceneCode: sceneCode,\n // 第三级菜单清空\n subMenusActive: infoIndex,\n subMenuList: subMenuList || []\n });\n this.triggerEvent('menuClick', {\n info: e.currentTarget.dataset.info,\n id,\n });\n },\n\n // 右侧tab菜单点击事件\n tabsClick(e) {\n const id = e.currentTarget.dataset.id;\n this.setData({\n tabsActive: id,\n });\n },\n\n // 初始化数据\n init(list) {\n // const o = list[0] ? list[0] : {}\n let o\n // 用来复制数据传给父组件\n let initMenuData\n let listData = []\n let sceneCode\n let subMenuList\n let infoIndex\n\n if (!list.length) {\n o = {};\n } else {\n // 判断二级/三级下内容是否为空,不为空的话添加isShow字段\n listData = this.searchEmptyMenu(list);\n\n o = initMenuData = this.data.index === 0 ? list[0] : list[this.data.index];\n sceneCode = o.sceneCode\n subMenuList = o.subList\n // 有三级菜单的话修改o值\n if (o.subList && o.subList.length && o.isShow) {\n o = o.subList.find((item) => item.isShow);\n infoIndex = initMenuData.subList.findIndex((item) => item.id === o.id);\n }\n }\n console.log(o, infoIndex, 'ooo');\n this.setData({\n listData,\n productList: o.productList || [],\n videoList: o.videoList || [],\n operationVideoList: o.operationVideoList || [],\n posterList: o.posterList || [],\n sceneCode: sceneCode || '',\n subMenuList: subMenuList || [],\n subMenusActive: infoIndex,\n });\n this.triggerEvent('initMenu', initMenuData)\n },\n\n // 查找无上架内容菜单\n searchEmptyMenu(list) {\n list.forEach((item) => {\n // 如果有第三级菜单\n if (item.subList && item.subList.length) {\n // 判断三级菜单下是否有内容\n let sublistFlag = 0;\n item.subList.forEach((subItem) => {\n if (\n subItem.productList.length ||\n subItem.operationVideoList.length ||\n subItem.videoList.length ||\n subItem.posterList.length\n ) {\n subItem.isShow = true;\n sublistFlag += 1;\n }\n });\n // eslint-disable-next-line no-unneeded-ternary\n item.isShow = sublistFlag > 0 ? true : false;\n } else if (\n (item.productList && item.productList.length) ||\n (item.operationVideoList && item.operationVideoList.length) ||\n (item.videoList && item.videoList.length) ||\n (item.posterList && item.posterList.length)\n ) {\n item.isShow = true;\n }\n });\n return list;\n },\n\n // 删除无上架内容菜单\n // deleteMenu(index) {\n\n // }\n\n // 产品点击事件\n productClick(e) {\n const info = e.currentTarget.dataset.info;\n this.triggerEvent('proClick', info);\n },\n\n // 视频点击事件\n videoClick(e) {\n const info = e.currentTarget.dataset.info;\n const {tabsActive} = this.data;\n this.triggerEvent('videoClick', {info, tabsActive});\n },\n\n // 第三级菜单点击\n subMenuClick(e) {\n const {id, info} = e.currentTarget.dataset;\n this.setData({\n productList: info.productList || [],\n videoList: info.videoList || [],\n posterList: info.posterList || [],\n operationVideoList: info.operationVideoList || [],\n subMenusActive: id,\n tabsActive: 1\n });\n }\n },\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-sidebar": "../sidebar/index",
"gl-sidebar-item": "../sidebar-item/index",
"gl-card": "../card/index",
"gl-video": "../video/index",
"gl-posters": "../posters/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-discover custom-class">
<!-- 左侧菜单 开始 -->
<view class="left-sidebar" wx:if="{{list && list.length}}">
<gl-sidebar active-key="{{menusActive}}" bind:change="onChange">
<block wx:for="{{listData}}" wx:key="index">
<gl-sidebar-item wx:if="{{item.isShow}}" data-id="{{index}}" data-info="{{item}}" catchtap="menuClick" sidebar-active-custom="sidebar-active-custom">
{{item.name}}
</gl-sidebar-item>
</block>
</gl-sidebar>
</view>
<!-- 左侧菜单 end -->
<!-- 右侧内容 开始 -->
<view class="right-content">
<!-- 三级菜单 -->
<scroll-view wx:if="{{subMenuList.length}}" class="sub-menu-scroll" enable-flex scroll-x>
<block wx:for="{{subMenuList}}" wx:key="index">
<view wx:if="{{item.isShow}}" class="sub-menu-item {{index == subMenusActive ? 'sub-menu-active-custom sub-menu-active-item' : ''}}" data-id="{{index}}" data-info="{{item}}" catchtap="subMenuClick">
{{item.name}}
</view>
</block>
</scroll-view>
<!-- 产品列表 开始 -->
<block wx:if="{{productList && productList.length}}">
<view class="head" wx:if="{{productList && productList.length}}">特色方案</view>
<view class="list-box">
<gl-card wx:for="{{productList}}" wx:key="index" title="{{item.proName}}" src="{{item.prodImg}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="productClick"></gl-card>
<view class="hidden_cell" wx:for="{{3-productList.length%3}}" wx:key="index"></view>
</view>
</block>
<!-- 产品列表 end -->
<view class="head-menu">
<view class="cell {{tabsActive == 1?'cell-active':''}}" data-id="1" catchtap="tabsClick">
案例视频
</view>
<view class="cell {{tabsActive == 2?'cell-active':''}}" data-id="2" catchtap="tabsClick" wx:if="{{posterList && posterList.length}}">
营销海报
</view>
<view class="cell {{tabsActive == 3?'cell-active':''}}" data-id="3" catchtap="tabsClick">
操作指引
</view>
</view>
<view class="list-box" wx:if="{{tabsActive == 1}}">
<block wx:if="{{!videoList.length}}">
<image class="no-video novideo-img" src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/no-video.png" />
</block>
<block wx:else>
<gl-video wx:for="{{videoList}}" wx:key="index" title="{{item.name}}" src="{{item.posterUrl}}" user-avatar="{{item.avatar}}" user-name="{{item.manufacturer || '嘀加智慧'}}" visit="{{item.view}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="videoClick"></gl-video>
</block>
</view>
<view class="list-box" wx:if="{{tabsActive == 2}}">
<gl-posters wx:for="{{posterList}}" wx:key="index" title="{{item.name}}" src="{{item.src}}" custom-class="card"></gl-posters>
</view>
<view class="list-box" wx:if="{{tabsActive == 3}}">
<block wx:if="{{!operationVideoList.length}}">
<image class="no-video novideo-img" src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/no-video.png" />
</block>
<block wx:else>
<gl-video wx:for="{{operationVideoList}}" wx:key="index" title="{{item.name}}" src="{{item.posterUrl}}" user-avatar="{{item.avatar}}" user-name="{{item.manufacturer || '嘀加智慧'}}" visit="{{item.view}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="videoClick"></gl-video>
</block>
</view>
</view>
<!-- 右侧内容 end -->
</view>
\ No newline at end of file \ No newline at end of file
.gl-discover {
display: flex;
height: 100%;
width: 100%;
overflow: hidden;
}
.left-sidebar {
flex-shrink: 0;
width: 116rpx;
}
.right-content {
flex: 1;
overflow: hidden;
background: #fff;
box-sizing: border-box;
}
.head {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
padding: 0 32rpx;
margin-bottom: 16rpx;
}
.hidden_cell {
width: 176rpx;
}
.list-box {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 0 32rpx;
margin-bottom: 12rpx;
}
.list-box .card {
margin: 0 0 20rpx 0;
}
.list-box .video_cell {
margin: 0 0 20rpx 0;
}
.head-menu {
display: flex;
align-items: center;
padding: 0 32rpx;
margin-bottom: 16rpx;
}
.head-menu .cell {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 26rpx;
color: #8A8C90;
margin-right: 40rpx;
}
.head-menu .cell-active {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
}
.no-video {
margin: 16rpx auto 32rpx;
display: block;
width: 100%;
border-radius: 16rpx;
}
.sub-menu-scroll {
padding: 0 32rpx 20rpx 32rpx;
display: flex;
flex-direction: row;
height: 48rpx;
flex: 1;
}
.sub-menu-item {
height: 48rpx;
background: #F7F7F7;
border-radius: 24rpx;
padding: 0 24rpx;
font-weight: 400;
font-size: 24rpx;
color: #333333;
line-height: 48rpx;
margin-right: 24rpx;
word-break: keep-all;
}
.sub-menu-active-item {
background: #5850FF;
font-weight: 600;
font-size: 24rpx;
color: #FFFFFF;
}
.sub-menu-item:last-child {
margin-right: 0;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 4);
/******/ })
/************************************************************************/
/******/ ({
/***/ 4:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: ''
},
lazyLoad: {
type: Boolean,
value: true
},
title: {
type: [String, Number],
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: '',
showPreviewPoster: false,
posterPath: ''
},
methods: {
// 预览海报
previewPoster: function previewPoster() {
var url = this.data.src;
this.setData({
posterPath: url,
showPreviewPoster: true
});
},
// 关闭海报预览
closePreviewPoster: function closePreviewPoster() {
this.setData({
posterPath: '',
showPreviewPoster: false
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/posters/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","mode","lazyLoad","Boolean","title","Number","data","imagePath","showPreviewPoster","posterPath","methods","previewPoster","url","setData","closePreviewPoster"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMK,OADE;AAERH,aAAO;AAFC,KATA;AAaVI,WAAO;AACLN,YAAM,CAACC,MAAD,EAASM,MAAT,CADD;AAELL,aAAO;AAFF;AAbG,GALJ;;AAwBR;;;AAGAM,QAAM;AACJC,eAAW,EADP;AAEJC,uBAAmB,KAFf;AAGJC,gBAAY;AAHR,GA3BE;;AAiCRC,WAAS;AACP;AACAC,iBAFO,2BAES;AACd,UAAMC,MAAM,KAAKN,IAAL,CAAUT,GAAtB;AACA,WAAKgB,OAAL,CAAa;AACXJ,oBAAYG,GADD;AAEXJ,2BAAmB;AAFR,OAAb;AAID,KARM;;;AAUP;AACAM,sBAXO,gCAWc;AACnB,WAAKD,OAAL,CAAa;AACXJ,oBAAY,EADD;AAEXD,2BAAmB;AAFR,OAAb;AAID;AAhBM;;AAjCD,CAAV,E","file":"posters\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n","// 商品card\nComponent({\n externalClasses: ['custom-class'],\n /**\n * 组件的属性列表\n */\n properties: {\n src: {\n type: String,\n value: ''\n },\n mode: {\n type: String,\n value: ''\n },\n lazyLoad: {\n type: Boolean,\n value: true\n },\n title: {\n type: [String, Number],\n value: ''\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n imagePath: '',\n showPreviewPoster: false,\n posterPath: ''\n },\n\n methods: {\n // 预览海报\n previewPoster() {\n const url = this.data.src;\n this.setData({\n posterPath: url,\n showPreviewPoster: true\n })\n },\n\n // 关闭海报预览\n closePreviewPoster() {\n this.setData({\n posterPath: '',\n showPreviewPoster: false\n })\n }\n }\n\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file \ No newline at end of file
<!--components/image/index.wxml-->
<view class="gl-poster custom-class" catchtap="previewPoster">
<view class="img_box">
<image
class="img"
src="{{src}}"
mode="{{mode}}"
lazy-load="{{lazyLoad}}"
/>
</view>
<view class="title" wx:if="{{title}}">
{{title}}
</view>
</view>
<!--预览海报弹框 开始-->
<view class="preview-poster" wx:if="{{showPreviewPoster}}">
<view class="preview-blk" catchtap="closePreviewPoster"></view>
<view class="preview-box">
<view class="preview-box-inner">
<view class="perview-cloese" catchtap="closePreviewPoster">
<image
class="img"
src="../assets/close.png"
mode="widthFix"
lazy-load
/>
</view>
<view class="preview-image">
<image
class="img"
src="{{posterPath}}"
mode="widthFix"
lazy-load
show-menu-by-longpress
/>
</view>
<view class="perview-title">
<image class="img" src="../assets/fingerprint.png" />
<text class="cl">长按图片转发</text>
</view>
</view>
</view>
</view>
<!--预览海报弹框 end-->
.gl-poster {
width: 276rpx;
height: 552rpx;
background: #FFFFFF;
border-radius: 8rpx;
/* margin: 20rpx; */
}
.gl-poster .img_box {
position: relative;
width: 100%;
height: 492rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.gl-poster .img_box .img {
width: 100%;
height: 100%;
}
.title {
height: 60rpx;
line-height: 60rpx;
/* padding: 0 16rpx; */
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #3666FE;
background: rgba(54, 102, 254, 0.1);
border-radius: 0 0 12rpx 12rpx;
text-align: center;
}
/* .preview-poster{
position: fixed;
top:50%;
left:50%;
transform: translate(-50%,-50%);
} */
.preview-poster .preview-blk {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #000;
opacity: 0.5;
filter: blur(2px);
z-index: 10;
}
.preview-poster .preview-box {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 11;
padding: 0 96rpx;
width: 100%;
box-sizing: border-box;
}
.preview-box-inner {
position: relative;
background: #fff;
display: flex;
flex-direction: column;
border-radius: 16rpx;
}
.perview-cloese {
position: absolute;
width: 56rpx;
height: 56rpx;
top: -92rpx;
right: 0;
}
.perview-cloese .img {
width: 100%;
height: 100%;
}
.preview-image {
padding: 32rpx;
}
.preview-image .img {
width: 100%;
max-height: 880rpx;
border-radius: 8rpx;
}
.perview-title {
display: flex;
align-items: center;
justify-content: center;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 16px;
color: #5850FF;
height: 90rpx;
}
.perview-title .img {
width: 40rpx;
height: 40rpx;
margin-right: 12rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 11);
/******/ })
/************************************************************************/
/******/ ({
/***/ 11:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Component({
/**
* 组件的属性列表
*/
properties: {
provinceShow: Boolean,
provinceList: {
type: Array,
observer: function observer(val) {
console.log(val, '++++');
this.setData({
provinceList: val
});
}
}
},
/**
* 组件的初始数据
*/
data: {
region: [0, 0, 0], // 地址每列的index
regionCode: [],
provinceList: []
},
/**
* 组件的方法列表
*/
methods: {
// emitHideRegion(){},
// 省市切换
bindChange: function bindChange(e) {
// 用于对比滑动的是哪一列数据
var val = e.detail.value;
if (this.data.region[0] !== val[0]) {
// 如果滑动的是第一列数据,让二三列恢复到0
this.setData({
region: [val[0], 0, 0]
});
} else if (this.data.region[1] !== val[1]) {
// 滑动的是第二列数据
this.setData({
region: [val[0], val[1], 0]
});
} else {
this.setData({
region: e.detail.value
});
}
},
// 确定提交
comfirm: function comfirm() {
var _data = this.data,
provinceList = _data.provinceList,
region = _data.region;
// 省市code
var provinceCode = provinceList[region[0]].value;
var cityCode = provinceList[region[0]].children[region[1]].value;
var townCode = provinceList[region[0]].children[region[1]].children[region[2]].value;
var codeData = [provinceCode, cityCode, townCode];
// 省市名称
var provinceName = provinceList[region[0]].label;
var cityName = provinceList[region[0]].children[region[1]].label;
var townName = provinceList[region[0]].children[region[1]].children[region[2]].label;
var provinceNameData = [provinceName, cityName, townName];
this.triggerEvent('getProvinceCode', { codeData: codeData, provinceNameData: provinceNameData });
this.triggerEvent('cancelProvince');
},
// 取消
cancel: function cancel() {
this.triggerEvent('cancelProvince');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/province/index.js"],"names":["Component","properties","provinceShow","Boolean","provinceList","type","Array","observer","val","console","log","setData","data","region","regionCode","methods","bindChange","e","detail","value","comfirm","provinceCode","cityCode","children","townCode","codeData","provinceName","label","cityName","townName","provinceNameData","triggerEvent","cancel"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAs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BM,KAA7C;AACA,UAAMG,WAAWlB,aAAaS,OAAO,CAAP,CAAb,EAAwBU,QAAxB,CAAiCV,OAAO,CAAP,CAAjC,EAA4CM,KAA7D;AACA,UAAMK,WAAWpB,aAAaS,OAAO,CAAP,CAAb,EAAwBU,QAAxB,CAAiCV,OAAO,CAAP,CAAjC,EAA4CU,QAA5C,CAAqDV,OAAO,CAAP,CAArD,EAAgEM,KAAjF;AACA,UAAMM,WAAW,CAACJ,YAAD,EAAeC,QAAf,EAAyBE,QAAzB,CAAjB;AACA;AACA,UAAME,eAAetB,aAAaS,OAAO,CAAP,CAAb,EAAwBc,KAA7C;AACA,UAAMC,WAAWxB,aAAaS,OAAO,CAAP,CAAb,EAAwBU,QAAxB,CAAiCV,OAAO,CAAP,CAAjC,EAA4Cc,KAA7D;AACA,UAAME,WAAWzB,aAAaS,OAAO,CAAP,CAAb,EAAwBU,QAAxB,CAAiCV,OAAO,CAAP,CAAjC,EAA4CU,QAA5C,CAAqDV,OAAO,CAAP,CAArD,EAAgEc,KAAjF;AACA,UAAMG,mBAAmB,CAACJ,YAAD,EAAeE,QAAf,EAAyBC,QAAzB,CAAzB;AACA,WAAKE,YAAL,CAAkB,iBAAlB,EAAqC,EAACN,kBAAD,EAAWK,kCAAX,EAArC;AACA,WAAKC,YAAL,CAAkB,gBAAlB;AACD,KArCM;;AAsCP;AACAC,UAvCO,oBAuCE;AACP,WAAKD,YAAL,CAAkB,gBAAlB;AACD;AAzCM;AA7BD,CAAV,E","file":"province\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 11);\n","Component({\n /**\n * 组件的属性列表\n */\n properties: {\n provinceShow: Boolean,\n provinceList: {\n type: Array,\n observer: function (val) {\n console.log(val, '++++');\n this.setData({\n provinceList: val\n })\n }\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n region: [0, 0, 0], // 地址每列的index\n regionCode: [],\n provinceList: []\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n // emitHideRegion(){},\n // 省市切换\n bindChange(e) {\n // 用于对比滑动的是哪一列数据\n const val = e.detail.value\n if (this.data.region[0] !== val[0]) {\n // 如果滑动的是第一列数据,让二三列恢复到0\n this.setData({\n region: [val[0], 0, 0]\n })\n } else if (this.data.region[1] !== val[1]) {\n // 滑动的是第二列数据\n this.setData({\n region: [val[0], val[1], 0]\n })\n } else {\n this.setData({\n region: e.detail.value\n })\n }\n },\n // 确定提交\n comfirm() {\n const {provinceList, region} = this.data\n // 省市code\n const provinceCode = provinceList[region[0]].value\n const cityCode = provinceList[region[0]].children[region[1]].value\n const townCode = provinceList[region[0]].children[region[1]].children[region[2]].value\n const codeData = [provinceCode, cityCode, townCode]\n // 省市名称\n const provinceName = provinceList[region[0]].label\n const cityName = provinceList[region[0]].children[region[1]].label\n const townName = provinceList[region[0]].children[region[1]].children[region[2]].label\n const provinceNameData = [provinceName, cityName, townName]\n this.triggerEvent('getProvinceCode', {codeData, provinceNameData})\n this.triggerEvent('cancelProvince')\n },\n // 取消\n cancel() {\n this.triggerEvent('cancelProvince')\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{provinceShow}}" class="dialog_mask {{provinceShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="cancel"></view>
<view class="dialog_container">
<view class="header flex_scb">
<view class="cancle" bindtap="cancel">取消</view>
<view class="title">城市地区</view>
<view class="comfirm" bindtap="comfirm">确定</view>
</view>
<view class="main">
<picker-view indicator-style="height: 50px;" style="width: 100%; height: 100%;" value="{{region}}" bindchange="bindChange">
<picker-view-column>
<view wx:for="{{provinceList}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
<picker-view-column>
<view wx:for="{{provinceList[region[0]].children}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
<picker-view-column>
<view wx:for="{{provinceList[region[0]].children[region[1]].children}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
</picker-view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 70%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main {
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 9);
/******/ })
/************************************************************************/
/******/ ({
/***/ 9:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-15 17:13:19
* @LastEditors: huyue
* @LastEditTime: 2023-02-06 15:28:18
*/
Component({
externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
/**
* 组件的属性列表
*/
properties: {
// 顶部菜单
hasMenu: {
type: Boolean,
value: false
},
// 增值转化Data
list: {
type: Array,
observer: function observer(n) {
this.init(n);
}
},
// banner下活动轮播数据
activityList: {
type: Array,
value: []
},
// currentScenIndex: {
// type: Number,
// observer(n) {
// this.setData({
// currentScen: n,
// });
// },
// },
// 选中活动tab下标,默认第一个
discoverIndex: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
currentScen: 0,
scrollLeft: 0,
bannerSrc: '',
defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png',
sceneCode: '',
listData: []
},
/**
* 组件的方法列表
*/
methods: {
// 初始化数据,新增数字化转型案例视频
init: function init(n) {
if (n.length === 0) return;
var operationVideoList = [];
var videoList = [];
// 递归算出得到所有视频
n.forEach(function (item) {
operationVideoList = operationVideoList.concat(item.operationVideoList);
videoList = videoList.concat(item.videoList);
if (item.subList.length) {
item.subList.forEach(function (itm) {
operationVideoList = operationVideoList.concat(itm.operationVideoList);
videoList = videoList.concat(itm.videoList);
});
}
});
n.push({
name: '数字化转型案例',
videoList: videoList,
operationVideoList: operationVideoList
});
this.setData({
listData: n
});
},
// 点击特色产品
proClick: function proClick(e) {
var sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode;
console.log(e.detail, sceneCode);
this.triggerEvent('proClick', { info: e.detail, sceneCode: sceneCode });
},
// 点击案例视频
videoClick: function videoClick(e) {
var sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode;
console.log(sceneCode);
this.triggerEvent('videoClick', { info: e.detail, sceneCode: sceneCode });
},
// 活动点击
activityClick: function activityClick(e) {
this.triggerEvent('activityClick', e.detail);
},
// 点击场景banner
senceClick: function senceClick() {
var _this = this;
var info = this.data.listData.find(function (item) {
return item.sceneCode === _this.data.sceneCode;
});
console.log(info);
this.triggerEvent('senceClick', info);
},
// 点击切换菜单
menuClick: function menuClick(e) {
var menuInfo = this.data.listData.find(function (item) {
return item.sceneCode === e.detail.info.sceneCode;
});
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
discoverIndex: e.detail.id,
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
},
// 初始化
initMenu: function initMenu(e) {
var menuInfo = e.detail;
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/scenario/index.js"],"names":["Component","externalClasses","properties","hasMenu","type","Boolean","value","list","Array","observer","n","init","activityList","discoverIndex","Number","data","currentScen","scrollLeft","bannerSrc","defaultBannerSrc","sceneCode","listData","methods","length","operationVideoList","videoList","forEach","concat","item","subList","itm","push","name","setData","proClick","e","console","log","detail","triggerEvent","info","videoClick","activityClick","senceClick","find","menuClick","menuInfo","banner","id","initMenu"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;Q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mBuB,IAAnB,CACX,UAAChB,IAAD;AAAA,eAAUA,KAAKR,SAAL,KAAmB,MAAKL,IAAL,CAAUK,SAAvC;AAAA,OADW,CAAb;AAGAgB,cAAQC,GAAR,CAAYG,IAAZ;AACA,WAAKD,YAAL,CAAkB,YAAlB,EAAgCC,IAAhC;AACD,KAjDM;;AAkDP;AACAK,aAnDO,qBAmDGV,CAnDH,EAmDM;AACX,UAAMW,WAAW,KAAK/B,IAAL,CAAUM,QAAV,CAAmBuB,IAAnB,CACf,UAAChB,IAAD;AAAA,eAAUA,KAAKR,SAAL,KAAmBe,EAAEG,MAAF,CAASE,IAAT,CAAcpB,SAA3C;AAAA,OADe,CAAjB;AAGA,UAAMF,YAAY4B,SAASC,MAA3B;AACA,UAAM3B,YAAY0B,SAAS1B,SAA3B;AACA,WAAKa,OAAL,CAAa;AACXpB,uBAAesB,EAAEG,MAAF,CAASU,EADb;AAEX9B,4BAFW;AAGXE;AAHW,OAAb;AAKD,KA9DM;;AA+DP;AACA6B,YAhEO,oBAgEEd,CAhEF,EAgEK;AACV,UAAMW,WAAWX,EAAEG,MAAnB;AACA,UAAMpB,YAAY4B,SAASC,MAA3B;AACA,UAAM3B,YAAY0B,SAAS1B,SAA3B;AACA,WAAKa,OAAL,CAAa;AACXf,4BADW;AAEXE;AAFW,OAAb;AAID;AAxEM;AArDD,CAAV,E","file":"scenario\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n","/*\n * @Description: huyue\n * @Author: huyue\n * @Date: 2022-12-15 17:13:19\n * @LastEditors: huyue\n * @LastEditTime: 2023-02-06 15:28:18\n */\nComponent({\n externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],\n /**\n * 组件的属性列表\n */\n properties: {\n // 顶部菜单\n hasMenu: {\n type: Boolean,\n value: false,\n },\n // 增值转化Data\n list: {\n type: Array,\n observer: function (n) {\n this.init(n)\n }\n },\n // banner下活动轮播数据\n activityList: {\n type: Array,\n value: [],\n },\n // currentScenIndex: {\n // type: Number,\n // observer(n) {\n // this.setData({\n // currentScen: n,\n // });\n // },\n // },\n // 选中活动tab下标,默认第一个\n discoverIndex: {\n type: Number,\n value: 0\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n currentScen: 0,\n scrollLeft: 0,\n bannerSrc: '',\n defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png',\n sceneCode: '',\n listData: []\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n // 初始化数据,新增数字化转型案例视频\n init(n) {\n if (n.length === 0) return\n let operationVideoList = []\n let videoList = []\n // 递归算出得到所有视频\n n.forEach(item => {\n operationVideoList = operationVideoList.concat(item.operationVideoList)\n videoList = videoList.concat(item.videoList)\n if (item.subList.length) {\n item.subList.forEach(itm => {\n operationVideoList = operationVideoList.concat(itm.operationVideoList)\n videoList = videoList.concat(itm.videoList)\n })\n }\n })\n n.push({\n name: '数字化转型案例',\n videoList: videoList,\n operationVideoList: operationVideoList\n })\n this.setData({\n listData: n\n })\n },\n // 点击特色产品\n proClick(e) {\n const sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode\n console.log(e.detail, sceneCode);\n this.triggerEvent('proClick', {info: e.detail, sceneCode});\n },\n // 点击案例视频\n videoClick(e) {\n const sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode\n console.log(sceneCode);\n this.triggerEvent('videoClick', {info: e.detail, sceneCode});\n },\n // 活动点击\n activityClick(e) {\n this.triggerEvent('activityClick', e.detail);\n },\n // 点击场景banner\n senceClick() {\n const info = this.data.listData.find(\n (item) => item.sceneCode === this.data.sceneCode\n );\n console.log(info);\n this.triggerEvent('senceClick', info);\n },\n // 点击切换菜单\n menuClick(e) {\n const menuInfo = this.data.listData.find(\n (item) => item.sceneCode === e.detail.info.sceneCode\n );\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n discoverIndex: e.detail.id,\n bannerSrc,\n sceneCode\n });\n },\n // 初始化\n initMenu(e) {\n const menuInfo = e.detail\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n bannerSrc,\n sceneCode\n })\n },\n },\n});\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-scene": "../scene/index",
"glsx-discover": "../discover/index",
"activity-swiper": "../activity-swiper/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="scenario-menu custom-class" wx:if="{{hasMenu}}">
<scroll-view scroll-x scroll-with-animation scroll-left="{{scrollLeft}}" class="menu-list">
<view wx:for="{{listData}}" wx:key="index" class="menu-item {{item.sceneid==currentScen?'menu-active':''}}" catchtap="selectScenario" data-id="{{item.sceneid}}">{{item.name}}</view>
</scroll-view>
</view>
<gl-scene wx:if="{{listData.length}}" src="{{bannerSrc ? bannerSrc : defaultBannerSrc}}" bind:click="senceClick"></gl-scene>
<activity-swiper activityList="{{activityList}}" bindactivityClick="activityClick"></activity-swiper>
<!-- <glsx-discover index="{{discoverIndex}}" list="{{productData[currentScen]}}" bindchange="onchange" bind:proClick="proClick" bind:videoClick="videoClick"></glsx-discover> -->
<glsx-discover
wx:if="{{listData.length}}"
index="{{discoverIndex}}"
list="{{listData}}"
bindchange="onchange"
bind:menuClick="menuClick"
bind:initMenu="initMenu"
bind:proClick="proClick"
bind:videoClick="videoClick"
novideo-img="novideo-img"
sub-menu-active-custom="sub-menu-active-custom"
sidebar-active-custom="sidebar-active-custom"
>
</glsx-discover>
.scenario-menu {
width: 100%;
height: 88rpx;
/* overflow-x: auto; */
-webkit-overflow-scrolling: touch;
}
.scenario-menu::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
.scenario-menu .menu-list {
padding: 0 20rpx;
display: inline-block;
white-space: nowrap;
box-sizing: border-box;
}
.scenario-menu .menu-list .menu-item {
display: inline-block;
width: 150rpx;
text-align: center;
line-height: 80rpx;
font-weight: 400;
font-size: 28rpx;
color: #323436;
}
.scenario-menu .menu-list .menu-item.menu-active {
position: relative;
font-weight: 600;
width: 190rpx;
font-size: 36rpx;
color: #323436;
}
.menu-active::after {
display: inline-block;
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 40rpx;
height: 8rpx;
background-color: #5850FF;
border-radius: 4rpx;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 6);
/******/ })
/************************************************************************/
/******/ ({
/***/ 6:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: '',
observer: function observer(n) {
this.setData({
imagePath: n
});
}
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
useSlot: {
type: Boolean,
value: false
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
},
methods: {
// 点击事件
clickEvent: function clickEvent() {
this.triggerEvent('click');
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/scene/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","observer","n","setData","imagePath","mode","lazyLoad","Boolean","useSlot","data","methods","clickEvent","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO,EAFJ;AAGHC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,aAAKC,OAAL,CAAa;AACXC,qBAAWF;AADA,SAAb;AAGD;AAPE,KADK;AAUVG,UAAM;AACJP,YAAMC,MADF;AAEJC,aAAO;AAFH,KAVI;AAcVM,cAAU;AACRR,YAAMS,OADE;AAERP,aAAO;AAFC,KAdA;AAkBVQ,aAAS;AACPV,YAAMS,OADC;AAEPP,aAAO;AAFA;AAlBC,GALJ;;AA6BR;;;AAGAS,QAAM;AACJL,eAAW;AADP,GAhCE;;AAoCRM,WAAS;;AAEP;AACAC,cAHO,wBAGM;AACX,WAAKC,YAAL,CAAkB,OAAlB;AACD;AALM;;AApCD,CAAV,E","file":"scene\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n src: {\r\n type: String,\r\n value: '',\r\n observer: function (n) {\r\n this.setData({\r\n imagePath: n\r\n })\r\n }\r\n },\r\n mode: {\r\n type: String,\r\n value: 'widthFix'\r\n },\r\n lazyLoad: {\r\n type: Boolean,\r\n value: true\r\n },\r\n useSlot: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n imagePath: ''\r\n },\r\n\r\n methods: {\r\n\r\n // 点击事件\r\n clickEvent() {\r\n this.triggerEvent('click')\r\n }\r\n\r\n }\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
<view class="gl-scene custom-class" catchtap="clickEvent">
<image
class="img"
src="{{imagePath}}"
mode="{{mode}}"
lazy-load
webp
wx:if="{{imagePath}}"
/>
<view class="inner" wx:if="{{useSlot}}">
<slot/>
</view>
</view>
.gl-scene {
position: relative;
margin: 20rpx;
height: 254rpx;
overflow: hidden;
border-radius: 20rpx;
}
.gl-scene .img {
width: 100%;
height: 100%;
}
.inner {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 3);
/******/ })
/************************************************************************/
/******/ ({
/***/ 3:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class', 'active-class', 'sidebar-active-custom'],
relations: {
'../sidebar/index': {
type: 'parent',
linked: function linked() {
// 每次被插入到 custom-ul 时执行,target是 custom-ul 节点实例对象,触发在 attached 生命周期之后
},
linkChanged: function linkChanged() {
// 每次被移动后执行,target是 custom-ul 节点实例对象,触发在 moved 生命周期之后
},
unlinked: function unlinked() {
// 每次被移除时执行,target是 custom-ul 节点实例对象,触发在 detached 生命周期之后
}
}
},
/**
* 组件的属性列表
*/
properties: {
title: {
type: String,
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
selected: ''
},
methods: {
// 设置选中
setActive: function setActive(selected) {
return this.setData({ selected: selected });
},
// 点击事件
onClick: function onClick() {
var _this = this;
var parent = this.getParents();
if (!parent || this.data.disabled) {
return;
}
var index = parent.data.children.indexOf(this);
parent.setActive(index);
_this.triggerEvent('click', index);
parent.triggerEvent('change', index);
},
// 获取父级元素
getParents: function getParents() {
var nodes = this.getRelationNodes('../sidebar/index');
var node = nodes[0];
return node;
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/sidebar-item/index.js"],"names":["Component","externalClasses","relations","type","linked","linkChanged","unlinked","properties","title","String","value","data","selected","methods","setActive","setData","onClick","_this","parent","getParents","disabled","index","children","indexOf","triggerEvent","nodes","getRelationNodes","node"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,cAAjB,EAAiC,uBAAjC,CADT;AAERC,aAAW;AACT,wBAAoB;AAClBC,YAAM,QADY;AAElBC,cAAQ,kBAAY;AAClB;AACD,OAJiB;AAKlBC,mBAAa,uBAAY;AACvB;AACD,OAPiB;AAQlBC,gBAAU,oBAAY;AACpB;AACD;;AAViB;AADX,GAFH;AAiBR;;;AAGAC,cAAY;AACVC,WAAO;AACLL,YAAMM,MADD;AAELC,aAAO;AAFF;AADG,GApBJ;;AA2BR;;;AAGAC,QAAM;AACJC,cAAU;AADN,GA9BE;AAiCRC,WAAS;AACP;AACAC,eAAW,mBAAUF,QAAV,EAAoB;AAC7B,aAAO,KAAKG,OAAL,CAAa,EAACH,UAAUA,QAAX,EAAb,CAAP;AACD,KAJM;;AAMP;AACAI,WAPO,qBAOG;AACR,UAAMC,QAAQ,IAAd;AACA,UAAMC,SAAS,KAAKC,UAAL,EAAf;AACA,UAAI,CAACD,MAAD,IAAW,KAAKP,IAAL,CAAUS,QAAzB,EAAmC;AACjC;AACD;AACD,UAAMC,QAAQH,OAAOP,IAAP,CAAYW,QAAZ,CAAqBC,OAArB,CAA6B,IAA7B,CAAd;AACAL,aAAOJ,SAAP,CAAiBO,KAAjB;AACAJ,YAAMO,YAAN,CAAmB,OAAnB,EAA4BH,KAA5B;AACAH,aAAOM,YAAP,CAAoB,QAApB,EAA8BH,KAA9B;AACD,KAjBM;;;AAmBP;AACAF,cApBO,wBAoBM;AACX,UAAMM,QAAQ,KAAKC,gBAAL,CAAsB,kBAAtB,CAAd;AACA,UAAMC,OAAOF,MAAM,CAAN,CAAb;AACA,aAAOE,IAAP;AACD;AAxBM;;AAjCD,CAAV,E","file":"sidebar-item\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","// 商品card\nComponent({\n externalClasses: ['custom-class', 'active-class', 'sidebar-active-custom'],\n relations: {\n '../sidebar/index': {\n type: 'parent',\n linked: function () {\n // 每次被插入到 custom-ul 时执行,target是 custom-ul 节点实例对象,触发在 attached 生命周期之后\n },\n linkChanged: function () {\n // 每次被移动后执行,target是 custom-ul 节点实例对象,触发在 moved 生命周期之后\n },\n unlinked: function () {\n // 每次被移除时执行,target是 custom-ul 节点实例对象,触发在 detached 生命周期之后\n }\n\n }\n },\n /**\n * 组件的属性列表\n */\n properties: {\n title: {\n type: String,\n value: ''\n },\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n selected: ''\n },\n methods: {\n // 设置选中\n setActive: function (selected) {\n return this.setData({selected: selected});\n },\n\n // 点击事件\n onClick() {\n const _this = this;\n const parent = this.getParents();\n if (!parent || this.data.disabled) {\n return;\n }\n const index = parent.data.children.indexOf(this);\n parent.setActive(index)\n _this.triggerEvent('click', index);\n parent.triggerEvent('change', index);\n },\n\n // 获取父级元素\n getParents() {\n const nodes = this.getRelationNodes('../sidebar/index')\n const node = nodes[0]\n return node;\n }\n\n }\n\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="sidebar-item custom-class" bind:tap="onClick">
<view class="inner-text {{selected?'sidebar-item-active sidebar-active-custom':''}}">
<view class="text" wx:if="{{ title }}">{{ title }}</view>
<slot wx:else />
</view>
</view>
.sidebar-item {
height: 88rpx;
line-height: 88rpx;
/* background: rgba(204, 206, 209, 0.20); */
}
.inner-text {
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-family: PingFangSC-Medium;
font-size: 24rpx;
color: #2D2D33;
text-align: center;
padding-left: 10rpx;
line-height: 30rpx;
height: 100%;
}
.sidebar-item-active {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 24rpx;
color: #5850FF;
background: #fff;
}
.sidebar-item-active:after {
display: block;
content: "";
width: 6rpx;
height: 40rpx;
background: #5850FF;
border-radius: 0 4rpx 4rpx 0;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 2);
/******/ })
/************************************************************************/
/******/ ({
/***/ 2:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
relations: {
'../sidebar-item/index': {
type: 'child',
linked: function linked(target) {
// 每次有 custom-li 被插入时执行,target是该节点实例对象,触发在该节点 attached 生命周期之后
console.log(target);
this.setActive(this.data.activeKey);
},
linkChanged: function linkChanged() {
// 每次有 custom-li 被移动后执行,target是该节点实例对象,触发在该节点 moved 生命周期之后
},
unlinked: function unlinked() {
// 每次有 custom-li 被移除时执行,target是该节点实例对象,触发在该节点 detached 生命周期之后
}
}
},
/**
* 组件的属性列表
*/
properties: {
activeKey: {
type: Number,
default: 0,
observer: function observer(key) {
this.setActive(key);
}
}
},
/**
* 组件的初始数据
*/
data: {
currentActive: 0,
children: []
},
methods: {
// 设置选中
setActive: function setActive(key) {
var child = this.getAllChild();
var currentActive = this.data.currentActive;
var stack = [];
this.setData({
currentActive: key
});
if (currentActive !== key && child[currentActive]) {
stack.push(child[currentActive].setActive(false));
}
if (child[key]) {
stack.push(child[key].setActive(true));
}
return Promise.all(stack);
},
// 获取所有的子nodes
getAllChild: function getAllChild() {
var nodes = this.getRelationNodes('../sidebar-item/index');
this.setData({
children: nodes
});
return nodes;
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/sidebar/index.js"],"names":["Component","externalClasses","relations","type","linked","target","console","log","setActive","data","activeKey","linkChanged","unlinked","properties","Number","default","observer","key","currentActive","children","methods","child","getAllChild","stack","setData","push","Promise","all","nodes","getRelationNodes"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QAC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XN,uBAAeD;AADJ,OAAb;AAGA,UAAIC,kBAAkBD,GAAlB,IAAyBI,MAAMH,aAAN,CAA7B,EAAmD;AACjDK,cAAME,IAAN,CAAWJ,MAAMH,aAAN,EAAqBV,SAArB,CAA+B,KAA/B,CAAX;AACD;AACD,UAAIa,MAAMJ,GAAN,CAAJ,EAAgB;AACdM,cAAME,IAAN,CAAWJ,MAAMJ,GAAN,EAAWT,SAAX,CAAqB,IAArB,CAAX;AACD;AACD,aAAOkB,QAAQC,GAAR,CAAYJ,KAAZ,CAAP;AACD,KAjBM;;;AAmBP;AACAD,eApBO,yBAoBO;AACZ,UAAMM,QAAQ,KAAKC,gBAAL,CAAsB,uBAAtB,CAAd;AACA,WAAKL,OAAL,CAAa;AACXL,kBAAUS;AADC,OAAb;AAGA,aAAOA,KAAP;AACD;AA1BM;;AAxCD,CAAV,E","file":"sidebar\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n relations: {\r\n '../sidebar-item/index': {\r\n type: 'child',\r\n linked: function (target) {\r\n // 每次有 custom-li 被插入时执行,target是该节点实例对象,触发在该节点 attached 生命周期之后\r\n console.log(target)\r\n this.setActive(this.data.activeKey);\r\n },\r\n linkChanged: function () {\r\n // 每次有 custom-li 被移动后执行,target是该节点实例对象,触发在该节点 moved 生命周期之后\r\n },\r\n unlinked: function () {\r\n // 每次有 custom-li 被移除时执行,target是该节点实例对象,触发在该节点 detached 生命周期之后\r\n }\r\n }\r\n\r\n },\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n activeKey: {\r\n type: Number,\r\n default: 0,\r\n observer: function (key) {\r\n this.setActive(key)\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n currentActive: 0,\r\n children: []\r\n },\r\n\r\n methods: {\r\n\r\n // 设置选中\r\n setActive(key) {\r\n const child = this.getAllChild()\r\n const currentActive = this.data.currentActive\r\n const stack = [];\r\n this.setData({\r\n currentActive: key\r\n })\r\n if (currentActive !== key && child[currentActive]) {\r\n stack.push(child[currentActive].setActive(false));\r\n }\r\n if (child[key]) {\r\n stack.push(child[key].setActive(true));\r\n }\r\n return Promise.all(stack);\r\n },\r\n\r\n // 获取所有的子nodes\r\n getAllChild() {\r\n const nodes = this.getRelationNodes('../sidebar-item/index')\r\n this.setData({\r\n children: nodes\r\n })\r\n return nodes;\r\n },\r\n\r\n }\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-sidebar custom-class">
<slot/>
</view>
.gl-sidebar {
display: flex;
flex-direction: column;
background: rgba(204, 206, 209, 0.2);
width: 116rpx;
height: 100%;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 10);
/******/ })
/************************************************************************/
/******/ ({
/***/ 10:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-15 17:13:19
* @LastEditors: huyue
* @LastEditTime: 2022-12-29 15:13:16
*/
Component({
externalClasses: ['glscene-class', 'gldiscover-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
options: {
multipleSlots: true // 在组件定义时的选项中启用多 slot 支持
},
/**
* 组件的属性列表
*/
properties: {
// 客户数字化Data
list: {
type: Array
// observer: function (n) {
// this.init(n)
// }
},
// 选中活动tab下标,默认第一个
discoverIndex: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
bannerSrc: '',
defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png'
},
/**
* 组件的方法列表
*/
methods: {
// // 初始化数据,新增数字化转型案例视频
// init(n) {
// if (n.length === 0) return
// let operationVideoList = []
// let videoList = []
// n.forEach(item => {
// operationVideoList = operationVideoList.concat(item.operationVideoList)
// videoList = videoList.concat(item.videoList)
// })
// this.data.list.push({
// name: '数字化转型案例',
// videoList: videoList,
// operationVideoList: operationVideoList
// })
// this.setData({
// list: this.data.list
// })
// },
// 点击特色产品
proClick: function proClick(e) {
var sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode;
this.triggerEvent('proClick', { info: e.detail, sceneCode: sceneCode });
},
// 点击案例视频或操作指引
videoClick: function videoClick(e) {
var sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode;
this.triggerEvent('videoClick', { info: e.detail, sceneCode: sceneCode });
},
// 点击切换菜单
menuClick: function menuClick(e) {
var menuInfo = this.data.list.find(function (item) {
return item.sceneCode === e.detail.info.sceneCode;
});
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
discoverIndex: e.detail.id,
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
},
// 点击场景banner
senceClick: function senceClick() {
var _this = this;
var info = this.data.list.find(function (item) {
return item.sceneCode === _this.data.sceneCode;
});
this.triggerEvent('senceClick', info);
},
// 初始化菜单
initMenu: function initMenu(e) {
var menuInfo = e.detail;
var bannerSrc = menuInfo.banner;
var sceneCode = menuInfo.sceneCode;
this.setData({
bannerSrc: bannerSrc,
sceneCode: sceneCode
});
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/subscription/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","list","type","Array","discoverIndex","Number","value","data","bannerSrc","defaultBannerSrc","methods","proClick","e","sceneCode","triggerEvent","info","detail","videoClick","menuClick","menuInfo","find","item","banner","setData","id","senceClick","initMenu"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;;;;;;;AAOAA,UAAU;AACRC,mBAAiB,CAAC,eAAD,EAAkB,kBAAlB,EAAsC,aAAtC,EAAqD,wBAArD,EAA+E,uBAA/E,CADT;AAERC,WAAS;AACPC,mBAAe,IADR,CACa;AADb,GAFD;AAKR;;;AAGAC,cAAY;AACV;AACAC,UAAM;AACJC,YAAMC;AACN;AACA;AACA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M;AAAA;;AACX,UAAMV,OAAO,KAAKR,IAAL,CAAUN,IAAV,CAAemB,IAAf,CACX,UAACC,IAAD;AAAA,eAAUA,KAAKR,SAAL,KAAmB,MAAKN,IAAL,CAAUM,SAAvC;AAAA,OADW,CAAb;AAGA,WAAKC,YAAL,CAAkB,YAAlB,EAAgCC,IAAhC;AACD,KAjDM;;;AAmDP;AACAW,YApDO,oBAoDEd,CApDF,EAoDK;AACV,UAAMO,WAAWP,EAAEI,MAAnB;AACA,UAAMR,YAAYW,SAASG,MAA3B;AACA,UAAMT,YAAYM,SAASN,SAA3B;AACA,WAAKU,OAAL,CAAa;AACXf,4BADW;AAEXK;AAFW,OAAb;AAID;AA5DM;AAlCD,CAAV,E","file":"subscription\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","/*\n * @Description: huyue\n * @Author: huyue\n * @Date: 2022-12-15 17:13:19\n * @LastEditors: huyue\n * @LastEditTime: 2022-12-29 15:13:16\n */\nComponent({\n externalClasses: ['glscene-class', 'gldiscover-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],\n options: {\n multipleSlots: true // 在组件定义时的选项中启用多 slot 支持\n },\n /**\n * 组件的属性列表\n */\n properties: {\n // 客户数字化Data\n list: {\n type: Array,\n // observer: function (n) {\n // this.init(n)\n // }\n },\n // 选中活动tab下标,默认第一个\n discoverIndex: {\n type: Number,\n value: 0\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n bannerSrc: '',\n defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png'\n },\n\n /**\n * 组件的方法列表\n */\n methods: {\n // // 初始化数据,新增数字化转型案例视频\n // init(n) {\n // if (n.length === 0) return\n // let operationVideoList = []\n // let videoList = []\n // n.forEach(item => {\n // operationVideoList = operationVideoList.concat(item.operationVideoList)\n // videoList = videoList.concat(item.videoList)\n // })\n // this.data.list.push({\n // name: '数字化转型案例',\n // videoList: videoList,\n // operationVideoList: operationVideoList\n // })\n // this.setData({\n // list: this.data.list\n // })\n // },\n\n // 点击特色产品\n proClick(e) {\n const sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode\n this.triggerEvent('proClick', {info: e.detail, sceneCode});\n },\n // 点击案例视频或操作指引\n videoClick(e) {\n const sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode\n this.triggerEvent('videoClick', {info: e.detail, sceneCode});\n },\n // 点击切换菜单\n menuClick(e) {\n const menuInfo = this.data.list.find(\n (item) => item.sceneCode === e.detail.info.sceneCode\n );\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n discoverIndex: e.detail.id,\n bannerSrc,\n sceneCode\n });\n },\n // 点击场景banner\n senceClick() {\n const info = this.data.list.find(\n (item) => item.sceneCode === this.data.sceneCode\n );\n this.triggerEvent('senceClick', info);\n },\n\n // 初始化菜单\n initMenu(e) {\n const menuInfo = e.detail\n const bannerSrc = menuInfo.banner;\n const sceneCode = menuInfo.sceneCode\n this.setData({\n bannerSrc,\n sceneCode\n })\n }\n }\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-scene": "../scene/index",
"glsx-discover": "../discover/index"
}
}
\ No newline at end of file \ No newline at end of file
<gl-scene wx:if="{{list.length}}" src="{{bannerSrc ? bannerSrc : defaultBannerSrc}}" custom-class="glscene-class" bind:click="senceClick"></gl-scene>
<glsx-discover
wx:if="{{list.length}}"
index="{{discoverIndex}}"
bind:menuClick="menuClick"
list="{{list}}"
bind:proClick="proClick"
bind:videoClick="videoClick"
bind:initMenu="initMenu"
custom-class="gldiscover-class"
novideo-img="novideo-img"
sub-menu-active-custom="sub-menu-active-custom"
sidebar-active-custom="sidebar-active-custom"
></glsx-discover>
module.exports = {
getFlag() {
return true
},
deepClone(target) {
const map = new WeakMap()
function isObject(target) {
return (typeof target === 'object' && target) || typeof target === 'function'
}
function clone(data) {
if (!isObject(data)) {
return data
}
if ([Date, RegExp].includes(data.constructor)) {
return new data.constructor(data)
}
if (typeof data === 'function') {
// eslint-disable-next-line no-new-func
return new Function('return ' + data.toString())()
}
const exist = map.get(data)
if (exist) {
return exist
}
if (data instanceof Map) {
const result = new Map()
map.set(data, result)
data.forEach((val, key) => {
if (isObject(val)) {
result.set(key, clone(val))
} else {
result.set(key, val)
}
})
return result
}
if (data instanceof Set) {
const result = new Set()
map.set(data, result)
data.forEach(val => {
if (isObject(val)) {
result.add(clone(val))
} else {
result.add(val)
}
})
return result
}
const keys = Reflect.ownKeys(data)
const allDesc = Object.getOwnPropertyDescriptors(data)
const result = Object.create(Object.getPrototypeOf(data), allDesc)
map.set(data, result)
keys.forEach(key => {
const val = data[key]
if (isObject(val)) {
result[key] = clone(val)
} else {
result[key] = val
}
})
return result
}
return clone(target)
}
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 7);
/******/ })
/************************************************************************/
/******/ ({
/***/ 7:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class', 'video-play-class'],
/**
* 组件的属性列表
*/
properties: {
list: {
type: Object,
value: {},
observer: function observer(n) {
if (Object.keys(n).length) {
this.init(n);
}
}
},
likeList: {
type: Array,
value: []
}
},
/**
* 组件的初始数据
*/
data: {
current: {},
idx: 0
},
methods: {
// 初始化
init: function init(list) {
this.setData({
current: list
});
},
// 选择视频
chooseVideo: function chooseVideo(e) {
var info = e.currentTarget.dataset.info || {};
this.setData({
current: info
});
console.log(e.target.dataset);
this.triggerEvent('chooseVideo', e.target.dataset.info);
}
}
});
/***/ })
/******/ });
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/video-detail/index.js"],"names":["Component","externalClasses","properties","list","type","Object","value","observer","n","keys","length","init","likeList","Array","data","current","idx","methods","setData","chooseVideo","e","info","currentTarget","dataset","console","log","target","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;ACjFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,kBAAjB,CADT;AAER;;;AAGAC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO,EAFH;AAGJC,gBAAU,kBAAUC,CAAV,EAAa;AACrB,YAAIH,OAAOI,IAAP,CAAYD,CAAZ,EAAeE,MAAnB,EAA2B;AACzB,eAAKC,IAAL,CAAUH,CAAV;AACD;AACF;AAPG,KADI;AAUVI,cAAU;AACRR,YAAMS,KADE;AAERP,aAAO;AAFC;AAVA,GALJ;;AAqBR;;;AAGAQ,QAAM;AACJC,aAAS,EADL;AAEJC,SAAK;AAFD,GAxBE;;AA6BRC,WAAS;;AAEP;AACAN,QAHO,gBAGFR,IAHE,EAGI;AACT,WAAKe,OAAL,CAAa;AACXH,iBAASZ;AADE,OAAb;AAGD,KAPM;;;AASP;AACAgB,eAVO,uBAUKC,CAVL,EAUQ;AACb,UAAMC,OAAOD,EAAEE,aAAF,CAAgBC,OAAhB,CAAwBF,IAAxB,IAAgC,EAA7C;AACA,WAAKH,OAAL,CAAa;AACXH,iBAASM;AADE,OAAb;AAGAG,cAAQC,GAAR,CAAYL,EAAEM,MAAF,CAASH,OAArB;AACA,WAAKI,YAAL,CAAkB,aAAlB,EAAiCP,EAAEM,MAAF,CAASH,OAAT,CAAiBF,IAAlD;AACD;AAjBM;;AA7BD,CAAV,E","file":"video-detail\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n","\n// 商品card\nComponent({\n externalClasses: ['custom-class', 'video-play-class'],\n /**\n * 组件的属性列表\n */\n properties: {\n list: {\n type: Object,\n value: {},\n observer: function (n) {\n if (Object.keys(n).length) {\n this.init(n)\n }\n }\n },\n likeList: {\n type: Array,\n value: []\n }\n },\n\n /**\n * 组件的初始数据\n */\n data: {\n current: {},\n idx: 0\n },\n\n methods: {\n\n // 初始化\n init(list) {\n this.setData({\n current: list\n })\n },\n\n // 选择视频\n chooseVideo(e) {\n const info = e.currentTarget.dataset.info || {}\n this.setData({\n current: info\n })\n console.log(e.target.dataset);\n this.triggerEvent('chooseVideo', e.target.dataset.info)\n }\n }\n\n})\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {
"gl-video": "../video/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-video-page custom-class">
<view class="video-play-box video-play-class" wx:if="{{list || list.videoUrl}}">
<video
src="{{current.vedioUrl}}"
class="video-box"
></video>
</view>
<view class="video-title">
<view class="title">
{{current.title}}
</view>
<view class="total">
<image class="img" src="../assets/eye.png" />
<text class="">{{current.view}}</text>
</view>
</view>
<view class="video-content" wx:if="{{likeList || likeList.length}}">
<view class="head">猜你喜欢</view>
<scroll-view
class="video-list"
enable-flex
scroll-x
>
<view
class="cell"
wx:for="{{likeList}}"
wx:key="index"
>
<gl-video
src="{{item.prodImg}}"
title="{{item.proName}}"
user-name="{{item.manufacturer || '嘀加智慧'}}"
visit="{{item.view}}"
data-info="{{item}}"
data-index="{{index}}"
catchtap="chooseVideo"
></gl-video>
</view>
</scroll-view>
</view>
</view>
.gl-video-page {
display: flex;
flex-direction: column;
height: 100vh;
}
.video-play-box {
flex-shrink: 0;
height: 422rpx;
width: 100%;
}
.video-box {
width: 100%;
height: 100%;
}
.video-title {
display: flex;
align-items: flex-start;
justify-content: space-between;
padding: 16rpx 32rpx;
}
.video-title .title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32rpx;
color: #323436;
}
.total {
flex-shrink: 0;
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #5A6066;
margin-left: 30rpx;
}
.total .img {
width: 28rpx;
height: 28rpx;
margin-right: 4rpx;
}
.video-content {
flex: 1;
overflow-y: auto;
}
.video-content .head {
padding: 0 32rpx;
margin: 80rpx 0 0 0;
}
.video-list {
height: 400rpx;
display: flex;
flex-direction: row;
padding: 16rpx 32rpx;
box-sizing: border-box;
background: #fff;
}
.video-list .cell {
margin: 0 20rpx 0 0;
}
.video-list .cell:last-child {
margin: 0;
}
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */,
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
userName: {
type: [String, Number],
value: ''
},
avatar: {
type: String,
value: '../assets/avatar.png'
},
title: {
type: [String, Number],
value: ''
},
visit: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
}
});
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/video/index.js"],"names":["Component","externalClasses","properties","src","type","String","value","mode","lazyLoad","Boolean","userName","Number","avatar","title","visit","data","imagePath"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA;AACAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;AAER;;;AAGAC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMK,OADE;AAERH,aAAO;AAFC,KATA;AAaVI,cAAU;AACRN,YAAM,CAACC,MAAD,EAASM,MAAT,CADE;AAERL,aAAO;AAFC,KAbA;AAiBVM,YAAQ;AACNR,YAAMC,MADA;AAENC,aAAO;AAFD,KAjBE;AAqBVO,WAAO;AACLT,YAAM,CAACC,MAAD,EAASM,MAAT,CADD;AAELL,aAAO;AAFF,KArBG;AAyBVQ,WAAO;AACLV,YAAMO,MADD;AAELL,aAAO;AAFF;;AAzBG,GALJ;;AAqCR;;;AAGAS,QAAM;AACJC,eAAW;AADP;;AAxCE,CAAV,E","file":"video\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","// 商品card\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n /**\r\n * 组件的属性列表\r\n */\r\n properties: {\r\n src: {\r\n type: String,\r\n value: ''\r\n },\r\n mode: {\r\n type: String,\r\n value: 'widthFix'\r\n },\r\n lazyLoad: {\r\n type: Boolean,\r\n value: true\r\n },\r\n userName: {\r\n type: [String, Number],\r\n value: ''\r\n },\r\n avatar: {\r\n type: String,\r\n value: '../assets/avatar.png'\r\n },\r\n title: {\r\n type: [String, Number],\r\n value: ''\r\n },\r\n visit: {\r\n type: Number,\r\n value: 0\r\n }\r\n\r\n },\r\n\r\n /**\r\n * 组件的初始数据\r\n */\r\n data: {\r\n imagePath: ''\r\n },\r\n\r\n})\r\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-video custom-class">
<view class="video-box">
<image class="img" src="{{src}}" webp mode="{{mode}}" lazy-load="{{lazyLoad}}" wx:if="{{src}}" />
<image class="play" src="../assets/play.png" lazy-load />
</view>
<view class="video-fooeter">
<view class="video-title">
{{title}}
</view>
<view class="video-info">
<view class="avatar">
<image class="img" src="{{avatar}}" lazy-load wx:if="{{avatar}}" />
<view class="name">{{userName}}</view>
</view>
<view class="total">
<image class="img" src="../assets/eye.png" />
<text class="">{{visit}}</text>
</view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.gl-video {
width: 276rpx;
height: 316rpx;
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
border-radius: 12rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.video-box {
position: relative;
width: 100%;
height: 168rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.video-box .img {
width: 100%;
}
.video-box .play {
position: absolute;
width: 42rpx;
height: 42rpx;
left: 19rpx;
bottom: 19rpx;
}
.video-fooeter {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 8rpx 0;
}
.video-title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
padding: 0 16rpx;
}
.avatar {
display: flex;
align-items: center;
flex: 1;
flex-shrink: 0;
overflow: hidden;
}
.avatar .img {
width: 32rpx;
height: 32rpx;
border-radius: 100%;
flex-shrink: 0;
}
.avatar .name {
display: inline-block;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #5A6066;
margin-left: 4rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 100%;
}
.video-info {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16rpx;
box-sizing: border-box;
width: 100%;
}
.total {
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 20rpx;
color: #5A6066;
}
.total .img {
width: 20rpx;
height: 20rpx;
margin-right: 4rpx;
}
const gulp = require('gulp')
const clean = require('gulp-clean')
const config = require('./tools/config')
const BuildTask = require('./tools/build')
const id = require('./package.json').name || 'miniprogram-custom-component'
// 构建任务实例
// eslint-disable-next-line no-new
new BuildTask(id, config.entry)
// 清空生成目录和文件
gulp.task('clean', gulp.series(() => gulp.src(config.distPath, {read: false, allowEmpty: true}).pipe(clean()), done => {
if (config.isDev) {
return gulp.src(config.demoDist, {read: false, allowEmpty: true})
.pipe(clean())
}
return done()
}))
// 监听文件变化并进行开发模式构建
gulp.task('watch', gulp.series(`${id}-watch`))
// 开发模式构建
gulp.task('dev', gulp.series(`${id}-dev`))
// 生产模式构建
gulp.task('default', gulp.series(`${id}-default`))
{
"_from": "glsx-applet-component",
"_id": "glsx-applet-component@1.1.21",
"_inBundle": false,
"_integrity": "sha512-ufv3skaj+ungg0eO6DvFNuCjK1Kwg8D/H1MBu9i8hHJToYtvXEJrblAk6LT3NYUOddtIDhVs+p3DgpXUg2WtPQ==",
"_location": "/glsx-applet-component",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "glsx-applet-component",
"name": "glsx-applet-component",
"escapedName": "glsx-applet-component",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.21.tgz",
"_shasum": "5b9529b7b4b7374d72674b0dee1949a361e98154",
"_spec": "glsx-applet-component",
"_where": "D:\\2023\\08\\0831-hmd",
"author": {
"name": "jack"
},
"bugs": {
"url": "https://github.com/wechat-miniprogram/miniprogram-custom-component/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "使用 glsx-applet-components Weapp 前,请确保你已经学习过微信官方的 [小程序简易教程](https://developers.weixin.qq.com/miniprogram/dev/framework/) 和 [自定义组件介绍](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/)。",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-plugin-module-resolver": "^3.2.0",
"babel-preset-env": "^1.7.0",
"colors": "^1.3.1",
"eslint": "^5.14.1",
"eslint-config-airbnb-base": "13.1.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.8.0",
"gulp": "^4.0.0",
"gulp-clean": "^0.4.0",
"gulp-if": "^2.0.2",
"gulp-install": "^1.1.0",
"gulp-less": "^4.0.1",
"gulp-rename": "^1.4.0",
"gulp-sourcemaps": "^2.6.5",
"jest": "^23.5.0",
"miniprogram-api-typings": "^2.10.3-1",
"miniprogram-simulate": "^1.2.5",
"thread-loader": "^2.1.3",
"through2": "^2.0.3",
"ts-loader": "^7.0.0",
"typescript": "^3.8.3",
"vinyl": "^2.2.0",
"webpack": "^4.29.5",
"webpack-node-externals": "^1.7.2"
},
"homepage": "https://github.com/wechat-miniprogram/miniprogram-custom-component#readme",
"jest": {
"testEnvironment": "jsdom",
"testURL": "https://jest.test",
"collectCoverageFrom": [
"dist/**/*.js"
],
"moduleDirectories": [
"node_modules",
"dist"
]
},
"license": "MIT",
"main": "dist/index.js",
"miniprogram": "dist",
"name": "glsx-applet-component",
"repository": {
"type": "git",
"url": "git+https://github.com/wechat-miniprogram/miniprogram-custom-component.git"
},
"scripts": {
"build": "gulp",
"clean": "gulp clean",
"clean-dev": "gulp clean --develop",
"coverage": "jest ./test/* --coverage --bail",
"dev": "gulp dev --develop",
"dist": "npm run build",
"lint": "eslint \"src/**/*.js\" --fix",
"lint-tools": "eslint \"tools/**/*.js\" --rule \"import/no-extraneous-dependencies: false\" --fix",
"test": "jest --bail",
"test-debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --bail",
"watch": "gulp watch --develop --watch"
},
"version": "1.1.21"
}
Component({
/**
* 组件的属性列表
*/
properties: {
pickerShow: {
type: Boolean,
value: false,
},
},
/**
* 组件的初始数据
*/
data: {
date: '2016-09-01',
},
/**
* 组件的方法列表
*/
methods: {
initDate() {
const now = new Date()
const dateArray = []
for (let i = 1; i < 16; i++) {
dateArray.push(new Date(new Date().setDate(now.getDate() + i)).format('yyyy-MM-dd'))
}
const hour = 9
const hourList = []
for (let i = 0; i < 8; i++) {
const _hour = i + hour < 10 ? `0${i + hour}` : i + hour
hourList.push(_hour)
}
this.setData({
dateArray,
timeArray: [hourList, ['00', '30']]
})
},
},
lifetimes: {
attached() {
this.initDate()
}
}
});
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<!-- <view wx:if="{{pickerShow}}" class="dialog_mask {{pickerShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="bindCancelDate"></view>
<view class="dialog_container">
<view class="header flex_scb">
<view class="cancle" bindtap="bindCancelDate">取消</view>
<view class="title">日期选择</view>
<view class="comfirm" bindtap="bindConfirmDate">确定</view>
</view>
<view class="main">
<picker mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
<view class="picker">
当前选择: {{date}}
</view>
</picker>
</view>
</view>
</view> -->
<picker wx:if="{{pickerShow}}" mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
<view class="picker">
当前选择: {{date}}
</view>
</picker>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 70%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main{
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
\ No newline at end of file \ No newline at end of file
@font-face {
font-family: 'gl-iconfont';
src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAD5oAA0AAAAAhUAAAD4OAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACFSBEICoHoWIGzIguCMAABNgIkA4JEBCAFhSYHjgUbdGhVRmaMAwDs8LRGImzWXCXN/v+eoMYYPpQHoma2CZwQNk1kdkqjNEvLpNI82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SO1/k6ho4wh89YzgxVYqaZXqbDTQnTYxsgiZAm6QzKJpxV1GRMJ1bweZ/LVsmmx2Wxvc5FLpdOZLwPWkTNgiqpaNvzR9bR02WPDFlvmMCXLJKtncm2yfor5qJMM9GwgpybXghOJuBSLcf7lJUeXxsO3EK7YvhyJbLHbHrIS2FOpHyyShZy6MIVBZtVFFAm7LEzqOm0l8iBcZdTmiLmxLEQdhl6YGmfdlpnDFlrS0fNKYq9IDXlmkwZ0h6nKqgkn4eqlFaGdWsE7yll+9L5aRN2he2dEmqyidtdf7JWSNPWM9KTDe/dt7CjcTgj1wzePriGu9O6cgnZxK6K7hYJdzoYcKm1k3NEy/Vh7tEMvWkqZsozZbDiqM9ZTZr1MlEE7p1upOTl5Rh0ZwelE7mrUJy3DoRxCakZ+z2HoEvTdz+WdLz66/Tgz2hHZJBXrAg7I6ilpon/SRaknRNzZIlmHklddNmGHmwXcOBb0dXrBEv+r1+mo1pwLR3JDYWKubNDL4IVFk3KyTpScpe0zPNAVWwZrkaKi888Z4PuZCJD0fjuatgiVFo0tq+o4aLqGweXl+OafDmSQjtpu7C1XFB/R3OZ0cAzkbHl2Jd/0wejrom7hhz6/Q504MmIjXWNtmqc0G9MA7ejJ97LSO2VP51OTo8mX5eBlW7WZCa00tnx6W+tGu87lQ7XAymR/0621SjdNyy3uaxnonGdbkqmKM5k68TfwZtsZOQG7Dz9B4K2PAwAAAAAAAAB//8AAgABAAAADAAAABYAAAACAAEAAwCWAAEABAAAAAIAAAAAeNpjYGBgZACCq0vUOUD0g0sndWA0AETrBvgAAA==') format('woff'),
url('gl-iconfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
.gl-iconfont {
font-family: "gl-iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.gl-icon-the-refresh:before {
content: "\e700";
}
.gl-icon-home1:before {
content: "\e6fd";
}
.gl-icon-folder:before {
content: "\e6b5";
}
.gl-icon-font:before {
content: "\e6b1";
}
.gl-icon-html1:before {
content: "\e6b2";
}
.gl-icon-xml:before {
content: "\e6b3";
}
.gl-icon-pdf:before {
content: "\e6b4";
}
.gl-icon-lock:before {
content: "\e702";
}
.gl-icon-at1:before {
content: "\e6f6";
}
.gl-icon-pgs1:before {
content: "\e6b0";
}
.gl-icon-marketing-fill:before {
content: "\e6eb";
}
.gl-icon-on-the-left1:before {
content: "\e6af";
}
.gl-icon-board21:before {
content: "\e6dd";
}
.gl-icon-a-testcaselibrary1:before {
content: "\e6e2";
}
.gl-icon-combined-shape:before {
content: "\e767";
}
.gl-icon-doublearrow:before {
content: "\e768";
}
.gl-icon-questiontalk1:before {
content: "\e769";
}
.gl-icon-on-the-left:before {
content: "\e766";
}
.gl-icon-smallarrow-simple-up1:before {
content: "\e74f";
}
.gl-icon-task-created1:before {
content: "\e750";
}
.gl-icon-the-calendar:before {
content: "\e751";
}
.gl-icon-task-board:before {
content: "\e753";
}
.gl-icon-the-arrow:before {
content: "\e754";
}
.gl-icon-tick:before {
content: "\e755";
}
.gl-icon-state-check:before {
content: "\e756";
}
.gl-icon-tick2:before {
content: "\e757";
}
.gl-icon-star:before {
content: "\e758";
}
.gl-icon-the-sorting22:before {
content: "\e759";
}
.gl-icon-triangle-down:before {
content: "\e75b";
}
.gl-icon-triangle-left1:before {
content: "\e75c";
}
.gl-icon-warning1:before {
content: "\e75d";
}
.gl-icon-towards:before {
content: "\e75e";
}
.gl-icon-upload-file1:before {
content: "\e75f";
}
.gl-icon-video21:before {
content: "\e760";
}
.gl-icon-to-do:before {
content: "\e761";
}
.gl-icon-triangle-up:before {
content: "\e762";
}
.gl-icon-the-sorting1:before {
content: "\e763";
}
.gl-icon-warning-o:before {
content: "\e764";
}
.gl-icon-triangle-right:before {
content: "\e765";
}
.gl-icon-favorite1:before {
content: "\e6e3";
}
.gl-icon-headset:before {
content: "\e720";
}
.gl-icon-full-screen:before {
content: "\e721";
}
.gl-icon-headest-fill:before {
content: "\e722";
}
.gl-icon-filter:before {
content: "\e723";
}
.gl-icon-filter-tick:before {
content: "\e725";
}
.gl-icon-heart-o:before {
content: "\e726";
}
.gl-icon-flag:before {
content: "\e727";
}
.gl-icon-home-fill21:before {
content: "\e728";
}
.gl-icon-heart:before {
content: "\e729";
}
.gl-icon-more:before {
content: "\e72a";
}
.gl-icon-more-vertical:before {
content: "\e72c";
}
.gl-icon-mark-as-read1:before {
content: "\e72e";
}
.gl-icon-plus:before {
content: "\e730";
}
.gl-icon-leave1:before {
content: "\e731";
}
.gl-icon-link:before {
content: "\e732";
}
.gl-icon-org-user:before {
content: "\e733";
}
.gl-icon-lock-fill:before {
content: "\e734";
}
.gl-icon-icon-mute1:before {
content: "\e735";
}
.gl-icon-loading:before {
content: "\e736";
}
.gl-icon-a-smallarrow-simple-up2:before {
content: "\e737";
}
.gl-icon-microphone:before {
content: "\e738";
}
.gl-icon-pause:before {
content: "\e739";
}
.gl-icon-plus-fill:before {
content: "\e73a";
}
.gl-icon-picture1:before {
content: "\e73b";
}
.gl-icon-smallarrow-simple-down1:before {
content: "\e73c";
}
.gl-icon-repeat:before {
content: "\e73d";
}
.gl-icon-poweroff:before {
content: "\e73e";
}
.gl-icon-play:before {
content: "\e73f";
}
.gl-icon-right:before {
content: "\e740";
}
.gl-icon-scanning1:before {
content: "\e742";
}
.gl-icon-location:before {
content: "\e743";
}
.gl-icon-phone-o:before {
content: "\e744";
}
.gl-icon-inbox:before {
content: "\e745";
}
.gl-icon-projectid1:before {
content: "\e746";
}
.gl-icon-nav:before {
content: "\e747";
}
.gl-icon-print:before {
content: "\e748";
}
.gl-icon-pencil:before {
content: "\e749";
}
.gl-icon-search:before {
content: "\e74a";
}
.gl-icon-member-group:before {
content: "\e74b";
}
.gl-icon-remove:before {
content: "\e74c";
}
.gl-icon-qrcode:before {
content: "\e74d";
}
.gl-icon-fullday:before {
content: "\e74e";
}
.gl-icon-checkbox:before {
content: "\e6d9";
}
.gl-icon-add:before {
content: "\e6da";
}
.gl-icon-arrow-switch:before {
content: "\e6db";
}
.gl-icon-add-user:before {
content: "\e6dc";
}
.gl-icon-circle-info-o:before {
content: "\e6de";
}
.gl-icon-circle-arrow-up-o:before {
content: "\e6df";
}
.gl-icon-circle-arrow-left-o:before {
content: "\e6e0";
}
.gl-icon-created-fill:before {
content: "\e6e1";
}
.gl-icon-checkbox-ios-checked:before {
content: "\e6e4";
}
.gl-icon-calendar-tick:before {
content: "\e6e5";
}
.gl-icon-coupon:before {
content: "\e6e6";
}
.gl-icon-cog:before {
content: "\e6e7";
}
.gl-icon-circle-error-o:before {
content: "\e6e8";
}
.gl-icon-circle-info:before {
content: "\e6e9";
}
.gl-icon-envelope:before {
content: "\e6ea";
}
.gl-icon-copy:before {
content: "\e6f3";
}
.gl-icon-circle-plus1:before {
content: "\e6f4";
}
.gl-icon-circle-chevron-down-o:before {
content: "\e6f5";
}
.gl-icon-bookkeeping-logo:before {
content: "\e6f7";
}
.gl-icon-draggable:before {
content: "\e6f8";
}
.gl-icon-edit:before {
content: "\e6f9";
}
.gl-icon-circle-arrow-right-o:before {
content: "\e6fa";
}
.gl-icon-activity-fill:before {
content: "\e70d";
}
.gl-icon-custom-number:before {
content: "\e70e";
}
.gl-icon-favorite-fill:before {
content: "\e70f";
}
.gl-icon-error:before {
content: "\e710";
}
.gl-icon-bell-fill:before {
content: "\e711";
}
.gl-icon-circle-question:before {
content: "\e712";
}
.gl-icon-credit-card:before {
content: "\e713";
}
.gl-icon-correct:before {
content: "\e714";
}
.gl-icon-eye-fill:before {
content: "\e715";
}
.gl-icon-clock:before {
content: "\e716";
}
.gl-icon-eye-slash:before {
content: "\e717";
}
.gl-icon-circle-arrow-down-o:before {
content: "\e719";
}
.gl-icon-camera:before {
content: "\e71a";
}
.gl-icon-dig:before {
content: "\e71b";
}
.gl-icon-dig2:before {
content: "\e71c";
}
.gl-icon-circle-user-o:before {
content: "\e71d";
}
.gl-icon-eye:before {
content: "\e71e";
}
.gl-icon-custom-text1:before {
content: "\e71f";
}
.gl-icon-home-fill2:before {
content: "\e6c8";
}
.gl-icon-triangle-left:before {
content: "\e6ca";
}
.gl-icon-leave:before {
content: "\e6c9";
}
.gl-icon-projectid:before {
content: "\e6cb";
}
.gl-icon-upload-file:before {
content: "\e6cd";
}
.gl-icon-smallarrow-simple-down:before {
content: "\e6ce";
}
.gl-icon-warning:before {
content: "\e6cf";
}
.gl-icon-mark-as-read:before {
content: "\e6d1";
}
.gl-icon-icon-mute:before {
content: "\e6d2";
}
.gl-icon-picture:before {
content: "\e6d3";
}
.gl-icon-scanning:before {
content: "\e6d4";
}
.gl-icon-custom-text:before {
content: "\e6d5";
}
.gl-icon-smallarrow-simple-up:before {
content: "\e6d6";
}
.gl-icon-task-created:before {
content: "\e6d7";
}
.gl-icon-video2:before {
content: "\e6d8";
}
.gl-icon-activity:before {
content: "\e6fc";
}
.gl-icon-excel:before {
content: "\e701";
}
.gl-icon-photo:before {
content: "\e704";
}
.gl-icon-music:before {
content: "\e707";
}
.gl-icon-ppt:before {
content: "\e708";
}
.gl-icon-others:before {
content: "\e709";
}
.gl-icon-video:before {
content: "\e70a";
}
.gl-icon-zip:before {
content: "\e70b";
}
.gl-icon-salepre:before {
content: "\e6fb";
}
.gl-icon-equity:before {
content: "\e6fe";
}
.gl-icon-authorize:before {
content: "\e6ff";
}
.gl-icon-marketing:before {
content: "\e6f2";
}
.gl-icon-capital1:before {
content: "\e6a9";
}
.gl-icon-settings:before {
content: "\e6ec";
}
.gl-icon-home:before {
content: "\e6ed";
}
.gl-icon-outbound:before {
content: "\e6ee";
}
.gl-icon-custom:before {
content: "\e6ef";
}
.gl-icon-drainage:before {
content: "\e6f0";
}
.gl-icon-services:before {
content: "\e6f1";
}
.gl-icon-book:before {
content: "\e6b8";
}
.gl-icon-small-right:before {
content: "\e66a";
}
.gl-icon-small-up:before {
content: "\e66b";
}
.gl-icon-arrow-up:before {
content: "\e660";
}
.gl-icon-arrow-down:before {
content: "\e661";
}
.gl-icon-arrow-right:before {
content: "\e662";
}
.gl-icon-circle-plus:before {
content: "\e656";
}
.gl-icon-favorite:before {
content: "\e653";
}
\ No newline at end of file \ No newline at end of file
Component({
externalClasses: ['icon-class-customer', 'dot-class-customer', 'info-class-customer'],
data: {},
properties: {
iconName: String,
fontSize: Number,
color: String,
info: null,
dot: Boolean,
},
methods: {}
})
{
"component": true,
"usingComponents": {
"info": "../Info/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="{{iconName}} gl-iconfont icon-box icon-class-customer" style="font-size: {{fontSize+'rpx'}};color: {{color}};width: {{fontSize+'rpx'}}">
<block wx:if="{{info!==null || dot}}">
<info dot="{{dot}}" info="{{info}}" dot-class-customer="dot-class-customer" info-class-customer="info-class-customer"></info>
</block>
</view>
\ No newline at end of file \ No newline at end of file
@import './iconfont.wxss';
.icon-box {
position: relative;
}
\ No newline at end of file \ No newline at end of file
Component({
externalClasses: ['plat-num-item-customer'],
data: {},
properties: {
platObj: Object,
platNumberList: Array
},
methods: {
chooseLicensePlate() {
this.triggerEvent('chooseLicensePlate')
}
}
})
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="value {{!platObj.platNumber?'placeholder-style':''}}" bindtap="chooseLicensePlate">
<!-- <block wx:if="{{platObj.platNumber}}">{{platObj.platPrefix || ''}}{{platObj.platNumber}}</block>
<block wx:else>请选择</block> -->
<view class="plat-num-box">
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '京' : platObj.platPrefix}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[0]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[1]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[2]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[3]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[4]}}</view>
<view class="plat-num-item plat-num-item-customer">{{!platObj.platNumber ? '' : platNumberList[5]}}</view>
<view class="plat-num-item plat-num-item-customer {{platNumberList.length <= 6 ? 'plat-num-placeholder' : ''}}">
{{platNumberList.length <= 6 ? '新能源' : platNumberList[6]}}
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.plat-num-box {
display: flex;
justify-content: space-between;
}
.plat-num-item {
box-sizing: border-box;
flex-shrink: 0;
text-align: center;
width: 60rpx;
height: 80rpx;
padding: 20rpx 16rpx;
background: rgba(50, 127, 250, 0.1);
border-radius: 8rpx;
border: 2rpx solid rgba(50, 127, 250, 0.15);
margin-right: 20rpx;
}
.plat-num-item:last-child {
background: #f3ffe7;
border: 2rpx solid #e0f8c9;
margin-right: 0;
}
.plat-num-placeholder {
font-size: 18rpx;
line-height: 40rpx;
padding: 20rpx 0;
color: #b1b1b3;
}
.placeholder-style {
color: #b1b1b3;
}
Component({
data: {},
properties: {
popupShow: Boolean,
height: {
type: String,
value: '70%',
}
},
options: {
multipleSlots: true // 复数插槽: 是
},
methods: {
// 关闭弹窗
close() {
this.triggerEvent('closePopup')
}
}
})
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{popupShow}}" class="dialog_mask {{popupShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="close"></view>
<view class="dialog_container" style="height:{{ height }}">
<view class="header flex_scb">
<slot name="left-widget"></slot>
<slot name="title"></slot>
<slot name="right-widget"></slot>
</view>
<view class="main">
<slot name="body"></slot>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main{
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
\ No newline at end of file \ No newline at end of file
Component({
data: {},
properties: {},
methods: {}
})
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="gl-radio">
<slot></slot>
</view>
\ No newline at end of file \ No newline at end of file
Component({
data: {},
properties: {},
methods: {}
})
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="gl-radio-group">
<view bindtap="onChange">
<!-- icon图标 -->
<block>
<!-- 自定义图标 -->
<slot wx:if="{{useIcon}}" name="icon"></slot>
<!-- 默认图标 -->
</block>
</view>
</view>
\ No newline at end of file \ No newline at end of file
Component({
data: {},
properties: {},
methods: {}
})
\ No newline at end of file \ No newline at end of file
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="container">
<slot></slot>
</view>
\ No newline at end of file \ No newline at end of file
Component({
data: {
deactiveStyle: {},
activeStyle: {},
tabActive: 0
},
properties: {
tabObj: {
type: Object,
value: {},
observer: function (n) {
this.setData({
deactiveStyle: n.mainStyle.deactiveClass,
activeStyle: n.mainStyle.activeClass
})
},
}
},
methods: {
changeTab(e) {
console.log(e);
this.setData({
tabActive: e.currentTarget.dataset.index
})
}
}
})
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="tab-box" style="justify-content: {{tabObj.mainStyle.flexClass}}">
<block wx:for="{{tabObj.tabList}}" wx:key="index">
<view style="font-size: {{index == tabActive? activeStyle.fontSize+'rpx':deactiveStyle.fontSize+'rpx'}};color: {{index == tabActive? activeStyle.color:deactiveStyle.color}}; font-weight: {{index == tabActive? activeStyle.fontWeight:deactiveStyle.fontWeight}}" bind:tap="changeTab" data-index="{{index}}">
{{item.name}}{{index}}
</view>
</block>
</view>
\ No newline at end of file \ No newline at end of file
.tab-box {
display: flex;
}
\ No newline at end of file \ No newline at end of file
/*
* @Description: 表单框架
* @Author: huyue
* @Date: 2023-04-28 16:19:53
* @LastEditors: huyue
* @LastEditTime: 2023-08-10 16:54:00
*/
import WxValidate from '../WxValidate';
const utils = require('../utils');
Component({
externalClasses: [
'switch-active-class',
'switch-class',
'switch-item-class',
'lable-class',
],
options: {
multipleSlots: true, // 复数插槽: 是
},
data: {
formDataObj: {},
formDataList: [],
},
properties: {
/**
* formObj:表单数据绑定的对象
*/
formObj: {
type: Object,
value: {},
observer: function (n) {
this.setData({
formDataObj: n,
});
},
},
/**
* formData:表单配置数据
*/
formData: {
type: Array,
value: [],
observer: function (n) {
console.log(n);
this.initValidate(n);
this.setData({
formDataList: n,
});
},
},
/**
* inline:表单配置是否一行展示
*/
inline: {
type: Boolean,
value: true,
},
/**
* themeStyle: 主题样式
*/
themeStyle: {
type: String,
value: '#3582EE'
},
textPostion: {
type: String,
value: 'right'
}
},
methods: {
// 初始化选项值
getOptionsList(optionList, refreshSigle) {
console.log(optionList, refreshSigle);
if (refreshSigle) {
// 深拷贝传值
const cloneList = utils.deepClone(optionList[refreshSigle]);
const index = this.data.formDataList.findIndex(
(k) => k.name === refreshSigle
);
this.setData({
[`formDataList[${index}].valueList`]: cloneList,
});
} else {
this.data.formDataList.forEach((item, index) => {
if (optionList[item.name] && optionList[item.name].length) {
// 深拷贝传值
const cloneList = utils.deepClone(optionList[item.name]);
this.setData({
[`formDataList[${index}].valueList`]: cloneList,
});
}
});
console.log(this.data.formDataList, '===');
}
},
// 表单验证规则
initValidate(obj) {
const rules = {};
// const messages = {}
obj.forEach((item) => {
if (item.rules) {
rules[item.name] = item.rules;
// messages[item.name] = {
// required: item.rulesMessage || '请输入' + item.lable
// }
}
});
console.log(rules);
// console.log(messages);
this.WxValidate = new WxValidate(rules);
},
// 获取GlsxFormItem的值
getFormItemValue(e) {
// const value = this.selectComponent('#GlsxFormItem').formDataObj
console.log(e);
const {name, value, type} = e.detail;
if (type === 'muiltiImg') {
this.data.formDataObj[name].splice(value, 1)
this.setData({
[`formDataObj.${name}`]: this.data.formDataObj[name],
})
return
}
this.setData({
[`formDataObj.${name}`]: value,
})
// 加change事件,告知表单项变化
this.triggerEvent('changeFormItem', e.detail)
},
// 验证表单数据
// eslint-disable-next-line consistent-return
validateFormData() {
const params = this.data.formDataObj;
if (!this.WxValidate.checkForm(params)) {
const error = this.WxValidate.errorList;
return error;
}
},
// 返回formObj的值
returnFormObj() {
return this.data.formDataObj;
},
// select事件
customClick(e) {
const clickName = e.detail + 'Click';
console.log(clickName);
this.triggerEvent(clickName, e.detail);
}
},
// 组件页面生周期
lifetimes: {
created: function () {
// 在组件实例刚刚被创建时执行
// 初始化验证规则函数
this.initValidate();
},
},
});
{
"component": true,
"usingComponents": {
"GlsxFormItem": "../GlsxFormItem/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="container">
<form>
<view class="apply-info">
<block wx:for="{{formDataList}}" wx:key="index">
<block wx:if="{{!item.isHidden}}">
<GlsxFormItem
switch-item-class="switch-item-class"
switch-active-class="switch-active-class"
switch-class="switch-class"
lable-class="lable-class"
inline="{{inline}}"
textPostion="{{textPostion}}"
formItem="{{item}}"
formObj="{{formDataObj}}"
bind:getFormItemValue="getFormItemValue"
bind:customClick="customClick"
themeStyle="{{themeStyle}}"
>
<slot name="{{item.name}}"></slot>
<slot name="{{item.lableStyle}}"></slot>
</GlsxFormItem>
</block>
</block>
</view>
</form>
</view>
.info-item {
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
}
.info-item:last-child {
border-bottom: none;
}
\ No newline at end of file \ No newline at end of file
/*
* @Description:
* @Author: huyue
* @Date: 2023-04-28 16:19:53
* @LastEditors: huyue
* @LastEditTime: 2023-05-05 10:00:50
*/
Component({
externalClasses: ['switch-active-class', 'switch-class', 'switch-item-class', 'lable-class'],
data: {
// 显示省市
provinceShow: false,
// 显示日期时间
dateTimeShow: false,
// 图片地址前缀
prefix: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/glsx-applet-comonents/'
},
properties: {
/**
* formItem:表单某一项的配置数据
* 其中的参数:
* type:标签类型 必填
* lable:标签页面显示名称 必填
* name:标签名称 必填
* rules: 验证规则,Object, 非必填
* textLeft: 输入框文字的位置,非必填,默认靠右,填了靠左
*/
formItem: {
type: Object,
value: {},
observer: function () {
// this.init(n)
},
},
/**
* formObj:表单数据绑定的对象
*/
formObj: {
type: Object,
value: {}
},
/**
* inline:表单配置是否一行展示
*/
inline: {
type: Boolean,
value: true
},
/**
* themeStyle: 主题样式
*/
themeStyle: {
type: String,
value: '#3582EE'
},
textPostion: {
type: String,
value: 'right'
}
},
methods: {
// 输入框输入触发
handleInput(e) {
const {name} = e.currentTarget.dataset
const inputValue = e.detail.value
this.triggerEvent('getFormItemValue', {name, value: inputValue})
},
// 点击触发省市弹框
// showProvince() {
// console.log(333);
// this.setData({
// provinceShow: !this.data.provinceShow
// })
// },
// 获取省市数据
// getProvinceCode(e) {
// let address = e.detail.provinceNameData.toString()
// address = address.replace(/,/g, '-')
// this.setData({
// 'platformObj.code': e.detail.codeData,
// 'platformObj.address': address,
// 'platformObj.name': e.detail.provinceNameData,
// })
// },
// 默认开关切换
switch1Change(e) {
console.log(e);
const {name} = e.currentTarget.dataset
this.triggerEvent('getFormItemValue', {name, value: e.detail.value})
},
// 自定义开关切换
switch2Change(e) {
console.log(e);
const {index, name} = e.currentTarget.dataset
this.triggerEvent('getFormItemValue', {name, value: index})
},
// 点击触发时间日期弹框
// showDatePicker() {
// this.setData({
// dateTimeShow: !this.data.dateTimeShow
// })
// }
// 自定义框点击事件
customClick(e) {
console.log(e);
const {name} = e.currentTarget.dataset
this.triggerEvent('customClick', name)
},
// 单选框点击
radioChange(e) {
console.log(e);
const {name} = e.currentTarget.dataset
const checkValue = e.detail.value
this.triggerEvent('getFormItemValue', {name, value: checkValue})
},
// 获取选择时间
changeTime(e) {
console.log(e);
const {name} = e.currentTarget.dataset
const timeValue = e.detail.value
this.triggerEvent('getFormItemValue', {name, value: timeValue})
},
// 获取选择日期
changeDate(e) {
console.log(e);
const {name} = e.currentTarget.dataset
const dateValue = e.detail.value
this.triggerEvent('getFormItemValue', {name, value: dateValue})
},
// 图片删除(单个)
delSingleImg(e) {
console.log(e);
const {name} = e.currentTarget.dataset
this.triggerEvent('getFormItemValue', {name, value: ''})
},
// 图片删除(多个)
delmultiImg(e) {
console.log(e);
const {name, index} = e.currentTarget.dataset
this.triggerEvent('getFormItemValue', {name, value: index, type: 'muiltiImg'})
}
},
// 组件生命周期
lifetimes: {
}
});
{
"component": true,
"usingComponents": {
"province": "../province/index",
"date-picker": "../DatePicker/index",
"gl-image": "../Image/index",
"gl-icon": "../GLIcon/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="info-list switch-flex {{inline ? 'flex' : ''}}" data-name="{{formItem.name}}">
<view class="info-label label-class {{formItem.rules.required ? 'require':''}}">
<!-- lable插槽 -->
<block wx:if="{{formItem.lableStyle}}">
<slot name="{{item.lableStyle}}"></slot>
</block>
<!-- 可选输入lable -->
<!-- <block wx:if="{{formItem.type == 'selectInput'}}">
<view>
{{formItem.selectLable[0]]}}
</view>
</block> -->
<!-- 普通lable -->
<block wx:else>
<view class="{{inline? '' : 'bottom-class'}}">{{formItem.label}}</view>
</block>
</view>
<!-- input 框 -->
<block wx:if="{{formItem.type == 'input'}}">
<input name="{{formItem.name}}" type="text" class="form-input" style="text-align: {{textPostion}}" placeholder-class="placeholder" placeholder="{{formItem.placeholder || '请输入'+formItem.label}}" value="{{formObj[formItem.name]}}" bindinput="handleInput" data-name="{{formItem.name}}"></input>
</block>
<!-- 单选框 -->
<block wx:if="{{formItem.type == 'radio'}}">
<radio-group name="{{formItem.name}}" class="radio-wrap" bindchange="radioChange" data-name="{{formItem.name}}">
<label class="radio-label" wx:for="{{formItem.valueList}}" wx:for-item="i" wx:key="*this">
<radio value="{{i[formItem.valueName] || i.value}}" color="{{themeStyle}}" checked="{{formObj[formItem.name] == index}}" />
{{i[formItem.valueLabel] || i.label}}
</label>
</radio-group>
</block>
<!-- switch -->
<block wx:if="{{formItem.type == 'switch'}}">
<!-- 判断是否是自定义的 -->
<block wx:if="{{!formItem.isUserDefined}}">
<switch checked="{{formObj[formItem.name]}}" color="{{themeStyle}}" data-name="{{formItem.name}}" bindchange="switch1Change" />
</block>
<block wx:else>
<view class="user-defined-switch switch-class">
<block wx:for="{{formItem.valueList}}" wx:for-item="i" wx:key="*this">
<view class="user-defined-switch-item switch-item-class {{formObj[formItem.name] == i[formItem.valueName] ? 'switch-active-class switch-item-active': ''}}" data-index="{{i[formItem.valueName]}}" data-name="{{formItem.name}}" catchtap="switch2Change">
{{i[formItem.valueLabel] || i.label}}
</view>
</block>
</view>
</block>
</block>
<!-- timePicker 框 -->
<block wx:if="{{formItem.type == 'timePicker'}}">
<picker class="relative {{inline ? 'content-width' : ''}}" mode="time" value="{{formObj[formItem.name]}}" bindchange="changeTime" data-name="{{formItem.name}}" start="{{formItem.startTime || ''}}" end="{{formItem.endTime || ''}}">
<view class="cell {{formObj[formItem.name] ? 'value' : 'placeholder'}} {{ 'cell-' + textPostion }}">
<view class="cell-text" style="text-align: {{textPostion}}">{{formObj[formItem.name] ? formObj[formItem.name] : (formItem.placeholder ||'请选择时间')}}</view>
<gl-image class='arrow' imagePath="{{formItem.icon || prefix+'icon/arrow-x.png'}}"></gl-image>
</view>
</picker>
</block>
<!-- datePicker 框 -->
<block wx:if="{{formItem.type == 'datePicker'}}">
<picker class="relative {{inline ? 'content-width' : ''}}" mode="date" bindchange="changeDate" data-name="{{formItem.name}}" value="{{formObj[formItem.name]}}" start="{{formItem.startDate || ''}}" end="{{formItem.endDate || ''}}">
<view class="cell {{formObj[formItem.name] ? 'value' : 'placeholder'}}">
<view class="cell-text" style="text-align: {{textPostion}}">
{{formObj[formItem.name] ? formObj[formItem.name] : (formItem.placeholder ||'请选择日期')}}
</view>
<gl-image class="arrow" imagePath="{{formItem.icon || prefix+'icon/arrow-x.png'}}"></gl-image>
</view>
</picker>
</block>
<!-- 选择框 -->
<block wx:if="{{formItem.type == 'customSelect'}}">
<view class="{{inline ? 'content-width' : ''}}" bindtap="customClick" data-name="{{formItem.name}}">
<view class="info-content relative">
<block wx:if="{{!formObj[formItem.name].length}}">
<view class="cell placeholder {{ 'cell-' + textPostion }}">{{formItem.placeholder || '请选择' + formItem.label }}</view>
</block>
<block wx:else>
<view class="cell-text" style="text-align: {{textPostion}}">{{formObj[formItem.name]}}</view>
</block>
<view>
<image webp class="arrow" src="{{formItem.icon || prefix+'icon/arrow-x.png'}}" />
</view>
</view>
</view>
</block>
<!-- 自定义插槽框 -->
<block wx:if="{{formItem.type == 'customSlot'}}">
<view class="{{inline ? 'content-width' : ''}}">
<slot name="{{item.name}}"></slot>
</view>
</block>
<!-- 图片上传 -->
<block wx:if="{{formItem.type == 'imgUpload'}}">
<!-- 多个且有值 -->
<block wx:if="{{formItem.multiple && formObj[formItem.name].length}}">
<view class="multi-img-box">
<block wx:for="{{formObj[formItem.name]}}" wx:for-item="imgItem" wx:for-index="imgIndex" wx:key="imgIndex">
<view class="upload-box">
<image webp src="{{imgItem}}" alt="" />
<gl-icon class="del-icon" color="#999999" iconName="{{'gl-icon-error'}}" fontSize="{{32}}" bindtap="delmultiImg" data-index="{{imgIndex}}" data-name="{{formItem.name}}"></gl-icon>
</view>
</block>
</view>
</block>
<!-- 单个且有值 -->
<block wx:if="{{!formItem.multiple && formObj[formItem.name]}}">
<view class="upload-box">
<image webp src="{{formObj[formItem.name]}}" alt="" />
<gl-icon class="del-icon" color="#999999" iconName="{{'gl-icon-error'}}" fontSize="{{32}}" bindtap="delSingleImg" data-name="{{formItem.name}}"></gl-icon>
</view>
</block>
<!-- 无值 -->
<block wx:if="{{formItem.multiple ? (!formObj[formItem.name].length || formObj[formItem.name].length < formItem.multiple) : !formObj[formItem.name]}}">
<view class="upload-box center">
<view class="upload-box-item">
<gl-icon class="center" iconName="{{formItem.iconName || 'gl-icon-plus'}}" fontSize="{{formItem.fontSize || 70}}"></gl-icon>
<view>{{formItem.placeholder}}</view>
</view>
</view>
</block>
</block>
</view>
\ No newline at end of file \ No newline at end of file
.flex {
display: flex;
}
.info-list {
/* display: flex; */
/* position: relative; */
align-content: center;
padding: 40rpx;
}
.info-lable {
display: inline-flex;
align-items: center;
width: 25%;
font-weight: 400;
font-size: 28rpx;
color: #2d2d33;
}
.form-input {
width: 75%;
/* margin-left: 26rpx; */
}
.require.info-lable::after {
content: "*";
display: inline-block;
color: #eb4e4e;
margin-left: 4rpx;
}
.cell {
display: flex;
align-items: center;
width: 100%;
}
.cell-right {
justify-content: flex-end;
}
.cell-center {
justify-content: center;
}
.cell-left {
justify-content: space-between;
}
.cell-text {
width: 100%;
}
.placeholder {
color: #C3C3C3;
font-size: 28rpx;
}
.form-input.right {
text-align: right;
direction: rtl;
}
.radio-wrap {
display: flex;
flex: 1;
font-size: 28rpx;
justify-content: space-evenly;
}
.info-content {
width: 100%;
display: flex;
justify-content: space-between;
}
.select-img {
width: 40rpx;
height: 40rpx;
}
/* cell */
.cell-value {
flex: 1;
}
.arrow {
display: inline-block;
/* position: absolute;
right: 0rpx;
top: 50%;
transform: translateY(-50%); */
width: 28rpx;
height: 28rpx;
}
.arrow image {
width: 28rpx;
height: 28rpx;
}
.user-defined-switch {
display: flex;
border: 2rpx solid #3582EE;
border-radius: 15rpx;
width: 240rpx;
height: 64rpx;
line-height: 64rpx;
text-align: center;
-webkit-border-radius: 15rpx;
-moz-border-radius: 15rpx;
-ms-border-radius: 15rpx;
-o-border-radius: 15rpx;
}
.user-defined-switch-item {
width: 120rpx;
height: 64rpx;
border-radius: 12rpx;
-webkit-border-radius: 12rpx;
-moz-border-radius: 12rpx;
-ms-border-radius: 12rpx;
-o-border-radius: 12rpx;
}
.switch-item-active {
background: #3582EE;
color: #fff;
}
.switch-flex {
justify-content: space-between;
}
.relative {
position: relative;
}
.content-width {
width: 75%;
}
.upload-box {
width: 202rpx;
height: 202rpx;
background: #F4F5F7;
border: 2rpx solid #EFF0F2;
border-radius: 12rpx;
position: relative;
margin-bottom: 10rpx;
}
.upload-box-item {
font-weight: 400;
font-size: 28rpx;
color: #888888;
}
.upload-box image {
width: 202rpx;
height: 202rpx;
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
.del-icon {
position: absolute;
top: -10rpx;
right: -10rpx;
}
.multi-img-box {
display: flex;
justify-content: inherit;
flex-wrap: wrap;
}
.bottom-class {
margin-bottom: 10rpx;
}
\ No newline at end of file \ No newline at end of file
let privacyHandler
const privacyResolves = new Set()
const closeOtherPagePopUpHooks = new Set()
wx.onNeedPrivacyAuthorization(resolve => {
console.log(resolve, '-=-=-=-=-=-')
if (typeof privacyHandler === 'function') {
privacyHandler(resolve)
}
})
const closeOtherPagePopUp = (closePopUp) => {
closeOtherPagePopUpHooks.forEach(hook => {
if (closePopUp !== hook) {
hook()
}
})
}
Component({
properties: {
appletName: {
type: String,
value: ''
}
},
data: {
title: '用户隐私保护提示',
desc1: '感谢您使用本游戏,您使用本游戏前应当阅井同意',
urlTitle: '《用户隐私保护指引》',
desc2: '当您点击同意并开始时用产品服务时,即表示你已理解并同息该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法进入游戏。',
showPrivacy: false,
height: 0,
},
lifetimes: {
attached: function () {
const closePopUp = () => {
this.disPopUp()
}
privacyHandler = resolve => {
privacyResolves.add(resolve)
this.popUp()
// 额外逻辑:当前页面的隐私弹窗弹起的时候,关掉其他页面的隐私弹窗
closeOtherPagePopUp(closePopUp)
}
closeOtherPagePopUpHooks.add(closePopUp)
this.closePopUp = closePopUp
},
detached: function () {
closeOtherPagePopUpHooks.delete(this.closePopUp)
}
},
methods: {
handleAgree() {
this.disPopUp()
// 这里演示了同时调用多个wx隐私接口时要如何处理:让隐私弹窗保持单例,点击一次同意按钮即可让所有pending中的wx隐私接口继续执行 (看page/index/index中的 wx.getClipboardData 和 wx.startCompass)
privacyResolves.forEach(resolve => {
resolve({
event: 'agree',
buttonId: 'agree-btn'
})
})
privacyResolves.clear()
this.triggerEvent('agreeClick')
},
handleDisagree() {
this.disPopUp()
privacyResolves.forEach(resolve => {
resolve({
event: 'disagree',
})
})
privacyResolves.clear()
this.triggerEvent('disagreeClick')
},
popUp() {
if (this.data.showPrivacy === false) {
this.setData({
showPrivacy: true
})
}
},
disPopUp() {
if (this.data.showPrivacy === true) {
this.setData({
showPrivacy: false
})
}
},
openPrivacyContract() {
wx.openPrivacyContract({
success: () => {
console.log('openPrivacyContract success')
},
fail: res => {
console.error('openPrivacyContract fail', res)
}
})
},
handleOpenPrivacyContract() {
// 打开隐私协议页面
wx.openPrivacyContract({
success: () => {}, // 打开成功
fail: () => {}, // 打开失败
complete: () => {}
})
}
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{showPrivacy}}">
<view class="pop-wrapper">
<view class="pop-box">
<view class="pop-content">
<view class="pop-title">{{appletName ? appletName : '隐私协议'}}</view>
<view class="pop-text">在您使用{{appletName}}服务之前,请仔细阅读《隐私协议》和《服务使用协议》。如您同意协议内容,请点击“同意”开始使用{{appletName}}。</view>
<view class="pop-privacy" bindtap="handleOpenPrivacyContract">《用户隐私保护指引》</view>
</view>
<view class="pop-bottom">
<button id="disagree-btn"
type="default"
class="pop-btn disagree-btn"
bindtap="handleDisagree"
>拒绝</button>
<button id="agree-btn"
type="default"
open-type="agreePrivacyAuthorization"
class="pop-btn agree-btn"
bindagreeprivacyauthorization="handleAgree"
>同意</button>
</view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.pop-wrapper {
position: fixed;
background-color: rgba(0, 0, 0, .5);
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
}
.pop-box {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 85%;
/* height: 640rpx; */
background: #FFFFFF;
border-radius: 16rpx;
}
.pop-content {
padding: 64rpx 48rpx;
box-sizing: border-box;
}
.pop-title {
width: 100%;
height: 48rpx;
text-align: center;
font-weight: 500;
font-size: 34rpx;
color: rgba(0, 0, 0, .9);
}
.pop-text {
margin: 32rpx 0 32rpx;
font-weight: 400;
font-size: 34rpx;
color: rgba(0, 0, 0, .5);
letter-spacing: 0;
line-height: 48rpx;
letter-spacing: 0;
}
.pop-privacy {
font-weight: 400;
font-size: 30rpx;
color: #576B95;
letter-spacing: 0;
margin-top: 16rpx;
}
.pop-bottom {
display: flex;
border-top: 1px solid #ededed;
height: 112rpx;
/* border-radius: 0 0 16rpx 16rpx; */
}
.pop-btn {
width: 50%;
background-color: #fff !important;
font-weight: 500;
font-size: 34rpx;
letter-spacing: 2rpx;
line-height: 48rpx;
padding: 32rpx 0;
}
.disagree-btn {
border-right: 2rpx solid #ededed;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.agree-btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
color: #576B95 !important;
}
.pop-btn::after {
border: none;
}
\ No newline at end of file \ No newline at end of file
Component({
data: {},
properties: {
imagePath: {
type: String,
value: ''
}
},
methods: {}
})
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<image src="{{imagePath}}" mode="{{mode}}" lazy-load></image>
\ No newline at end of file \ No newline at end of file
Component({
externalClasses: ['dot-class-customer', 'info-class-customer'],
data: {},
properties: {
info: null,
dot: Boolean,
},
methods: {}
})
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view class="info {{dot? 'dot-class':'info-class'}} dot-class-customer info-class-customer">
{{dot ? '' : info}}
</view>
\ No newline at end of file \ No newline at end of file
.info {
position: absolute;
}
.dot-class {
top: 0;
right: -2rpx;
width: 10rpx;
height: 10rpx;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
background: #F36261;
}
.info-class {
top: 0;
right: -10rpx;
color: #fff;
font-size: 20rpx;
width: 36rpx;
height: 22rpx;
line-height: 22rpx;
border-radius: 22rpx;
background: #F36261;
border-radius: 12rpx;
text-align: center;
-webkit-border-radius: 22rpx;
-moz-border-radius: 22rpx;
-ms-border-radius: 22rpx;
-o-border-radius: 22rpx;
}
\ No newline at end of file \ No newline at end of file
/**
* 表单验证
*
* @param {Object} rules 验证字段的规则
* @param {Object} messages 验证字段的提示信息
*
*/
class WxValidate {
constructor(rules = {}, messages = {}) {
Object.assign(this, {
data: {},
rules,
messages,
});
this.__init();
}
/**
* __init
*/
__init() {
this.__initMethods();
this.__initDefaults();
this.__initData();
}
/**
* 初始化数据
*/
__initData() {
this.form = {};
this.errorList = [];
}
/**
* 初始化默认提示信息
*/
__initDefaults() {
this.defaults = {
messages: {
required: '这是必填字段。',
email: '请输入有效的电子邮件地址。',
tel: '请输入11位的手机号码。',
url: '请输入有效的网址。',
date: '请输入有效的日期。',
dateISO: '请输入有效的日期(ISO),例如:2009-06-23,1998/01/22。',
number: '请输入有效的数字。',
digits: '只能输入数字。',
idcard: '请输入18位的有效身份证。',
equalTo: this.formatTpl('输入值必须和 {0} 相同。'),
contains: this.formatTpl('输入值必须包含 {0}。'),
minlength: this.formatTpl('最少要输入 {0} 个字符。'),
maxlength: this.formatTpl('最多可以输入 {0} 个字符。'),
rangelength: this.formatTpl('请输入长度在 {0} 到 {1} 之间的字符。'),
min: this.formatTpl('请输入不小于 {0} 的数值。'),
max: this.formatTpl('请输入不大于 {0} 的数值。'),
range: this.formatTpl('请输入范围在 {0} 到 {1} 之间的数值。'),
},
};
}
/**
* 初始化默认验证方法
*/
__initMethods() {
const that = this;
that.methods = {
/**
* 验证必填元素
*/
required(value, param) {
if (!that.depend(param)) {
return 'dependency-mismatch';
} else if (typeof value === 'number') {
value = value.toString();
} else if (typeof value === 'boolean') {
return !0;
}
return value.length > 0;
},
/**
* 验证电子邮箱格式
*/
email(value) {
return (
that.optional(value) ||
// eslint-disable-next-line no-useless-escape
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(
value
)
);
},
/**
* 验证手机格式
*/
tel(value) {
return (
that.optional(value) ||
/^((0\d{2,3}-\d{7,8})|(1[3456789]\d{9}))$/.test(value)
);
},
/**
* 验证URL格式
*/
url(value) {
return (
that.optional(value) ||
// eslint-disable-next-line max-len
/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(
value
)
);
},
/**
* 验证日期格式
*/
date(value) {
return (
that.optional(value) ||
!/Invalid|NaN/.test(new Date(value).toString())
);
},
/**
* 验证ISO类型的日期格式
*/
dateISO(value) {
return (
that.optional(value) ||
// eslint-disable-next-line no-useless-escape
/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(
value
)
);
},
/**
* 验证十进制数字
*/
number(value) {
return (
that.optional(value) ||
/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(value)
);
},
/**
* 验证整数
*/
digits(value) {
return that.optional(value) || /^\d+$/.test(value);
},
/**
* 验证身份证号码
*/
idcard(value) {
return (
that.optional(value) ||
/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(
value
)
);
},
/**
* 验证两个输入框的内容是否相同
*/
equalTo(value, param) {
return that.optional(value) || value === that.data[param];
},
/**
* 验证是否包含某个值
*/
contains(value, param) {
return that.optional(value) || value.indexOf(param) >= 0;
},
/**
* 验证最小长度
*/
minlength(value, param) {
return that.optional(value) || value.length >= param;
},
/**
* 验证最大长度
*/
maxlength(value, param) {
return that.optional(value) || value.length <= param;
},
/**
* 验证一个长度范围[min, max]
*/
rangelength(value, param) {
return (
that.optional(value) ||
(value.length >= param[0] && value.length <= param[1])
);
},
/**
* 验证最小值
*/
min(value, param) {
return that.optional(value) || value >= param;
},
/**
* 验证最大值
*/
max(value, param) {
return that.optional(value) || value <= param;
},
/**
* 验证一个值范围[min, max]
*/
range(value, param) {
return that.optional(value) || (value >= param[0] && value <= param[1]);
},
};
}
/**
* 添加自定义验证方法
* @param {String} name 方法名
* @param {Function} method 函数体,接收两个参数(value, param),value表示元素的值,param表示参数
* @param {String} message 提示信息
*/
addMethod(name, method, message) {
this.methods[name] = method;
this.defaults.messages[name] =
message !== undefined ? message : this.defaults.messages[name];
}
/**
* 判断验证方法是否存在
*/
isValidMethod(value) {
const methods = [];
for (const method in this.methods) {
if (method && typeof this.methods[method] === 'function') {
methods.push(method);
}
}
return methods.indexOf(value) !== -1;
}
/**
* 格式化提示信息模板
*/
formatTpl(source, params) {
const that = this;
if (arguments.length === 1) {
return function () {
// eslint-disable-next-line prefer-rest-params
const args = Array.from(arguments);
args.unshift(source);
return that.formatTpl.apply(this, args);
};
}
if (params === undefined) {
return source;
}
if (arguments.length > 2 && params.constructor !== Array) {
// eslint-disable-next-line prefer-rest-params
params = Array.from(arguments).slice(1);
}
if (params.constructor !== Array) {
params = [params];
}
params.forEach(function (n, i) {
source = source.replace(new RegExp('\\{' + i + '\\}', 'g'), function () {
return n;
});
});
return source;
}
/**
* 判断规则依赖是否存在
*/
// eslint-disable-next-line class-methods-use-this
depend(param) {
switch (typeof param) {
case 'boolean':
// eslint-disable-next-line no-self-assign
param = param;
break;
case 'string':
param = !!param.length;
break;
case 'function':
param = param();
// eslint-disable-next-line no-fallthrough
default:
param = !0;
}
return param;
}
/**
* 判断输入值是否为空
*/
optional(value) {
return !this.methods.required(value) && 'dependency-mismatch';
}
/**
* 获取自定义字段的提示信息
* @param {String} param 字段名
* @param {Object} rule 规则
*/
// eslint-disable-next-line consistent-return
customMessage(param, rule) {
const params = this.messages[param];
const isObject = typeof params === 'object';
if (params && isObject) return params[rule.method];
}
/**
* 获取某个指定字段的提示信息
* @param {String} param 字段名
* @param {Object} rule 规则
*/
defaultMessage(param, rule) {
let message =
this.customMessage(param, rule) || this.defaults.messages[rule.method];
const type = typeof message;
if (type === 'undefined') {
message = `Warning: No message defined for ${rule.method}.`;
} else if (type === 'function') {
message = message.call(this, rule.parameters);
}
return message;
}
/**
* 缓存错误信息
* @param {String} param 字段名
* @param {Object} rule 规则
* @param {String} value 元素的值
*/
formatTplAndAdd(param, rule, value) {
const msg = this.defaultMessage(param, rule);
this.errorList.push({
param: param,
msg: msg,
value: value,
});
}
/**
* 验证某个指定字段的规则
* @param {String} param 字段名
* @param {Object} rules 规则
* @param {Object} data 需要验证的数据对象
*/
checkParam(param, rules, data) {
// 缓存数据对象
this.data = data;
// 缓存字段对应的值
const value =
data[param] !== null && data[param] !== undefined ? data[param] : '';
// 遍历某个指定字段的所有规则,依次验证规则,否则缓存错误信息
for (const method in rules) {
// 判断验证方法是否存在
if (this.isValidMethod(method)) {
// 缓存规则的属性及值
const rule = {
method: method,
parameters: rules[method],
};
// 调用验证方法
const result = this.methods[method](value, rule.parameters);
// 若result返回值为dependency-mismatch,则说明该字段的值为空或非必填字段
if (result === 'dependency-mismatch') {
continue;
}
this.setValue(param, method, result, value);
// 判断是否通过验证,否则缓存错误信息,跳出循环
if (!result) {
this.formatTplAndAdd(param, rule, value);
break;
}
}
}
}
/**
* 设置字段的默认验证值
* @param {String} param 字段名
*/
setView(param) {
this.form[param] = {
$name: param,
$valid: true,
$invalid: false,
$error: {},
$success: {},
// eslint-disable-next-line quotes
$viewValue: ``,
};
}
/**
* 设置字段的验证值
* @param {String} param 字段名
* @param {String} method 字段的方法
* @param {Boolean} result 是否通过验证
* @param {String} value 字段的值
*/
setValue(param, method, result, value) {
const params = this.form[param];
params.$valid = result;
params.$invalid = !result;
params.$error[method] = !result;
params.$success[method] = result;
params.$viewValue = value;
}
/**
* 验证所有字段的规则,返回验证是否通过
* @param {Object} data 需要验证数据对象
*/
checkForm(data) {
this.__initData();
// eslint-disable-next-line guard-for-in
for (const param in this.rules) {
this.setView(param)
this.checkParam(param, this.rules[param], data)
}
return this.valid();
}
/**
* 返回验证是否通过
*/
valid() {
return this.size() === 0;
}
/**
* 返回错误信息的个数
*/
size() {
return this.errorList.length;
}
/**
* 返回所有错误信息
*/
validationErrors() {
return this.errorList;
}
}
export default WxValidate;
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-13 14:26:56
* @LastEditors: huyue
* @LastEditTime: 2022-12-16 18:01:02
*/
Component({
/**
* 组件的属性列表
*/
properties: {
activityList: {
type: Array,
value: []
}
},
/**
* 组件的初始数据
*/
data: {
current: 0,
statusMap: {
1: '活动未开始',
2: '活动进行中',
3: '活动已结束'
}
},
/**
* 组件的方法列表
*/
methods: {
toActivity(e) {
const {activityid} = e.currentTarget.dataset
this.triggerEvent('activityClick', activityid)
}
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<block wx:if="{{activityList.length}}">
<swiper class="activity-scroll" vertical="true" circular="true" autoplay current="{{current}}" interval="3000">
<block wx:for="{{activityList}}" wx:key="index">
<swiper-item class="swiper-item" bindtap="toActivity" data-activityId="{{item.id}}">
<view class="bg-activity">
<image webp src="../assets/bg-activity.png"></image>
<view class="activity-status">{{statusMap[item.status]}}</view>
</view>
<view class="acitvity-name">{{item.activityName}} <text wx:if="{{item.provinceCity}}"> {{'(' + item.provinceCity + ')'}} </text></view>
</swiper-item>
</block>
</swiper>
</block>
.activity-scroll {
display: flex;
justify-items: center;
background: #FFF4D8;
border-radius: 8rpx;
margin: 12rpx 20rpx 26rpx;
font-weight: 400;
font-size: 26rpx;
color: #F68B0C;
letter-spacing: 0;
padding: 11rpx 12rpx;
height: 36rpx;
}
.swiper-item {
display: flex;
align-items: center;
}
.bg-activity {
position: relative;
width: 126rpx;
height: 36rpx;
margin-right: 12rpx;
}
.bg-activity image {
width: 100%;
height: 100%;
}
.bg-activity .activity-status {
position: absolute;
width: 126rpx;
font-weight: 500;
font-size: 20rpx;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 32rpx;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.acitvity-name {
flex: 1;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
\ No newline at end of file \ No newline at end of file
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-15 17:13:19
* @LastEditors: huyue
* @LastEditTime: 2022-12-15 20:42:35
*/
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file \ No newline at end of file
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
tag: {
type: [String, Number],
value: ''
},
title: {
type: [String, Number],
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
},
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<!--components/image/index.wxml-->
<view class="gl_card custom-class">
<view class="img_box">
<image class="img" src="{{src}}" webp mode="{{mode}}" lazy-load="{{lazyLoad}}" />
<view class="tag" wx:if="{{tag}}">
{{tag}}
</view>
</view>
<view class="title" wx:if="{{title}}">
{{title}}
</view>
</view>
\ No newline at end of file \ No newline at end of file
.gl_card {
width: 176rpx;
/* height: 172rpx; */
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
border-radius: 8rpx;
/* margin:20rpx; */
}
.gl_card .img_box {
position: relative;
width: 100%;
height: 120rpx;
overflow: hidden;
background:#c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.gl_card .img_box .img {
width: 100%;
}
.gl_card .img_box .tag {
position: absolute;
top: 0;
left: 0;
/* width: 41px; */
height: 32rpx;
background: #D7F5E5;
border-radius: 4rpx;
padding: 0 8rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #21AB60;
}
.title {
/* height: 52rpx; */
/* line-height: 52rpx; */
padding: 10rpx 16rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #323436;
/* overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; */
}
\ No newline at end of file \ No newline at end of file
// 商品card
Component({
externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
/**
* 组件的属性列表
*/
properties: {
list: {
type: Array,
value: [],
observer: function (n) {
this.init(n);
},
},
index: {
type: Number,
value: 0,
observer: function (n) {
this.setData({
menusActive: n,
});
},
},
},
/**
* 组件的初始数据
*/
data: {
imagePath: '',
// 一级菜单选中值
menusActive: 0,
// 二级菜单选中值
subMenusActive: 0,
tabsActive: 1,
productList: [],
videoList: [],
posterList: [],
operationVideoList: [],
sceneCode: '',
listData: [],
// 第三级菜单数组
subMenuList: []
},
ready: function () {},
methods: {
// 菜单点击事件
menuClick(e) {
const {id} = e.currentTarget.dataset;
let {info} = e.currentTarget.dataset;
let sceneCode = ''
let subMenuList = []
let infoIndex
const initMenuData = info
sceneCode = info.sceneCode
subMenuList = info.subList
// 有三级菜单的话修改o值
if (info.subList && info.subList.length && info.isShow) {
info = info.subList.find((item) => item.isShow);
infoIndex = initMenuData.subList.findIndex((item) => item.id === info.id);
}
console.log(id);
this.setData({
productList: info.productList || [],
videoList: info.videoList || [],
posterList: info.posterList || [],
operationVideoList: info.operationVideoList || [],
// 重置为第一个
tabsActive: 1,
menusActive: id,
sceneCode: sceneCode,
// 第三级菜单清空
subMenusActive: infoIndex,
subMenuList: subMenuList || []
});
this.triggerEvent('menuClick', {
info: e.currentTarget.dataset.info,
id,
});
},
// 右侧tab菜单点击事件
tabsClick(e) {
const id = e.currentTarget.dataset.id;
this.setData({
tabsActive: id,
});
},
// 初始化数据
init(list) {
// const o = list[0] ? list[0] : {}
let o
// 用来复制数据传给父组件
let initMenuData
let listData = []
let sceneCode
let subMenuList
let infoIndex
if (!list.length) {
o = {};
} else {
// 判断二级/三级下内容是否为空,不为空的话添加isShow字段
listData = this.searchEmptyMenu(list);
o = initMenuData = this.data.index === 0 ? list[0] : list[this.data.index];
sceneCode = o.sceneCode
subMenuList = o.subList
// 有三级菜单的话修改o值
if (o.subList && o.subList.length && o.isShow) {
o = o.subList.find((item) => item.isShow);
infoIndex = initMenuData.subList.findIndex((item) => item.id === o.id);
}
}
console.log(o, infoIndex, 'ooo');
this.setData({
listData,
productList: o.productList || [],
videoList: o.videoList || [],
operationVideoList: o.operationVideoList || [],
posterList: o.posterList || [],
sceneCode: sceneCode || '',
subMenuList: subMenuList || [],
subMenusActive: infoIndex,
});
this.triggerEvent('initMenu', initMenuData)
},
// 查找无上架内容菜单
searchEmptyMenu(list) {
list.forEach((item) => {
// 如果有第三级菜单
if (item.subList && item.subList.length) {
// 判断三级菜单下是否有内容
let sublistFlag = 0;
item.subList.forEach((subItem) => {
if (
subItem.productList.length ||
subItem.operationVideoList.length ||
subItem.videoList.length ||
subItem.posterList.length
) {
subItem.isShow = true;
sublistFlag += 1;
}
});
// eslint-disable-next-line no-unneeded-ternary
item.isShow = sublistFlag > 0 ? true : false;
} else if (
(item.productList && item.productList.length) ||
(item.operationVideoList && item.operationVideoList.length) ||
(item.videoList && item.videoList.length) ||
(item.posterList && item.posterList.length)
) {
item.isShow = true;
}
});
return list;
},
// 删除无上架内容菜单
// deleteMenu(index) {
// }
// 产品点击事件
productClick(e) {
const info = e.currentTarget.dataset.info;
this.triggerEvent('proClick', info);
},
// 视频点击事件
videoClick(e) {
const info = e.currentTarget.dataset.info;
const {tabsActive} = this.data;
this.triggerEvent('videoClick', {info, tabsActive});
},
// 第三级菜单点击
subMenuClick(e) {
const {id, info} = e.currentTarget.dataset;
this.setData({
productList: info.productList || [],
videoList: info.videoList || [],
posterList: info.posterList || [],
operationVideoList: info.operationVideoList || [],
subMenusActive: id,
tabsActive: 1
});
}
},
});
{
"component": true,
"usingComponents": {
"gl-sidebar": "../sidebar/index",
"gl-sidebar-item": "../sidebar-item/index",
"gl-card": "../card/index",
"gl-video": "../video/index",
"gl-posters": "../posters/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-discover custom-class">
<!-- 左侧菜单 开始 -->
<view class="left-sidebar" wx:if="{{list && list.length}}">
<gl-sidebar active-key="{{menusActive}}" bind:change="onChange">
<block wx:for="{{listData}}" wx:key="index">
<gl-sidebar-item wx:if="{{item.isShow}}" data-id="{{index}}" data-info="{{item}}" catchtap="menuClick" sidebar-active-custom="sidebar-active-custom">
{{item.name}}
</gl-sidebar-item>
</block>
</gl-sidebar>
</view>
<!-- 左侧菜单 end -->
<!-- 右侧内容 开始 -->
<view class="right-content">
<!-- 三级菜单 -->
<scroll-view wx:if="{{subMenuList.length}}" class="sub-menu-scroll" enable-flex scroll-x>
<block wx:for="{{subMenuList}}" wx:key="index">
<view wx:if="{{item.isShow}}" class="sub-menu-item {{index == subMenusActive ? 'sub-menu-active-custom sub-menu-active-item' : ''}}" data-id="{{index}}" data-info="{{item}}" catchtap="subMenuClick">
{{item.name}}
</view>
</block>
</scroll-view>
<!-- 产品列表 开始 -->
<block wx:if="{{productList && productList.length}}">
<view class="head" wx:if="{{productList && productList.length}}">特色方案</view>
<view class="list-box">
<gl-card wx:for="{{productList}}" wx:key="index" title="{{item.proName}}" src="{{item.prodImg}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="productClick"></gl-card>
<view class="hidden_cell" wx:for="{{3-productList.length%3}}" wx:key="index"></view>
</view>
</block>
<!-- 产品列表 end -->
<view class="head-menu">
<view class="cell {{tabsActive == 1?'cell-active':''}}" data-id="1" catchtap="tabsClick">
案例视频
</view>
<view class="cell {{tabsActive == 2?'cell-active':''}}" data-id="2" catchtap="tabsClick" wx:if="{{posterList && posterList.length}}">
营销海报
</view>
<view class="cell {{tabsActive == 3?'cell-active':''}}" data-id="3" catchtap="tabsClick">
操作指引
</view>
</view>
<view class="list-box" wx:if="{{tabsActive == 1}}">
<block wx:if="{{!videoList.length}}">
<image class="no-video novideo-img" src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/no-video.png" />
</block>
<block wx:else>
<gl-video wx:for="{{videoList}}" wx:key="index" title="{{item.name}}" src="{{item.posterUrl}}" user-avatar="{{item.avatar}}" user-name="{{item.manufacturer || '嘀加智慧'}}" visit="{{item.view}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="videoClick"></gl-video>
</block>
</view>
<view class="list-box" wx:if="{{tabsActive == 2}}">
<gl-posters wx:for="{{posterList}}" wx:key="index" title="{{item.name}}" src="{{item.src}}" custom-class="card"></gl-posters>
</view>
<view class="list-box" wx:if="{{tabsActive == 3}}">
<block wx:if="{{!operationVideoList.length}}">
<image class="no-video novideo-img" src="https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/no-video.png" />
</block>
<block wx:else>
<gl-video wx:for="{{operationVideoList}}" wx:key="index" title="{{item.name}}" src="{{item.posterUrl}}" user-avatar="{{item.avatar}}" user-name="{{item.manufacturer || '嘀加智慧'}}" visit="{{item.view}}" custom-class="card" data-info="{{item}}" data-index="{{index}}" catchtap="videoClick"></gl-video>
</block>
</view>
</view>
<!-- 右侧内容 end -->
</view>
\ No newline at end of file \ No newline at end of file
.gl-discover {
display: flex;
height: 100%;
width: 100%;
overflow: hidden;
}
.left-sidebar {
flex-shrink: 0;
width: 116rpx;
}
.right-content {
flex: 1;
overflow: hidden;
background: #fff;
box-sizing: border-box;
}
.head {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
padding: 0 32rpx;
margin-bottom: 16rpx;
}
.hidden_cell {
width: 176rpx;
}
.list-box {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 0 32rpx;
margin-bottom: 12rpx;
}
.list-box .card {
margin: 0 0 20rpx 0;
}
.list-box .video_cell {
margin: 0 0 20rpx 0;
}
.head-menu {
display: flex;
align-items: center;
padding: 0 32rpx;
margin-bottom: 16rpx;
}
.head-menu .cell {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 26rpx;
color: #8A8C90;
margin-right: 40rpx;
}
.head-menu .cell-active {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
}
.no-video {
margin: 16rpx auto 32rpx;
display: block;
width: 100%;
border-radius: 16rpx;
}
.sub-menu-scroll {
padding: 0 32rpx 20rpx 32rpx;
display: flex;
flex-direction: row;
height: 48rpx;
flex: 1;
}
.sub-menu-item {
height: 48rpx;
background: #F7F7F7;
border-radius: 24rpx;
padding: 0 24rpx;
font-weight: 400;
font-size: 24rpx;
color: #333333;
line-height: 48rpx;
margin-right: 24rpx;
word-break: keep-all;
}
.sub-menu-active-item {
background: #5850FF;
font-weight: 600;
font-size: 24rpx;
color: #FFFFFF;
}
.sub-menu-item:last-child {
margin-right: 0;
}
\ No newline at end of file \ No newline at end of file
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: ''
},
lazyLoad: {
type: Boolean,
value: true
},
title: {
type: [String, Number],
value: ''
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: '',
showPreviewPoster: false,
posterPath: ''
},
methods: {
// 预览海报
previewPoster() {
const url = this.data.src;
this.setData({
posterPath: url,
showPreviewPoster: true
})
},
// 关闭海报预览
closePreviewPoster() {
this.setData({
posterPath: '',
showPreviewPoster: false
})
}
}
})
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file \ No newline at end of file
<!--components/image/index.wxml-->
<view class="gl-poster custom-class" catchtap="previewPoster">
<view class="img_box">
<image
class="img"
src="{{src}}"
mode="{{mode}}"
lazy-load="{{lazyLoad}}"
/>
</view>
<view class="title" wx:if="{{title}}">
{{title}}
</view>
</view>
<!--预览海报弹框 开始-->
<view class="preview-poster" wx:if="{{showPreviewPoster}}">
<view class="preview-blk" catchtap="closePreviewPoster"></view>
<view class="preview-box">
<view class="preview-box-inner">
<view class="perview-cloese" catchtap="closePreviewPoster">
<image
class="img"
src="../assets/close.png"
mode="widthFix"
lazy-load
/>
</view>
<view class="preview-image">
<image
class="img"
src="{{posterPath}}"
mode="widthFix"
lazy-load
show-menu-by-longpress
/>
</view>
<view class="perview-title">
<image class="img" src="../assets/fingerprint.png" />
<text class="cl">长按图片转发</text>
</view>
</view>
</view>
</view>
<!--预览海报弹框 end-->
.gl-poster {
width: 276rpx;
height: 552rpx;
background: #FFFFFF;
border-radius: 8rpx;
/* margin: 20rpx; */
}
.gl-poster .img_box {
position: relative;
width: 100%;
height: 492rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.gl-poster .img_box .img {
width: 100%;
height: 100%;
}
.title {
height: 60rpx;
line-height: 60rpx;
/* padding: 0 16rpx; */
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #3666FE;
background: rgba(54, 102, 254, 0.1);
border-radius: 0 0 12rpx 12rpx;
text-align: center;
}
/* .preview-poster{
position: fixed;
top:50%;
left:50%;
transform: translate(-50%,-50%);
} */
.preview-poster .preview-blk {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #000;
opacity: 0.5;
filter: blur(2px);
z-index: 10;
}
.preview-poster .preview-box {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 11;
padding: 0 96rpx;
width: 100%;
box-sizing: border-box;
}
.preview-box-inner {
position: relative;
background: #fff;
display: flex;
flex-direction: column;
border-radius: 16rpx;
}
.perview-cloese {
position: absolute;
width: 56rpx;
height: 56rpx;
top: -92rpx;
right: 0;
}
.perview-cloese .img {
width: 100%;
height: 100%;
}
.preview-image {
padding: 32rpx;
}
.preview-image .img {
width: 100%;
max-height: 880rpx;
border-radius: 8rpx;
}
.perview-title {
display: flex;
align-items: center;
justify-content: center;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 16px;
color: #5850FF;
height: 90rpx;
}
.perview-title .img {
width: 40rpx;
height: 40rpx;
margin-right: 12rpx;
}
\ No newline at end of file \ No newline at end of file
Component({
/**
* 组件的属性列表
*/
properties: {
provinceShow: Boolean,
provinceList: {
type: Array,
observer: function (val) {
console.log(val, '++++');
this.setData({
provinceList: val
})
}
}
},
/**
* 组件的初始数据
*/
data: {
region: [0, 0, 0], // 地址每列的index
regionCode: [],
provinceList: []
},
/**
* 组件的方法列表
*/
methods: {
// emitHideRegion(){},
// 省市切换
bindChange(e) {
// 用于对比滑动的是哪一列数据
const val = e.detail.value
if (this.data.region[0] !== val[0]) {
// 如果滑动的是第一列数据,让二三列恢复到0
this.setData({
region: [val[0], 0, 0]
})
} else if (this.data.region[1] !== val[1]) {
// 滑动的是第二列数据
this.setData({
region: [val[0], val[1], 0]
})
} else {
this.setData({
region: e.detail.value
})
}
},
// 确定提交
comfirm() {
const {provinceList, region} = this.data
// 省市code
const provinceCode = provinceList[region[0]].value
const cityCode = provinceList[region[0]].children[region[1]].value
const townCode = provinceList[region[0]].children[region[1]].children[region[2]].value
const codeData = [provinceCode, cityCode, townCode]
// 省市名称
const provinceName = provinceList[region[0]].label
const cityName = provinceList[region[0]].children[region[1]].label
const townName = provinceList[region[0]].children[region[1]].children[region[2]].label
const provinceNameData = [provinceName, cityName, townName]
this.triggerEvent('getProvinceCode', {codeData, provinceNameData})
this.triggerEvent('cancelProvince')
},
// 取消
cancel() {
this.triggerEvent('cancelProvince')
}
}
})
{
"component": true
}
\ No newline at end of file \ No newline at end of file
<view wx:if="{{provinceShow}}" class="dialog_mask {{provinceShow?'dialog_show':''}}">
<view class="dialog_mask" bindtap="cancel"></view>
<view class="dialog_container">
<view class="header flex_scb">
<view class="cancle" bindtap="cancel">取消</view>
<view class="title">城市地区</view>
<view class="comfirm" bindtap="comfirm">确定</view>
</view>
<view class="main">
<picker-view indicator-style="height: 50px;" style="width: 100%; height: 100%;" value="{{region}}" bindchange="bindChange">
<picker-view-column>
<view wx:for="{{provinceList}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
<picker-view-column>
<view wx:for="{{provinceList[region[0]].children}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
<picker-view-column>
<view wx:for="{{provinceList[region[0]].children[region[1]].children}}" wx:key="{{item.value}}" style="line-height: 50px; text-align: center;">{{item.label}}</view>
</picker-view-column>
</picker-view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.dialog_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.5);
}
.dialog_container {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 70%;
background: white;
border-radius: 40rpx 40rpx 0 0;
box-shadow: 0px -2rpx 4rpx 0px rgba(0, 0, 0, 0.06);
z-index: 9999;
}
.header {
height: 112rpx;
box-sizing: border-box;
padding: 0 32rpx;
}
.header .cancle {
font-size: 28rpx;
font-weight: 500;
color: #969799;
}
.header .title {
font-size: 32rpx;
font-weight: 500;
color: #323233;
}
.header .comfirm {
font-size: 28rpx;
font-weight: 500;
color: #FC5B32;
}
.main{
height: calc(100% - 112rpx);
box-sizing: border-box;
padding: 0 32rpx;
}
.flex_scb {
display: flex;
align-items: center;
justify-content: space-between;
}
\ No newline at end of file \ No newline at end of file
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-15 17:13:19
* @LastEditors: huyue
* @LastEditTime: 2023-02-06 15:28:18
*/
Component({
externalClasses: ['custom-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
/**
* 组件的属性列表
*/
properties: {
// 顶部菜单
hasMenu: {
type: Boolean,
value: false,
},
// 增值转化Data
list: {
type: Array,
observer: function (n) {
this.init(n)
}
},
// banner下活动轮播数据
activityList: {
type: Array,
value: [],
},
// currentScenIndex: {
// type: Number,
// observer(n) {
// this.setData({
// currentScen: n,
// });
// },
// },
// 选中活动tab下标,默认第一个
discoverIndex: {
type: Number,
value: 0
},
},
/**
* 组件的初始数据
*/
data: {
currentScen: 0,
scrollLeft: 0,
bannerSrc: '',
defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png',
sceneCode: '',
listData: []
},
/**
* 组件的方法列表
*/
methods: {
// 初始化数据,新增数字化转型案例视频
init(n) {
if (n.length === 0) return
let operationVideoList = []
let videoList = []
// 递归算出得到所有视频
n.forEach(item => {
operationVideoList = operationVideoList.concat(item.operationVideoList)
videoList = videoList.concat(item.videoList)
if (item.subList.length) {
item.subList.forEach(itm => {
operationVideoList = operationVideoList.concat(itm.operationVideoList)
videoList = videoList.concat(itm.videoList)
})
}
})
n.push({
name: '数字化转型案例',
videoList: videoList,
operationVideoList: operationVideoList
})
this.setData({
listData: n
})
},
// 点击特色产品
proClick(e) {
const sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode
console.log(e.detail, sceneCode);
this.triggerEvent('proClick', {info: e.detail, sceneCode});
},
// 点击案例视频
videoClick(e) {
const sceneCode = this.data.sceneCode || this.data.listData[this.data.discoverIndex].sceneCode
console.log(sceneCode);
this.triggerEvent('videoClick', {info: e.detail, sceneCode});
},
// 活动点击
activityClick(e) {
this.triggerEvent('activityClick', e.detail);
},
// 点击场景banner
senceClick() {
const info = this.data.listData.find(
(item) => item.sceneCode === this.data.sceneCode
);
console.log(info);
this.triggerEvent('senceClick', info);
},
// 点击切换菜单
menuClick(e) {
const menuInfo = this.data.listData.find(
(item) => item.sceneCode === e.detail.info.sceneCode
);
const bannerSrc = menuInfo.banner;
const sceneCode = menuInfo.sceneCode
this.setData({
discoverIndex: e.detail.id,
bannerSrc,
sceneCode
});
},
// 初始化
initMenu(e) {
const menuInfo = e.detail
const bannerSrc = menuInfo.banner;
const sceneCode = menuInfo.sceneCode
this.setData({
bannerSrc,
sceneCode
})
},
},
});
{
"component": true,
"usingComponents": {
"gl-scene": "../scene/index",
"glsx-discover": "../discover/index",
"activity-swiper": "../activity-swiper/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="scenario-menu custom-class" wx:if="{{hasMenu}}">
<scroll-view scroll-x scroll-with-animation scroll-left="{{scrollLeft}}" class="menu-list">
<view wx:for="{{listData}}" wx:key="index" class="menu-item {{item.sceneid==currentScen?'menu-active':''}}" catchtap="selectScenario" data-id="{{item.sceneid}}">{{item.name}}</view>
</scroll-view>
</view>
<gl-scene wx:if="{{listData.length}}" src="{{bannerSrc ? bannerSrc : defaultBannerSrc}}" bind:click="senceClick"></gl-scene>
<activity-swiper activityList="{{activityList}}" bindactivityClick="activityClick"></activity-swiper>
<!-- <glsx-discover index="{{discoverIndex}}" list="{{productData[currentScen]}}" bindchange="onchange" bind:proClick="proClick" bind:videoClick="videoClick"></glsx-discover> -->
<glsx-discover
wx:if="{{listData.length}}"
index="{{discoverIndex}}"
list="{{listData}}"
bindchange="onchange"
bind:menuClick="menuClick"
bind:initMenu="initMenu"
bind:proClick="proClick"
bind:videoClick="videoClick"
novideo-img="novideo-img"
sub-menu-active-custom="sub-menu-active-custom"
sidebar-active-custom="sidebar-active-custom"
>
</glsx-discover>
.scenario-menu {
width: 100%;
height: 88rpx;
/* overflow-x: auto; */
-webkit-overflow-scrolling: touch;
}
.scenario-menu::-webkit-scrollbar {
display:none;
width:0;
height:0;
color:transparent;
}
.scenario-menu .menu-list {
padding: 0 20rpx;
display: inline-block;
white-space: nowrap;
box-sizing: border-box;
}
.scenario-menu .menu-list .menu-item {
display: inline-block;
width: 150rpx;
text-align: center;
line-height: 80rpx;
font-weight: 400;
font-size: 28rpx;
color: #323436;
}
.scenario-menu .menu-list .menu-item.menu-active {
position: relative;
font-weight: 600;
width: 190rpx;
font-size: 36rpx;
color: #323436;
}
.menu-active::after {
display: inline-block;
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 40rpx;
height: 8rpx;
background-color: #5850FF;
border-radius: 4rpx;
}
\ No newline at end of file \ No newline at end of file
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: '',
observer: function (n) {
this.setData({
imagePath: n
})
}
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
useSlot: {
type: Boolean,
value: false
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
},
methods: {
// 点击事件
clickEvent() {
this.triggerEvent('click')
}
}
})
{
"component": true,
"usingComponents": {}
}
<view class="gl-scene custom-class" catchtap="clickEvent">
<image
class="img"
src="{{imagePath}}"
mode="{{mode}}"
lazy-load
webp
wx:if="{{imagePath}}"
/>
<view class="inner" wx:if="{{useSlot}}">
<slot/>
</view>
</view>
.gl-scene {
position: relative;
margin: 20rpx;
height: 254rpx;
overflow: hidden;
border-radius: 20rpx;
}
.gl-scene .img {
width: 100%;
height: 100%;
}
.inner {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
\ No newline at end of file \ No newline at end of file
// 商品card
Component({
externalClasses: ['custom-class', 'active-class', 'sidebar-active-custom'],
relations: {
'../sidebar/index': {
type: 'parent',
linked: function () {
// 每次被插入到 custom-ul 时执行,target是 custom-ul 节点实例对象,触发在 attached 生命周期之后
},
linkChanged: function () {
// 每次被移动后执行,target是 custom-ul 节点实例对象,触发在 moved 生命周期之后
},
unlinked: function () {
// 每次被移除时执行,target是 custom-ul 节点实例对象,触发在 detached 生命周期之后
}
}
},
/**
* 组件的属性列表
*/
properties: {
title: {
type: String,
value: ''
},
},
/**
* 组件的初始数据
*/
data: {
selected: ''
},
methods: {
// 设置选中
setActive: function (selected) {
return this.setData({selected: selected});
},
// 点击事件
onClick() {
const _this = this;
const parent = this.getParents();
if (!parent || this.data.disabled) {
return;
}
const index = parent.data.children.indexOf(this);
parent.setActive(index)
_this.triggerEvent('click', index);
parent.triggerEvent('change', index);
},
// 获取父级元素
getParents() {
const nodes = this.getRelationNodes('../sidebar/index')
const node = nodes[0]
return node;
}
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="sidebar-item custom-class" bind:tap="onClick">
<view class="inner-text {{selected?'sidebar-item-active sidebar-active-custom':''}}">
<view class="text" wx:if="{{ title }}">{{ title }}</view>
<slot wx:else />
</view>
</view>
.sidebar-item {
height: 88rpx;
line-height: 88rpx;
/* background: rgba(204, 206, 209, 0.20); */
}
.inner-text {
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-family: PingFangSC-Medium;
font-size: 24rpx;
color: #2D2D33;
text-align: center;
padding-left:10rpx;
line-height: 30rpx;
height: 100%;
}
.sidebar-item-active {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 24rpx;
color: #5850FF;
background: #fff;
}
.sidebar-item-active:after {
display: block;
content: "";
width: 6rpx;
height: 40rpx;
background: #5850FF;
border-radius: 0 4rpx 4rpx 0;
position: absolute;
left:0;
top:50%;
transform: translateY(-50%);
}
\ No newline at end of file \ No newline at end of file
// 商品card
Component({
externalClasses: ['custom-class'],
relations: {
'../sidebar-item/index': {
type: 'child',
linked: function (target) {
// 每次有 custom-li 被插入时执行,target是该节点实例对象,触发在该节点 attached 生命周期之后
console.log(target)
this.setActive(this.data.activeKey);
},
linkChanged: function () {
// 每次有 custom-li 被移动后执行,target是该节点实例对象,触发在该节点 moved 生命周期之后
},
unlinked: function () {
// 每次有 custom-li 被移除时执行,target是该节点实例对象,触发在该节点 detached 生命周期之后
}
}
},
/**
* 组件的属性列表
*/
properties: {
activeKey: {
type: Number,
default: 0,
observer: function (key) {
this.setActive(key)
}
}
},
/**
* 组件的初始数据
*/
data: {
currentActive: 0,
children: []
},
methods: {
// 设置选中
setActive(key) {
const child = this.getAllChild()
const currentActive = this.data.currentActive
const stack = [];
this.setData({
currentActive: key
})
if (currentActive !== key && child[currentActive]) {
stack.push(child[currentActive].setActive(false));
}
if (child[key]) {
stack.push(child[key].setActive(true));
}
return Promise.all(stack);
},
// 获取所有的子nodes
getAllChild() {
const nodes = this.getRelationNodes('../sidebar-item/index')
this.setData({
children: nodes
})
return nodes;
},
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-sidebar custom-class">
<slot/>
</view>
.gl-sidebar {
display: flex;
flex-direction: column;
background: rgba(204, 206, 209, 0.20);
width: 116rpx;
height: 100%;
}
\ No newline at end of file \ No newline at end of file
/*
* @Description: huyue
* @Author: huyue
* @Date: 2022-12-15 17:13:19
* @LastEditors: huyue
* @LastEditTime: 2022-12-29 15:13:16
*/
Component({
externalClasses: ['glscene-class', 'gldiscover-class', 'novideo-img', 'sub-menu-active-custom', 'sidebar-active-custom'],
options: {
multipleSlots: true // 在组件定义时的选项中启用多 slot 支持
},
/**
* 组件的属性列表
*/
properties: {
// 客户数字化Data
list: {
type: Array,
// observer: function (n) {
// this.init(n)
// }
},
// 选中活动tab下标,默认第一个
discoverIndex: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
bannerSrc: '',
defaultBannerSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/banner/banner_default.png'
},
/**
* 组件的方法列表
*/
methods: {
// // 初始化数据,新增数字化转型案例视频
// init(n) {
// if (n.length === 0) return
// let operationVideoList = []
// let videoList = []
// n.forEach(item => {
// operationVideoList = operationVideoList.concat(item.operationVideoList)
// videoList = videoList.concat(item.videoList)
// })
// this.data.list.push({
// name: '数字化转型案例',
// videoList: videoList,
// operationVideoList: operationVideoList
// })
// this.setData({
// list: this.data.list
// })
// },
// 点击特色产品
proClick(e) {
const sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode
this.triggerEvent('proClick', {info: e.detail, sceneCode});
},
// 点击案例视频或操作指引
videoClick(e) {
const sceneCode = this.data.sceneCode || this.data.list[this.data.discoverIndex].sceneCode
this.triggerEvent('videoClick', {info: e.detail, sceneCode});
},
// 点击切换菜单
menuClick(e) {
const menuInfo = this.data.list.find(
(item) => item.sceneCode === e.detail.info.sceneCode
);
const bannerSrc = menuInfo.banner;
const sceneCode = menuInfo.sceneCode
this.setData({
discoverIndex: e.detail.id,
bannerSrc,
sceneCode
});
},
// 点击场景banner
senceClick() {
const info = this.data.list.find(
(item) => item.sceneCode === this.data.sceneCode
);
this.triggerEvent('senceClick', info);
},
// 初始化菜单
initMenu(e) {
const menuInfo = e.detail
const bannerSrc = menuInfo.banner;
const sceneCode = menuInfo.sceneCode
this.setData({
bannerSrc,
sceneCode
})
}
}
})
{
"component": true,
"usingComponents": {
"gl-scene": "../scene/index",
"glsx-discover": "../discover/index"
}
}
\ No newline at end of file \ No newline at end of file
<gl-scene wx:if="{{list.length}}" src="{{bannerSrc ? bannerSrc : defaultBannerSrc}}" custom-class="glscene-class" bind:click="senceClick"></gl-scene>
<glsx-discover
wx:if="{{list.length}}"
index="{{discoverIndex}}"
bind:menuClick="menuClick"
list="{{list}}"
bind:proClick="proClick"
bind:videoClick="videoClick"
bind:initMenu="initMenu"
custom-class="gldiscover-class"
novideo-img="novideo-img"
sub-menu-active-custom="sub-menu-active-custom"
sidebar-active-custom="sidebar-active-custom"
></glsx-discover>
module.exports = {
getFlag() {
return true
},
deepClone(target) {
const map = new WeakMap()
function isObject(target) {
return (typeof target === 'object' && target) || typeof target === 'function'
}
function clone(data) {
if (!isObject(data)) {
return data
}
if ([Date, RegExp].includes(data.constructor)) {
return new data.constructor(data)
}
if (typeof data === 'function') {
// eslint-disable-next-line no-new-func
return new Function('return ' + data.toString())()
}
const exist = map.get(data)
if (exist) {
return exist
}
if (data instanceof Map) {
const result = new Map()
map.set(data, result)
data.forEach((val, key) => {
if (isObject(val)) {
result.set(key, clone(val))
} else {
result.set(key, val)
}
})
return result
}
if (data instanceof Set) {
const result = new Set()
map.set(data, result)
data.forEach(val => {
if (isObject(val)) {
result.add(clone(val))
} else {
result.add(val)
}
})
return result
}
const keys = Reflect.ownKeys(data)
const allDesc = Object.getOwnPropertyDescriptors(data)
const result = Object.create(Object.getPrototypeOf(data), allDesc)
map.set(data, result)
keys.forEach(key => {
const val = data[key]
if (isObject(val)) {
result[key] = clone(val)
} else {
result[key] = val
}
})
return result
}
return clone(target)
}
}
// 商品card
Component({
externalClasses: ['custom-class', 'video-play-class'],
/**
* 组件的属性列表
*/
properties: {
list: {
type: Object,
value: {},
observer: function (n) {
if (Object.keys(n).length) {
this.init(n)
}
}
},
likeList: {
type: Array,
value: []
}
},
/**
* 组件的初始数据
*/
data: {
current: {},
idx: 0
},
methods: {
// 初始化
init(list) {
this.setData({
current: list
})
},
// 选择视频
chooseVideo(e) {
const info = e.currentTarget.dataset.info || {}
this.setData({
current: info
})
console.log(e.target.dataset);
this.triggerEvent('chooseVideo', e.target.dataset.info)
}
}
})
{
"component": true,
"usingComponents": {
"gl-video": "../video/index"
}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-video-page custom-class">
<view class="video-play-box video-play-class" wx:if="{{list || list.videoUrl}}">
<video
src="{{current.vedioUrl}}"
class="video-box"
></video>
</view>
<view class="video-title">
<view class="title">
{{current.title}}
</view>
<view class="total">
<image class="img" src="../assets/eye.png" />
<text class="">{{current.view}}</text>
</view>
</view>
<view class="video-content" wx:if="{{likeList || likeList.length}}">
<view class="head">猜你喜欢</view>
<scroll-view
class="video-list"
enable-flex
scroll-x
>
<view
class="cell"
wx:for="{{likeList}}"
wx:key="index"
>
<gl-video
src="{{item.prodImg}}"
title="{{item.proName}}"
user-name="{{item.manufacturer || '嘀加智慧'}}"
visit="{{item.view}}"
data-info="{{item}}"
data-index="{{index}}"
catchtap="chooseVideo"
></gl-video>
</view>
</scroll-view>
</view>
</view>
.gl-video-page {
display: flex;
flex-direction: column;
height: 100vh;
}
.video-play-box {
flex-shrink: 0;
height: 422rpx;
width: 100%;
width: 100%;
}
.video-box {
width: 100%;
height: 100%;
}
.video-title {
display: flex;
align-items: flex-start;
justify-content: space-between;
padding: 16rpx 32rpx;
}
.video-title .title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32rpx;
color: #323436;
}
.total {
flex-shrink: 0;
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 24rpx;
color: #5A6066;
margin-left: 30rpx;
}
.total .img {
width: 28rpx;
height: 28rpx;
margin-right: 4rpx;
}
.video-content {
flex: 1;
overflow-y: auto;
}
.video-content .head {
padding: 0 32rpx;
margin: 80rpx 0 0 0;
}
.video-list {
height: 400rpx;
display: flex;
flex-direction: row;
padding: 16rpx 32rpx;
box-sizing: border-box;
background:#fff;
}
.video-list .cell {
margin: 0 20rpx 0 0
}
.video-list .cell:last-child {
margin: 0;
}
\ No newline at end of file \ No newline at end of file
// 商品card
Component({
externalClasses: ['custom-class'],
/**
* 组件的属性列表
*/
properties: {
src: {
type: String,
value: ''
},
mode: {
type: String,
value: 'widthFix'
},
lazyLoad: {
type: Boolean,
value: true
},
userName: {
type: [String, Number],
value: ''
},
avatar: {
type: String,
value: '../assets/avatar.png'
},
title: {
type: [String, Number],
value: ''
},
visit: {
type: Number,
value: 0
}
},
/**
* 组件的初始数据
*/
data: {
imagePath: ''
},
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<view class="gl-video custom-class">
<view class="video-box">
<image class="img" src="{{src}}" webp mode="{{mode}}" lazy-load="{{lazyLoad}}" wx:if="{{src}}" />
<image class="play" src="../assets/play.png" lazy-load />
</view>
<view class="video-fooeter">
<view class="video-title">
{{title}}
</view>
<view class="video-info">
<view class="avatar">
<image class="img" src="{{avatar}}" lazy-load wx:if="{{avatar}}" />
<view class="name">{{userName}}</view>
</view>
<view class="total">
<image class="img" src="../assets/eye.png" />
<text class="">{{visit}}</text>
</view>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
.gl-video {
width: 276rpx;
height: 316rpx;
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
border-radius: 12rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.video-box {
position: relative;
width: 100%;
height: 168rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.video-box .img {
width: 100%;
}
.video-box .play {
position: absolute;
width: 42rpx;
height: 42rpx;
left: 19rpx;
bottom: 19rpx;
}
.video-fooeter {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 8rpx 0;
}
.video-title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
padding: 0 16rpx;
}
.avatar {
display: flex;
align-items: center;
flex: 1;
flex-shrink: 0;
overflow: hidden;
}
.avatar .img {
width: 32rpx;
height: 32rpx;
border-radius: 100%;
flex-shrink: 0;
}
.avatar .name {
display: inline-block;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #5A6066;
margin-left: 4rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 100%;
}
.video-info {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16rpx;
box-sizing: border-box;
width: 100%;
}
.total {
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 20rpx;
color: #5A6066;
}
.total .img {
width: 20rpx;
height: 20rpx;
margin-right: 4rpx;
}
\ No newline at end of file \ No newline at end of file
{
"compilerOptions": {
"module": "esnext",
"target": "es2015",
"lib": ["es2015", "es2017", "dom"],
"noImplicitAny": false,
"moduleResolution": "node",
"sourceMap": true,
"baseUrl": ".",
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata":true,
"esModuleInterop": true,
"resolveJsonModule": true
},
"files": [
"node_modules/miniprogram-api-typings/index.d.ts"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
]
}
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"glsx-applet-component": {
"version": "1.1.21",
"resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.21.tgz",
"integrity": "sha512-ufv3skaj+ungg0eO6DvFNuCjK1Kwg8D/H1MBu9i8hHJToYtvXEJrblAk6LT3NYUOddtIDhVs+p3DgpXUg2WtPQ=="
},
"glsx-map-sdk": { "glsx-map-sdk": {
"version": "0.2.0", "version": "0.2.0",
"resolved": "https://registry.npmjs.org/glsx-map-sdk/-/glsx-map-sdk-0.2.0.tgz", "resolved": "https://registry.npmjs.org/glsx-map-sdk/-/glsx-map-sdk-0.2.0.tgz",
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"glsx-applet-component": "^1.1.21",
"glsx-map-sdk": "^0.2.0", "glsx-map-sdk": "^0.2.0",
"number-precision": "^1.6.0" "number-precision": "^1.6.0"
}, },
......
...@@ -152,4 +152,5 @@ ...@@ -152,4 +152,5 @@
</block> </block>
<!-- <block wx:if="{{showComponent&&!isGH}}"> <!-- <block wx:if="{{showComponent&&!isGH}}">
<coupons-list bind:getCoupons="getCouponsItem" couponsId="{{query.couponId}}" show="{{showCoupons}}" goodsId="{{curentGoodsItem.id}}"></coupons-list> <coupons-list bind:getCoupons="getCouponsItem" couponsId="{{query.couponId}}" show="{{showCoupons}}" goodsId="{{curentGoodsItem.id}}"></coupons-list>
</block> -->
\ No newline at end of file \ No newline at end of file
</block> -->
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
<view class="commodity-list-container isFullSucreen"> <view class="commodity-list-container isFullSucreen">
<view wx:if="{{unauthorized}}" class="reLocation_wrap flex_cc"> <view wx:if="{{unauthorized}}" class="reLocation_wrap flex_cc">
<glsx-image webp class="loca_icon" webp src="equity/location_icon.png" /> <glsx-image webp class="loca_icon" webp src="equity/location_icon.png" />
<view bind:tap="relocation" class="loca_text">定位一下,发现附近优惠</view> <view bind:tap="relocation" class="loca_text">定位一下,发现附近优惠</view>
</view> </view>
<block wx:for="{{commodityList}}" wx:key="index"> <block wx:for="{{commodityList}}" wx:key="index">
<commodityItem address="{{currentAddress}}" businessInfo="{{item}}"/> <commodityItem address="{{currentAddress}}" businessInfo="{{item}}" />
</block> </block>
</view> </view>
<authorize scopeType="userLocation" bindfail="authFail" bindsuccess="authSuccess"
show="{{showAuth}}"></authorize>
\ No newline at end of file \ No newline at end of file
<authorize scopeType="userLocation" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -39,3 +39,4 @@ ...@@ -39,3 +39,4 @@
</view> </view>
<glsx-privacy appletName="海马刀"></glsx-privacy>
...@@ -24,4 +24,6 @@ ...@@ -24,4 +24,6 @@
<view class="sales-status-2">已提交申请,等待处理</view> <view class="sales-status-2">已提交申请,等待处理</view>
</view> </view>
</block> </block>
</view>
\ No newline at end of file \ No newline at end of file
</view>
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -220,4 +220,6 @@ ...@@ -220,4 +220,6 @@
<image webp src="{{posterUrl}}"></image> <image webp src="{{posterUrl}}"></image>
</view> </view>
</view> </view>
</block>
\ No newline at end of file \ No newline at end of file
</block>
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -78,3 +78,4 @@ ...@@ -78,3 +78,4 @@
</view> </view>
<authorize scopeType="userLocation" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize> <authorize scopeType="userLocation" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -53,4 +53,6 @@ ...@@ -53,4 +53,6 @@
adjust-position="{{false}}" /> adjust-position="{{false}}" />
</view> </view>
</view> </view>
</block>
\ No newline at end of file \ No newline at end of file
</block>
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -64,4 +64,5 @@ ...@@ -64,4 +64,5 @@
<text class="txt-orange" catchtap="handleAgree" data-name="agreement">《服务使用协议》</text> <text class="txt-orange" catchtap="handleAgree" data-name="agreement">《服务使用协议》</text>
</view> </view>
</view> </view>
</view>
\ No newline at end of file \ No newline at end of file
</view>
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -245,4 +245,6 @@ ...@@ -245,4 +245,6 @@
<view bind:tap="relocation" class="loca_text">定位一下,发现附近优惠</view> <view bind:tap="relocation" class="loca_text">定位一下,发现附近优惠</view>
</view> </view>
</view> </view>
<authorize id="authorize" scopeType="userLocation" isShowCheck="{{false}}" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
\ No newline at end of file \ No newline at end of file
<authorize id="authorize" scopeType="userLocation" isShowCheck="{{false}}" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
...@@ -83,3 +83,5 @@ ...@@ -83,3 +83,5 @@
<!-- 视频号直播 --> <!-- 视频号直播 -->
<channels-modal id="channels" /> <channels-modal id="channels" />
<glsx-privacy appletName="海马刀"></glsx-privacy>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!