切换导航条
此项目
正在载入...
登录
韩昌
/
biomassShop-uniapp
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
LAPTOP-A9KQJB80\憨批
2022-09-13 15:44:32 +0800
提交
2ab60beb96deac5851dd06a7134b1a10ad0a329b
1 个父辈
5541eee0
修改:主页
显示空白字符变更
内嵌
并排对比
正在显示
58 个修改的文件
包含
256 行增加
和
96 行删除
components/ren-dropdown-filter/ren-dropdown-filter.vue
pages/index/auditPage.vue
pages/index/index.vue
pages/index/sellerMessageDetail.vue
pages/login/login.vue
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/components/Tabbar.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/heYang/pxing-picker/pxing-picker.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-badge/u-badge.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-icon/u-icon.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-input/u-input.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-line/u-line.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-modal/u-modal.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-navbar/u-navbar.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-overlay/u-overlay.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-picker/u-picker.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-status-bar/u-status-bar.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-sticky/u-sticky.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-swiper/u-swiper.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-tabs/u-tabs.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-textarea/u-textarea.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-toolbar/u-toolbar.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-transition/u-transition.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-upload/u-upload.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/auditPage.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/buyersRelease.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/buyersReleased.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/landRelease.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/sellerMessageDetail.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/sellerRelease.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/message/index.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/index.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mineInfo.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/myExpect.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/myRelease.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/residueWallet.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/wallet.js.map
unpackage/dist/dev/mp-weixin/app.json
unpackage/dist/dev/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.js
unpackage/dist/dev/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.wxml
unpackage/dist/dev/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.wxss
unpackage/dist/dev/mp-weixin/pages/index/auditPage.js
unpackage/dist/dev/mp-weixin/pages/index/index.js
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
unpackage/dist/dev/mp-weixin/pages/index/sellerMessageDetail.js
unpackage/dist/dev/mp-weixin/pages/index/sellerMessageDetail.wxml
unpackage/dist/dev/mp-weixin/pages/login/login.js
unpackage/dist/dev/mp-weixin/pages/login/login.wxml
components/ren-dropdown-filter/ren-dropdown-filter.vue
查看文件 @
2ab60be
...
...
@@ -5,10 +5,13 @@
<view class="navs">
<view class="c-flex-align" :class="{ 'c-flex-center': index > 0, actNav: index === actNav }" v-for="(item, index) in navData" :key="index" @click="navClick(index)">
<view v-for="(child, childx) in item" :key="childx" v-if="child.select">{{ child.text }}</view>
<view class="" v-if="index==2">
<image src="https://i.loli.net/2020/07/15/QsHxlr1gbSImvWt.png" mode="" class="icon-triangle" v-if="index === actNav"></image>
<image src="https://i.loli.net/2020/07/15/xjVSvzWcH9NO7al.png" mode="" class="icon-triangle" v-else></image>
</view>
</view>
<!-- <view class="date-wrapper">
<picker mode="date" @change="handleDate">
<view class="date c-flex-align" :style="{ height: height + 'rpx' }" @click="dateClick">
...
...
@@ -96,6 +99,7 @@ export default {
}
},
navClick(index) {
console.log(index);
if (index === this.actNav) {
this.tapMask();
return;
...
...
@@ -196,12 +200,12 @@ page {
}
}
.mask {
z-index: 666;
position: fixed;
// z-index: 666;
// position: fixed;
top: calc(var(--status-bar-height) + 44px);
left: 0;
right: 0;
bottom: 0;
// left: 0;
// right: 0;
// bottom: 0;
background-color: rgba(0, 0, 0, 0);
transition: background-color 0.15s linear;
&.show {
...
...
@@ -212,9 +216,11 @@ page {
}
}
.popup {
width: 300rpx;
padding-top: 10rpx;
padding-left: 40rpx;
position: relative;
// top: -40rpx;
// max-height: 500rpx;
height: 100%;
background-color: #fff;
...
...
@@ -251,8 +257,8 @@ page {
}
.icon-triangle {
width: 0rpx;
height: 0rpx;
width: 12rpx;
height: 12rpx;
margin-left: 10rpx;
}
}
...
...
pages/index/auditPage.vue
查看文件 @
2ab60be
...
...
@@ -8,8 +8,7 @@
</view>
<!-- 顶部轮播图 -->
<view class="swiper">
<u-swiper :list="list6" @change="e => currentNum = e.current" :autoplay="true"
indicatorStyle="right: 20px" height="375" radius="0rpx">
<u-swiper :list="list6" @change="e => currentNum = e.current" :autoplay="true" indicatorStyle="right: 20px" height="375" radius="0rpx">
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list6.length }}</text>
</view>
...
...
@@ -278,7 +277,7 @@
isMask: false, // 遮罩判断
agShow: false, //是否同意协议
// current:1,
currentNum:
1
, //轮播图
currentNum:
''
, //轮播图
list6: [
'https://cdn.uviewui.com/uview/swiper/swiper2.png',
'https://cdn.uviewui.com/uview/swiper/swiper3.png',
...
...
pages/index/index.vue
查看文件 @
2ab60be
...
...
@@ -6,7 +6,7 @@
</view>
<view class="main">
<!-- 轮播图 -->
<view class="swiper">
<view class="swiper"
@click="tologin"
>
<u-swiper :list="list5" @change="e => current = e.current" height="320rpx" radius="24rpx">
<view slot="indicator" class="indicator">
<view class="indicator__dot" v-for="(item, index) in list5" :key="index"
...
...
@@ -25,9 +25,6 @@
:scrollable="false" :lineWidth="43" :lineHeight="4"></u-tabs>
<!-- 卖家信息列表 -->
<view class="sellerList" v-if="cur==0">
<view class="">
</view>
<view class="sellerListhead">
<ren-dropdown-filter :filterData='filterData' :defaultIndex='defaultIndex' @ed='ed'
:height="24"></ren-dropdown-filter>
...
...
@@ -58,7 +55,7 @@
</view>
<!-- 买家信息列表 -->
<view class="buyerList" v-if="cur==1">
<view class="buyerCard flexJ" v-for="(item,index) in 4">
<view class="buyerCard flexJ" v-for="(item,index) in 4"
:key="index" @click="toauditPagetype"
>
<view class="cardLeft">
<view class="cardLeftname">作物-玉米</view>
<view class="cardTitletime">2022-05-28 15:30</view>
...
...
@@ -71,24 +68,24 @@
</view>
<!-- 土地信息列表 -->
<view class="sellerList" v-if="cur==2">
<view class="listCard flexA" v-for="(item,index) in
4
" @click="tolandDetail">
<view class="listCard flexA" v-for="(item,index) in
landList" :key="index
" @click="tolandDetail">
<view class="cardImg">
<img src="/static/ic_4@2x.png" alt="">
</view>
<view class="cardTitle">
<view class="cardTitlename">
土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦
</view>
<view class="cardTitlename">
{{item.name}}
</view>
<view class="cardTitleadress flexA">
<img src="/static/ic-loc@2x.png" alt="">
<text>
天津市南开区鑫茂科技园C1座
</text>
<text>
{{item.address}}
</text>
</view>
<view class="cardTitleP flexJ">
<view class="cardTitlePimg flexA">
<img src="/static/ic_6@2x.png" alt="">
张小曼
{{item.title}}
</view>
<view class="cardTitletime">
2022-05-28 15:30
{{item.time}}
</view>
</view>
</view>
...
...
@@ -107,8 +104,8 @@
<view class="">
<u-popup :show="show" mode="bottom" @close="close" @open="open">
<view class="wraper">
<view class="flexC popup">
<view class="popItem">
<view class="flexC popup1">
<view class="popItem" @click="tosellerRelease">
<view class="popImg">
<img src="/static/ic_13@2x.png" alt="">
</view>
...
...
@@ -120,7 +117,7 @@
</view>
<view class="popName">我是买家</view>
</view>
<view class="popItem">
<view class="popItem"
@click="tolandRelease"
>
<view class="popImg">
<img src="/static/ic_15@2x.png" alt="">
</view>
...
...
@@ -151,6 +148,7 @@
status: 0,
current: 0,
cur: 0,
type:1,
filterData: [
[{
text: '默认排序',
...
...
@@ -248,6 +246,43 @@
expertise: "擅长领域:小鼠银杏病",
title: "张小曼",
time: "2022-05-28 15:30",
}, ],
landList: [{
id: 1,
status: 1,
url: "",
name: "土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦",
address: "天津市南开区鑫茂科技园C1座",
title: "张小曼",
time: "2022-05-28 15:30",
type:2
}, {
id: 2,
status: 2,
url: "",
name: "土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦",
address: "天津市南开区鑫茂科技园C1座",
title: "张小曼",
time: "2022-05-28 15:30",
type:2
}, {
id: 3,
status: 3,
url: "",
name: "土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦",
address: "天津市南开区鑫茂科技园C1座",
title: "张小曼",
time: "2022-05-28 15:30",
type:2
}, {
id: 4,
status: 4,
url: "",
name: "土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦",
address: "天津市南开区鑫茂科技园C1座",
title: "张小曼",
time: "2022-05-28 15:30",
type:2
}, ]
}
},
...
...
@@ -258,6 +293,26 @@
uni.hideTabBar()
},
methods: {
toauditPagetype(e){
uni.navigateTo({
url: `/pages/index/auditPage?type=${this.type}&status=${2}`
})
},
tologin() {
uni.navigateTo({
url:'/pages/login/login'
})
},
tolandRelease() {
uni.navigateTo({
url:'/pages/index/landRelease'
})
},
tosellerRelease() {
uni.navigateTo({
url:'/pages/index/sellerRelease'
})
},
switchTAb(e) {
console.log(e);
this.cur = e.index
...
...
@@ -269,7 +324,7 @@
},
tolandDetail(item) {
uni.navigateTo({
url:
'/pages/index/landDetail'
url:
`/pages/index/auditPage?status=${item.status}&type=${item.type}`
})
},
tobuyersRelease() {
...
...
@@ -347,6 +402,14 @@
.u-tabs__wrapper__nav__line {
background: linear-gradient(90deg, rgba(99, 217, 218, 1) 0%, rgba(99, 217, 218, 0) 100%) !important;
left: -50rpx;
}
.listName {
margin-top: 32rpx;
margin-bottom: 24rpx;
color: rgba(0,0,0,0.9);
font-size: 32rpx;
font-weight: 700;
}
.sellerList {
...
...
@@ -356,7 +419,7 @@
font-size: 24rpx !important;
height: 48rpx !important;
background-color:transparent!important;
z-index: 999;
}
.sellerListheaditem {
...
...
@@ -489,7 +552,7 @@
margin-bottom: 24rpx;
}
.popup {
.popup
1
{
justify-content: space-between;
padding: 64rpx 240rpx 0 240rpx;
}
...
...
pages/index/sellerMessageDetail.vue
查看文件 @
2ab60be
...
...
@@ -122,7 +122,7 @@
<img src="/static/ic-error@2x.png" alt="">
</view>
<view class="agreementTitle">
同意<text
>《用户协议》</text>和<text
>《隐私协议》</text>
同意<text
@click="toDetail">《用户协议》</text>和<text @click="toDetailB"
>《隐私协议》</text>
</view>
</view>
<view class="butSubmit flexC" @click="changeMask">
...
...
@@ -137,11 +137,12 @@
export default {
data() {
return {
type:1,
status:1,
isMask:false, // 遮罩判断
agShow:false, //是否同意协议
// current:1,
currentNum:
1
, //轮播图
currentNum:
''
, //轮播图
list6: [
'https://cdn.uviewui.com/uview/swiper/swiper2.png',
'https://cdn.uviewui.com/uview/swiper/swiper3.png',
...
...
@@ -154,6 +155,16 @@
console.log(this.status);
},
methods: {
toDetail(){
uni.navigateTo({
url:`/pages/mine/detail?type=${this.type}`
})
},
toDetailB() {
uni.navigateTo({
url:'/pages/mine/detail'
})
},
// 返回上一页
rightClick() {
uni.navigateBack({})
...
...
pages/login/login.vue
查看文件 @
2ab60be
...
...
@@ -14,7 +14,7 @@
<view class="login flexC">
登录
</view>
<view class="noLogin">
<view class="noLogin"
@click="toreturn"
>
暂不登录
</view>
<view class="title">
...
...
@@ -34,7 +34,9 @@
},
methods: {
toreturn() {
uni.navigateBack()
}
}
}
</script>
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/App.vue?3a0e"
,
"uni-app:///App.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/App.vue?2647"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/App.vue?309f"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"Vue"
,
"config"
,
"productionTip"
,
"component"
,
"Tabbar"
,
"use"
,
"uView"
,
"App"
,
"mpType"
,
"app"
,
"$mount"
],
"mappings"
:
";;;;;;;;;iDAAA;;AAE2D;;;AAG3D;;;AAGA,+E,ynCAPA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAIAC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B,C,oRAGAF,aAAIG,SAAJ,CAAc,QAAd,EAAuBC,MAAvB;AACAJ,aAAIK,GAAJ,CAAQC,gBAAR;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIT,YAAJ;AACLO,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAsnB,CAAgB,2oBAAG,EAAC,C;;;;;;;;;;;;ACC1oB;AACA;AACA;AACA,GAHA;AAIA;AACA;AACA,GANA;AAOA;AACA;AACA,GATA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAAqrC,CAAgB,kpCAAG,EAAC,C;;;;;;;;;;ACAzsC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"common/main.js"
,
"sourcesContent"
:[
"import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\r\n\r\n\r\nimport Vue from 'vue'\r\nVue.config.productionTip = false\r\nimport Tabbar from '@/components/Tabbar.vue'\r\nimport uView from \"uview-ui\";\r\nVue.component('Tabbar',Tabbar)\r\nVue.use(uView);\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()"
,
"var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\""
,
"<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\t// console.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\t// console.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\t// console.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import \"uview-ui/index.scss\";\r\n\t.flexJ {\r\n\t display: flex;\r\n\t justify-content: space-between;\r\n\t align-items: center;\r\n\t}\r\n\t.flexC {\r\n\t display: flex;\r\n\t justify-content: center;\r\n\t align-items: center;\r\n\t}\r\n\t.flexA {\r\n\t display: flex;\r\n\t // justify-content: center;\r\n\t align-items: center;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991659224\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/App.vue?3a0e"
,
"uni-app:///App.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/App.vue?2647"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/App.vue?309f"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"Vue"
,
"config"
,
"productionTip"
,
"component"
,
"Tabbar"
,
"use"
,
"uView"
,
"App"
,
"mpType"
,
"app"
,
"$mount"
],
"mappings"
:
";;;;;;;;;iDAAA;;AAE2D;;;AAG3D;;;AAGA,+E,ynCAPA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAIAC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B,C,oRAGAF,aAAIG,SAAJ,CAAc,QAAd,EAAuBC,MAAvB;AACAJ,aAAIK,GAAJ,CAAQC,gBAAR;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIT,YAAJ;AACLO,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAsnB,CAAgB,2oBAAG,EAAC,C;;;;;;;;;;;;ACC1oB;AACA;AACA;AACA,GAHA;AAIA;AACA;AACA,GANA;AAOA;AACA;AACA,GATA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAAqrC,CAAgB,kpCAAG,EAAC,C;;;;;;;;;;ACAzsC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"common/main.js"
,
"sourcesContent"
:[
"import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\r\n\r\n\r\nimport Vue from 'vue'\r\nVue.config.productionTip = false\r\nimport Tabbar from '@/components/Tabbar.vue'\r\nimport uView from \"uview-ui\";\r\nVue.component('Tabbar',Tabbar)\r\nVue.use(uView);\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n ...App\r\n})\r\napp.$mount()"
,
"var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\""
,
"<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\t// console.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\t// console.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\t// console.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import \"uview-ui/index.scss\";\r\n\t.flexJ {\r\n\t display: flex;\r\n\t justify-content: space-between;\r\n\t align-items: center;\r\n\t}\r\n\t.flexC {\r\n\t display: flex;\r\n\t justify-content: center;\r\n\t align-items: center;\r\n\t}\r\n\t.flexA {\r\n\t display: flex;\r\n\t // justify-content: center;\r\n\t align-items: center;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029104863\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/components/Tabbar.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?8ad0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?96da"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?53ce"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?bc36"
,
"uni-app:///components/Tabbar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?d2e5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?e19c"
],
"names"
:[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACa;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6B7oB;AACA,MADA,kBACA;AACA;AACA;AADA;AAGA,GALA;AAMA;AACA;AACA,kBADA,EADA,EANA;;;AAWA,SAXA,qBAWA;AACA;AACA,GAbA;AAcA;AACA,SADA,iBACA,SADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtBA,EAdA,E;;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAAq5B,CAAgB,+4BAAG,EAAC,C;;;;;;;;;;;ACAz6B;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"components/Tabbar.js"
,
"sourcesContent"
:[
"import { render, staticRenderFns, recyclableRender, components } from \"./Tabbar.vue?vue&type=template&id=343c9679&\"\nvar renderjs\nimport script from \"./Tabbar.vue?vue&type=script&lang=js&\"\nexport * from \"./Tabbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Tabbar.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/Tabbar.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=template&id=343c9679&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=script&lang=js&\""
,
"<template>\n\t<view>\n\t\t<view class=\"tab flexA\">\r\n\t\t\t<view class=\"item flexC\" @click=\"toTab(0)\">\r\n\t\t\t\t<view class=\"itemImg\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/home1.png\" alt=\"\" v-if=\"idx==0\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/home.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">首页</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item flexC\" @click=\"toTab(1)\">\r\n\t\t\t\t<view class=\"itemImg\" >\r\n\t\t\t\t\t<img src=\"/static/tabBar/message1.png\" alt=\"\" v-if=\"idx==1\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/message.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">助农咨询</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item flexC\" @click=\"toTab(2)\">\r\n\t\t\t\t<view class=\"itemImg\" >\r\n\t\t\t\t\t<img src=\"/static/tabBar/mine1.png\" alt=\"\" v-if=\"idx==2\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/mine.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">个人中心</view>\r\n\t\t\t</view>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t// index:0\n\t\t\t};\n\t\t},\r\n\t\tprops:{\r\n\t\t idx:{ // 当前高亮的索引\r\n\t\t type:Number \r\n\t\t },\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// console.log('当前页面',idx);\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttoTab(toggleIdx) {\r\n\t\t\t\tconsole.log(toggleIdx);\r\n\t\t\t\tif(this.index == toggleIdx) return\r\n\t\t\t\t// if(this.idx==0) {\r\n\t\t\t\t// \tuni.reLaunch({\r\n\t\t\t\t// \t\turl:'/pages/index/index'\r\n\t\t\t\t// \t})\r\n\t\t\t\t// }\r\n\t\t\t\t// if(this.idx==1){\r\n\t\t\t\t// \tuni.reLaunch({\r\n\t\t\t\t// \t\turl:'/pages/message/index'\r\n\t\t\t\t// \t})\r\n\t\t\t\t// }\r\n\t\t\t\t// if(this.idx==2){\r\n\t\t\t\t// \tuni.reLaunch({\r\n\t\t\t\t// \t\turl:'/pages/mine/index'\r\n\t\t\t\t// \t})\r\n\t\t\t\t// }\r\n\t\t\t\tif(toggleIdx==0) return uni.switchTab({url:'/pages/index/index'})\r\n\t\t\t\tif(toggleIdx==1) return uni.switchTab({url:'/pages/message/index'})\r\n\t\t\t\tif(toggleIdx==2) return uni.switchTab({url:'/pages/mine/index'})\r\n\t\t\t}\r\n\t\t},\n\t}\n</script>\n\n<style>\n.tab {\r\n\twidth: 100%;\r\n\theight: 143rpx;\r\n\tbackground-color: #fff;\r\n\tposition: fixed;\r\n\tright: 0;\r\n\tbottom: 0;\r\n}\r\n.item {\r\n\twidth: 33%;\r\n\theight: 100%;\r\n\tflex-direction: column;\r\n\tfont-size: 18.75rpx;\r\n\tcolor: #5D5D5D;\r\n}\r\n.itemImg>img {\r\n\twidth: 48rpx;\r\n\theight: 48rpx;\r\n\topacity: 1;\r\n}\r\n.itemImgB>img {\r\n\twidth: 69.44rpx;\r\n\theight: 69.44rpx;\r\n}\n</style>"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=style&index=0&lang=css&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991655504\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?8ad0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?96da"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?53ce"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?bc36"
,
"uni-app:///components/Tabbar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?d2e5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/Tabbar.vue?e19c"
],
"names"
:[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACa;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6B7oB;AACA,MADA,kBACA;AACA;AACA;AADA;AAGA,GALA;AAMA;AACA;AACA,kBADA,EADA,EANA;;;AAWA,SAXA,qBAWA;AACA;AACA,GAbA;AAcA;AACA,SADA,iBACA,SADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtBA,EAdA,E;;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAAq5B,CAAgB,+4BAAG,EAAC,C;;;;;;;;;;;ACAz6B;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"components/Tabbar.js"
,
"sourcesContent"
:[
"import { render, staticRenderFns, recyclableRender, components } from \"./Tabbar.vue?vue&type=template&id=343c9679&\"\nvar renderjs\nimport script from \"./Tabbar.vue?vue&type=script&lang=js&\"\nexport * from \"./Tabbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Tabbar.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/Tabbar.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=template&id=343c9679&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=script&lang=js&\""
,
"<template>\n\t<view>\n\t\t<view class=\"tab flexA\">\r\n\t\t\t<view class=\"item flexC\" @click=\"toTab(0)\">\r\n\t\t\t\t<view class=\"itemImg\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/home1.png\" alt=\"\" v-if=\"idx==0\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/home.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">首页</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item flexC\" @click=\"toTab(1)\">\r\n\t\t\t\t<view class=\"itemImg\" >\r\n\t\t\t\t\t<img src=\"/static/tabBar/message1.png\" alt=\"\" v-if=\"idx==1\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/message.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">助农咨询</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item flexC\" @click=\"toTab(2)\">\r\n\t\t\t\t<view class=\"itemImg\" >\r\n\t\t\t\t\t<img src=\"/static/tabBar/mine1.png\" alt=\"\" v-if=\"idx==2\">\r\n\t\t\t\t\t<img src=\"/static/tabBar/mine.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">个人中心</view>\r\n\t\t\t</view>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t// index:0\n\t\t\t};\n\t\t},\r\n\t\tprops:{\r\n\t\t idx:{ // 当前高亮的索引\r\n\t\t type:Number \r\n\t\t },\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// console.log('当前页面',idx);\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttoTab(toggleIdx) {\r\n\t\t\t\tconsole.log(toggleIdx);\r\n\t\t\t\tif(this.index == toggleIdx) return\r\n\t\t\t\t// if(this.idx==0) {\r\n\t\t\t\t// \tuni.reLaunch({\r\n\t\t\t\t// \t\turl:'/pages/index/index'\r\n\t\t\t\t// \t})\r\n\t\t\t\t// }\r\n\t\t\t\t// if(this.idx==1){\r\n\t\t\t\t// \tuni.reLaunch({\r\n\t\t\t\t// \t\turl:'/pages/message/index'\r\n\t\t\t\t// \t})\r\n\t\t\t\t// }\r\n\t\t\t\t// if(this.idx==2){\r\n\t\t\t\t// \tuni.reLaunch({\r\n\t\t\t\t// \t\turl:'/pages/mine/index'\r\n\t\t\t\t// \t})\r\n\t\t\t\t// }\r\n\t\t\t\tif(toggleIdx==0) return uni.switchTab({url:'/pages/index/index'})\r\n\t\t\t\tif(toggleIdx==1) return uni.switchTab({url:'/pages/message/index'})\r\n\t\t\t\tif(toggleIdx==2) return uni.switchTab({url:'/pages/mine/index'})\r\n\t\t\t}\r\n\t\t},\n\t}\n</script>\n\n<style>\n.tab {\r\n\twidth: 100%;\r\n\theight: 143rpx;\r\n\tbackground-color: #fff;\r\n\tposition: fixed;\r\n\tright: 0;\r\n\tbottom: 0;\r\n}\r\n.item {\r\n\twidth: 33%;\r\n\theight: 100%;\r\n\tflex-direction: column;\r\n\tfont-size: 18.75rpx;\r\n\tcolor: #5D5D5D;\r\n}\r\n.itemImg>img {\r\n\twidth: 48rpx;\r\n\theight: 48rpx;\r\n\topacity: 1;\r\n}\r\n.itemImgB>img {\r\n\twidth: 69.44rpx;\r\n\theight: 69.44rpx;\r\n}\n</style>"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=style&index=0&lang=css&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029054612\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?c5c3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?aec3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?bef7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?38ef"
,
"uni-app:///components/ren-dropdown-filter/ren-dropdown-filter.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?6281"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?9010"
],
"names"
:[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA4I;AAC5I;AACuE;AACL;AACsC;;;AAGxG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,0GAAM;AACR,EAAE,mHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsoB,CAAgB,2pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8B1pB;gBACA;AACA;AACA;AACA,kBADA;AAEA,kBAFA,EADA;;AAKA;AACA,kBADA;AAEA,sDAFA,EALA;;AASA;AACA,mBADA;AAEA,oBAFA,EATA;;AAaA;AACA;AACA,iBAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAXA,KAbA;AA0BA;AACA;AACA,iBAFA;AAGA;AACA;AACA,OALA,EA1BA,EADA;;;AAmCA,MAnCA,kBAmCA;AACA;AACA,iBADA;AAEA,sBAFA;AAGA,qBAHA;AAIA,kBAJA;AAKA,qBALA;AAMA,kBANA,CAMA;AANA;AAQA,GA5CA;AA6CA,SA7CA,qBA6CA;AACA;AACA;AACA;AACA,GAjDA;AAkDA,SAlDA,qBAkDA;AACA;AACA,GApDA;AAqDA;AACA,cADA,wBACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA,OALA;AAMA;AACA;AACA;AACA;AACA,KAZA;AAaA,YAbA,oBAaA,KAbA,EAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KArBA;AAsBA,aAtBA,qBAsBA,KAtBA,EAsBA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA;AACA;AACA,OAHA;AAIA;AACA;AACA,KAnCA;AAoCA,aApCA,uBAoCA;AACA;AACA,KAtCA;AAuCA,WAvCA,qBAuCA;AACA;AACA;AACA;AACA,KA3CA;AA4CA,cA5CA,sBA4CA,CA5CA,EA4CA;AACA;AACA;AACA;AACA,KAhDA;AAiDA,WAjDA,qBAiDA,EAjDA,EArDA,E;;;;;;;;;;;;AC/BA;AAAA;AAAA;AAAA;AAA6tC,CAAgB,0rCAAG,EAAC,C;;;;;;;;;;;ACAjvC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"components/ren-dropdown-filter/ren-dropdown-filter.js"
,
"sourcesContent"
:[
"import { render, staticRenderFns, recyclableRender, components } from \"./ren-dropdown-filter.vue?vue&type=template&id=c53c40ec&scoped=true&\"\nvar renderjs\nimport script from \"./ren-dropdown-filter.vue?vue&type=script&lang=js&\"\nexport * from \"./ren-dropdown-filter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ren-dropdown-filter.vue?vue&type=style&index=0&id=c53c40ec&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c53c40ec\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/ren-dropdown-filter/ren-dropdown-filter.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=template&id=c53c40ec&scoped=true&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view class=\"filter-wrapper\" :style=\"{ height: height + 'rpx', top: top,'border-top':border?'1rpx solid #f2f2f2':'none' }\" @touchmove.stop.prevent=\"discard\">\r\n <view class=\"inner-wrapper\">\r\n <view class=\"mask\" :class=\"showMask ? 'show' : 'hide'\" @tap=\"tapMask\"></view>\r\n <view class=\"navs\">\r\n <view class=\"c-flex-align\" :class=\"{ 'c-flex-center': index > 0, actNav: index === actNav }\" v-for=\"(item, index) in navData\" :key=\"index\" @click=\"navClick(index)\">\r\n <view v-for=\"(child, childx) in item\" :key=\"childx\" v-if=\"child.select\">{{ child.text }}</view>\r\n <image src=\"https://i.loli.net/2020/07/15/QsHxlr1gbSImvWt.png\" mode=\"\" class=\"icon-triangle\" v-if=\"index === actNav\"></image>\r\n <image src=\"https://i.loli.net/2020/07/15/xjVSvzWcH9NO7al.png\" mode=\"\" class=\"icon-triangle\" v-else></image>\r\n </view>\r\n\r\n <!-- <view class=\"date-wrapper\">\r\n <picker mode=\"date\" @change=\"handleDate\">\r\n <view class=\"date c-flex-align\" :style=\"{ height: height + 'rpx' }\" @click=\"dateClick\">\r\n <view>{{ selDate }}</view>\r\n <image src=\"https://i.loli.net/2020/07/15/xjVSvzWcH9NO7al.png\" mode=\"\" class=\"icon-triangle\"></image>\r\n </view>\r\n </picker>\r\n </view> -->\r\n </view>\r\n <scroll-view scroll-y=\"true\" class=\"popup\" :class=\"popupShow ? 'popupShow' : ''\">\r\n <view class=\"item-opt c-flex-align\" :class=\"item.select ? 'actOpt' : ''\" v-for=\"(item, index) in navData[actNav]\" :key=\"index\" @click=\"handleOpt(index)\">\r\n {{ item.text }}\r\n </view>\r\n </scroll-view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n// import { getCurDateTime } from '@/libs/utils.js';\r\nexport default {\r\n props: {\r\n height: {\r\n type: Number,\r\n default: 108\r\n },\r\n top: {\r\n type: String,\r\n default: 'calc(var(--window-statsu-bar) + 44px)'\r\n },\r\n border: {\r\n type: Boolean,\r\n default: false\r\n },\r\n filterData: {\r\n //必填\r\n type: Array,\r\n default: () => {\r\n return [];\r\n }\r\n // default: () => {\r\n // return [\r\n // [{ text: '全部状态', value: '' }, { text: '状态1', value: 1 }, { text: '状态2', value: 2 }, { text: '状态3', value: 3 }],\r\n // [{ text: '全部类型', value: '' }, { text: '类型1', value: 1 }, { text: '类型2', value: 2 }, { text: '类型3', value: 3 }]\r\n // ];\r\n // }\r\n },\r\n defaultIndex: {\r\n //默认选中条件索引,超出一类时必填\r\n type: Array,\r\n default: () => {\r\n return [0];\r\n }\r\n }\r\n },\r\n data() {\r\n return {\r\n navData: [],\r\n popupShow: false,\r\n showMask: false,\r\n actNav: null,\r\n selDate: '选择日期',\r\n selIndex: [] //选中条件索引\r\n };\r\n },\r\n created() {\r\n this.navData = this.filterData;\r\n this.selIndex = this.defaultIndex;\r\n this.keepStatus();\r\n },\r\n mounted() {\r\n // this.selDate = getCurDateTime().formatDate;\r\n },\r\n methods: {\r\n keepStatus() {\r\n this.navData.forEach(itemnavData => {\r\n itemnavData.map(child => {\r\n child.select = false;\r\n });\r\n return itemnavData;\r\n });\r\n for (let i = 0; i < this.selIndex.length; i++) {\r\n let selindex = this.selIndex[i];\r\n this.navData[i][selindex].select = true;\r\n }\r\n },\r\n navClick(index) {\r\n if (index === this.actNav) {\r\n this.tapMask();\r\n return;\r\n }\r\n this.popupShow = true;\r\n this.showMask = true;\r\n this.actNav = index;\r\n },\r\n handleOpt(index) {\r\n this.selIndex[this.actNav] = index;\r\n this.keepStatus();\r\n setTimeout(() => {\r\n this.tapMask();\r\n }, 100);\r\n let data = [];\r\n let res = this.navData.forEach(item => {\r\n let sel = item.filter(child => child.select);\r\n data.push(sel);\r\n });\r\n console.log(data);\r\n this.$emit('onSelected', data);\r\n },\r\n dateClick() {\r\n this.tapMask();\r\n },\r\n tapMask() {\r\n this.showMask = false;\r\n this.popupShow = false;\r\n this.actNav = null;\r\n },\r\n handleDate(e) {\r\n let d = e.detail.value;\r\n this.selDate = d;\r\n this.$emit('dateChange', d);\r\n },\r\n discard() {}\r\n }\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\npage {\r\n font-size: 24rpx;\r\n\tcolor: #41ABAC;\r\n}\r\n.c-flex-align {\r\n display: flex;\r\n align-items: center;\r\n}\r\n.c-flex-center {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-direction: column;\r\n}\r\n.filter-wrapper {\r\n position: absolute;\r\n left: 0;\r\n width: 750rpx;\r\n z-index: 100;\r\n .inner-wrapper {\r\n // position: relative;\r\n .navs {\r\n position: relative;\r\n // height: 110rpx;\r\n padding: 0 40rpx;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n // background-color: #fff;\r\n border-bottom: 2rpx solid #f5f6f9;\r\n color: #8b9aae;\r\n z-index: 999;\r\n box-sizing: border-box;\r\n\t\t\tpadding-left: 32rpx;\r\n & > view {\r\n flex: 1;\r\n\t\t\t\t// width: 222rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\theight: 48rpx;\r\n\t\t\t\tborder-radius: 52rpx;\r\n\t\t\t\tbackground: rgba(255,255,255,1);\r\n height: 100%;\r\n flex-direction: row;\r\n z-index: 999;\r\n\t\t\t\tmargin-right: 26rpx;\r\n }\r\n\t\t\t& > view:last-child {\r\n\t\t\t\tmargin-right: 0rpx;\r\n\t\t\t}\r\n .date {\r\n justify-content: flex-end;\r\n }\r\n .actNav {\r\n color: #4d7df9;\r\n font-weight: bold;\r\n }\r\n }\r\n .mask {\r\n z-index: 666;\r\n position: fixed;\r\n top: calc(var(--status-bar-height) + 44px);\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: rgba(0, 0, 0, 0);\r\n transition: background-color 0.15s linear;\r\n &.show {\r\n background-color: rgba(0, 0, 0, 0.4);\r\n }\r\n &.hide {\r\n display: none;\r\n }\r\n }\r\n .popup {\r\n position: relative;\r\n\t\t\t// top: -40rpx;\r\n\t\t\t\r\n // max-height: 500rpx;\r\n\t\t\theight: 100%;\r\n background-color: #fff;\r\n // border-bottom-left-radius: 20rpx;\r\n border-bottom-right-radius: 20rpx;\r\n overflow: scroll;\r\n z-index: 999;\r\n transition: all 1s linear;\r\n opacity: 0;\r\n display: none;\r\n .item-opt {\r\n height: 50rpx;\r\n padding: 0 40rpx;\r\n color: #8b9aae;\r\n border-bottom: 2rpx solid #f5f6f9;\r\n }\r\n .actOpt {\r\n color: #4d7df9;\r\n font-weight: bold;\r\n position: relative;\r\n &::after {\r\n content: '✓';\r\n font-weight: bold;\r\n font-size: 36rpx;\r\n position: absolute;\r\n right: 40rpx;\r\n }\r\n }\r\n }\r\n .popupShow {\r\n display: block;\r\n opacity: 1;\r\n }\r\n }\r\n\r\n .icon-triangle {\r\n width: 0rpx;\r\n height: 0rpx;\r\n margin-left: 10rpx;\r\n }\r\n}\r\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=style&index=0&id=c53c40ec&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=style&index=0&id=c53c40ec&lang=scss&scoped=true&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658939\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?aec3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?bef7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?38ef"
,
"uni-app:///components/ren-dropdown-filter/ren-dropdown-filter.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?6281"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/components/ren-dropdown-filter/ren-dropdown-filter.vue?9010"
],
"names"
:[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA4I;AAC5I;AACuE;AACL;AACsC;;;AAGxG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,0GAAM;AACR,EAAE,mHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsoB,CAAgB,2pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiC1pB;gBACA;AACA;AACA;AACA,kBADA;AAEA,kBAFA,EADA;;AAKA;AACA,kBADA;AAEA,sDAFA,EALA;;AASA;AACA,mBADA;AAEA,oBAFA,EATA;;AAaA;AACA;AACA,iBAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAXA,KAbA;AA0BA;AACA;AACA,iBAFA;AAGA;AACA;AACA,OALA,EA1BA,EADA;;;AAmCA,MAnCA,kBAmCA;AACA;AACA,iBADA;AAEA,sBAFA;AAGA,qBAHA;AAIA,kBAJA;AAKA,qBALA;AAMA,kBANA,CAMA;AANA;AAQA,GA5CA;AA6CA,SA7CA,qBA6CA;AACA;AACA;AACA;AACA,GAjDA;AAkDA,SAlDA,qBAkDA;AACA;AACA,GApDA;AAqDA;AACA,cADA,wBACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA,OALA;AAMA;AACA;AACA;AACA;AACA,KAZA;AAaA,YAbA,oBAaA,KAbA,EAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtBA;AAuBA,aAvBA,qBAuBA,KAvBA,EAuBA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA;AACA;AACA;AACA;AACA,OAHA;AAIA;AACA;AACA,KApCA;AAqCA,aArCA,uBAqCA;AACA;AACA,KAvCA;AAwCA,WAxCA,qBAwCA;AACA;AACA;AACA;AACA,KA5CA;AA6CA,cA7CA,sBA6CA,CA7CA,EA6CA;AACA;AACA;AACA;AACA,KAjDA;AAkDA,WAlDA,qBAkDA,EAlDA,EArDA,E;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAA6tC,CAAgB,0rCAAG,EAAC,C;;;;;;;;;;;ACAjvC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"components/ren-dropdown-filter/ren-dropdown-filter.js"
,
"sourcesContent"
:[
"import { render, staticRenderFns, recyclableRender, components } from \"./ren-dropdown-filter.vue?vue&type=template&id=c53c40ec&scoped=true&\"\nvar renderjs\nimport script from \"./ren-dropdown-filter.vue?vue&type=script&lang=js&\"\nexport * from \"./ren-dropdown-filter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ren-dropdown-filter.vue?vue&type=style&index=0&id=c53c40ec&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c53c40ec\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/ren-dropdown-filter/ren-dropdown-filter.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=template&id=c53c40ec&scoped=true&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view class=\"filter-wrapper\" :style=\"{ height: height + 'rpx', top: top,'border-top':border?'1rpx solid #f2f2f2':'none' }\" @touchmove.stop.prevent=\"discard\">\r\n <view class=\"inner-wrapper\">\r\n <view class=\"mask\" :class=\"showMask ? 'show' : 'hide'\" @tap=\"tapMask\"></view>\r\n <view class=\"navs\">\r\n <view class=\"c-flex-align\" :class=\"{ 'c-flex-center': index > 0, actNav: index === actNav }\" v-for=\"(item, index) in navData\" :key=\"index\" @click=\"navClick(index)\">\r\n <view v-for=\"(child, childx) in item\" :key=\"childx\" v-if=\"child.select\">{{ child.text }}</view>\r\n\t\t\t\t\t<view class=\"\" v-if=\"index==2\">\r\n\t\t\t\t\t\t<image src=\"https://i.loli.net/2020/07/15/QsHxlr1gbSImvWt.png\" mode=\"\" class=\"icon-triangle\" v-if=\"index === actNav\"></image>\r\n\t\t\t\t\t\t<image src=\"https://i.loli.net/2020/07/15/xjVSvzWcH9NO7al.png\" mode=\"\" class=\"icon-triangle\" v-else></image>\r\n\t\t\t\t\t</view>\r\n \r\n </view>\r\n\r\n <!-- <view class=\"date-wrapper\">\r\n <picker mode=\"date\" @change=\"handleDate\">\r\n <view class=\"date c-flex-align\" :style=\"{ height: height + 'rpx' }\" @click=\"dateClick\">\r\n <view>{{ selDate }}</view>\r\n <image src=\"https://i.loli.net/2020/07/15/xjVSvzWcH9NO7al.png\" mode=\"\" class=\"icon-triangle\"></image>\r\n </view>\r\n </picker>\r\n </view> -->\r\n </view>\r\n <scroll-view scroll-y=\"true\" class=\"popup\" :class=\"popupShow ? 'popupShow' : ''\">\r\n <view class=\"item-opt c-flex-align\" :class=\"item.select ? 'actOpt' : ''\" v-for=\"(item, index) in navData[actNav]\" :key=\"index\" @click=\"handleOpt(index)\">\r\n {{ item.text }}\r\n </view>\r\n </scroll-view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n// import { getCurDateTime } from '@/libs/utils.js';\r\nexport default {\r\n props: {\r\n height: {\r\n type: Number,\r\n default: 108\r\n },\r\n top: {\r\n type: String,\r\n default: 'calc(var(--window-statsu-bar) + 44px)'\r\n },\r\n border: {\r\n type: Boolean,\r\n default: false\r\n },\r\n filterData: {\r\n //必填\r\n type: Array,\r\n default: () => {\r\n return [];\r\n }\r\n // default: () => {\r\n // return [\r\n // [{ text: '全部状态', value: '' }, { text: '状态1', value: 1 }, { text: '状态2', value: 2 }, { text: '状态3', value: 3 }],\r\n // [{ text: '全部类型', value: '' }, { text: '类型1', value: 1 }, { text: '类型2', value: 2 }, { text: '类型3', value: 3 }]\r\n // ];\r\n // }\r\n },\r\n defaultIndex: {\r\n //默认选中条件索引,超出一类时必填\r\n type: Array,\r\n default: () => {\r\n return [0];\r\n }\r\n }\r\n },\r\n data() {\r\n return {\r\n navData: [],\r\n popupShow: false,\r\n showMask: false,\r\n actNav: null,\r\n selDate: '选择日期',\r\n selIndex: [] //选中条件索引\r\n };\r\n },\r\n created() {\r\n this.navData = this.filterData;\r\n this.selIndex = this.defaultIndex;\r\n this.keepStatus();\r\n },\r\n mounted() {\r\n // this.selDate = getCurDateTime().formatDate;\r\n },\r\n methods: {\r\n keepStatus() {\r\n this.navData.forEach(itemnavData => {\r\n itemnavData.map(child => {\r\n child.select = false;\r\n });\r\n return itemnavData;\r\n });\r\n for (let i = 0; i < this.selIndex.length; i++) {\r\n let selindex = this.selIndex[i];\r\n this.navData[i][selindex].select = true;\r\n }\r\n },\r\n navClick(index) {\r\n\t\t\tconsole.log(index);\r\n if (index === this.actNav) {\r\n this.tapMask();\r\n return;\r\n }\r\n this.popupShow = true;\r\n this.showMask = true;\r\n this.actNav = index;\r\n },\r\n handleOpt(index) {\r\n this.selIndex[this.actNav] = index;\r\n this.keepStatus();\r\n setTimeout(() => {\r\n this.tapMask();\r\n }, 100);\r\n let data = [];\r\n let res = this.navData.forEach(item => {\r\n let sel = item.filter(child => child.select);\r\n data.push(sel);\r\n });\r\n console.log(data);\r\n this.$emit('onSelected', data);\r\n },\r\n dateClick() {\r\n this.tapMask();\r\n },\r\n tapMask() {\r\n this.showMask = false;\r\n this.popupShow = false;\r\n this.actNav = null;\r\n },\r\n handleDate(e) {\r\n let d = e.detail.value;\r\n this.selDate = d;\r\n this.$emit('dateChange', d);\r\n },\r\n discard() {}\r\n }\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\npage {\r\n font-size: 24rpx;\r\n\tcolor: #41ABAC;\r\n}\r\n.c-flex-align {\r\n display: flex;\r\n align-items: center;\r\n}\r\n.c-flex-center {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-direction: column;\r\n}\r\n.filter-wrapper {\r\n position: absolute;\r\n left: 0;\r\n width: 750rpx;\r\n z-index: 100;\r\n .inner-wrapper {\r\n // position: relative;\r\n .navs {\r\n position: relative;\r\n // height: 110rpx;\r\n padding: 0 40rpx;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n // background-color: #fff;\r\n border-bottom: 2rpx solid #f5f6f9;\r\n color: #8b9aae;\r\n z-index: 999;\r\n box-sizing: border-box;\r\n\t\t\tpadding-left: 32rpx;\r\n & > view {\r\n flex: 1;\r\n\t\t\t\t// width: 222rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\theight: 48rpx;\r\n\t\t\t\tborder-radius: 52rpx;\r\n\t\t\t\tbackground: rgba(255,255,255,1);\r\n height: 100%;\r\n flex-direction: row;\r\n z-index: 999;\r\n\t\t\t\tmargin-right: 26rpx;\r\n }\r\n\t\t\t& > view:last-child {\r\n\t\t\t\tmargin-right: 0rpx;\r\n\t\t\t}\r\n .date {\r\n justify-content: flex-end;\r\n }\r\n .actNav {\r\n color: #4d7df9;\r\n font-weight: bold;\r\n }\r\n }\r\n .mask {\r\n // z-index: 666;\r\n // position: fixed;\r\n top: calc(var(--status-bar-height) + 44px);\r\n // left: 0;\r\n // right: 0;\r\n // bottom: 0;\r\n background-color: rgba(0, 0, 0, 0);\r\n transition: background-color 0.15s linear;\r\n &.show {\r\n background-color: rgba(0, 0, 0, 0.4);\r\n }\r\n &.hide {\r\n display: none;\r\n }\r\n }\r\n .popup {\r\n\t\t\twidth: 300rpx;\r\n\t\t\tpadding-top: 10rpx;\r\n\t\t\tpadding-left: 40rpx;\r\n position: relative;\r\n\t\t\t// top: -40rpx;\r\n // max-height: 500rpx;\r\n\t\t\theight: 100%;\r\n background-color: #fff;\r\n // border-bottom-left-radius: 20rpx;\r\n border-bottom-right-radius: 20rpx;\r\n overflow: scroll;\r\n z-index: 999;\r\n transition: all 1s linear;\r\n opacity: 0;\r\n display: none;\r\n .item-opt {\r\n height: 50rpx;\r\n padding: 0 40rpx;\r\n color: #8b9aae;\r\n border-bottom: 2rpx solid #f5f6f9;\r\n }\r\n .actOpt {\r\n color: #4d7df9;\r\n font-weight: bold;\r\n position: relative;\r\n &::after {\r\n content: '✓';\r\n font-weight: bold;\r\n font-size: 36rpx;\r\n position: absolute;\r\n right: 40rpx;\r\n }\r\n }\r\n }\r\n .popupShow {\r\n display: block;\r\n opacity: 1;\r\n }\r\n }\r\n\r\n .icon-triangle {\r\n width: 12rpx;\r\n height: 12rpx;\r\n margin-left: 10rpx;\r\n }\r\n}\r\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=style&index=0&id=c53c40ec&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ren-dropdown-filter.vue?vue&type=style&index=0&id=c53c40ec&lang=scss&scoped=true&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663053649816\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/heYang/pxing-picker/pxing-picker.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?9ba4"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?e1d0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?2ba9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?6363"
,
"uni-app:///heYang/pxing-picker/pxing-picker.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?98b8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?95eb"
],
"names"
:[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;AACc;;;AAGzE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,opBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiCnpB;AACA,qBADA;AAEA;AACA;AACA,kBADA,EADA;;AAIA;AACA,iBADA;AAEA,iBAFA,EAJA;;AAQA;AACA,iBADA;AAEA,iBAFA,EARA,EAFA;;;AAeA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA,CAFA,EAEA;AACA;AACA,OAJA,EADA;;AAOA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA,CAFA,EAEA;AACA;AACA,OAJA,EAPA;;AAaA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA,CAFA,EAEA;AACA;AACA,OAJA,EAbA,EAfA;;;AAmCA,MAnCA,kBAmCA;AACA;AACA,mBADA;AAEA,gBAFA;AAGA,eAHA;AAIA,oBAJA;AAKA,yCALA;;AAOA,GA3CA;AA4CA;AACA,QADA,kBACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,6EADA;AAEA,6EAFA;;AAIA;AACA,OAVA,MAUA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,6EADA;AAEA,6EAFA;;AAIA;AACA,qGADA;AAEA,qGAFA;;AAIA;AACA,OAdA,MAcA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,6EADA;AAEA,6EAFA;;AAIA;AACA,qGADA;AAEA,qGAFA;;AAIA;AACA,6HADA;AAEA,6HAFA;;AAIA;AACA;AACA;AACA;AACA,KAzDA;AA0DA,QA1DA,kBA0DA;AACA;AACA,KA5DA;AA6DA,cA7DA,sBA6DA,CA7DA,EA6DA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OATA,MASA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,SAFA,MAEA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;;AAEA,KA7FA,EA5CA,E;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAA8rC,CAAgB,2pCAAG,EAAC,C;;;;;;;;;;;ACAltC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"heYang/pxing-picker/pxing-picker.js"
,
"sourcesContent"
:[
"import { render, staticRenderFns, recyclableRender, components } from \"./pxing-picker.vue?vue&type=template&id=ccafbb28&\"\nvar renderjs\nimport script from \"./pxing-picker.vue?vue&type=script&lang=js&\"\nexport * from \"./pxing-picker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pxing-picker.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"heYang/pxing-picker/pxing-picker.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=template&id=ccafbb28&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"con\">\r\n\t\t<view v-if=\"isshow\" class=\"mypicker\" @click=\"hide\"></view>\r\n\t\t<view class=\"btn\" v-if=\"isshow\">\r\n\t\t\t<view class=\"btn_left\">\r\n\t\t\t\t<text class=\"bl_text\" @click=\"hide\">取消</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn_center\">\r\n\t\t\t\t<text class=\"bl_text\" @click=\"select\">请选着预购产品</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn_right\">\r\n\t\t\t\t<text class=\"br_text\" @click=\"chooseSure\">确认</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<picker-view v-if=\"isshow\" :value=\"value\" @change=\"bindchange\" class=\"picker-view\">\r\n\t\t\t<picker-view-column>\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t\t<picker-view-column v-if=\"totalLength!=1\">\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList[value[0]].children\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t\t<picker-view-column v-if=\"totalLength!=1&&totalLength!=2\">\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList[value[0]].children[value[1]].children\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t\t<picker-view-column v-if=\"totalLength==4\">\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList[value[0]].children[value[1]].children[value[2]].children\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t</picker-view>\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname:'pxingPicker',\r\n\t\tprops:{\r\n\t\t\tdeepLength:{ //联动层级\r\n\t\t\t\ttype: Number\r\n\t\t\t},\r\n\t\t\tchooseList:{ //选择数据\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: []\r\n\t\t\t},\r\n\t\t\tdefaultChooseList:{ //默认选择\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: []\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch:{\r\n\t\t\tchooseList:{\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n,o){\r\n\t\t\t\t\tthis.selectList = n;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdefaultChooseList:{\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n,o){\r\n\t\t\t\t\tthis.value = n;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdeepLength:{\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n,o){\r\n\t\t\t\t\tthis.totalLength = n;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tisshow: false,\r\n\t\t\t\tchoose: [],\r\n\t\t\t\tvalue: [],\r\n\t\t\t\tselectList: [],\r\n\t\t\t\ttotalLength: this.$props.deepLength\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tshow(){\r\n\t\t\t\tthis.isshow = true;\r\n\t\t\t},\r\n\t\t\tchooseSure(){\r\n\t\t\t\tthis.choose = [];\r\n\t\t\t\tif(this.totalLength==1){\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone);\r\n\t\t\t\t}else if(this.totalLength==2){\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar temptwo = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone,temptwo);\r\n\t\t\t\t}else if(this.totalLength==3){\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar temptwo = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar tempthree = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone,temptwo,tempthree);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar temptwo = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar tempthree = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar tempfour = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].children[this.value[3]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].children[this.value[3]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone,temptwo,tempthree,tempfour);\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('confirm',this.choose);\r\n\t\t\t\tthis.isshow = false;\r\n\t\t\t},\r\n\t\t\thide(){\r\n\t\t\t\tthis.isshow = false;\r\n\t\t\t},\r\n\t\t\tbindchange(e){\r\n\t\t\t\tif(this.totalLength==1){\r\n\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t}else if(this.totalLength==2){\r\n\t\t\t\t\tvar templist = e.detail.value;\r\n\t\t\t\t\tif(this.value[0]!=templist[0]){\r\n\t\t\t\t\t\tthis.value = [templist[0],0];\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(this.totalLength==3){\r\n\t\t\t\t\tvar templist = e.detail.value;\r\n\t\t\t\t\tif(this.value[0]!=templist[0]){\r\n\t\t\t\t\t\tthis.value = [templist[0],0,0];\r\n\t\t\t\t\t}else if(this.value[1]!=templist[1]){\r\n\t\t\t\t\t\tthis.value = [templist[0],templist[1],0];\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(this.totalLength==4){\r\n\t\t\t\t\tvar templist = e.detail.value;\r\n\t\t\t\t\tif(this.value[0]!=templist[0]){\r\n\t\t\t\t\t\tthis.value = [templist[0],0,0,0];\r\n\t\t\t\t\t}else if(this.value[1]!=templist[1]){\r\n\t\t\t\t\t\tthis.value = [templist[0],templist[1],0,0];\r\n\t\t\t\t\t}else if(this.value[2]!=templist[2]){\r\n\t\t\t\t\t\tthis.value = [templist[0],templist[1],templist[2],0];\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.con{\r\n\t\twidth: 100%;\r\n\t\t.c_label{\r\n\t\t\tpadding-top: 40upx;\r\n\t\t\twidth: 96%;\r\n\t\t\tmargin: 0 auto;\r\n\t\t\theight: 60upx;\r\n\t\t\tline-height: 60upx;\r\n\t\t\tletter-spacing: 2upx;\r\n\t\t\tfont-size: 28upx;\r\n\t\t\tcolor: #222;\r\n\t\t\tfont-weight: bold;\r\n\t\t}\r\n\t\t.c_input{\r\n\t\t\twidth: 96%;\r\n\t\t\tmargin: 8upx auto 0;\r\n\t\t\theight: 80upx;\r\n\t\t\tbackground-color: #f6f6f6;\r\n\t\t\tborder-radius: 10upx;\r\n\t\t\t.ci_i{\r\n\t\t\t\twidth: 96%;\r\n\t\t\t\tpadding: 0 2%;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tline-height: 80upx;\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.mypicker{\r\n\t\t\twidth: 100vw;\r\n\t\t\theight: 100vh;\r\n\t\t\tbackground-color: #666;\r\n\t\t\topacity: 0.5;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\t\t}\r\n\t\t.btn{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 80upx;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tbottom: 460upx;\r\n\t\t\tposition: absolute;\r\n\t\t\tborder-bottom: 1px solid #f6f6f6;\r\n\t\t\tdisplay: flex;\r\n\t\t\tborder-radius: 16upx 16upx 0 0;\r\n\t\t\t.btn_left{\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\tmargin-left: 5%;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tline-height: 80upx;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\t.bl_text{\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\tcolor: #999;\r\n\t\t\t\t\tletter-spacing: 6upx;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.btn_center{\r\n\t\t\t\t color: rgba(0,0,0,0.9);\r\n\t\t\t\t font-size: 32rpx;\r\n\t\t\t\t font-weight: 700;\r\n\t\t\t\t margin-top: 20rpx;\r\n\t\t\t}\r\n\t\t\t.btn_right{\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\tmargin-right: 5%;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tline-height: 80upx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t\t.br_text{\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\tcolor: #62CDCE;\r\n\t\t\t\t\tletter-spacing: 6upx;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.picker-view{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 460upx;\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 0;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\t.item{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\theight: 100upx;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t\tletter-spacing: 2upx;\r\n\t\t\t}\r\n\t\t}\r\n\t\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658924\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?9ba4"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?e1d0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?2ba9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?6363"
,
"uni-app:///heYang/pxing-picker/pxing-picker.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?98b8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/heYang/pxing-picker/pxing-picker.vue?95eb"
],
"names"
:[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyH;AACzH;AACgE;AACL;AACc;;;AAGzE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,uFAAM;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,opBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiCnpB;AACA,qBADA;AAEA;AACA;AACA,kBADA,EADA;;AAIA;AACA,iBADA;AAEA,iBAFA,EAJA;;AAQA;AACA,iBADA;AAEA,iBAFA,EARA,EAFA;;;AAeA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA,CAFA,EAEA;AACA;AACA,OAJA,EADA;;AAOA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA,CAFA,EAEA;AACA;AACA,OAJA,EAPA;;AAaA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA,CAFA,EAEA;AACA;AACA,OAJA,EAbA,EAfA;;;AAmCA,MAnCA,kBAmCA;AACA;AACA,mBADA;AAEA,gBAFA;AAGA,eAHA;AAIA,oBAJA;AAKA,yCALA;;AAOA,GA3CA;AA4CA;AACA,QADA,kBACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,6EADA;AAEA,6EAFA;;AAIA;AACA,OAVA,MAUA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,6EADA;AAEA,6EAFA;;AAIA;AACA,qGADA;AAEA,qGAFA;;AAIA;AACA,OAdA,MAcA;AACA;AACA,qDADA;AAEA,qDAFA;;AAIA;AACA,6EADA;AAEA,6EAFA;;AAIA;AACA,qGADA;AAEA,qGAFA;;AAIA;AACA,6HADA;AAEA,6HAFA;;AAIA;AACA;AACA;AACA;AACA,KAzDA;AA0DA,QA1DA,kBA0DA;AACA;AACA,KA5DA;AA6DA,cA7DA,sBA6DA,CA7DA,EA6DA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OATA,MASA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,SAFA,MAEA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;;AAEA,KA7FA,EA5CA,E;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAA8rC,CAAgB,2pCAAG,EAAC,C;;;;;;;;;;;ACAltC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"heYang/pxing-picker/pxing-picker.js"
,
"sourcesContent"
:[
"import { render, staticRenderFns, recyclableRender, components } from \"./pxing-picker.vue?vue&type=template&id=ccafbb28&\"\nvar renderjs\nimport script from \"./pxing-picker.vue?vue&type=script&lang=js&\"\nexport * from \"./pxing-picker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pxing-picker.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"heYang/pxing-picker/pxing-picker.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=template&id=ccafbb28&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"con\">\r\n\t\t<view v-if=\"isshow\" class=\"mypicker\" @click=\"hide\"></view>\r\n\t\t<view class=\"btn\" v-if=\"isshow\">\r\n\t\t\t<view class=\"btn_left\">\r\n\t\t\t\t<text class=\"bl_text\" @click=\"hide\">取消</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn_center\">\r\n\t\t\t\t<text class=\"bl_text\" @click=\"select\">请选着预购产品</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn_right\">\r\n\t\t\t\t<text class=\"br_text\" @click=\"chooseSure\">确认</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<picker-view v-if=\"isshow\" :value=\"value\" @change=\"bindchange\" class=\"picker-view\">\r\n\t\t\t<picker-view-column>\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t\t<picker-view-column v-if=\"totalLength!=1\">\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList[value[0]].children\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t\t<picker-view-column v-if=\"totalLength!=1&&totalLength!=2\">\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList[value[0]].children[value[1]].children\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t\t<picker-view-column v-if=\"totalLength==4\">\r\n\t\t\t\t<view class=\"item\" v-for=\"(item,index) in selectList[value[0]].children[value[1]].children[value[2]].children\" :key=\"index\">{{item.label}}</view>\r\n\t\t\t</picker-view-column>\r\n\t\t</picker-view>\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname:'pxingPicker',\r\n\t\tprops:{\r\n\t\t\tdeepLength:{ //联动层级\r\n\t\t\t\ttype: Number\r\n\t\t\t},\r\n\t\t\tchooseList:{ //选择数据\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: []\r\n\t\t\t},\r\n\t\t\tdefaultChooseList:{ //默认选择\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault: []\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch:{\r\n\t\t\tchooseList:{\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n,o){\r\n\t\t\t\t\tthis.selectList = n;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdefaultChooseList:{\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n,o){\r\n\t\t\t\t\tthis.value = n;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdeepLength:{\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n,o){\r\n\t\t\t\t\tthis.totalLength = n;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tisshow: false,\r\n\t\t\t\tchoose: [],\r\n\t\t\t\tvalue: [],\r\n\t\t\t\tselectList: [],\r\n\t\t\t\ttotalLength: this.$props.deepLength\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tshow(){\r\n\t\t\t\tthis.isshow = true;\r\n\t\t\t},\r\n\t\t\tchooseSure(){\r\n\t\t\t\tthis.choose = [];\r\n\t\t\t\tif(this.totalLength==1){\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone);\r\n\t\t\t\t}else if(this.totalLength==2){\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar temptwo = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone,temptwo);\r\n\t\t\t\t}else if(this.totalLength==3){\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar temptwo = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar tempthree = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone,temptwo,tempthree);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tvar tempone = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar temptwo = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar tempthree = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar tempfour = {\r\n\t\t\t\t\t\tvalue: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].children[this.value[3]].value,\r\n\t\t\t\t\t\tlabel: this.selectList[this.value[0]].children[this.value[1]].children[this.value[2]].children[this.value[3]].label\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.choose.push(tempone,temptwo,tempthree,tempfour);\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('confirm',this.choose);\r\n\t\t\t\tthis.isshow = false;\r\n\t\t\t},\r\n\t\t\thide(){\r\n\t\t\t\tthis.isshow = false;\r\n\t\t\t},\r\n\t\t\tbindchange(e){\r\n\t\t\t\tif(this.totalLength==1){\r\n\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t}else if(this.totalLength==2){\r\n\t\t\t\t\tvar templist = e.detail.value;\r\n\t\t\t\t\tif(this.value[0]!=templist[0]){\r\n\t\t\t\t\t\tthis.value = [templist[0],0];\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(this.totalLength==3){\r\n\t\t\t\t\tvar templist = e.detail.value;\r\n\t\t\t\t\tif(this.value[0]!=templist[0]){\r\n\t\t\t\t\t\tthis.value = [templist[0],0,0];\r\n\t\t\t\t\t}else if(this.value[1]!=templist[1]){\r\n\t\t\t\t\t\tthis.value = [templist[0],templist[1],0];\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(this.totalLength==4){\r\n\t\t\t\t\tvar templist = e.detail.value;\r\n\t\t\t\t\tif(this.value[0]!=templist[0]){\r\n\t\t\t\t\t\tthis.value = [templist[0],0,0,0];\r\n\t\t\t\t\t}else if(this.value[1]!=templist[1]){\r\n\t\t\t\t\t\tthis.value = [templist[0],templist[1],0,0];\r\n\t\t\t\t\t}else if(this.value[2]!=templist[2]){\r\n\t\t\t\t\t\tthis.value = [templist[0],templist[1],templist[2],0];\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.value = e.detail.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.con{\r\n\t\twidth: 100%;\r\n\t\t.c_label{\r\n\t\t\tpadding-top: 40upx;\r\n\t\t\twidth: 96%;\r\n\t\t\tmargin: 0 auto;\r\n\t\t\theight: 60upx;\r\n\t\t\tline-height: 60upx;\r\n\t\t\tletter-spacing: 2upx;\r\n\t\t\tfont-size: 28upx;\r\n\t\t\tcolor: #222;\r\n\t\t\tfont-weight: bold;\r\n\t\t}\r\n\t\t.c_input{\r\n\t\t\twidth: 96%;\r\n\t\t\tmargin: 8upx auto 0;\r\n\t\t\theight: 80upx;\r\n\t\t\tbackground-color: #f6f6f6;\r\n\t\t\tborder-radius: 10upx;\r\n\t\t\t.ci_i{\r\n\t\t\t\twidth: 96%;\r\n\t\t\t\tpadding: 0 2%;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tline-height: 80upx;\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.mypicker{\r\n\t\t\twidth: 100vw;\r\n\t\t\theight: 100vh;\r\n\t\t\tbackground-color: #666;\r\n\t\t\topacity: 0.5;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\t\t}\r\n\t\t.btn{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 80upx;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tbottom: 460upx;\r\n\t\t\tposition: absolute;\r\n\t\t\tborder-bottom: 1px solid #f6f6f6;\r\n\t\t\tdisplay: flex;\r\n\t\t\tborder-radius: 16upx 16upx 0 0;\r\n\t\t\t.btn_left{\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\tmargin-left: 5%;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tline-height: 80upx;\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\t.bl_text{\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\tcolor: #999;\r\n\t\t\t\t\tletter-spacing: 6upx;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.btn_center{\r\n\t\t\t\t color: rgba(0,0,0,0.9);\r\n\t\t\t\t font-size: 32rpx;\r\n\t\t\t\t font-weight: 700;\r\n\t\t\t\t margin-top: 20rpx;\r\n\t\t\t}\r\n\t\t\t.btn_right{\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\tmargin-right: 5%;\r\n\t\t\t\theight: 80upx;\r\n\t\t\t\tline-height: 80upx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t\t.br_text{\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\tcolor: #62CDCE;\r\n\t\t\t\t\tletter-spacing: 6upx;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.picker-view{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 460upx;\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 0;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\t.item{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\theight: 100upx;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t\tletter-spacing: 2upx;\r\n\t\t\t}\r\n\t\t}\r\n\t\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./pxing-picker.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029100237\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-badge/u-badge.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?0726"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?c0f8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?64e3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?6947"
,
"uni-app:///node_modules/uview-ui/components/u-badge/u-badge.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?90d5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?3544"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU9oB,gF;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;kBAqBA,EACA,eADA,EAEA,sDAFA,EAGA,YACA;AACA,YAFA,sBAEA,CACA,eACA,aACA,CALA;AAMA;AACA,cAPA,wBAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA3BA;AA4BA,aA5BA,uBA4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDADA,GACA;AACA,aADA,GACA,GADA,IACA,GADA,GACA,GAFA,GAEA,UAFA;AAGA;AACA;AACA,oCAbA;;AAeA,KA5CA,EAHA,E;;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-badge/u-badge.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-badge.vue?vue&type=template&id=662d25bf&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-badge.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-badge.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
662d25bf
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-badge/u-badge.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=template&id=662d25bf&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var m0 =
\n
_vm.show && ((Number(_vm.value) === 0 ? _vm.showZero : true) || _vm.isDot)
\n
var s0 = m0
\n
? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle), _vm.badgeStyle])
\n
: null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
m0: m0,
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<text
\r\n\t\t
v-if=
\"
show && ((Number(value) === 0 ? showZero : true) || isDot)
\"\r\n\t\t
:class=
\"
[isDot ? 'u-badge--dot' : 'u-badge--not-dot', inverted && 'u-badge--inverted', shape === 'horn' && 'u-badge--horn', `u-badge--${type}${inverted ? '--inverted' : ''}`]
\"\r\n\t\t
:style=
\"
[$u.addStyle(customStyle), badgeStyle]
\"\r\n\t\t
class=
\"
u-badge
\"\r\n\t
>{{ isDot ? '' :showValue }}</text>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* badge 徽标数
\r\n\t
* @description 该组件一般用于图标右上角显示未读的消息数量,提示用户点击,有圆点和圆包含文字两种形式。
\r\n\t
* @tutorial https://uviewui.com/components/badge.html
\r\n\t
*
\r\n\t
* @property {Boolean}
\t\t\t
isDot
\t\t
是否显示圆点 (默认 false )
\r\n\t
* @property {String | Number}
\t
value
\t\t
显示的内容
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t
是否显示 (默认 true )
\r\n\t
* @property {String | Number}
\t
max
\t\t
最大值,超过最大值会显示 '{max}+' (默认999)
\r\n\t
* @property {String}
\t\t\t
type
\t\t
主题类型,error|warning|success|primary (默认 'error' )
\r\n\t
* @property {Boolean}
\t\t\t
showZero
\t
当数值为 0 时,是否展示 Badge (默认 false )
\r\n\t
* @property {String}
\t\t\t
bgColor
\t
背景颜色,优先级比type高,如设置,type参数会失效
\r\n\t
* @property {String}
\t\t\t
color
\t\t
字体颜色 (默认 '#ffffff' )
\r\n\t
* @property {String}
\t\t\t
shape
\t\t
徽标形状,circle-四角均为圆角,horn-左下角为直角 (默认 'circle' )
\r\n\t
* @property {String}
\t\t\t
numberType
\t
设置数字的显示方式,overflow|ellipsis|limit (默认 'overflow' )
\r\n\t
* @property {Array}}
\t\t\t
offset
\t\t
设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
\r\n\t
* @property {Boolean}
\t\t\t
inverted
\t
是否反转背景和字体颜色(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
absolute
\t
是否绝对定位(默认 false )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
* @example <u-badge :type=
\"
type
\"
:count=
\"
count
\"
></u-badge>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-badge',
\r\n\t\t
mixins: [uni.$u.mpMixin, props, uni.$u.mixin],
\r\n\t\t
computed: {
\r\n\t\t\t
// 是否将badge中心与父组件右上角重合
\r\n\t\t\t
boxStyle() {
\r\n\t\t\t\t
let style = {};
\r\n\t\t\t\t
return style;
\r\n\t\t\t
},
\r\n\t\t\t
// 整个组件的样式
\r\n\t\t\t
badgeStyle() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
if(this.color) {
\r\n\t\t\t\t\t
style.color = this.color
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.bgColor && !this.inverted) {
\r\n\t\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.absolute) {
\r\n\t\t\t\t\t
style.position = 'absolute'
\r\n\t\t\t\t\t
// 如果有设置offset参数
\r\n\t\t\t\t\t
if(this.offset.length) {
\r\n\t\t\t\t\t\t
// top和right分为为offset的第一个和第二个值,如果没有第二个值,则right等于top
\r\n\t\t\t\t\t\t
const top = this.offset[0]
\r\n\t\t\t\t\t\t
const right = this.offset[1] || top
\r\n\t\t\t\t\t\t
style.top = uni.$u.addUnit(top)
\r\n\t\t\t\t\t\t
style.right = uni.$u.addUnit(right)
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
showValue() {
\r\n\t\t\t\t
switch (this.numberType) {
\r\n\t\t\t\t\t
case
\"
overflow
\"
:
\r\n\t\t\t\t\t\t
return Number(this.value) > Number(this.max) ? this.max +
\"
+
\"
: this.value
\r\n\t\t\t\t\t\t
break;
\r\n\t\t\t\t\t
case
\"
ellipsis
\"
:
\r\n\t\t\t\t\t\t
return Number(this.value) > Number(this.max) ?
\"
...
\"
: this.value
\r\n\t\t\t\t\t\t
break;
\r\n\t\t\t\t\t
case
\"
limit
\"
:
\r\n\t\t\t\t\t\t
return Number(this.value) > 999 ? Number(this.value) >= 9999 ?
\r\n\t\t\t\t\t\t\t
Math.floor(this.value / 1e4 * 100) / 100 +
\"
w
\"
: Math.floor(this.value /
\r\n\t\t\t\t\t\t\t\t
1e3 * 100) / 100 +
\"
k
\"
: this.value
\r\n\t\t\t\t\t\t
break;
\r\n\t\t\t\t\t
default:
\r\n\t\t\t\t\t\t
return Number(this.value)
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
$u-badge-primary: $u-primary !default;
\r\n\t
$u-badge-error: $u-error !default;
\r\n\t
$u-badge-success: $u-success !default;
\r\n\t
$u-badge-info: $u-info !default;
\r\n\t
$u-badge-warning: $u-warning !default;
\r\n\t
$u-badge-dot-radius: 100px !default;
\r\n\t
$u-badge-dot-size: 8px !default;
\r\n\t
$u-badge-dot-right: 4px !default;
\r\n\t
$u-badge-dot-top: 0 !default;
\r\n\t
$u-badge-text-font-size: 11px !default;
\r\n\t
$u-badge-text-right: 10px !default;
\r\n\t
$u-badge-text-padding: 2px 5px !default;
\r\n\t
$u-badge-text-align: center !default;
\r\n\t
$u-badge-text-color: #FFFFFF !default;
\r\n\r\n\t
.u-badge {
\r\n\t\t
border-top-right-radius: $u-badge-dot-radius;
\r\n\t\t
border-top-left-radius: $u-badge-dot-radius;
\r\n\t\t
border-bottom-left-radius: $u-badge-dot-radius;
\r\n\t\t
border-bottom-right-radius: $u-badge-dot-radius;
\r\n\t\t
@include flex;
\r\n\t\t
line-height: $u-badge-text-font-size;
\r\n\t\t
text-align: $u-badge-text-align;
\r\n\t\t
font-size: $u-badge-text-font-size;
\r\n\t\t
color: $u-badge-text-color;
\r\n\r\n\t\t
&--dot {
\r\n\t\t\t
height: $u-badge-dot-size;
\r\n\t\t\t
width: $u-badge-dot-size;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--inverted {
\r\n\t\t\t
font-size: 13px;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--not-dot {
\r\n\t\t\t
padding: $u-badge-text-padding;
\r\n\t\t
}
\r\n\r\n\t\t
&--horn {
\r\n\t\t\t
border-bottom-left-radius: 0;
\r\n\t\t
}
\r\n\r\n\t\t
&--primary {
\r\n\t\t\t
background-color: $u-badge-primary;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--primary--inverted {
\r\n\t\t\t
color: $u-badge-primary;
\r\n\t\t
}
\r\n\r\n\t\t
&--error {
\r\n\t\t\t
background-color: $u-badge-error;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--error--inverted {
\r\n\t\t\t
color: $u-badge-error;
\r\n\t\t
}
\r\n\r\n\t\t
&--success {
\r\n\t\t\t
background-color: $u-badge-success;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--success--inverted {
\r\n\t\t\t
color: $u-badge-success;
\r\n\t\t
}
\r\n\r\n\t\t
&--info {
\r\n\t\t\t
background-color: $u-badge-info;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--info--inverted {
\r\n\t\t\t
color: $u-badge-info;
\r\n\t\t
}
\r\n\r\n\t\t
&--warning {
\r\n\t\t\t
background-color: $u-badge-warning;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--warning--inverted {
\r\n\t\t\t
color: $u-badge-warning;
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659149
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?0726"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?c0f8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?64e3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?6947"
,
"uni-app:///node_modules/uview-ui/components/u-badge/u-badge.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?90d5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-badge/u-badge.vue?3544"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU9oB,gF;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;kBAqBA,EACA,eADA,EAEA,sDAFA,EAGA,YACA;AACA,YAFA,sBAEA,CACA,eACA,aACA,CALA;AAMA;AACA,cAPA,wBAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA3BA;AA4BA,aA5BA,uBA4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDADA,GACA;AACA,aADA,GACA,GADA,IACA,GADA,GACA,GAFA,GAEA,UAFA;AAGA;AACA;AACA,oCAbA;;AAeA,KA5CA,EAHA,E;;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-badge/u-badge.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-badge.vue?vue&type=template&id=662d25bf&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-badge.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-badge.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
662d25bf
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-badge/u-badge.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=template&id=662d25bf&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var m0 =
\n
_vm.show && ((Number(_vm.value) === 0 ? _vm.showZero : true) || _vm.isDot)
\n
var s0 = m0
\n
? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle), _vm.badgeStyle])
\n
: null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
m0: m0,
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<text
\r\n\t\t
v-if=
\"
show && ((Number(value) === 0 ? showZero : true) || isDot)
\"\r\n\t\t
:class=
\"
[isDot ? 'u-badge--dot' : 'u-badge--not-dot', inverted && 'u-badge--inverted', shape === 'horn' && 'u-badge--horn', `u-badge--${type}${inverted ? '--inverted' : ''}`]
\"\r\n\t\t
:style=
\"
[$u.addStyle(customStyle), badgeStyle]
\"\r\n\t\t
class=
\"
u-badge
\"\r\n\t
>{{ isDot ? '' :showValue }}</text>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* badge 徽标数
\r\n\t
* @description 该组件一般用于图标右上角显示未读的消息数量,提示用户点击,有圆点和圆包含文字两种形式。
\r\n\t
* @tutorial https://uviewui.com/components/badge.html
\r\n\t
*
\r\n\t
* @property {Boolean}
\t\t\t
isDot
\t\t
是否显示圆点 (默认 false )
\r\n\t
* @property {String | Number}
\t
value
\t\t
显示的内容
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t
是否显示 (默认 true )
\r\n\t
* @property {String | Number}
\t
max
\t\t
最大值,超过最大值会显示 '{max}+' (默认999)
\r\n\t
* @property {String}
\t\t\t
type
\t\t
主题类型,error|warning|success|primary (默认 'error' )
\r\n\t
* @property {Boolean}
\t\t\t
showZero
\t
当数值为 0 时,是否展示 Badge (默认 false )
\r\n\t
* @property {String}
\t\t\t
bgColor
\t
背景颜色,优先级比type高,如设置,type参数会失效
\r\n\t
* @property {String}
\t\t\t
color
\t\t
字体颜色 (默认 '#ffffff' )
\r\n\t
* @property {String}
\t\t\t
shape
\t\t
徽标形状,circle-四角均为圆角,horn-左下角为直角 (默认 'circle' )
\r\n\t
* @property {String}
\t\t\t
numberType
\t
设置数字的显示方式,overflow|ellipsis|limit (默认 'overflow' )
\r\n\t
* @property {Array}}
\t\t\t
offset
\t\t
设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
\r\n\t
* @property {Boolean}
\t\t\t
inverted
\t
是否反转背景和字体颜色(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
absolute
\t
是否绝对定位(默认 false )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
* @example <u-badge :type=
\"
type
\"
:count=
\"
count
\"
></u-badge>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-badge',
\r\n\t\t
mixins: [uni.$u.mpMixin, props, uni.$u.mixin],
\r\n\t\t
computed: {
\r\n\t\t\t
// 是否将badge中心与父组件右上角重合
\r\n\t\t\t
boxStyle() {
\r\n\t\t\t\t
let style = {};
\r\n\t\t\t\t
return style;
\r\n\t\t\t
},
\r\n\t\t\t
// 整个组件的样式
\r\n\t\t\t
badgeStyle() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
if(this.color) {
\r\n\t\t\t\t\t
style.color = this.color
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.bgColor && !this.inverted) {
\r\n\t\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.absolute) {
\r\n\t\t\t\t\t
style.position = 'absolute'
\r\n\t\t\t\t\t
// 如果有设置offset参数
\r\n\t\t\t\t\t
if(this.offset.length) {
\r\n\t\t\t\t\t\t
// top和right分为为offset的第一个和第二个值,如果没有第二个值,则right等于top
\r\n\t\t\t\t\t\t
const top = this.offset[0]
\r\n\t\t\t\t\t\t
const right = this.offset[1] || top
\r\n\t\t\t\t\t\t
style.top = uni.$u.addUnit(top)
\r\n\t\t\t\t\t\t
style.right = uni.$u.addUnit(right)
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
showValue() {
\r\n\t\t\t\t
switch (this.numberType) {
\r\n\t\t\t\t\t
case
\"
overflow
\"
:
\r\n\t\t\t\t\t\t
return Number(this.value) > Number(this.max) ? this.max +
\"
+
\"
: this.value
\r\n\t\t\t\t\t\t
break;
\r\n\t\t\t\t\t
case
\"
ellipsis
\"
:
\r\n\t\t\t\t\t\t
return Number(this.value) > Number(this.max) ?
\"
...
\"
: this.value
\r\n\t\t\t\t\t\t
break;
\r\n\t\t\t\t\t
case
\"
limit
\"
:
\r\n\t\t\t\t\t\t
return Number(this.value) > 999 ? Number(this.value) >= 9999 ?
\r\n\t\t\t\t\t\t\t
Math.floor(this.value / 1e4 * 100) / 100 +
\"
w
\"
: Math.floor(this.value /
\r\n\t\t\t\t\t\t\t\t
1e3 * 100) / 100 +
\"
k
\"
: this.value
\r\n\t\t\t\t\t\t
break;
\r\n\t\t\t\t\t
default:
\r\n\t\t\t\t\t\t
return Number(this.value)
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
$u-badge-primary: $u-primary !default;
\r\n\t
$u-badge-error: $u-error !default;
\r\n\t
$u-badge-success: $u-success !default;
\r\n\t
$u-badge-info: $u-info !default;
\r\n\t
$u-badge-warning: $u-warning !default;
\r\n\t
$u-badge-dot-radius: 100px !default;
\r\n\t
$u-badge-dot-size: 8px !default;
\r\n\t
$u-badge-dot-right: 4px !default;
\r\n\t
$u-badge-dot-top: 0 !default;
\r\n\t
$u-badge-text-font-size: 11px !default;
\r\n\t
$u-badge-text-right: 10px !default;
\r\n\t
$u-badge-text-padding: 2px 5px !default;
\r\n\t
$u-badge-text-align: center !default;
\r\n\t
$u-badge-text-color: #FFFFFF !default;
\r\n\r\n\t
.u-badge {
\r\n\t\t
border-top-right-radius: $u-badge-dot-radius;
\r\n\t\t
border-top-left-radius: $u-badge-dot-radius;
\r\n\t\t
border-bottom-left-radius: $u-badge-dot-radius;
\r\n\t\t
border-bottom-right-radius: $u-badge-dot-radius;
\r\n\t\t
@include flex;
\r\n\t\t
line-height: $u-badge-text-font-size;
\r\n\t\t
text-align: $u-badge-text-align;
\r\n\t\t
font-size: $u-badge-text-font-size;
\r\n\t\t
color: $u-badge-text-color;
\r\n\r\n\t\t
&--dot {
\r\n\t\t\t
height: $u-badge-dot-size;
\r\n\t\t\t
width: $u-badge-dot-size;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--inverted {
\r\n\t\t\t
font-size: 13px;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--not-dot {
\r\n\t\t\t
padding: $u-badge-text-padding;
\r\n\t\t
}
\r\n\r\n\t\t
&--horn {
\r\n\t\t\t
border-bottom-left-radius: 0;
\r\n\t\t
}
\r\n\r\n\t\t
&--primary {
\r\n\t\t\t
background-color: $u-badge-primary;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--primary--inverted {
\r\n\t\t\t
color: $u-badge-primary;
\r\n\t\t
}
\r\n\r\n\t\t
&--error {
\r\n\t\t\t
background-color: $u-badge-error;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--error--inverted {
\r\n\t\t\t
color: $u-badge-error;
\r\n\t\t
}
\r\n\r\n\t\t
&--success {
\r\n\t\t\t
background-color: $u-badge-success;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--success--inverted {
\r\n\t\t\t
color: $u-badge-success;
\r\n\t\t
}
\r\n\r\n\t\t
&--info {
\r\n\t\t\t
background-color: $u-badge-info;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--info--inverted {
\r\n\t\t\t
color: $u-badge-info;
\r\n\t\t
}
\r\n\r\n\t\t
&--warning {
\r\n\t\t\t
background-color: $u-badge-warning;
\r\n\t\t
}
\r\n\t\t\r\n\t\t
&--warning--inverted {
\r\n\t\t\t
color: $u-badge-warning;
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-badge.vue?vue&type=style&index=0&id=662d25bf&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029103967
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?3e53"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?4c1c"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?d247"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?7f01"
,
"uni-app:///node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?a64b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?e691"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0I;AAC1I;AACqE;AACL;AACsC;;;AAGtG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,wGAAM;AACR,EAAE,iHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAooB,CAAgB,ypBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgCxpB;AACA,8F;;;;;;;;;;;;;;;;;;;;;;;AATA,6BACA,eACA,kCACA,qBACA,gCACA,CACA,cACA,C,CAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sKAgCA,EACA,uBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,WADA,EAEA,qBAFA,EAGA,oEAHA,GAKA,CATA,EAUA,SACA,IADA,gBACA,QADA,EACA,QADA,EACA,CACA,eACA,wCACA,CACA,CALA,EAMA,WANA,yBAMA,CACA,YACA,CARA,EAVA,EAoBA,YACA;AACA,eAFA,yBAEA;AACA;AACA,KAJA,EApBA;;AA0BA,SA1BA,qBA0BA;AACA;AACA,GA5BA;AA6BA;AACA,QADA,kBACA;AACA;AACA;AACA,KAJA;AAKA;AACA,gBANA,wBAMA,CANA,EAMA;AACA;AACA,KARA;AASA;AACA,SAVA,mBAUA;AACA;AACA;AACA;AACA,KAdA;AAeA;AACA,UAhBA,oBAgBA;AACA;AACA,KAlBA;AAmBA;AACA,WApBA,qBAoBA;AACA;AACA,8BADA;AAEA,uBAFA;;AAIA;AACA,KA1BA;AA2BA;AACA,aA5BA,qBA4BA,CA5BA,EA4BA,IA5BA,EA4BA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,KA1CA;AA2CA;AACA,UA5CA,kBA4CA,CA5CA,EA4CA;AACA,YADA,GACA,CADA,CACA,MADA,CACA,MADA,GACA,CADA,CACA,MADA;AAEA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BADA;;;;;AAMA,uBANA;;AAQA,KApFA;AAqFA;AACA,qBAtFA,6BAsFA,KAtFA,EAsFA;AACA;AACA;AACA;AACA,KA1FA;AA2FA;AACA,gBA5FA,wBA4FA,KA5FA,EA4FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA,MAKA;AACA;AACA;AACA,uEADA;AAEA;AACA,2EAHA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAHA;AAIA;AACA,KA5HA;AA6HA;AACA,iBA9HA,2BA8HA;AACA;AACA;AACA;AACA;AACA,KAnIA;AAoIA,oBApIA,8BAoIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAJA;AAKA;AACA;AACA;AACA;AACA;AACA,OAXA;AAYA;AACA,KAnJA;AAoJA;AACA,iBArJA,yBAqJA,KArJA,EAqJA,GArJA,EAqJA;AACA;AACA,KAvJA;AAwJA;AACA,gBAzJA,wBAyJA,KAzJA,EAyJA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA,wFADA;AAEA,wBAFA,iDAEA,IAFA,oBAEA,MAFA;AAGA;AACA;AACA;AACA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA;AACA;AACA,KAhLA;AAiLA;AACA,aAlLA,uBAkLA;AACA;AACA;AACA;AACA,sBADA;AAEA,6CAFA,EADA;;AAKA;AACA,wBADA;AAEA,iDAFA,EALA;;;AAUA,OAZA;AAaA,8CAbA,CAaA,OAbA,qBAaA,OAbA,CAaA,OAbA,qBAaA,OAbA,CAaA,QAbA,qBAaA,QAbA,CAaA,OAbA,qBAaA,OAbA,CAaA,SAbA,qBAaA,SAbA;AAcA,8CAdA,CAcA,OAdA,sBAcA,OAdA,CAcA,OAdA,sBAcA,OAdA,CAcA,QAdA,sBAcA,QAdA,CAcA,OAdA,sBAcA,OAdA,CAcA,SAdA,sBAcA,SAdA;AAeA;AACA;AACA,oBADA;AAEA,iCAFA,EADA;;AAKA;AACA,qBADA;AAEA,mCAFA,EALA;;AASA;AACA,mBADA;AAEA,iCAFA,EATA;;AAaA;AACA,oBADA;AAEA,iCAFA,EAbA;;AAiBA;AACA,sBADA;AAEA,qCAFA,EAjBA;;;AAsBA;AACA;AACA;AACA;AACA;AACA,KA5NA;AA6NA;AACA,eA9NA,uBA8NA,IA9NA,EA8NA,UA9NA,EA8NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UADA,WACA,IADA;AAEA,UAFA,YAEA,KAFA;AAGA,UAHA,WAGA,IAHA;AAIA,UAJA,WAIA,IAJA;AAKA,UALA,aAKA,MALA;;AAOA,KAjQA,EA7BA,E;;;;;;;;;;;;;AClEA;AAAA;AAAA;AAAA;AAA2tC,CAAgB,wrCAAG,EAAC,C;;;;;;;;;;;ACA/uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-datetime-picker.vue?vue&type=template&id=7d06fb79&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-datetime-picker.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-datetime-picker.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-datetime-picker.vue?vue&type=style&index=0&id=7d06fb79&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
7d06fb79
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=template&id=7d06fb79&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uPicker: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-picker/u-picker
\"
*/
\"
uview-ui/components/u-picker/u-picker.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-picker
\r\n\t\t
ref=
\"
picker
\"\r\n\t\t
:show=
\"
show
\"\r\n\t\t
:closeOnClickOverlay=
\"
closeOnClickOverlay
\"\r\n\t\t
:columns=
\"
columns
\"\r\n\t\t
:title=
\"
title
\"\r\n\t\t
:itemHeight=
\"
itemHeight
\"\r\n\t\t
:showToolbar=
\"
showToolbar
\"\r\n\t\t
:visibleItemCount=
\"
visibleItemCount
\"\r\n\t\t
:defaultIndex=
\"
innerDefaultIndex
\"\r\n\t\t
:cancelText=
\"
cancelText
\"\r\n\t\t
:confirmText=
\"
confirmText
\"\r\n\t\t
:cancelColor=
\"
cancelColor
\"\r\n\t\t
:confirmColor=
\"
confirmColor
\"\r\n\t\t
@close=
\"
close
\"\r\n\t\t
@cancel=
\"
cancel
\"\r\n\t\t
@confirm=
\"
confirm
\"\r\n\t\t
@change=
\"
change
\"\r\n\t
>
\r\n\t
</u-picker>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
function times(n, iteratee) {
\r\n\t
let index = -1
\r\n\t
const result = Array(n < 0 ? 0 : n)
\r\n\t
while (++index < n) {
\r\n\t
result[index] = iteratee(index)
\r\n\t
}
\r\n\t
return result
\r\n\t
}
\r\n\t
import props from './props.js';
\r\n\t
import dayjs from '../../libs/util/dayjs.js';
\r\n\t
/**
\r\n\t
* DatetimePicker 时间日期选择器
\r\n\t
* @description 此选择器用于时间日期
\r\n\t
* @tutorial https://www.uviewui.com/components/datetimePicker.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t\t
用于控制选择器的弹出与收起 ( 默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
showToolbar
\t\t\t
是否显示顶部的操作栏 ( 默认 true )
\r\n\t
* @property {String | Number}
\t
value
\t\t\t\t
绑定值
\r\n\t
* @property {String}
\t\t\t
title
\t\t\t\t
顶部标题
\r\n\t
* @property {String}
\t\t\t
mode
\t\t\t\t
展示格式 mode=date为日期选择,mode=time为时间选择,mode=year-month为年月选择,mode=datetime为日期时间选择 ( 默认 ‘datetime )
\r\n\t
* @property {Number}
\t\t\t
maxDate
\t\t\t\t
可选的最大时间 默认值为后10年
\r\n\t
* @property {Number}
\t\t\t
minDate
\t\t\t\t
可选的最小时间 默认值为前10年
\r\n\t
* @property {Number}
\t\t\t
minHour
\t\t\t\t
可选的最小小时,仅mode=time有效 ( 默认 0 )
\r\n\t
* @property {Number}
\t\t\t
maxHour
\t\t\t\t
可选的最大小时,仅mode=time有效
\t
( 默认 23 )
\r\n\t
* @property {Number}
\t\t\t
minMinute
\t\t\t
可选的最小分钟,仅mode=time有效
\t
( 默认 0 )
\r\n\t
* @property {Number}
\t\t\t
maxMinute
\t\t\t
可选的最大分钟,仅mode=time有效 ( 默认 59 )
\r\n\t
* @property {Function}
\t\t\t
filter
\t\t\t\t
选项过滤函数
\r\n\t
* @property {Function}
\t\t\t
formatter
\t\t\t
选项格式化函数
\r\n\t
* @property {Boolean}
\t\t\t
loading
\t\t\t\t
是否显示加载中状态 ( 默认 false )
\r\n\t
* @property {String | Number}
\t
itemHeight
\t\t\t
各列中,单个选项的高度 ( 默认 44 )
\r\n\t
* @property {String}
\t\t\t
cancelText
\t\t\t
取消按钮的文字 ( 默认 '取消' )
\r\n\t
* @property {String}
\t\t\t
confirmText
\t\t\t
确认按钮的文字 ( 默认 '确认' )
\r\n\t
* @property {String}
\t\t\t
cancelColor
\t\t\t
取消按钮的颜色 ( 默认 '#909193' )
\r\n\t
* @property {String}
\t\t\t
confirmColor
\t\t
确认按钮的颜色 ( 默认 '#3c9cff' )
\r\n\t
* @property {String | Number}
\t
visibleItemCount
\t
每列中可见选项的数量 ( 默认 5 )
\r\n\t
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
是否允许点击遮罩关闭选择器 ( 默认 false )
\r\n\t
* @property {Array}
\t\t\t
defaultIndex
\t\t
各列的默认索引
\r\n\t
* @event {Function} close 关闭选择器时触发
\r\n\t
* @event {Function} confirm 点击确定按钮,返回当前选择的值
\r\n\t
* @event {Function} change 当选择值变化时触发
\r\n\t
* @event {Function} cancel 点击取消按钮
\r\n\t
* @example <u-datetime-picker :show=
\"
show
\"
:value=
\"
value1
\"
mode=
\"
datetime
\"
></u-datetime-picker>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'datetime-picker',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
columns: [],
\r\n\t\t\t\t
innerDefaultIndex: [],
\r\n\t\t\t\t
innerFormatter: (type, value) => value
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(newValue, oldValue) {
\r\n\t\t\t\t
if (newValue) {
\r\n\t\t\t\t\t
this.updateColumnValue(this.innerValue)
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
propsChange() {
\r\n\t\t\t\t
this.init()
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
// 如果以下这些变量发生了变化,意味着需要重新初始化各列的值
\r\n\t\t\t
propsChange() {
\r\n\t\t\t\t
return [this.mode, this.maxDate, this.minDate, this.minHour, this.maxHour, this.minMinute, this.maxMinute, this.filter, ]
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
this.innerValue = this.correctValue(this.value)
\r\n\t\t\t\t
this.updateColumnValue(this.innerValue)
\r\n\t\t\t
},
\r\n\t\t\t
// 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用
\r\n\t\t\t
setFormatter(e) {
\r\n\t\t\t\t
this.innerFormatter = e
\r\n\t\t\t
},
\r\n\t\t\t
// 关闭选择器
\r\n\t\t\t
close() {
\r\n\t\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t\t
this.$emit('close')
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 点击工具栏的取消按钮
\r\n\t\t\t
cancel() {
\r\n\t\t\t\t
this.$emit('cancel')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击工具栏的确定按钮
\r\n\t\t\t
confirm() {
\r\n\t\t\t\t
this.$emit('confirm', {
\r\n\t\t\t\t\t
value: this.innerValue,
\r\n\t\t\t\t\t
mode: this.mode
\r\n\t\t\t\t
})
\r\n\t\t\t\t
this.$emit('input', this.innerValue)
\r\n\t\t\t
},
\r\n\t\t\t
//用正则截取输出值,当出现多组数字时,抛出错误
\r\n\t\t\t
intercept(e,type){
\r\n\t\t\t\t
let judge = e.match(/
\\
d+/g)
\r\n\t\t\t\t
//判断是否掺杂数字
\r\n\t\t\t\t
if(judge.length>1){
\r\n\t\t\t\t\t
uni.$u.error(
\"
请勿在过滤或格式化函数时添加数字
\"
)
\r\n\t\t\t\t\t
return 0
\r\n\t\t\t\t
}else if(type&&judge[0].length==4){//判断是否是年份
\r\n\t\t\t\t\t
return judge[0]
\r\n\t\t\t\t
}else if(judge[0].length>2){
\r\n\t\t\t\t\t
uni.$u.error(
\"
请勿在过滤或格式化函数时添加数字
\"
)
\r\n\t\t\t\t\t
return 0
\r\n\t\t\t\t
}else{
\r\n\t\t\t\t\t
return judge[0]
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 列发生变化时触发
\r\n\t\t\t
change(e) {
\r\n\t\t\t\t
const { indexs, values } = e
\r\n\t\t\t\t
let selectValue = ''
\r\n\t\t\t\t
if(this.mode === 'time') {
\r\n\t\t\t\t\t
// 根据value各列索引,从各列数组中,取出当前时间的选中值
\r\n\t\t\t\t\t
selectValue = `${this.intercept(values[0][indexs[0]])}:${this.intercept(values[1][indexs[1]])}`
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 将选择的值转为数值,比如'03'转为数值的3,'2019'转为数值的2019
\r\n\t\t\t\t\t
const year = parseInt(this.intercept(values[0][indexs[0]],'year'))
\r\n\t\t\t\t\t
const month = parseInt(this.intercept(values[1][indexs[1]]))
\r\n\t\t\t\t\t
let date = parseInt(values[2] ? this.intercept(values[2][indexs[2]]) : 1)
\r\n\t\t\t\t\t
let hour = 0, minute = 0
\r\n\t\t\t\t\t
// 此月份的最大天数
\r\n\t\t\t\t\t
const maxDate = dayjs(`${year}-${month}`).daysInMonth()
\r\n\t\t\t\t\t
// year-month模式下,date不会出现在列中,设置为1,为了符合后边需要减1的需求
\r\n\t\t\t\t\t
if (this.mode === 'year-month') {
\r\n\t\t\t\t\t
date = 1
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// 不允许超过maxDate值
\r\n\t\t\t\t\t
date = Math.min(maxDate, date)
\r\n\t\t\t\t\t
if (this.mode === 'datetime') {
\r\n\t\t\t\t\t
hour = parseInt(this.intercept(values[3][indexs[3]]))
\r\n\t\t\t\t\t
minute = parseInt(this.intercept(values[4][indexs[4]]))
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// 转为时间模式
\r\n\t\t\t\t\t
selectValue = Number(new Date(year, month - 1, date, hour, minute))
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 取出准确的合法值,防止超越边界的情况
\r\n\t\t\t\t
selectValue = this.correctValue(selectValue)
\r\n\t\t\t\t
this.innerValue = selectValue
\r\n\t\t\t\t
this.updateColumnValue(selectValue)
\r\n\t\t\t\t
// 发出change时间,value为当前选中的时间戳
\r\n\t\t\t\t
this.$emit('change', {
\r\n\t\t\t\t\t
value: selectValue,
\r\n\t\t\t\t\t
// #ifndef MP-WEIXIN
\r\n\t\t\t\t\t
// 微信小程序不能传递this实例,会因为循环引用而报错
\r\n\t\t\t\t\t
picker: this.$refs.picker,
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
mode: this.mode
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 更新各列的值,进行补0、格式化等操作
\r\n\t\t\t
updateColumnValue(value) {
\r\n\t\t\t\t
this.innerValue = value
\r\n\t\t\t\t
this.updateColumns()
\r\n\t\t\t\t
this.updateIndexs(value)
\r\n\t\t\t
},
\r\n\t\t\t
// 更新索引
\r\n\t\t\t
updateIndexs(value) {
\r\n\t\t\t\t
let values = []
\r\n\t\t\t\t
const formatter = this.formatter || this.innerFormatter
\r\n\t\t\t\t
const padZero = uni.$u.padZero
\r\n\t\t\t\t
if (this.mode === 'time') {
\r\n\t\t\t\t\t
// 将time模式的时间用:分隔成数组
\r\n\t\t\t\t
const timeArr = value.split(':')
\r\n\t\t\t\t\t
// 使用formatter格式化方法进行管道处理
\r\n\t\t\t\t
values = [formatter('hour', timeArr[0]), formatter('minute', timeArr[1])]
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t
const date = new Date(value)
\r\n\t\t\t\t
values = [
\r\n\t\t\t\t
formatter('year', `${dayjs(value).year()}`),
\r\n\t\t\t\t\t\t
// 月份补0
\r\n\t\t\t\t
formatter('month', padZero(dayjs(value).month() + 1))
\r\n\t\t\t\t
]
\r\n\t\t\t\t
if (this.mode === 'date') {
\r\n\t\t\t\t\t\t
// date模式,需要添加天列
\r\n\t\t\t\t
values.push(formatter('day', padZero(dayjs(value).date())))
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'datetime') {
\r\n\t\t\t\t\t\t
// 数组的push方法,可以写入多个参数
\r\n\t\t\t\t
values.push(formatter('day', padZero(dayjs(value).date())), formatter('hour', padZero(dayjs(value).hour())), formatter('minute', padZero(dayjs(value).minute())))
\r\n\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
// 根据当前各列的所有值,从各列默认值中找到默认值在各列中的索引
\r\n\t\t\t\t
const indexs = this.columns.map((column, index) => {
\r\n\t\t\t\t\t
// 通过取大值,可以保证不会出现找不到索引的-1情况
\r\n\t\t\t\t\t
return Math.max(0, column.findIndex(item => item === values[index]))
\r\n\t\t\t\t
})
\r\n\t\t\t\t
this.innerDefaultIndex = indexs
\r\n\t\t\t
},
\r\n\t\t\t
// 更新各列的值
\r\n\t\t\t
updateColumns() {
\r\n\t\t\t
const formatter = this.formatter || this.innerFormatter
\r\n\t\t\t\t
// 获取各列的值,并且map后,对各列的具体值进行补0操作
\r\n\t\t\t
const results = this.getOriginColumns().map((column) => column.values.map((value) => formatter(column.type, value)))
\r\n\t\t\t\t
this.columns = results
\r\n\t\t\t
},
\r\n\t\t\t
getOriginColumns() {
\r\n\t\t\t
// 生成各列的值
\r\n\t\t\t
const results = this.getRanges().map(({ type, range }) => {
\r\n\t\t\t
let values = times(range[1] - range[0] + 1, (index) => {
\r\n\t\t\t
let value = range[0] + index
\r\n\t\t\t
value = type === 'year' ? `${value}` : uni.$u.padZero(value)
\r\n\t\t\t
return value
\r\n\t\t\t
})
\r\n\t\t\t\t\t
// 进行过滤
\r\n\t\t\t
if (this.filter) {
\r\n\t\t\t
values = this.filter(type, values)
\r\n\t\t\t
}
\r\n\t\t\t
return { type, values }
\r\n\t\t\t
})
\r\n\t\t\t
return results
\r\n\t\t\t
},
\r\n\t\t\t
// 通过最大值和最小值生成数组
\r\n\t\t\t
generateArray(start, end) {
\r\n\t\t\t\t
return Array.from(new Array(end + 1).keys()).slice(start)
\r\n\t\t\t
},
\r\n\t\t\t
// 得出合法的时间
\r\n\t\t\t
correctValue(value) {
\r\n\t\t\t\t
const isDateMode = this.mode !== 'time'
\r\n\t\t\t\t
if (isDateMode && !uni.$u.test.date(value)) {
\r\n\t\t\t\t\t
// 如果是日期类型,但是又没有设置合法的当前时间的话,使用最小时间为当前时间
\r\n\t\t\t\t\t
value = this.minDate
\r\n\t\t\t\t
} else if (!isDateMode && !value) {
\r\n\t\t\t\t\t
// 如果是时间类型,而又没有默认值的话,就用最小时间
\r\n\t\t\t\t\t
value = `${uni.$u.padZero(this.minHour)}:${uni.$u.padZero(this.minMinute)}`
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 时间类型
\r\n\t\t\t\t
if (!isDateMode) {
\r\n\t\t\t\t\t
if (String(value).indexOf(':') === -1) return uni.$u.error('时间错误,请传递如12:24的格式')
\r\n\t\t\t\t\t
let [hour, minute] = value.split(':')
\r\n\t\t\t\t\t
// 对时间补零,同时控制在最小值和最大值之间
\r\n\t\t\t\t\t
hour = uni.$u.padZero(uni.$u.range(this.minHour, this.maxHour, Number(hour)))
\r\n\t\t\t\t\t
minute = uni.$u.padZero(uni.$u.range(this.minMinute, this.maxMinute, Number(minute)))
\r\n\t\t\t\t\t
return `${ hour }:${ minute }`
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 如果是日期格式,控制在最小日期和最大日期之间
\r\n\t\t\t\t\t
value = dayjs(value).isBefore(dayjs(this.minDate)) ? this.minDate : value
\r\n\t\t\t\t\t
value = dayjs(value).isAfter(dayjs(this.maxDate)) ? this.maxDate : value
\r\n\t\t\t\t\t
return value
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 获取每列的最大和最小值
\r\n\t\t\t
getRanges() {
\r\n\t\t\t
if (this.mode === 'time') {
\r\n\t\t\t
return [
\r\n\t\t\t
{
\r\n\t\t\t
type: 'hour',
\r\n\t\t\t
range: [this.minHour, this.maxHour],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'minute',
\r\n\t\t\t
range: [this.minMinute, this.maxMinute],
\r\n\t\t\t
},
\r\n\t\t\t
];
\r\n\t\t\t
}
\r\n\t\t\t
const { maxYear, maxDate, maxMonth, maxHour, maxMinute, } = this.getBoundary('max', this.innerValue);
\r\n\t\t\t
const { minYear, minDate, minMonth, minHour, minMinute, } = this.getBoundary('min', this.innerValue);
\r\n\t\t\t
const result = [
\r\n\t\t\t
{
\r\n\t\t\t
type: 'year',
\r\n\t\t\t
range: [minYear, maxYear],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'month',
\r\n\t\t\t
range: [minMonth, maxMonth],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'day',
\r\n\t\t\t
range: [minDate, maxDate],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'hour',
\r\n\t\t\t
range: [minHour, maxHour],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'minute',
\r\n\t\t\t
range: [minMinute, maxMinute],
\r\n\t\t\t
},
\r\n\t\t\t
];
\r\n\t\t\t
if (this.mode === 'date')
\r\n\t\t\t
result.splice(3, 2);
\r\n\t\t\t
if (this.mode === 'year-month')
\r\n\t\t\t
result.splice(2, 3);
\r\n\t\t\t
return result;
\r\n\t\t\t
},
\r\n\t\t\t
// 根据minDate、maxDate、minHour、maxHour等边界值,判断各列的开始和结束边界值
\r\n\t\t\t
getBoundary(type, innerValue) {
\r\n\t\t\t
const value = new Date(innerValue)
\r\n\t\t\t
const boundary = new Date(this[`${type}Date`])
\r\n\t\t\t
const year = dayjs(boundary).year()
\r\n\t\t\t
let month = 1
\r\n\t\t\t
let date = 1
\r\n\t\t\t
let hour = 0
\r\n\t\t\t
let minute = 0
\r\n\t\t\t
if (type === 'max') {
\r\n\t\t\t
month = 12
\r\n\t\t\t\t\t
// 月份的天数
\r\n\t\t\t
date = dayjs(value).daysInMonth()
\r\n\t\t\t
hour = 23
\r\n\t\t\t
minute = 59
\r\n\t\t\t
}
\r\n\t\t\t\t
// 获取边界值,逻辑是:当年达到了边界值(最大或最小年),就检查月允许的最大和最小值,以此类推
\r\n\t\t\t
if (dayjs(value).year() === year) {
\r\n\t\t\t
month = dayjs(boundary).month() + 1
\r\n\t\t\t
if (dayjs(value).month() + 1 === month) {
\r\n\t\t\t
date = dayjs(boundary).date()
\r\n\t\t\t
if (dayjs(value).date() === date) {
\r\n\t\t\t
hour = dayjs(boundary).hour()
\r\n\t\t\t
if (dayjs(value).hour() === hour) {
\r\n\t\t\t
minute = dayjs(boundary).minute()
\r\n\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
return {
\r\n\t\t\t
[`${type}Year`]: year,
\r\n\t\t\t
[`${type}Month`]: month,
\r\n\t\t\t
[`${type}Date`]: date,
\r\n\t\t\t
[`${type}Hour`]: hour,
\r\n\t\t\t
[`${type}Minute`]: minute
\r\n\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import '../../libs/css/components.scss';
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=style&index=0&id=7d06fb79&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=style&index=0&id=7d06fb79&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659014
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?3e53"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?4c1c"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?d247"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?7f01"
,
"uni-app:///node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?a64b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue?e691"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0I;AAC1I;AACqE;AACL;AACsC;;;AAGtG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,wGAAM;AACR,EAAE,iHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAooB,CAAgB,ypBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgCxpB;AACA,8F;;;;;;;;;;;;;;;;;;;;;;;AATA,6BACA,eACA,kCACA,qBACA,gCACA,CACA,cACA,C,CAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sKAgCA,EACA,uBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,WADA,EAEA,qBAFA,EAGA,oEAHA,GAKA,CATA,EAUA,SACA,IADA,gBACA,QADA,EACA,QADA,EACA,CACA,eACA,wCACA,CACA,CALA,EAMA,WANA,yBAMA,CACA,YACA,CARA,EAVA,EAoBA,YACA;AACA,eAFA,yBAEA;AACA;AACA,KAJA,EApBA;;AA0BA,SA1BA,qBA0BA;AACA;AACA,GA5BA;AA6BA;AACA,QADA,kBACA;AACA;AACA;AACA,KAJA;AAKA;AACA,gBANA,wBAMA,CANA,EAMA;AACA;AACA,KARA;AASA;AACA,SAVA,mBAUA;AACA;AACA;AACA;AACA,KAdA;AAeA;AACA,UAhBA,oBAgBA;AACA;AACA,KAlBA;AAmBA;AACA,WApBA,qBAoBA;AACA;AACA,8BADA;AAEA,uBAFA;;AAIA;AACA,KA1BA;AA2BA;AACA,aA5BA,qBA4BA,CA5BA,EA4BA,IA5BA,EA4BA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,KA1CA;AA2CA;AACA,UA5CA,kBA4CA,CA5CA,EA4CA;AACA,YADA,GACA,CADA,CACA,MADA,CACA,MADA,GACA,CADA,CACA,MADA;AAEA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BADA;;;;;AAMA,uBANA;;AAQA,KApFA;AAqFA;AACA,qBAtFA,6BAsFA,KAtFA,EAsFA;AACA;AACA;AACA;AACA,KA1FA;AA2FA;AACA,gBA5FA,wBA4FA,KA5FA,EA4FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA,MAKA;AACA;AACA;AACA,uEADA;AAEA;AACA,2EAHA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAHA;AAIA;AACA,KA5HA;AA6HA;AACA,iBA9HA,2BA8HA;AACA;AACA;AACA;AACA;AACA,KAnIA;AAoIA,oBApIA,8BAoIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAJA;AAKA;AACA;AACA;AACA;AACA;AACA,OAXA;AAYA;AACA,KAnJA;AAoJA;AACA,iBArJA,yBAqJA,KArJA,EAqJA,GArJA,EAqJA;AACA;AACA,KAvJA;AAwJA;AACA,gBAzJA,wBAyJA,KAzJA,EAyJA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA,wFADA;AAEA,wBAFA,iDAEA,IAFA,oBAEA,MAFA;AAGA;AACA;AACA;AACA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA;AACA;AACA,KAhLA;AAiLA;AACA,aAlLA,uBAkLA;AACA;AACA;AACA;AACA,sBADA;AAEA,6CAFA,EADA;;AAKA;AACA,wBADA;AAEA,iDAFA,EALA;;;AAUA,OAZA;AAaA,8CAbA,CAaA,OAbA,qBAaA,OAbA,CAaA,OAbA,qBAaA,OAbA,CAaA,QAbA,qBAaA,QAbA,CAaA,OAbA,qBAaA,OAbA,CAaA,SAbA,qBAaA,SAbA;AAcA,8CAdA,CAcA,OAdA,sBAcA,OAdA,CAcA,OAdA,sBAcA,OAdA,CAcA,QAdA,sBAcA,QAdA,CAcA,OAdA,sBAcA,OAdA,CAcA,SAdA,sBAcA,SAdA;AAeA;AACA;AACA,oBADA;AAEA,iCAFA,EADA;;AAKA;AACA,qBADA;AAEA,mCAFA,EALA;;AASA;AACA,mBADA;AAEA,iCAFA,EATA;;AAaA;AACA,oBADA;AAEA,iCAFA,EAbA;;AAiBA;AACA,sBADA;AAEA,qCAFA,EAjBA;;;AAsBA;AACA;AACA;AACA;AACA;AACA,KA5NA;AA6NA;AACA,eA9NA,uBA8NA,IA9NA,EA8NA,UA9NA,EA8NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UADA,WACA,IADA;AAEA,UAFA,YAEA,KAFA;AAGA,UAHA,WAGA,IAHA;AAIA,UAJA,WAIA,IAJA;AAKA,UALA,aAKA,MALA;;AAOA,KAjQA,EA7BA,E;;;;;;;;;;;;;AClEA;AAAA;AAAA;AAAA;AAA2tC,CAAgB,wrCAAG,EAAC,C;;;;;;;;;;;ACA/uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-datetime-picker.vue?vue&type=template&id=7d06fb79&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-datetime-picker.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-datetime-picker.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-datetime-picker.vue?vue&type=style&index=0&id=7d06fb79&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
7d06fb79
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=template&id=7d06fb79&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uPicker: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-picker/u-picker
\"
*/
\"
uview-ui/components/u-picker/u-picker.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-picker
\r\n\t\t
ref=
\"
picker
\"\r\n\t\t
:show=
\"
show
\"\r\n\t\t
:closeOnClickOverlay=
\"
closeOnClickOverlay
\"\r\n\t\t
:columns=
\"
columns
\"\r\n\t\t
:title=
\"
title
\"\r\n\t\t
:itemHeight=
\"
itemHeight
\"\r\n\t\t
:showToolbar=
\"
showToolbar
\"\r\n\t\t
:visibleItemCount=
\"
visibleItemCount
\"\r\n\t\t
:defaultIndex=
\"
innerDefaultIndex
\"\r\n\t\t
:cancelText=
\"
cancelText
\"\r\n\t\t
:confirmText=
\"
confirmText
\"\r\n\t\t
:cancelColor=
\"
cancelColor
\"\r\n\t\t
:confirmColor=
\"
confirmColor
\"\r\n\t\t
@close=
\"
close
\"\r\n\t\t
@cancel=
\"
cancel
\"\r\n\t\t
@confirm=
\"
confirm
\"\r\n\t\t
@change=
\"
change
\"\r\n\t
>
\r\n\t
</u-picker>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
function times(n, iteratee) {
\r\n\t
let index = -1
\r\n\t
const result = Array(n < 0 ? 0 : n)
\r\n\t
while (++index < n) {
\r\n\t
result[index] = iteratee(index)
\r\n\t
}
\r\n\t
return result
\r\n\t
}
\r\n\t
import props from './props.js';
\r\n\t
import dayjs from '../../libs/util/dayjs.js';
\r\n\t
/**
\r\n\t
* DatetimePicker 时间日期选择器
\r\n\t
* @description 此选择器用于时间日期
\r\n\t
* @tutorial https://www.uviewui.com/components/datetimePicker.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t\t
用于控制选择器的弹出与收起 ( 默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
showToolbar
\t\t\t
是否显示顶部的操作栏 ( 默认 true )
\r\n\t
* @property {String | Number}
\t
value
\t\t\t\t
绑定值
\r\n\t
* @property {String}
\t\t\t
title
\t\t\t\t
顶部标题
\r\n\t
* @property {String}
\t\t\t
mode
\t\t\t\t
展示格式 mode=date为日期选择,mode=time为时间选择,mode=year-month为年月选择,mode=datetime为日期时间选择 ( 默认 ‘datetime )
\r\n\t
* @property {Number}
\t\t\t
maxDate
\t\t\t\t
可选的最大时间 默认值为后10年
\r\n\t
* @property {Number}
\t\t\t
minDate
\t\t\t\t
可选的最小时间 默认值为前10年
\r\n\t
* @property {Number}
\t\t\t
minHour
\t\t\t\t
可选的最小小时,仅mode=time有效 ( 默认 0 )
\r\n\t
* @property {Number}
\t\t\t
maxHour
\t\t\t\t
可选的最大小时,仅mode=time有效
\t
( 默认 23 )
\r\n\t
* @property {Number}
\t\t\t
minMinute
\t\t\t
可选的最小分钟,仅mode=time有效
\t
( 默认 0 )
\r\n\t
* @property {Number}
\t\t\t
maxMinute
\t\t\t
可选的最大分钟,仅mode=time有效 ( 默认 59 )
\r\n\t
* @property {Function}
\t\t\t
filter
\t\t\t\t
选项过滤函数
\r\n\t
* @property {Function}
\t\t\t
formatter
\t\t\t
选项格式化函数
\r\n\t
* @property {Boolean}
\t\t\t
loading
\t\t\t\t
是否显示加载中状态 ( 默认 false )
\r\n\t
* @property {String | Number}
\t
itemHeight
\t\t\t
各列中,单个选项的高度 ( 默认 44 )
\r\n\t
* @property {String}
\t\t\t
cancelText
\t\t\t
取消按钮的文字 ( 默认 '取消' )
\r\n\t
* @property {String}
\t\t\t
confirmText
\t\t\t
确认按钮的文字 ( 默认 '确认' )
\r\n\t
* @property {String}
\t\t\t
cancelColor
\t\t\t
取消按钮的颜色 ( 默认 '#909193' )
\r\n\t
* @property {String}
\t\t\t
confirmColor
\t\t
确认按钮的颜色 ( 默认 '#3c9cff' )
\r\n\t
* @property {String | Number}
\t
visibleItemCount
\t
每列中可见选项的数量 ( 默认 5 )
\r\n\t
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
是否允许点击遮罩关闭选择器 ( 默认 false )
\r\n\t
* @property {Array}
\t\t\t
defaultIndex
\t\t
各列的默认索引
\r\n\t
* @event {Function} close 关闭选择器时触发
\r\n\t
* @event {Function} confirm 点击确定按钮,返回当前选择的值
\r\n\t
* @event {Function} change 当选择值变化时触发
\r\n\t
* @event {Function} cancel 点击取消按钮
\r\n\t
* @example <u-datetime-picker :show=
\"
show
\"
:value=
\"
value1
\"
mode=
\"
datetime
\"
></u-datetime-picker>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'datetime-picker',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
columns: [],
\r\n\t\t\t\t
innerDefaultIndex: [],
\r\n\t\t\t\t
innerFormatter: (type, value) => value
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(newValue, oldValue) {
\r\n\t\t\t\t
if (newValue) {
\r\n\t\t\t\t\t
this.updateColumnValue(this.innerValue)
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
propsChange() {
\r\n\t\t\t\t
this.init()
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
// 如果以下这些变量发生了变化,意味着需要重新初始化各列的值
\r\n\t\t\t
propsChange() {
\r\n\t\t\t\t
return [this.mode, this.maxDate, this.minDate, this.minHour, this.maxHour, this.minMinute, this.maxMinute, this.filter, ]
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
this.innerValue = this.correctValue(this.value)
\r\n\t\t\t\t
this.updateColumnValue(this.innerValue)
\r\n\t\t\t
},
\r\n\t\t\t
// 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用
\r\n\t\t\t
setFormatter(e) {
\r\n\t\t\t\t
this.innerFormatter = e
\r\n\t\t\t
},
\r\n\t\t\t
// 关闭选择器
\r\n\t\t\t
close() {
\r\n\t\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t\t
this.$emit('close')
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 点击工具栏的取消按钮
\r\n\t\t\t
cancel() {
\r\n\t\t\t\t
this.$emit('cancel')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击工具栏的确定按钮
\r\n\t\t\t
confirm() {
\r\n\t\t\t\t
this.$emit('confirm', {
\r\n\t\t\t\t\t
value: this.innerValue,
\r\n\t\t\t\t\t
mode: this.mode
\r\n\t\t\t\t
})
\r\n\t\t\t\t
this.$emit('input', this.innerValue)
\r\n\t\t\t
},
\r\n\t\t\t
//用正则截取输出值,当出现多组数字时,抛出错误
\r\n\t\t\t
intercept(e,type){
\r\n\t\t\t\t
let judge = e.match(/
\\
d+/g)
\r\n\t\t\t\t
//判断是否掺杂数字
\r\n\t\t\t\t
if(judge.length>1){
\r\n\t\t\t\t\t
uni.$u.error(
\"
请勿在过滤或格式化函数时添加数字
\"
)
\r\n\t\t\t\t\t
return 0
\r\n\t\t\t\t
}else if(type&&judge[0].length==4){//判断是否是年份
\r\n\t\t\t\t\t
return judge[0]
\r\n\t\t\t\t
}else if(judge[0].length>2){
\r\n\t\t\t\t\t
uni.$u.error(
\"
请勿在过滤或格式化函数时添加数字
\"
)
\r\n\t\t\t\t\t
return 0
\r\n\t\t\t\t
}else{
\r\n\t\t\t\t\t
return judge[0]
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 列发生变化时触发
\r\n\t\t\t
change(e) {
\r\n\t\t\t\t
const { indexs, values } = e
\r\n\t\t\t\t
let selectValue = ''
\r\n\t\t\t\t
if(this.mode === 'time') {
\r\n\t\t\t\t\t
// 根据value各列索引,从各列数组中,取出当前时间的选中值
\r\n\t\t\t\t\t
selectValue = `${this.intercept(values[0][indexs[0]])}:${this.intercept(values[1][indexs[1]])}`
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 将选择的值转为数值,比如'03'转为数值的3,'2019'转为数值的2019
\r\n\t\t\t\t\t
const year = parseInt(this.intercept(values[0][indexs[0]],'year'))
\r\n\t\t\t\t\t
const month = parseInt(this.intercept(values[1][indexs[1]]))
\r\n\t\t\t\t\t
let date = parseInt(values[2] ? this.intercept(values[2][indexs[2]]) : 1)
\r\n\t\t\t\t\t
let hour = 0, minute = 0
\r\n\t\t\t\t\t
// 此月份的最大天数
\r\n\t\t\t\t\t
const maxDate = dayjs(`${year}-${month}`).daysInMonth()
\r\n\t\t\t\t\t
// year-month模式下,date不会出现在列中,设置为1,为了符合后边需要减1的需求
\r\n\t\t\t\t\t
if (this.mode === 'year-month') {
\r\n\t\t\t\t\t
date = 1
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// 不允许超过maxDate值
\r\n\t\t\t\t\t
date = Math.min(maxDate, date)
\r\n\t\t\t\t\t
if (this.mode === 'datetime') {
\r\n\t\t\t\t\t
hour = parseInt(this.intercept(values[3][indexs[3]]))
\r\n\t\t\t\t\t
minute = parseInt(this.intercept(values[4][indexs[4]]))
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// 转为时间模式
\r\n\t\t\t\t\t
selectValue = Number(new Date(year, month - 1, date, hour, minute))
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 取出准确的合法值,防止超越边界的情况
\r\n\t\t\t\t
selectValue = this.correctValue(selectValue)
\r\n\t\t\t\t
this.innerValue = selectValue
\r\n\t\t\t\t
this.updateColumnValue(selectValue)
\r\n\t\t\t\t
// 发出change时间,value为当前选中的时间戳
\r\n\t\t\t\t
this.$emit('change', {
\r\n\t\t\t\t\t
value: selectValue,
\r\n\t\t\t\t\t
// #ifndef MP-WEIXIN
\r\n\t\t\t\t\t
// 微信小程序不能传递this实例,会因为循环引用而报错
\r\n\t\t\t\t\t
picker: this.$refs.picker,
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
mode: this.mode
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 更新各列的值,进行补0、格式化等操作
\r\n\t\t\t
updateColumnValue(value) {
\r\n\t\t\t\t
this.innerValue = value
\r\n\t\t\t\t
this.updateColumns()
\r\n\t\t\t\t
this.updateIndexs(value)
\r\n\t\t\t
},
\r\n\t\t\t
// 更新索引
\r\n\t\t\t
updateIndexs(value) {
\r\n\t\t\t\t
let values = []
\r\n\t\t\t\t
const formatter = this.formatter || this.innerFormatter
\r\n\t\t\t\t
const padZero = uni.$u.padZero
\r\n\t\t\t\t
if (this.mode === 'time') {
\r\n\t\t\t\t\t
// 将time模式的时间用:分隔成数组
\r\n\t\t\t\t
const timeArr = value.split(':')
\r\n\t\t\t\t\t
// 使用formatter格式化方法进行管道处理
\r\n\t\t\t\t
values = [formatter('hour', timeArr[0]), formatter('minute', timeArr[1])]
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t
const date = new Date(value)
\r\n\t\t\t\t
values = [
\r\n\t\t\t\t
formatter('year', `${dayjs(value).year()}`),
\r\n\t\t\t\t\t\t
// 月份补0
\r\n\t\t\t\t
formatter('month', padZero(dayjs(value).month() + 1))
\r\n\t\t\t\t
]
\r\n\t\t\t\t
if (this.mode === 'date') {
\r\n\t\t\t\t\t\t
// date模式,需要添加天列
\r\n\t\t\t\t
values.push(formatter('day', padZero(dayjs(value).date())))
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'datetime') {
\r\n\t\t\t\t\t\t
// 数组的push方法,可以写入多个参数
\r\n\t\t\t\t
values.push(formatter('day', padZero(dayjs(value).date())), formatter('hour', padZero(dayjs(value).hour())), formatter('minute', padZero(dayjs(value).minute())))
\r\n\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
// 根据当前各列的所有值,从各列默认值中找到默认值在各列中的索引
\r\n\t\t\t\t
const indexs = this.columns.map((column, index) => {
\r\n\t\t\t\t\t
// 通过取大值,可以保证不会出现找不到索引的-1情况
\r\n\t\t\t\t\t
return Math.max(0, column.findIndex(item => item === values[index]))
\r\n\t\t\t\t
})
\r\n\t\t\t\t
this.innerDefaultIndex = indexs
\r\n\t\t\t
},
\r\n\t\t\t
// 更新各列的值
\r\n\t\t\t
updateColumns() {
\r\n\t\t\t
const formatter = this.formatter || this.innerFormatter
\r\n\t\t\t\t
// 获取各列的值,并且map后,对各列的具体值进行补0操作
\r\n\t\t\t
const results = this.getOriginColumns().map((column) => column.values.map((value) => formatter(column.type, value)))
\r\n\t\t\t\t
this.columns = results
\r\n\t\t\t
},
\r\n\t\t\t
getOriginColumns() {
\r\n\t\t\t
// 生成各列的值
\r\n\t\t\t
const results = this.getRanges().map(({ type, range }) => {
\r\n\t\t\t
let values = times(range[1] - range[0] + 1, (index) => {
\r\n\t\t\t
let value = range[0] + index
\r\n\t\t\t
value = type === 'year' ? `${value}` : uni.$u.padZero(value)
\r\n\t\t\t
return value
\r\n\t\t\t
})
\r\n\t\t\t\t\t
// 进行过滤
\r\n\t\t\t
if (this.filter) {
\r\n\t\t\t
values = this.filter(type, values)
\r\n\t\t\t
}
\r\n\t\t\t
return { type, values }
\r\n\t\t\t
})
\r\n\t\t\t
return results
\r\n\t\t\t
},
\r\n\t\t\t
// 通过最大值和最小值生成数组
\r\n\t\t\t
generateArray(start, end) {
\r\n\t\t\t\t
return Array.from(new Array(end + 1).keys()).slice(start)
\r\n\t\t\t
},
\r\n\t\t\t
// 得出合法的时间
\r\n\t\t\t
correctValue(value) {
\r\n\t\t\t\t
const isDateMode = this.mode !== 'time'
\r\n\t\t\t\t
if (isDateMode && !uni.$u.test.date(value)) {
\r\n\t\t\t\t\t
// 如果是日期类型,但是又没有设置合法的当前时间的话,使用最小时间为当前时间
\r\n\t\t\t\t\t
value = this.minDate
\r\n\t\t\t\t
} else if (!isDateMode && !value) {
\r\n\t\t\t\t\t
// 如果是时间类型,而又没有默认值的话,就用最小时间
\r\n\t\t\t\t\t
value = `${uni.$u.padZero(this.minHour)}:${uni.$u.padZero(this.minMinute)}`
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 时间类型
\r\n\t\t\t\t
if (!isDateMode) {
\r\n\t\t\t\t\t
if (String(value).indexOf(':') === -1) return uni.$u.error('时间错误,请传递如12:24的格式')
\r\n\t\t\t\t\t
let [hour, minute] = value.split(':')
\r\n\t\t\t\t\t
// 对时间补零,同时控制在最小值和最大值之间
\r\n\t\t\t\t\t
hour = uni.$u.padZero(uni.$u.range(this.minHour, this.maxHour, Number(hour)))
\r\n\t\t\t\t\t
minute = uni.$u.padZero(uni.$u.range(this.minMinute, this.maxMinute, Number(minute)))
\r\n\t\t\t\t\t
return `${ hour }:${ minute }`
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 如果是日期格式,控制在最小日期和最大日期之间
\r\n\t\t\t\t\t
value = dayjs(value).isBefore(dayjs(this.minDate)) ? this.minDate : value
\r\n\t\t\t\t\t
value = dayjs(value).isAfter(dayjs(this.maxDate)) ? this.maxDate : value
\r\n\t\t\t\t\t
return value
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 获取每列的最大和最小值
\r\n\t\t\t
getRanges() {
\r\n\t\t\t
if (this.mode === 'time') {
\r\n\t\t\t
return [
\r\n\t\t\t
{
\r\n\t\t\t
type: 'hour',
\r\n\t\t\t
range: [this.minHour, this.maxHour],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'minute',
\r\n\t\t\t
range: [this.minMinute, this.maxMinute],
\r\n\t\t\t
},
\r\n\t\t\t
];
\r\n\t\t\t
}
\r\n\t\t\t
const { maxYear, maxDate, maxMonth, maxHour, maxMinute, } = this.getBoundary('max', this.innerValue);
\r\n\t\t\t
const { minYear, minDate, minMonth, minHour, minMinute, } = this.getBoundary('min', this.innerValue);
\r\n\t\t\t
const result = [
\r\n\t\t\t
{
\r\n\t\t\t
type: 'year',
\r\n\t\t\t
range: [minYear, maxYear],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'month',
\r\n\t\t\t
range: [minMonth, maxMonth],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'day',
\r\n\t\t\t
range: [minDate, maxDate],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'hour',
\r\n\t\t\t
range: [minHour, maxHour],
\r\n\t\t\t
},
\r\n\t\t\t
{
\r\n\t\t\t
type: 'minute',
\r\n\t\t\t
range: [minMinute, maxMinute],
\r\n\t\t\t
},
\r\n\t\t\t
];
\r\n\t\t\t
if (this.mode === 'date')
\r\n\t\t\t
result.splice(3, 2);
\r\n\t\t\t
if (this.mode === 'year-month')
\r\n\t\t\t
result.splice(2, 3);
\r\n\t\t\t
return result;
\r\n\t\t\t
},
\r\n\t\t\t
// 根据minDate、maxDate、minHour、maxHour等边界值,判断各列的开始和结束边界值
\r\n\t\t\t
getBoundary(type, innerValue) {
\r\n\t\t\t
const value = new Date(innerValue)
\r\n\t\t\t
const boundary = new Date(this[`${type}Date`])
\r\n\t\t\t
const year = dayjs(boundary).year()
\r\n\t\t\t
let month = 1
\r\n\t\t\t
let date = 1
\r\n\t\t\t
let hour = 0
\r\n\t\t\t
let minute = 0
\r\n\t\t\t
if (type === 'max') {
\r\n\t\t\t
month = 12
\r\n\t\t\t\t\t
// 月份的天数
\r\n\t\t\t
date = dayjs(value).daysInMonth()
\r\n\t\t\t
hour = 23
\r\n\t\t\t
minute = 59
\r\n\t\t\t
}
\r\n\t\t\t\t
// 获取边界值,逻辑是:当年达到了边界值(最大或最小年),就检查月允许的最大和最小值,以此类推
\r\n\t\t\t
if (dayjs(value).year() === year) {
\r\n\t\t\t
month = dayjs(boundary).month() + 1
\r\n\t\t\t
if (dayjs(value).month() + 1 === month) {
\r\n\t\t\t
date = dayjs(boundary).date()
\r\n\t\t\t
if (dayjs(value).date() === date) {
\r\n\t\t\t
hour = dayjs(boundary).hour()
\r\n\t\t\t
if (dayjs(value).hour() === hour) {
\r\n\t\t\t
minute = dayjs(boundary).minute()
\r\n\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
return {
\r\n\t\t\t
[`${type}Year`]: year,
\r\n\t\t\t
[`${type}Month`]: month,
\r\n\t\t\t
[`${type}Date`]: date,
\r\n\t\t\t
[`${type}Hour`]: hour,
\r\n\t\t\t
[`${type}Minute`]: minute
\r\n\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import '../../libs/css/components.scss';
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=style&index=0&id=7d06fb79&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-datetime-picker.vue?vue&type=style&index=0&id=7d06fb79&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029101929
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-icon/u-icon.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?bd71"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?31d7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?088a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?b4a6"
,
"uni-app:///node_modules/uview-ui/components/u-icon/u-icon.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?a234"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?8dbc"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiD7oB;;AAEA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAHA;AAGA,C,CAEA;;;;;;;;;;;;;;;;;;;;;;;;;oBA0BA,EACA,cADA,EAEA,IAFA,kBAEA,CACA,UAGA,CANA,EAOA,sDAPA,EAQA,YACA,QADA,sBACA,CACA,iBACA,kDAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAVA,CAWA;AACA;AAIA,qBACA,CAlBA,EAmBA,SAnBA,uBAmBA,CACA,eACA,UACA,mCADA,EAEA,qCAFA,EAGA,yCAHA,EAIA;AACA,qCALA,GAFA,CASA;AACA,2FAEA,aACA,CAhCA,EAiCA;AACA,SAlCA,mBAkCA,CACA,qCACA,CApCA,EAqCA,QArCA,sBAqCA,CACA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,QA7CA,kBA6CA;AACA;AACA;AACA,KAhDA,EARA;;AA0DA;AACA,gBADA,wBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA,EA1DA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAgtC,CAAgB,6qCAAG,EAAC,C;;;;;;;;;;;ACApuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-icon/u-icon.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-icon.vue?vue&type=template&id=172979f2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-icon.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-icon.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
172979f2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-icon/u-icon.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=template&id=172979f2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.isImg
\n
? _vm.__get_style([_vm.imgStyle, _vm.$u.addStyle(_vm.customStyle)])
\n
: null
\n
var s1 = !_vm.isImg
\n
? _vm.__get_style([_vm.iconStyle, _vm.$u.addStyle(_vm.customStyle)])
\n
: null
\n
var g0 = _vm.label !==
\"\"
? _vm.$u.addUnit(_vm.labelSize) : null
\n
var g1 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
right
\"\n
? _vm.$u.addUnit(_vm.space)
\n
: null
\n
var g2 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
bottom
\"\n
? _vm.$u.addUnit(_vm.space)
\n
: null
\n
var g3 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
left
\"\n
? _vm.$u.addUnit(_vm.space)
\n
: null
\n
var g4 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
top
\"
? _vm.$u.addUnit(_vm.space) : null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
s1: s1,
\n
g0: g0,
\n
g1: g1,
\n
g2: g2,
\n
g3: g3,
\n
g4: g4
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t
class=
\"
u-icon
\"\r\n\t
@tap=
\"
clickHandler
\"\r\n\t
:class=
\"
['u-icon--' + labelPos]
\"\r\n\t
>
\r\n\t\t
<image
\r\n\t\t
class=
\"
u-icon__img
\"\r\n\t\t
v-if=
\"
isImg
\"\r\n\t\t
:src=
\"
name
\"\r\n\t\t
:mode=
\"
imgMode
\"\r\n\t\t
:style=
\"
[imgStyle, $u.addStyle(customStyle)]
\"\r\n\t\t
></image>
\r\n\t\t
<text
\r\n\t\t
v-else
\r\n\t\t
class=
\"
u-icon__icon
\"\r\n\t\t
:class=
\"
uClasses
\"\r\n\t\t
:style=
\"
[iconStyle, $u.addStyle(customStyle)]
\"\r\n\t\t
:hover-class=
\"
hoverClass
\"\r\n\t\t
>{{icon}}</text>
\r\n\t\t
<!-- 这里进行空字符串判断,如果仅仅是v-if=
\"
label
\"
,可能会出现传递0的时候,结果也无法显示 -->
\r\n\t\t
<text
\r\n\t\t
v-if=
\"
label !== ''
\"
\r\n\t\t
class=
\"
u-icon__label
\"\r\n\t\t
:style=
\"
{
\r\n\t\t\t
color: labelColor,
\r\n\t\t\t
fontSize: $u.addUnit(labelSize),
\r\n\t\t\t
marginLeft: labelPos == 'right' ? $u.addUnit(space) : 0,
\r\n\t\t\t
marginTop: labelPos == 'bottom' ? $u.addUnit(space) : 0,
\r\n\t\t\t
marginRight: labelPos == 'left' ? $u.addUnit(space) : 0,
\r\n\t\t\t
marginBottom: labelPos == 'top' ? $u.addUnit(space) : 0,
\r\n\t\t
}
\"\r\n\t\t
>{{ label }}</text>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
// #ifdef APP-NVUE
\r\n\t
// nvue通过weex的dom模块引入字体,相关文档地址如下:
\r\n\t
// https://weex.apache.org/zh/docs/modules/dom.html#addrule
\r\n\t
const fontUrl = 'https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf'
\r\n\t
const domModule = weex.requireModule('dom')
\r\n\t
domModule.addRule('fontFace', {
\r\n\t\t
'fontFamily':
\"
uicon-iconfont
\"
,
\r\n\t\t
'src': `url('${fontUrl}')`
\r\n\t
})
\r\n\t
// #endif
\r\n\r\n\t
// 引入图标名称,已经对应的unicode
\r\n\t
import icons from './icons'
\r\n\t\r\n\t
import props from './props.js';;
\r\n\r\n\t
/**
\r\n\t
* icon 图标
\r\n\t
* @description 基于字体的图标集,包含了大多数常见场景的图标。
\r\n\t
* @tutorial https://www.uviewui.com/components/icon.html
\r\n\t
* @property {String}
\t\t\t
name
\t\t\t
图标名称,见示例图标集
\r\n\t
* @property {String}
\t\t\t
color
\t\t\t
图标颜色,可接受主题色 (默认 color['u-content-color'] )
\r\n\t
* @property {String | Number}
\t
size
\t\t\t
图标字体大小,单位px (默认 '16px' )
\r\n\t
* @property {Boolean}
\t\t\t
bold
\t\t\t
是否显示粗体 (默认 false )
\r\n\t
* @property {String | Number}
\t
index
\t\t\t
点击图标的时候传递事件出去的index(用于区分点击了哪一个)
\r\n\t
* @property {String}
\t\t\t
hoverClass
\t\t
图标按下去的样式类,用法同uni的view组件的hoverClass参数,详情见官网
\r\n\t
* @property {String}
\t\t\t
customPrefix
\t
自定义扩展前缀,方便用户扩展自己的图标库 (默认 'uicon' )
\r\n\t
* @property {String | Number}
\t
label
\t\t\t
图标右侧的label文字
\r\n\t
* @property {String}
\t\t\t
labelPos
\t\t
label相对于图标的位置,只能right或bottom (默认 'right' )
\r\n\t
* @property {String | Number}
\t
labelSize
\t\t
label字体大小,单位px (默认 '15px' )
\r\n\t
* @property {String}
\t\t\t
labelColor
\t\t
图标右侧的label文字颜色 ( 默认 color['u-content-color'] )
\r\n\t
* @property {String | Number}
\t
space
\t\t\t
label与图标的距离,单位px (默认 '3px' )
\r\n\t
* @property {String}
\t\t\t
imgMode
\t\t\t
图片的mode
\r\n\t
* @property {String | Number}
\t
width
\t\t\t
显示图片小图标时的宽度
\r\n\t
* @property {String | Number}
\t
height
\t\t\t
显示图片小图标时的高度
\r\n\t
* @property {String | Number}
\t
top
\t\t\t\t
图标在垂直方向上的定位 用于解决某些情况下,让图标垂直居中的用途 (默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
stop
\t\t\t
是否阻止事件传播 (默认 false )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t
icon的样式,对象形式
\r\n\t
* @event {Function} click 点击图标时触发
\r\n\t
* @event {Function} touchstart 事件触摸时触发
\r\n\t
* @example <u-icon name=
\"
photo
\"
color=
\"
#2979ff
\"
size=
\"
28
\"
></u-icon>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-icon',
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
computed: {
\r\n\t\t\t
uClasses() {
\r\n\t\t\t\t
let classes = []
\r\n\t\t\t\t
classes.push(this.customPrefix + '-' + this.name)
\r\n\t\t\t\t
// // uView的自定义图标类名为u-iconfont
\r\n\t\t\t\t
// if (this.customPrefix == 'uicon') {
\r\n\t\t\t\t
//
\t
classes.push('u-iconfont')
\r\n\t\t\t\t
// } else {
\r\n\t\t\t\t
//
\t
classes.push(this.customPrefix)
\r\n\t\t\t\t
// }
\r\n\t\t\t\t
// 主题色,通过类配置
\r\n\t\t\t\t
if (this.color && uni.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)
\r\n\t\t\t\t
// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别
\r\n\t\t\t\t
// 故需将其拆成一个字符串的形式,通过空格隔开各个类名
\r\n\t\t\t\t
//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU
\r\n\t\t\t\t
classes = classes.join(' ')
\r\n\t\t\t\t
//#endif
\r\n\t\t\t\t
return classes
\r\n\t\t\t
},
\r\n\t\t\t
iconStyle() {
\r\n\t\t\t\t
let style = {}
\r\n\t\t\t\t
style = {
\r\n\t\t\t\t\t
fontSize: uni.$u.addUnit(this.size),
\r\n\t\t\t\t\t
lineHeight: uni.$u.addUnit(this.size),
\r\n\t\t\t\t\t
fontWeight: this.bold ? 'bold' : 'normal',
\r\n\t\t\t\t\t
// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中
\r\n\t\t\t\t\t
top: uni.$u.addUnit(this.top)
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 非主题色值时,才当作颜色值
\r\n\t\t\t\t
if (this.color && !uni.$u.config.type.includes(this.color)) style.color = this.color
\r\n\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
// 判断传入的name属性,是否图片路径,只要带有
\"
/
\"
均认为是图片形式
\r\n\t\t\t
isImg() {
\r\n\t\t\t\t
return this.name.indexOf('/') !== -1
\r\n\t\t\t
},
\r\n\t\t\t
imgStyle() {
\r\n\t\t\t\t
let style = {}
\r\n\t\t\t\t
// 如果设置width和height属性,则优先使用,否则使用size属性
\r\n\t\t\t\t
style.width = this.width ? uni.$u.addUnit(this.width) : uni.$u.addUnit(this.size)
\r\n\t\t\t\t
style.height = this.height ? uni.$u.addUnit(this.height) : uni.$u.addUnit(this.size)
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
// 通过图标名,查找对应的图标
\r\n\t\t\t
icon() {
\r\n\t\t\t\t
// 如果内置的图标中找不到对应的图标,就直接返回name值,因为用户可能传入的是unicode代码
\r\n\t\t\t\t
return icons['uicon-' + this.name] || this.name
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
clickHandler(e) {
\r\n\t\t\t\t
this.$emit('click', this.index)
\r\n\t\t\t\t
// 是否阻止事件冒泡
\r\n\t\t\t\t
this.stop && this.preventEvent(e)
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
// 变量定义
\r\n\t
$u-icon-primary: $u-primary !default;
\r\n\t
$u-icon-success: $u-success !default;
\r\n\t
$u-icon-info: $u-info !default;
\r\n\t
$u-icon-warning: $u-warning !default;
\r\n\t
$u-icon-error: $u-error !default;
\r\n\t
$u-icon-label-line-height:1 !default;
\r\n\r\n\t
/* #ifndef APP-NVUE */
\r\n\t
// 非nvue下加载字体
\r\n\t
@font-face {
\r\n\t\t
font-family: 'uicon-iconfont';
\r\n\t\t
src: url('https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf') format('truetype');
\r\n\t
}
\r\n\r\n\t
/* #endif */
\r\n\r\n\t
.u-icon {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
display: flex;
\r\n\t\t
/* #endif */
\r\n\t\t
align-items: center;
\r\n\r\n\t\t
&--left {
\r\n\t\t\t
flex-direction: row-reverse;
\r\n\t\t\t
align-items: center;
\r\n\t\t
}
\r\n\r\n\t\t
&--right {
\r\n\t\t\t
flex-direction: row;
\r\n\t\t\t
align-items: center;
\r\n\t\t
}
\r\n\r\n\t\t
&--top {
\r\n\t\t\t
flex-direction: column-reverse;
\r\n\t\t\t
justify-content: center;
\r\n\t\t
}
\r\n\r\n\t\t
&--bottom {
\r\n\t\t\t
flex-direction: column;
\r\n\t\t\t
justify-content: center;
\r\n\t\t
}
\r\n\r\n\t\t
&__icon {
\r\n\t\t\t
font-family: uicon-iconfont;
\r\n\t\t\t
position: relative;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
align-items: center;
\r\n\r\n\t\t\t
&--primary {
\r\n\t\t\t\t
color: $u-icon-primary;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--success {
\r\n\t\t\t\t
color: $u-icon-success;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--error {
\r\n\t\t\t\t
color: $u-icon-error;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--warning {
\r\n\t\t\t\t
color: $u-icon-warning;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--info {
\r\n\t\t\t\t
color: $u-icon-info;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__img {
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
height: auto;
\r\n\t\t\t
will-change: transform;
\r\n\t\t\t
/* #endif */
\r\n\t\t
}
\r\n\r\n\t\t
&__label {
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
line-height: $u-icon-label-line-height;
\r\n\t\t\t
/* #endif */
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659104
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?bd71"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?31d7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?088a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?b4a6"
,
"uni-app:///node_modules/uview-ui/components/u-icon/u-icon.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?a234"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-icon/u-icon.vue?8dbc"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiD7oB;;AAEA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAHA;AAGA,C,CAEA;;;;;;;;;;;;;;;;;;;;;;;;;oBA0BA,EACA,cADA,EAEA,IAFA,kBAEA,CACA,UAGA,CANA,EAOA,sDAPA,EAQA,YACA,QADA,sBACA,CACA,iBACA,kDAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAVA,CAWA;AACA;AAIA,qBACA,CAlBA,EAmBA,SAnBA,uBAmBA,CACA,eACA,UACA,mCADA,EAEA,qCAFA,EAGA,yCAHA,EAIA;AACA,qCALA,GAFA,CASA;AACA,2FAEA,aACA,CAhCA,EAiCA;AACA,SAlCA,mBAkCA,CACA,qCACA,CApCA,EAqCA,QArCA,sBAqCA,CACA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,QA7CA,kBA6CA;AACA;AACA;AACA,KAhDA,EARA;;AA0DA;AACA,gBADA,wBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA,EA1DA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAgtC,CAAgB,6qCAAG,EAAC,C;;;;;;;;;;;ACApuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-icon/u-icon.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-icon.vue?vue&type=template&id=172979f2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-icon.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-icon.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
172979f2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-icon/u-icon.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=template&id=172979f2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.isImg
\n
? _vm.__get_style([_vm.imgStyle, _vm.$u.addStyle(_vm.customStyle)])
\n
: null
\n
var s1 = !_vm.isImg
\n
? _vm.__get_style([_vm.iconStyle, _vm.$u.addStyle(_vm.customStyle)])
\n
: null
\n
var g0 = _vm.label !==
\"\"
? _vm.$u.addUnit(_vm.labelSize) : null
\n
var g1 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
right
\"\n
? _vm.$u.addUnit(_vm.space)
\n
: null
\n
var g2 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
bottom
\"\n
? _vm.$u.addUnit(_vm.space)
\n
: null
\n
var g3 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
left
\"\n
? _vm.$u.addUnit(_vm.space)
\n
: null
\n
var g4 =
\n
_vm.label !==
\"\"
&& _vm.labelPos ==
\"
top
\"
? _vm.$u.addUnit(_vm.space) : null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
s1: s1,
\n
g0: g0,
\n
g1: g1,
\n
g2: g2,
\n
g3: g3,
\n
g4: g4
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t
class=
\"
u-icon
\"\r\n\t
@tap=
\"
clickHandler
\"\r\n\t
:class=
\"
['u-icon--' + labelPos]
\"\r\n\t
>
\r\n\t\t
<image
\r\n\t\t
class=
\"
u-icon__img
\"\r\n\t\t
v-if=
\"
isImg
\"\r\n\t\t
:src=
\"
name
\"\r\n\t\t
:mode=
\"
imgMode
\"\r\n\t\t
:style=
\"
[imgStyle, $u.addStyle(customStyle)]
\"\r\n\t\t
></image>
\r\n\t\t
<text
\r\n\t\t
v-else
\r\n\t\t
class=
\"
u-icon__icon
\"\r\n\t\t
:class=
\"
uClasses
\"\r\n\t\t
:style=
\"
[iconStyle, $u.addStyle(customStyle)]
\"\r\n\t\t
:hover-class=
\"
hoverClass
\"\r\n\t\t
>{{icon}}</text>
\r\n\t\t
<!-- 这里进行空字符串判断,如果仅仅是v-if=
\"
label
\"
,可能会出现传递0的时候,结果也无法显示 -->
\r\n\t\t
<text
\r\n\t\t
v-if=
\"
label !== ''
\"
\r\n\t\t
class=
\"
u-icon__label
\"\r\n\t\t
:style=
\"
{
\r\n\t\t\t
color: labelColor,
\r\n\t\t\t
fontSize: $u.addUnit(labelSize),
\r\n\t\t\t
marginLeft: labelPos == 'right' ? $u.addUnit(space) : 0,
\r\n\t\t\t
marginTop: labelPos == 'bottom' ? $u.addUnit(space) : 0,
\r\n\t\t\t
marginRight: labelPos == 'left' ? $u.addUnit(space) : 0,
\r\n\t\t\t
marginBottom: labelPos == 'top' ? $u.addUnit(space) : 0,
\r\n\t\t
}
\"\r\n\t\t
>{{ label }}</text>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
// #ifdef APP-NVUE
\r\n\t
// nvue通过weex的dom模块引入字体,相关文档地址如下:
\r\n\t
// https://weex.apache.org/zh/docs/modules/dom.html#addrule
\r\n\t
const fontUrl = 'https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf'
\r\n\t
const domModule = weex.requireModule('dom')
\r\n\t
domModule.addRule('fontFace', {
\r\n\t\t
'fontFamily':
\"
uicon-iconfont
\"
,
\r\n\t\t
'src': `url('${fontUrl}')`
\r\n\t
})
\r\n\t
// #endif
\r\n\r\n\t
// 引入图标名称,已经对应的unicode
\r\n\t
import icons from './icons'
\r\n\t\r\n\t
import props from './props.js';;
\r\n\r\n\t
/**
\r\n\t
* icon 图标
\r\n\t
* @description 基于字体的图标集,包含了大多数常见场景的图标。
\r\n\t
* @tutorial https://www.uviewui.com/components/icon.html
\r\n\t
* @property {String}
\t\t\t
name
\t\t\t
图标名称,见示例图标集
\r\n\t
* @property {String}
\t\t\t
color
\t\t\t
图标颜色,可接受主题色 (默认 color['u-content-color'] )
\r\n\t
* @property {String | Number}
\t
size
\t\t\t
图标字体大小,单位px (默认 '16px' )
\r\n\t
* @property {Boolean}
\t\t\t
bold
\t\t\t
是否显示粗体 (默认 false )
\r\n\t
* @property {String | Number}
\t
index
\t\t\t
点击图标的时候传递事件出去的index(用于区分点击了哪一个)
\r\n\t
* @property {String}
\t\t\t
hoverClass
\t\t
图标按下去的样式类,用法同uni的view组件的hoverClass参数,详情见官网
\r\n\t
* @property {String}
\t\t\t
customPrefix
\t
自定义扩展前缀,方便用户扩展自己的图标库 (默认 'uicon' )
\r\n\t
* @property {String | Number}
\t
label
\t\t\t
图标右侧的label文字
\r\n\t
* @property {String}
\t\t\t
labelPos
\t\t
label相对于图标的位置,只能right或bottom (默认 'right' )
\r\n\t
* @property {String | Number}
\t
labelSize
\t\t
label字体大小,单位px (默认 '15px' )
\r\n\t
* @property {String}
\t\t\t
labelColor
\t\t
图标右侧的label文字颜色 ( 默认 color['u-content-color'] )
\r\n\t
* @property {String | Number}
\t
space
\t\t\t
label与图标的距离,单位px (默认 '3px' )
\r\n\t
* @property {String}
\t\t\t
imgMode
\t\t\t
图片的mode
\r\n\t
* @property {String | Number}
\t
width
\t\t\t
显示图片小图标时的宽度
\r\n\t
* @property {String | Number}
\t
height
\t\t\t
显示图片小图标时的高度
\r\n\t
* @property {String | Number}
\t
top
\t\t\t\t
图标在垂直方向上的定位 用于解决某些情况下,让图标垂直居中的用途 (默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
stop
\t\t\t
是否阻止事件传播 (默认 false )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t
icon的样式,对象形式
\r\n\t
* @event {Function} click 点击图标时触发
\r\n\t
* @event {Function} touchstart 事件触摸时触发
\r\n\t
* @example <u-icon name=
\"
photo
\"
color=
\"
#2979ff
\"
size=
\"
28
\"
></u-icon>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-icon',
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
computed: {
\r\n\t\t\t
uClasses() {
\r\n\t\t\t\t
let classes = []
\r\n\t\t\t\t
classes.push(this.customPrefix + '-' + this.name)
\r\n\t\t\t\t
// // uView的自定义图标类名为u-iconfont
\r\n\t\t\t\t
// if (this.customPrefix == 'uicon') {
\r\n\t\t\t\t
//
\t
classes.push('u-iconfont')
\r\n\t\t\t\t
// } else {
\r\n\t\t\t\t
//
\t
classes.push(this.customPrefix)
\r\n\t\t\t\t
// }
\r\n\t\t\t\t
// 主题色,通过类配置
\r\n\t\t\t\t
if (this.color && uni.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)
\r\n\t\t\t\t
// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别
\r\n\t\t\t\t
// 故需将其拆成一个字符串的形式,通过空格隔开各个类名
\r\n\t\t\t\t
//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU
\r\n\t\t\t\t
classes = classes.join(' ')
\r\n\t\t\t\t
//#endif
\r\n\t\t\t\t
return classes
\r\n\t\t\t
},
\r\n\t\t\t
iconStyle() {
\r\n\t\t\t\t
let style = {}
\r\n\t\t\t\t
style = {
\r\n\t\t\t\t\t
fontSize: uni.$u.addUnit(this.size),
\r\n\t\t\t\t\t
lineHeight: uni.$u.addUnit(this.size),
\r\n\t\t\t\t\t
fontWeight: this.bold ? 'bold' : 'normal',
\r\n\t\t\t\t\t
// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中
\r\n\t\t\t\t\t
top: uni.$u.addUnit(this.top)
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 非主题色值时,才当作颜色值
\r\n\t\t\t\t
if (this.color && !uni.$u.config.type.includes(this.color)) style.color = this.color
\r\n\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
// 判断传入的name属性,是否图片路径,只要带有
\"
/
\"
均认为是图片形式
\r\n\t\t\t
isImg() {
\r\n\t\t\t\t
return this.name.indexOf('/') !== -1
\r\n\t\t\t
},
\r\n\t\t\t
imgStyle() {
\r\n\t\t\t\t
let style = {}
\r\n\t\t\t\t
// 如果设置width和height属性,则优先使用,否则使用size属性
\r\n\t\t\t\t
style.width = this.width ? uni.$u.addUnit(this.width) : uni.$u.addUnit(this.size)
\r\n\t\t\t\t
style.height = this.height ? uni.$u.addUnit(this.height) : uni.$u.addUnit(this.size)
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
// 通过图标名,查找对应的图标
\r\n\t\t\t
icon() {
\r\n\t\t\t\t
// 如果内置的图标中找不到对应的图标,就直接返回name值,因为用户可能传入的是unicode代码
\r\n\t\t\t\t
return icons['uicon-' + this.name] || this.name
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
clickHandler(e) {
\r\n\t\t\t\t
this.$emit('click', this.index)
\r\n\t\t\t\t
// 是否阻止事件冒泡
\r\n\t\t\t\t
this.stop && this.preventEvent(e)
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
// 变量定义
\r\n\t
$u-icon-primary: $u-primary !default;
\r\n\t
$u-icon-success: $u-success !default;
\r\n\t
$u-icon-info: $u-info !default;
\r\n\t
$u-icon-warning: $u-warning !default;
\r\n\t
$u-icon-error: $u-error !default;
\r\n\t
$u-icon-label-line-height:1 !default;
\r\n\r\n\t
/* #ifndef APP-NVUE */
\r\n\t
// 非nvue下加载字体
\r\n\t
@font-face {
\r\n\t\t
font-family: 'uicon-iconfont';
\r\n\t\t
src: url('https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf') format('truetype');
\r\n\t
}
\r\n\r\n\t
/* #endif */
\r\n\r\n\t
.u-icon {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
display: flex;
\r\n\t\t
/* #endif */
\r\n\t\t
align-items: center;
\r\n\r\n\t\t
&--left {
\r\n\t\t\t
flex-direction: row-reverse;
\r\n\t\t\t
align-items: center;
\r\n\t\t
}
\r\n\r\n\t\t
&--right {
\r\n\t\t\t
flex-direction: row;
\r\n\t\t\t
align-items: center;
\r\n\t\t
}
\r\n\r\n\t\t
&--top {
\r\n\t\t\t
flex-direction: column-reverse;
\r\n\t\t\t
justify-content: center;
\r\n\t\t
}
\r\n\r\n\t\t
&--bottom {
\r\n\t\t\t
flex-direction: column;
\r\n\t\t\t
justify-content: center;
\r\n\t\t
}
\r\n\r\n\t\t
&__icon {
\r\n\t\t\t
font-family: uicon-iconfont;
\r\n\t\t\t
position: relative;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
align-items: center;
\r\n\r\n\t\t\t
&--primary {
\r\n\t\t\t\t
color: $u-icon-primary;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--success {
\r\n\t\t\t\t
color: $u-icon-success;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--error {
\r\n\t\t\t\t
color: $u-icon-error;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--warning {
\r\n\t\t\t\t
color: $u-icon-warning;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--info {
\r\n\t\t\t\t
color: $u-icon-info;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__img {
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
height: auto;
\r\n\t\t\t
will-change: transform;
\r\n\t\t\t
/* #endif */
\r\n\t\t
}
\r\n\r\n\t\t
&__label {
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
line-height: $u-icon-label-line-height;
\r\n\t\t\t
/* #endif */
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029102682
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-input/u-input.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?37ec"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?3a5a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?1b15"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?ae8b"
,
"uni-app:///node_modules/uview-ui/components/u-input/u-input.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?d256"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?b888"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4E9oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0CA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA,oBAFA,EAGA;AACA,oBAJA,EAKA;AACA,uBANA,EAOA;AACA,4BARA,EASA;AACA,oEAVA,GAYA,CAhBA,EAiBA,SACA,SACA,eADA,EAEA,OAFA,mBAEA,MAFA,EAEA,MAFA,EAEA,CACA,yBAUA,yBAXA,CAYA;AACA,qCACA,CAhBA,EADA,EAjBA,EAqCA,YACA;AACA,eAFA,yBAEA,KACA,SADA,GACA,IADA,CACA,SADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,OADA,GACA,IADA,CACA,OADA,CACA,UADA,GACA,IADA,CACA,UADA,CAEA,kEACA,CALA,EAMA;AACA,cAPA,wBAOA,CACA,iBACA,MADA,GACA,IADA,CACA,MADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,KADA,GACA,IADA,CACA,KADA,CAEA,0BACA,yDADA,EAEA,wCACA,wBACA,0BACA,iBADA,EAEA,oBAFA,EADA,EAKA,yBACA,CAnBA,EAoBA;AACA,gBArBA,0BAqBA,CACA,eADA,CAEA;AACA,0BACA,2CACA,CALA,CAMA;AACA,mCACA,oBACA,CAFA,MAEA,CACA;AACA,iCACA,4BACA,0BACA,2BACA,CACA,kEACA,CAtCA,EAuCA;AACA,cAxCA,wBAwCA,CACA,cACA,iBADA,EAEA,uCAFA,EAGA,0BAHA,GAKA,aACA,CA/CA,EArCA,EAsFA;AACA;AACA,gBAFA,wBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA,WANA,mBAMA,CANA,EAMA;AACA,oBADA,mBACA,KADA,CACA,KADA,2BACA,EADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KAjBA;AAkBA;AACA,UAnBA,kBAmBA,KAnBA,EAmBA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA;AACA,KA5BA;AA6BA;AACA,WA9BA,mBA8BA,KA9BA,EA8BA;AACA;AACA;AACA,KAjCA;AAkCA;AACA,aAnCA,qBAmCA,KAnCA,EAmCA;AACA;AACA,KArCA;AAsCA;AACA;AACA,0BAxCA,oCAwCA;AACA;AACA,KA1CA;AA2CA;AACA,eA5CA,yBA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAPA;AAQA,KAtDA;AAuDA;AACA,WAxDA,qBAwDA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KA9DA;AA+DA;;;;;AAKA,gBApEA,0BAoEA;;;;;;;;;AASA,KA7EA,EAtFA,E;;;;;;;;;;;;;ACvHA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-input/u-input.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-input.vue?vue&type=template&id=fdbb9fe6&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-input.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-input.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-input.vue?vue&type=style&index=0&id=fdbb9fe6&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
fdbb9fe6
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-input/u-input.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=template&id=fdbb9fe6&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.wrapperStyle])
\n\n
var s1 = _vm.__get_style([_vm.inputStyle])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
s1: s1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n
<view class=
\"
u-input
\"
:class=
\"
inputClass
\"
:style=
\"
[wrapperStyle]
\"
>
\r\n
<view class=
\"
u-input__content
\"
>
\r\n
<view
\r\n
class=
\"
u-input__content__prefix-icon
\"\r\n
v-if=
\"
prefixIcon || $slots.prefix
\"\r\n
>
\r\n
<slot name=
\"
prefix
\"
>
\r\n
<u-icon
\r\n
:name=
\"
prefixIcon
\"\r\n
size=
\"
18
\"\r\n
:customStyle=
\"
prefixIconStyle
\"\r\n
></u-icon>
\r\n
</slot>
\r\n
</view>
\r\n
<view class=
\"
u-input__content__field-wrapper
\"
@tap=
\"
clickHandler
\"
>
\r\n\t\t\t\t
<!-- 根据uni-app的input组件文档,H5和APP中只要声明了password参数(无论true还是false),type均失效,此时
\r\n\t\t\t\t\t
为了防止type=number时,又存在password属性,type无效,此时需要设置password为undefined
\r\n\t\t\t\t
-->
\r\n
\t
<input
\r\n
\t
class=
\"
u-input__content__field-wrapper__field
\"\r\n
\t
:style=
\"
[inputStyle]
\"\r\n
\t
:type=
\"
type
\"\r\n
\t
:focus=
\"
focus
\"\r\n
\t
:cursor=
\"
cursor
\"\r\n
\t
:value=
\"
innerValue
\"\r\n
\t
:auto-blur=
\"
autoBlur
\"\r\n
\t
:disabled=
\"
disabled || readonly
\"\r\n
\t
:maxlength=
\"
maxlength
\"\r\n
\t
:placeholder=
\"
placeholder
\"\r\n
\t
:placeholder-style=
\"
placeholderStyle
\"\r\n
\t
:placeholder-class=
\"
placeholderClass
\"\r\n
\t
:confirm-type=
\"
confirmType
\"\r\n
\t
:confirm-hold=
\"
confirmHold
\"\r\n
\t
:hold-keyboard=
\"
holdKeyboard
\"\r\n
\t
:cursor-spacing=
\"
cursorSpacing
\"\r\n
\t
:adjust-position=
\"
adjustPosition
\"\r\n
\t
:selection-end=
\"
selectionEnd
\"\r\n
\t
:selection-start=
\"
selectionStart
\"\r\n
\t
:password=
\"
password || type === 'password' || undefined
\"\r\n
\t
@input=
\"
onInput
\"\r\n
\t
@blur=
\"
onBlur
\"\r\n
\t
@focus=
\"
onFocus
\"\r\n
\t
@confirm=
\"
onConfirm
\"\r\n
\t
@keyboardheightchange=
\"
onkeyboardheightchange
\"\r\n
\t
/>
\r\n
</view>
\r\n
<view
\r\n
class=
\"
u-input__content__clear
\"\r\n
v-if=
\"
isShowClear
\"\r\n
@tap=
\"
onClear
\"\r\n
>
\r\n
<u-icon
\r\n
name=
\"
close
\"\r\n
size=
\"
11
\"\r\n
color=
\"
#ffffff
\"\r\n
customStyle=
\"
line-height: 12px
\"\r\n
></u-icon>
\r\n
</view>
\r\n
<view
\r\n
class=
\"
u-input__content__subfix-icon
\"\r\n
v-if=
\"
suffixIcon || $slots.suffix
\"\r\n
>
\r\n
<slot name=
\"
suffix
\"
>
\r\n
<u-icon
\r\n
:name=
\"
suffixIcon
\"\r\n
size=
\"
18
\"\r\n
:customStyle=
\"
suffixIconStyle
\"\r\n
></u-icon>
\r\n
</slot>
\r\n
</view>
\r\n
</view>
\r\n
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n
import props from
\"
./props.js
\"
;
\r\n
/**
\r\n
* Input 输入框
\r\n
* @description 此组件为一个输入框,默认没有边框和样式,是专门为配合表单组件u-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。
\r\n
* @tutorial https://uviewui.com/components/input.html
\r\n
* @property {String | Number}
\t
value
\t\t\t\t\t
输入的值
\r\n
* @property {String}
\t\t\t
type
\t\t\t\t\t
输入框类型,见上方说明 ( 默认 'text' )
\r\n
* @property {Boolean}
\t\t\t
fixed
\t\t\t\t\t
如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
disabled
\t\t\t\t
是否禁用输入框 ( 默认 false )
\r\n
* @property {String}
\t\t\t
disabledColor
\t\t\t
禁用状态时的背景色( 默认 '#f5f7fa' )
\r\n
* @property {Boolean}
\t\t\t
clearable
\t\t\t\t
是否显示清除控件 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
password
\t\t\t\t
是否密码类型 ( 默认 false )
\r\n
* @property {String | Number}
\t
maxlength
\t\t\t\t
最大输入长度,设置为 -1 的时候不限制最大长度 ( 默认 -1 )
\r\n
* @property {String}
\t\t\t
placeholder
\t\t\t\t
输入框为空时的占位符
\r\n
* @property {String}
\t\t\t
placeholderClass
\t\t
指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' )
\r\n
* @property {String | Object}
\t
placeholderStyle
\t\t
指定placeholder的样式,字符串/对象形式,如
\"
color: red;
\"\r\n
* @property {Boolean}
\t\t\t
showWordLimit
\t\t\t
是否显示输入字数统计,只在 type =
\"
text
\"
或type =
\"
textarea
\"
时有效 ( 默认 false )
\r\n
* @property {String}
\t\t\t
confirmType
\t\t\t\t
设置右下角按钮的文字,兼容性详见uni-app文档 ( 默认 'done' )
\r\n
* @property {Boolean}
\t\t\t
confirmHold
\t\t\t\t
点击键盘右下角按钮时是否保持键盘不收起,H5无效 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
holdKeyboard
\t\t\t
focus时,点击页面的时候不收起键盘,微信小程序有效 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
focus
\t\t\t\t\t
自动获取焦点,在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
autoBlur
\t\t\t\t
键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
disableDefaultPadding
\t
是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效 ( 默认 false )
\r\n
* @property {String | Number}
\t
cursor
\t\t\t\t\t
指定focus时光标的位置( 默认 -1 )
\r\n
* @property {String | Number}
\t
cursorSpacing
\t\t\t
输入框聚焦时底部与键盘的距离 ( 默认 30 )
\r\n
* @property {String | Number}
\t
selectionStart
\t\t\t
光标起始位置,自动聚集时有效,需与selection-end搭配使用 ( 默认 -1 )
\r\n
* @property {String | Number}
\t
selectionEnd
\t\t\t
光标结束位置,自动聚集时有效,需与selection-start搭配使用 ( 默认 -1 )
\r\n
* @property {Boolean}
\t\t\t
adjustPosition
\t\t\t
键盘弹起时,是否自动上推页面 ( 默认 true )
\r\n
* @property {String}
\t\t\t
inputAlign
\t\t\t\t
输入框内容对齐方式( 默认 'left' )
\r\n
* @property {String | Number}
\t
fontSize
\t\t\t\t
输入框字体的大小 ( 默认 '15px' )
\r\n
* @property {String}
\t\t\t
color
\t\t\t\t\t
输入框字体颜色
\t
( 默认 '#303133' )
\r\n
* @property {Function}
\t\t\t
formatter
\t\t\t
内容式化函数
\r\n
* @property {String}
\t\t\t
prefixIcon
\t\t\t\t
输入框前置图标
\r\n
* @property {String | Object}
\t
prefixIconStyle
\t\t\t
前置图标样式,对象或字符串
\r\n
* @property {String}
\t\t\t
suffixIcon
\t\t\t\t
输入框后置图标
\r\n
* @property {String | Object}
\t
suffixIconStyle
\t\t\t
后置图标样式,对象或字符串
\r\n
* @property {String}
\t\t\t
border
\t\t\t\t\t
边框类型,surround-四周边框,bottom-底部边框,none-无边框 ( 默认 'surround' )
\r\n
* @property {Boolean}
\t\t\t
readonly
\t\t\t\t
是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会 ( 默认 false )
\r\n
* @property {String}
\t\t\t
shape
\t\t\t\t\t
输入框形状,circle-圆形,square-方形 ( 默认 'square' )
\r\n
* @property {Object}
\t\t\t
customStyle
\t\t\t\t
定义需要用到的外部样式
\r\n
*
\r\n
* @example <u-input v-model=
\"
value
\"
:password=
\"
true
\"
suffix-icon=
\"
lock-fill
\"
/>
\r\n
*/
\r\n
export default {
\r\n
name:
\"
u-input
\"
,
\r\n
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n
data() {
\r\n
return {
\r\n
// 输入框的值
\r\n
innerValue:
\"\"
,
\r\n
// 是否处于获得焦点状态
\r\n
focused: false,
\r\n
// value是否第一次变化,在watch中,由于加入immediate属性,会在第一次触发,此时不应该认为value发生了变化
\r\n
firstChange: true,
\r\n
// value绑定值的变化是由内部还是外部引起的
\r\n
changeFromInner: false,
\r\n\t\t\t
// 过滤处理方法
\r\n\t\t\t
innerFormatter: value => value
\r\n
};
\r\n
},
\r\n
watch: {
\r\n
value: {
\r\n
immediate: true,
\r\n
handler(newVal, oldVal) {
\r\n
this.innerValue = newVal;
\r\n
/* #ifdef H5 */
\r\n
// 在H5中,外部value变化后,修改input中的值,不会触发@input事件,此时手动调用值变化方法
\r\n
if (
\r\n
this.firstChange === false &&
\r\n
this.changeFromInner === false
\r\n
) {
\r\n
this.valueChange();
\r\n
}
\r\n
/* #endif */
\r\n
this.firstChange = false;
\r\n
// 重置changeFromInner的值为false,标识下一次引起默认为外部引起的
\r\n
this.changeFromInner = false;
\r\n
},
\r\n
},
\r\n
},
\r\n
computed: {
\r\n
// 是否显示清除控件
\r\n
isShowClear() {
\r\n
const { clearable, readonly, focused, innerValue } = this;
\r\n
return !!clearable && !readonly && !!focused && innerValue !==
\"\"
;
\r\n
},
\r\n
// 组件的类名
\r\n
inputClass() {
\r\n
let classes = [],
\r\n
{ border, disabled, shape } = this;
\r\n
border ===
\"
surround
\"
&&
\r\n
(classes = classes.concat([
\"
u-border
\"
,
\"
u-input--radius
\"
]));
\r\n
classes.push(`u-input--${shape}`);
\r\n
border ===
\"
bottom
\"
&&
\r\n
(classes = classes.concat([
\r\n
\"
u-border-bottom
\"
,
\r\n
\"
u-input--no-radius
\"
,
\r\n
]));
\r\n
return classes.join(
\"
\"
);
\r\n
},
\r\n
// 组件的样式
\r\n
wrapperStyle() {
\r\n
const style = {};
\r\n
// 禁用状态下,被背景色加上对应的样式
\r\n
if (this.disabled) {
\r\n
style.backgroundColor = this.disabledColor;
\r\n
}
\r\n
// 无边框时,去除内边距
\r\n
if (this.border ===
\"
none
\"
) {
\r\n
style.padding =
\"
0
\"
;
\r\n
} else {
\r\n
// 由于uni-app的iOS开发者能力有限,导致需要分开写才有效
\r\n
style.paddingTop =
\"
6px
\"
;
\r\n
style.paddingBottom =
\"
6px
\"
;
\r\n
style.paddingLeft =
\"
9px
\"
;
\r\n
style.paddingRight =
\"
9px
\"
;
\r\n
}
\r\n
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));
\r\n
},
\r\n
// 输入框的样式
\r\n
inputStyle() {
\r\n
const style = {
\r\n
color: this.color,
\r\n
fontSize: uni.$u.addUnit(this.fontSize),
\r\n\t\t\t\t
textAlign: this.inputAlign
\r\n
};
\r\n
return style;
\r\n
},
\r\n
},
\r\n
methods: {
\r\n\t\t
// 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用
\r\n\t\t
setFormatter(e) {
\r\n\t\t\t
this.innerFormatter = e
\r\n\t\t
},
\r\n
// 当键盘输入时,触发input事件
\r\n
onInput(e) {
\r\n
let { value =
\"\"
} = e.detail || {};
\r\n
// 格式化过滤方法
\r\n
const formatter = this.formatter || this.innerFormatter
\r\n
const formatValue = formatter(value)
\r\n
// 为了避免props的单向数据流特性,需要先将innerValue值设置为当前值,再在$nextTick中重新赋予设置后的值才有效
\r\n
this.innerValue = value
\r\n
this.$nextTick(() => {
\r\n
\t
this.innerValue = formatValue;
\r\n
\t
this.valueChange();
\r\n
})
\r\n
},
\r\n
// 输入框失去焦点时触发
\r\n
onBlur(event) {
\r\n
this.$emit(
\"
blur
\"
, event.detail.value);
\r\n
// H5端的blur会先于点击清除控件的点击click事件触发,导致focused
\r\n
// 瞬间为false,从而隐藏了清除控件而无法被点击到
\r\n
uni.$u.sleep(50).then(() => {
\r\n
this.focused = false;
\r\n
});
\r\n
// 尝试调用u-form的验证方法
\r\n
uni.$u.formValidate(this,
\"
blur
\"
);
\r\n
},
\r\n
// 输入框聚焦时触发
\r\n
onFocus(event) {
\r\n
this.focused = true;
\r\n
this.$emit(
\"
focus
\"
);
\r\n
},
\r\n
// 点击完成按钮时触发
\r\n
onConfirm(event) {
\r\n
this.$emit(
\"
confirm
\"
, this.innerValue);
\r\n
},
\r\n
// 键盘高度发生变化的时候触发此事件
\r\n
// 兼容性:微信小程序2.7.0+、App 3.1.0+
\r\n\t\t
onkeyboardheightchange() {
\r\n
this.$emit(
\"
keyboardheightchange
\"
);
\r\n
},
\r\n
// 内容发生变化,进行处理
\r\n
valueChange() {
\r\n
const value = this.innerValue;
\r\n
this.$nextTick(() => {
\r\n
this.$emit(
\"
input
\"
, value);
\r\n
// 标识value值的变化是由内部引起的
\r\n
this.changeFromInner = true;
\r\n
this.$emit(
\"
change
\"
, value);
\r\n
// 尝试调用u-form的验证方法
\r\n
uni.$u.formValidate(this,
\"
change
\"
);
\r\n
});
\r\n
},
\r\n
// 点击清除控件
\r\n
onClear() {
\r\n
this.innerValue =
\"\"
;
\r\n
this.$nextTick(() => {
\r\n
this.valueChange();
\r\n
this.$emit(
\"
clear
\"
);
\r\n
});
\r\n
},
\r\n
/**
\r\n
* 在安卓nvue上,事件无法冒泡
\r\n
* 在某些时间,我们希望监听u-from-item的点击事件,此时会导致点击u-form-item内的u-input后
\r\n
* 无法触发u-form-item的点击事件,这里通过手动调用u-form-item的方法进行触发
\r\n
*/
\r\n
clickHandler() {
\r\n
// #ifdef APP-NVUE
\r\n
if (uni.$u.os() ===
\"
android
\"
) {
\r\n
const formItem = uni.$u.$parent.call(this,
\"
u-form-item
\"
);
\r\n
if (formItem) {
\r\n
formItem.clickHandler();
\r\n
}
\r\n
}
\r\n
// #endif
\r\n
},
\r\n
},
\r\n
};
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n
.u-input {
\r\n
@include flex(row);
\r\n
align-items: center;
\r\n
justify-content: space-between;
\r\n
flex: 1;
\r\n\r\n
&--radius,
\r\n
&--square {
\r\n
border-radius: 4px;
\r\n
}
\r\n\r\n
&--no-radius {
\r\n
border-radius: 0;
\r\n
}
\r\n\r\n
&--circle {
\r\n
border-radius: 100px;
\r\n
}
\r\n\r\n
&__content {
\r\n
flex: 1;
\r\n
@include flex(row);
\r\n
align-items: center;
\r\n
justify-content: space-between;
\r\n\r\n
&__field-wrapper {
\r\n
position: relative;
\r\n
@include flex(row);
\r\n
margin: 0;
\r\n
flex: 1;
\r\n\t\t\t\r\n\t\t\t
&__field {
\r\n\t\t\t\t
line-height: 26px;
\r\n\t\t\t\t
text-align: left;
\r\n\t\t\t\t
color: $u-main-color;
\r\n\t\t\t\t
height: 24px;
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t
}
\r\n
}
\r\n\r\n
&__clear {
\r\n
width: 20px;
\r\n
height: 20px;
\r\n
border-radius: 100px;
\r\n
background-color: #c6c7cb;
\r\n
@include flex(row);
\r\n
align-items: center;
\r\n
justify-content: center;
\r\n
transform: scale(0.82);
\r\n
margin-left: 4px;
\r\n
}
\r\n\r\n
&__subfix-icon {
\r\n
margin-left: 4px;
\r\n
}
\r\n\r\n
&__prefix-icon {
\r\n
margin-right: 4px;
\r\n
}
\r\n
}
\r\n
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=style&index=0&id=fdbb9fe6&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=style&index=0&id=fdbb9fe6&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659089
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?37ec"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?3a5a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?1b15"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?ae8b"
,
"uni-app:///node_modules/uview-ui/components/u-input/u-input.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?d256"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-input/u-input.vue?b888"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4E9oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0CA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA,oBAFA,EAGA;AACA,oBAJA,EAKA;AACA,uBANA,EAOA;AACA,4BARA,EASA;AACA,oEAVA,GAYA,CAhBA,EAiBA,SACA,SACA,eADA,EAEA,OAFA,mBAEA,MAFA,EAEA,MAFA,EAEA,CACA,yBAUA,yBAXA,CAYA;AACA,qCACA,CAhBA,EADA,EAjBA,EAqCA,YACA;AACA,eAFA,yBAEA,KACA,SADA,GACA,IADA,CACA,SADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,OADA,GACA,IADA,CACA,OADA,CACA,UADA,GACA,IADA,CACA,UADA,CAEA,kEACA,CALA,EAMA;AACA,cAPA,wBAOA,CACA,iBACA,MADA,GACA,IADA,CACA,MADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,KADA,GACA,IADA,CACA,KADA,CAEA,0BACA,yDADA,EAEA,wCACA,wBACA,0BACA,iBADA,EAEA,oBAFA,EADA,EAKA,yBACA,CAnBA,EAoBA;AACA,gBArBA,0BAqBA,CACA,eADA,CAEA;AACA,0BACA,2CACA,CALA,CAMA;AACA,mCACA,oBACA,CAFA,MAEA,CACA;AACA,iCACA,4BACA,0BACA,2BACA,CACA,kEACA,CAtCA,EAuCA;AACA,cAxCA,wBAwCA,CACA,cACA,iBADA,EAEA,uCAFA,EAGA,0BAHA,GAKA,aACA,CA/CA,EArCA,EAsFA;AACA;AACA,gBAFA,wBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA,WANA,mBAMA,CANA,EAMA;AACA,oBADA,mBACA,KADA,CACA,KADA,2BACA,EADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KAjBA;AAkBA;AACA,UAnBA,kBAmBA,KAnBA,EAmBA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA;AACA,KA5BA;AA6BA;AACA,WA9BA,mBA8BA,KA9BA,EA8BA;AACA;AACA;AACA,KAjCA;AAkCA;AACA,aAnCA,qBAmCA,KAnCA,EAmCA;AACA;AACA,KArCA;AAsCA;AACA;AACA,0BAxCA,oCAwCA;AACA;AACA,KA1CA;AA2CA;AACA,eA5CA,yBA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAPA;AAQA,KAtDA;AAuDA;AACA,WAxDA,qBAwDA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KA9DA;AA+DA;;;;;AAKA,gBApEA,0BAoEA;;;;;;;;;AASA,KA7EA,EAtFA,E;;;;;;;;;;;;;ACvHA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-input/u-input.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-input.vue?vue&type=template&id=fdbb9fe6&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-input.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-input.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-input.vue?vue&type=style&index=0&id=fdbb9fe6&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
fdbb9fe6
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-input/u-input.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=template&id=fdbb9fe6&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.wrapperStyle])
\n\n
var s1 = _vm.__get_style([_vm.inputStyle])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
s1: s1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n
<view class=
\"
u-input
\"
:class=
\"
inputClass
\"
:style=
\"
[wrapperStyle]
\"
>
\r\n
<view class=
\"
u-input__content
\"
>
\r\n
<view
\r\n
class=
\"
u-input__content__prefix-icon
\"\r\n
v-if=
\"
prefixIcon || $slots.prefix
\"\r\n
>
\r\n
<slot name=
\"
prefix
\"
>
\r\n
<u-icon
\r\n
:name=
\"
prefixIcon
\"\r\n
size=
\"
18
\"\r\n
:customStyle=
\"
prefixIconStyle
\"\r\n
></u-icon>
\r\n
</slot>
\r\n
</view>
\r\n
<view class=
\"
u-input__content__field-wrapper
\"
@tap=
\"
clickHandler
\"
>
\r\n\t\t\t\t
<!-- 根据uni-app的input组件文档,H5和APP中只要声明了password参数(无论true还是false),type均失效,此时
\r\n\t\t\t\t\t
为了防止type=number时,又存在password属性,type无效,此时需要设置password为undefined
\r\n\t\t\t\t
-->
\r\n
\t
<input
\r\n
\t
class=
\"
u-input__content__field-wrapper__field
\"\r\n
\t
:style=
\"
[inputStyle]
\"\r\n
\t
:type=
\"
type
\"\r\n
\t
:focus=
\"
focus
\"\r\n
\t
:cursor=
\"
cursor
\"\r\n
\t
:value=
\"
innerValue
\"\r\n
\t
:auto-blur=
\"
autoBlur
\"\r\n
\t
:disabled=
\"
disabled || readonly
\"\r\n
\t
:maxlength=
\"
maxlength
\"\r\n
\t
:placeholder=
\"
placeholder
\"\r\n
\t
:placeholder-style=
\"
placeholderStyle
\"\r\n
\t
:placeholder-class=
\"
placeholderClass
\"\r\n
\t
:confirm-type=
\"
confirmType
\"\r\n
\t
:confirm-hold=
\"
confirmHold
\"\r\n
\t
:hold-keyboard=
\"
holdKeyboard
\"\r\n
\t
:cursor-spacing=
\"
cursorSpacing
\"\r\n
\t
:adjust-position=
\"
adjustPosition
\"\r\n
\t
:selection-end=
\"
selectionEnd
\"\r\n
\t
:selection-start=
\"
selectionStart
\"\r\n
\t
:password=
\"
password || type === 'password' || undefined
\"\r\n
\t
@input=
\"
onInput
\"\r\n
\t
@blur=
\"
onBlur
\"\r\n
\t
@focus=
\"
onFocus
\"\r\n
\t
@confirm=
\"
onConfirm
\"\r\n
\t
@keyboardheightchange=
\"
onkeyboardheightchange
\"\r\n
\t
/>
\r\n
</view>
\r\n
<view
\r\n
class=
\"
u-input__content__clear
\"\r\n
v-if=
\"
isShowClear
\"\r\n
@tap=
\"
onClear
\"\r\n
>
\r\n
<u-icon
\r\n
name=
\"
close
\"\r\n
size=
\"
11
\"\r\n
color=
\"
#ffffff
\"\r\n
customStyle=
\"
line-height: 12px
\"\r\n
></u-icon>
\r\n
</view>
\r\n
<view
\r\n
class=
\"
u-input__content__subfix-icon
\"\r\n
v-if=
\"
suffixIcon || $slots.suffix
\"\r\n
>
\r\n
<slot name=
\"
suffix
\"
>
\r\n
<u-icon
\r\n
:name=
\"
suffixIcon
\"\r\n
size=
\"
18
\"\r\n
:customStyle=
\"
suffixIconStyle
\"\r\n
></u-icon>
\r\n
</slot>
\r\n
</view>
\r\n
</view>
\r\n
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n
import props from
\"
./props.js
\"
;
\r\n
/**
\r\n
* Input 输入框
\r\n
* @description 此组件为一个输入框,默认没有边框和样式,是专门为配合表单组件u-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。
\r\n
* @tutorial https://uviewui.com/components/input.html
\r\n
* @property {String | Number}
\t
value
\t\t\t\t\t
输入的值
\r\n
* @property {String}
\t\t\t
type
\t\t\t\t\t
输入框类型,见上方说明 ( 默认 'text' )
\r\n
* @property {Boolean}
\t\t\t
fixed
\t\t\t\t\t
如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
disabled
\t\t\t\t
是否禁用输入框 ( 默认 false )
\r\n
* @property {String}
\t\t\t
disabledColor
\t\t\t
禁用状态时的背景色( 默认 '#f5f7fa' )
\r\n
* @property {Boolean}
\t\t\t
clearable
\t\t\t\t
是否显示清除控件 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
password
\t\t\t\t
是否密码类型 ( 默认 false )
\r\n
* @property {String | Number}
\t
maxlength
\t\t\t\t
最大输入长度,设置为 -1 的时候不限制最大长度 ( 默认 -1 )
\r\n
* @property {String}
\t\t\t
placeholder
\t\t\t\t
输入框为空时的占位符
\r\n
* @property {String}
\t\t\t
placeholderClass
\t\t
指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' )
\r\n
* @property {String | Object}
\t
placeholderStyle
\t\t
指定placeholder的样式,字符串/对象形式,如
\"
color: red;
\"\r\n
* @property {Boolean}
\t\t\t
showWordLimit
\t\t\t
是否显示输入字数统计,只在 type =
\"
text
\"
或type =
\"
textarea
\"
时有效 ( 默认 false )
\r\n
* @property {String}
\t\t\t
confirmType
\t\t\t\t
设置右下角按钮的文字,兼容性详见uni-app文档 ( 默认 'done' )
\r\n
* @property {Boolean}
\t\t\t
confirmHold
\t\t\t\t
点击键盘右下角按钮时是否保持键盘不收起,H5无效 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
holdKeyboard
\t\t\t
focus时,点击页面的时候不收起键盘,微信小程序有效 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
focus
\t\t\t\t\t
自动获取焦点,在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
autoBlur
\t\t\t\t
键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效 ( 默认 false )
\r\n
* @property {Boolean}
\t\t\t
disableDefaultPadding
\t
是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效 ( 默认 false )
\r\n
* @property {String | Number}
\t
cursor
\t\t\t\t\t
指定focus时光标的位置( 默认 -1 )
\r\n
* @property {String | Number}
\t
cursorSpacing
\t\t\t
输入框聚焦时底部与键盘的距离 ( 默认 30 )
\r\n
* @property {String | Number}
\t
selectionStart
\t\t\t
光标起始位置,自动聚集时有效,需与selection-end搭配使用 ( 默认 -1 )
\r\n
* @property {String | Number}
\t
selectionEnd
\t\t\t
光标结束位置,自动聚集时有效,需与selection-start搭配使用 ( 默认 -1 )
\r\n
* @property {Boolean}
\t\t\t
adjustPosition
\t\t\t
键盘弹起时,是否自动上推页面 ( 默认 true )
\r\n
* @property {String}
\t\t\t
inputAlign
\t\t\t\t
输入框内容对齐方式( 默认 'left' )
\r\n
* @property {String | Number}
\t
fontSize
\t\t\t\t
输入框字体的大小 ( 默认 '15px' )
\r\n
* @property {String}
\t\t\t
color
\t\t\t\t\t
输入框字体颜色
\t
( 默认 '#303133' )
\r\n
* @property {Function}
\t\t\t
formatter
\t\t\t
内容式化函数
\r\n
* @property {String}
\t\t\t
prefixIcon
\t\t\t\t
输入框前置图标
\r\n
* @property {String | Object}
\t
prefixIconStyle
\t\t\t
前置图标样式,对象或字符串
\r\n
* @property {String}
\t\t\t
suffixIcon
\t\t\t\t
输入框后置图标
\r\n
* @property {String | Object}
\t
suffixIconStyle
\t\t\t
后置图标样式,对象或字符串
\r\n
* @property {String}
\t\t\t
border
\t\t\t\t\t
边框类型,surround-四周边框,bottom-底部边框,none-无边框 ( 默认 'surround' )
\r\n
* @property {Boolean}
\t\t\t
readonly
\t\t\t\t
是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会 ( 默认 false )
\r\n
* @property {String}
\t\t\t
shape
\t\t\t\t\t
输入框形状,circle-圆形,square-方形 ( 默认 'square' )
\r\n
* @property {Object}
\t\t\t
customStyle
\t\t\t\t
定义需要用到的外部样式
\r\n
*
\r\n
* @example <u-input v-model=
\"
value
\"
:password=
\"
true
\"
suffix-icon=
\"
lock-fill
\"
/>
\r\n
*/
\r\n
export default {
\r\n
name:
\"
u-input
\"
,
\r\n
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n
data() {
\r\n
return {
\r\n
// 输入框的值
\r\n
innerValue:
\"\"
,
\r\n
// 是否处于获得焦点状态
\r\n
focused: false,
\r\n
// value是否第一次变化,在watch中,由于加入immediate属性,会在第一次触发,此时不应该认为value发生了变化
\r\n
firstChange: true,
\r\n
// value绑定值的变化是由内部还是外部引起的
\r\n
changeFromInner: false,
\r\n\t\t\t
// 过滤处理方法
\r\n\t\t\t
innerFormatter: value => value
\r\n
};
\r\n
},
\r\n
watch: {
\r\n
value: {
\r\n
immediate: true,
\r\n
handler(newVal, oldVal) {
\r\n
this.innerValue = newVal;
\r\n
/* #ifdef H5 */
\r\n
// 在H5中,外部value变化后,修改input中的值,不会触发@input事件,此时手动调用值变化方法
\r\n
if (
\r\n
this.firstChange === false &&
\r\n
this.changeFromInner === false
\r\n
) {
\r\n
this.valueChange();
\r\n
}
\r\n
/* #endif */
\r\n
this.firstChange = false;
\r\n
// 重置changeFromInner的值为false,标识下一次引起默认为外部引起的
\r\n
this.changeFromInner = false;
\r\n
},
\r\n
},
\r\n
},
\r\n
computed: {
\r\n
// 是否显示清除控件
\r\n
isShowClear() {
\r\n
const { clearable, readonly, focused, innerValue } = this;
\r\n
return !!clearable && !readonly && !!focused && innerValue !==
\"\"
;
\r\n
},
\r\n
// 组件的类名
\r\n
inputClass() {
\r\n
let classes = [],
\r\n
{ border, disabled, shape } = this;
\r\n
border ===
\"
surround
\"
&&
\r\n
(classes = classes.concat([
\"
u-border
\"
,
\"
u-input--radius
\"
]));
\r\n
classes.push(`u-input--${shape}`);
\r\n
border ===
\"
bottom
\"
&&
\r\n
(classes = classes.concat([
\r\n
\"
u-border-bottom
\"
,
\r\n
\"
u-input--no-radius
\"
,
\r\n
]));
\r\n
return classes.join(
\"
\"
);
\r\n
},
\r\n
// 组件的样式
\r\n
wrapperStyle() {
\r\n
const style = {};
\r\n
// 禁用状态下,被背景色加上对应的样式
\r\n
if (this.disabled) {
\r\n
style.backgroundColor = this.disabledColor;
\r\n
}
\r\n
// 无边框时,去除内边距
\r\n
if (this.border ===
\"
none
\"
) {
\r\n
style.padding =
\"
0
\"
;
\r\n
} else {
\r\n
// 由于uni-app的iOS开发者能力有限,导致需要分开写才有效
\r\n
style.paddingTop =
\"
6px
\"
;
\r\n
style.paddingBottom =
\"
6px
\"
;
\r\n
style.paddingLeft =
\"
9px
\"
;
\r\n
style.paddingRight =
\"
9px
\"
;
\r\n
}
\r\n
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));
\r\n
},
\r\n
// 输入框的样式
\r\n
inputStyle() {
\r\n
const style = {
\r\n
color: this.color,
\r\n
fontSize: uni.$u.addUnit(this.fontSize),
\r\n\t\t\t\t
textAlign: this.inputAlign
\r\n
};
\r\n
return style;
\r\n
},
\r\n
},
\r\n
methods: {
\r\n\t\t
// 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用
\r\n\t\t
setFormatter(e) {
\r\n\t\t\t
this.innerFormatter = e
\r\n\t\t
},
\r\n
// 当键盘输入时,触发input事件
\r\n
onInput(e) {
\r\n
let { value =
\"\"
} = e.detail || {};
\r\n
// 格式化过滤方法
\r\n
const formatter = this.formatter || this.innerFormatter
\r\n
const formatValue = formatter(value)
\r\n
// 为了避免props的单向数据流特性,需要先将innerValue值设置为当前值,再在$nextTick中重新赋予设置后的值才有效
\r\n
this.innerValue = value
\r\n
this.$nextTick(() => {
\r\n
\t
this.innerValue = formatValue;
\r\n
\t
this.valueChange();
\r\n
})
\r\n
},
\r\n
// 输入框失去焦点时触发
\r\n
onBlur(event) {
\r\n
this.$emit(
\"
blur
\"
, event.detail.value);
\r\n
// H5端的blur会先于点击清除控件的点击click事件触发,导致focused
\r\n
// 瞬间为false,从而隐藏了清除控件而无法被点击到
\r\n
uni.$u.sleep(50).then(() => {
\r\n
this.focused = false;
\r\n
});
\r\n
// 尝试调用u-form的验证方法
\r\n
uni.$u.formValidate(this,
\"
blur
\"
);
\r\n
},
\r\n
// 输入框聚焦时触发
\r\n
onFocus(event) {
\r\n
this.focused = true;
\r\n
this.$emit(
\"
focus
\"
);
\r\n
},
\r\n
// 点击完成按钮时触发
\r\n
onConfirm(event) {
\r\n
this.$emit(
\"
confirm
\"
, this.innerValue);
\r\n
},
\r\n
// 键盘高度发生变化的时候触发此事件
\r\n
// 兼容性:微信小程序2.7.0+、App 3.1.0+
\r\n\t\t
onkeyboardheightchange() {
\r\n
this.$emit(
\"
keyboardheightchange
\"
);
\r\n
},
\r\n
// 内容发生变化,进行处理
\r\n
valueChange() {
\r\n
const value = this.innerValue;
\r\n
this.$nextTick(() => {
\r\n
this.$emit(
\"
input
\"
, value);
\r\n
// 标识value值的变化是由内部引起的
\r\n
this.changeFromInner = true;
\r\n
this.$emit(
\"
change
\"
, value);
\r\n
// 尝试调用u-form的验证方法
\r\n
uni.$u.formValidate(this,
\"
change
\"
);
\r\n
});
\r\n
},
\r\n
// 点击清除控件
\r\n
onClear() {
\r\n
this.innerValue =
\"\"
;
\r\n
this.$nextTick(() => {
\r\n
this.valueChange();
\r\n
this.$emit(
\"
clear
\"
);
\r\n
});
\r\n
},
\r\n
/**
\r\n
* 在安卓nvue上,事件无法冒泡
\r\n
* 在某些时间,我们希望监听u-from-item的点击事件,此时会导致点击u-form-item内的u-input后
\r\n
* 无法触发u-form-item的点击事件,这里通过手动调用u-form-item的方法进行触发
\r\n
*/
\r\n
clickHandler() {
\r\n
// #ifdef APP-NVUE
\r\n
if (uni.$u.os() ===
\"
android
\"
) {
\r\n
const formItem = uni.$u.$parent.call(this,
\"
u-form-item
\"
);
\r\n
if (formItem) {
\r\n
formItem.clickHandler();
\r\n
}
\r\n
}
\r\n
// #endif
\r\n
},
\r\n
},
\r\n
};
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n
.u-input {
\r\n
@include flex(row);
\r\n
align-items: center;
\r\n
justify-content: space-between;
\r\n
flex: 1;
\r\n\r\n
&--radius,
\r\n
&--square {
\r\n
border-radius: 4px;
\r\n
}
\r\n\r\n
&--no-radius {
\r\n
border-radius: 0;
\r\n
}
\r\n\r\n
&--circle {
\r\n
border-radius: 100px;
\r\n
}
\r\n\r\n
&__content {
\r\n
flex: 1;
\r\n
@include flex(row);
\r\n
align-items: center;
\r\n
justify-content: space-between;
\r\n\r\n
&__field-wrapper {
\r\n
position: relative;
\r\n
@include flex(row);
\r\n
margin: 0;
\r\n
flex: 1;
\r\n\t\t\t\r\n\t\t\t
&__field {
\r\n\t\t\t\t
line-height: 26px;
\r\n\t\t\t\t
text-align: left;
\r\n\t\t\t\t
color: $u-main-color;
\r\n\t\t\t\t
height: 24px;
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t
}
\r\n
}
\r\n\r\n
&__clear {
\r\n
width: 20px;
\r\n
height: 20px;
\r\n
border-radius: 100px;
\r\n
background-color: #c6c7cb;
\r\n
@include flex(row);
\r\n
align-items: center;
\r\n
justify-content: center;
\r\n
transform: scale(0.82);
\r\n
margin-left: 4px;
\r\n
}
\r\n\r\n
&__subfix-icon {
\r\n
margin-left: 4px;
\r\n
}
\r\n\r\n
&__prefix-icon {
\r\n
margin-right: 4px;
\r\n
}
\r\n
}
\r\n
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=style&index=0&id=fdbb9fe6&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-input.vue?vue&type=style&index=0&id=fdbb9fe6&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029102505
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-line/u-line.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?9c5d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?e8c5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?88f8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?83ce"
,
"uni-app:///node_modules/uview-ui/components/u-line/u-line.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?68ca"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?928f"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU7oB,gF;;;;;;;;;AACA;;;;;;;;;;;;kBAaA,EACA,cADA,EAEA,sDAFA,EAGA,YACA,SADA,uBACA,CACA,eACA,2BAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KArBA,EAHA,E;;;;;;;;;;;;;ACxBA;AAAA;AAAA;AAAA;AAAgtC,CAAgB,6qCAAG,EAAC,C;;;;;;;;;;;ACApuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-line/u-line.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-line.vue?vue&type=template&id=e778bab2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-line.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-line.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
e778bab2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-line/u-line.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=template&id=e778bab2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.lineStyle])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t
class=
\"
u-line
\"\r\n\t
:style=
\"
[lineStyle]
\"\r\n\t
>
\r\n\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* line 线条
\r\n\t
* @description 此组件一般用于显示一根线条,用于分隔内容块,有横向和竖向两种模式,且能设置0.5px线条,使用也很简单
\r\n\t
* @tutorial https://www.uviewui.com/components/line.html
\r\n\t
* @property {String}
\t\t\t
color
\t\t
线条的颜色 ( 默认 '#d6d7d9' )
\r\n\t
* @property {String | Number}
\t
length
\t\t
长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 ( 默认 '100%' )
\r\n\t
* @property {String}
\t\t\t
direction
\t
线条的方向,row-横向,col-竖向 (默认 'row' )
\r\n\t
* @property {Boolean}
\t\t\t
hairline
\t
是否显示细线条 (默认 true )
\r\n\t
* @property {String | Number}
\t
margin
\t\t
线条与上下左右元素的间距,字符串形式,如
\"
30px
\"
(默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
dashed
\t\t
是否虚线,true-虚线,false-实线 (默认 false )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
* @example <u-line color=
\"
red
\"
></u-line>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-line',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
computed: {
\r\n\t\t\t
lineStyle() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
style.margin = this.margin
\r\n\t\t\t\t
// 如果是水平线条,边框高度为1px,再通过transform缩小一半,就是0.5px了
\r\n\t\t\t\t
if (this.direction === 'row') {
\r\n\t\t\t\t\t
// 此处采用兼容分开写,兼容nvue的写法
\r\n\t\t\t\t\t
style.borderBottomWidth = '1px'
\r\n\t\t\t\t\t
style.borderBottomStyle = this.dashed ? 'dashed' : 'solid'
\r\n\t\t\t\t\t
style.width = uni.$u.addUnit(this.length)
\r\n\t\t\t\t\t
if (this.hairline) style.transform = 'scaleY(0.5)'
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 如果是竖向线条,边框宽度为1px,再通过transform缩小一半,就是0.5px了
\r\n\t\t\t\t\t
style.borderLeftWidth = '1px'
\r\n\t\t\t\t\t
style.borderLeftStyle = this.dashed ? 'dashed' : 'solid'
\r\n\t\t\t\t\t
style.height = uni.$u.addUnit(this.length)
\r\n\t\t\t\t\t
if (this.hairline) style.transform = 'scaleX(0.5)'
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
style.borderColor = this.color
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-line {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
vertical-align: middle;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659224
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?9c5d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?e8c5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?88f8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?83ce"
,
"uni-app:///node_modules/uview-ui/components/u-line/u-line.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?68ca"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-line/u-line.vue?928f"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU7oB,gF;;;;;;;;;AACA;;;;;;;;;;;;kBAaA,EACA,cADA,EAEA,sDAFA,EAGA,YACA,SADA,uBACA,CACA,eACA,2BAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KArBA,EAHA,E;;;;;;;;;;;;;ACxBA;AAAA;AAAA;AAAA;AAAgtC,CAAgB,6qCAAG,EAAC,C;;;;;;;;;;;ACApuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-line/u-line.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-line.vue?vue&type=template&id=e778bab2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-line.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-line.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
e778bab2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-line/u-line.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=template&id=e778bab2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.lineStyle])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t
class=
\"
u-line
\"\r\n\t
:style=
\"
[lineStyle]
\"\r\n\t
>
\r\n\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* line 线条
\r\n\t
* @description 此组件一般用于显示一根线条,用于分隔内容块,有横向和竖向两种模式,且能设置0.5px线条,使用也很简单
\r\n\t
* @tutorial https://www.uviewui.com/components/line.html
\r\n\t
* @property {String}
\t\t\t
color
\t\t
线条的颜色 ( 默认 '#d6d7d9' )
\r\n\t
* @property {String | Number}
\t
length
\t\t
长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 ( 默认 '100%' )
\r\n\t
* @property {String}
\t\t\t
direction
\t
线条的方向,row-横向,col-竖向 (默认 'row' )
\r\n\t
* @property {Boolean}
\t\t\t
hairline
\t
是否显示细线条 (默认 true )
\r\n\t
* @property {String | Number}
\t
margin
\t\t
线条与上下左右元素的间距,字符串形式,如
\"
30px
\"
(默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
dashed
\t\t
是否虚线,true-虚线,false-实线 (默认 false )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
* @example <u-line color=
\"
red
\"
></u-line>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-line',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
computed: {
\r\n\t\t\t
lineStyle() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
style.margin = this.margin
\r\n\t\t\t\t
// 如果是水平线条,边框高度为1px,再通过transform缩小一半,就是0.5px了
\r\n\t\t\t\t
if (this.direction === 'row') {
\r\n\t\t\t\t\t
// 此处采用兼容分开写,兼容nvue的写法
\r\n\t\t\t\t\t
style.borderBottomWidth = '1px'
\r\n\t\t\t\t\t
style.borderBottomStyle = this.dashed ? 'dashed' : 'solid'
\r\n\t\t\t\t\t
style.width = uni.$u.addUnit(this.length)
\r\n\t\t\t\t\t
if (this.hairline) style.transform = 'scaleY(0.5)'
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 如果是竖向线条,边框宽度为1px,再通过transform缩小一半,就是0.5px了
\r\n\t\t\t\t\t
style.borderLeftWidth = '1px'
\r\n\t\t\t\t\t
style.borderLeftStyle = this.dashed ? 'dashed' : 'solid'
\r\n\t\t\t\t\t
style.height = uni.$u.addUnit(this.length)
\r\n\t\t\t\t\t
if (this.hairline) style.transform = 'scaleX(0.5)'
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
style.borderColor = this.color
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-line {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
vertical-align: middle;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-line.vue?vue&type=style&index=0&id=e778bab2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029104340
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?6cf7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?7fa1"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?15ec"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?e46d"
,
"uni-app:///node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?4941"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?18a8"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAioB,CAAgB,spBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4DrpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;;;;kBAkBA,EACA,sBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA;AACA,4BACA,UADA,GAHA,EAMA;AACA;AACA,mBARA,EAQA;AACA,wBATA,EASA;AACA,oBAVA,CAUA;AAVA,MAYA,CAhBA,EAiBA,YACA;AACA;AACA;AACA,oBAJA,8BAIA,CACA,sEACA,6BACA,4DACA,CAFA,MAEA,CACA,qBACA,CANA,CAOA;AACA,KAZA,EAjBA,EA+BA,SACA,IADA,gBACA,CADA,EACA,CACA;AAQA,KAVA,EA/BA,EA2CA,OA3CA,qBA2CA,CACA,YACA,CA7CA,EA8CA,WACA,IADA,kBACA,CACA,wBAOA,CAPA,EAOA,EAPA,EAQA,CAVA,EAWA;AACA,6BAZA,uCAYA,mBACA;AACA,oCAFA,CAGA;AACA,yCAJA,CAKA;AACA,iDANA,CAOA;AACA,2DACA,yBACA,CAFA,EAGA,qDACA,0BACA,CAFA;AAGA,KA1BA,EA9CA,E;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAwtC,CAAgB,qrCAAG,EAAC,C;;;;;;;;;;;ACA5uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-loading-icon.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-loading-icon.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
8ae91632
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.show ? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)]) : null
\n
var g0 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null
\n
var g1 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null
\n
var g2 = _vm.show && _vm.text ? _vm.$u.addUnit(_vm.textSize) : null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
g0: g0,
\n
g1: g1,
\n
g2: g2
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-loading-icon
\"\r\n\t\t
:style=
\"
[$u.addStyle(customStyle)]
\"\r\n\t\t
:class=
\"
[vertical && 'u-loading-icon--vertical']
\"\r\n\t\t
v-if=
\"
show
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
v-if=
\"
!webviewHide
\"\r\n\t\t\t
class=
\"
u-loading-icon__spinner
\"\r\n\t\t\t
:class=
\"
[`u-loading-icon__spinner--${mode}`]
\"\r\n\t\t\t
ref=
\"
ani
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
color: color,
\r\n\t\t\t\t
width: $u.addUnit(size),
\r\n\t\t\t\t
height: $u.addUnit(size),
\r\n\t\t\t\t
borderTopColor: color,
\r\n\t\t\t\t
borderBottomColor: otherBorderColor,
\r\n\t\t\t\t
borderLeftColor: otherBorderColor,
\r\n\t\t\t\t
borderRightColor: otherBorderColor,
\r\n\t\t\t\t
'animation-duration': `${duration}ms`,
\r\n\t\t\t\t
'animation-timing-function': mode === 'semicircle' || mode === 'circle' ? timingFunction : ''
\r\n\t\t\t
}
\"\r\n\t\t
>
\r\n\t\t\t
<block v-if=
\"
mode === 'spinner'
\"
>
\r\n\t\t\t\t
<!-- #ifndef APP-NVUE -->
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
v-for=
\"
(item, index) in array12
\"\r\n\t\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t\t
class=
\"
u-loading-icon__dot
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t\t
<!-- 此组件内部图标部分无法设置宽高,即使通过width和height配置了也无效 -->
\r\n\t\t\t\t
<loading-indicator
\r\n\t\t\t\t\t
v-if=
\"
!webviewHide
\"\r\n\t\t\t\t\t
class=
\"
u-loading-indicator
\"\r\n\t\t\t\t\t
:animating=
\"
true
\"\r\n\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t
color: color,
\r\n\t\t\t\t\t\t
width: $u.addUnit(size),
\r\n\t\t\t\t\t\t
height: $u.addUnit(size)
\r\n\t\t\t\t\t
}
\"\r\n\t\t\t\t
/>
\r\n\t\t\t\t
<!-- #endif -->
\r\n\t\t\t
</block>
\r\n\t\t
</view>
\r\n\t\t
<text
\r\n\t\t\t
v-if=
\"
text
\"\r\n\t\t\t
class=
\"
u-loading-icon__text
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
fontSize: $u.addUnit(textSize),
\r\n\t\t\t\t
color: textColor,
\r\n\t\t\t
}
\"\r\n\t\t
>{{text}}</text>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
// #ifdef APP-NVUE
\r\n\t
const animation = weex.requireModule('animation');
\r\n\t
// #endif
\r\n\t
/**
\r\n\t
* loading 加载动画
\r\n\t
* @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。
\r\n\t
* @tutorial https://www.uviewui.com/components/loading.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t
是否显示组件 (默认 true)
\r\n\t
* @property {String}
\t\t\t
color
\t\t\t
动画活动区域的颜色,只对 mode = flower 模式有效(默认color['u-tips-color'])
\r\n\t
* @property {String}
\t\t\t
textColor
\t\t
提示文本的颜色(默认color['u-tips-color'])
\r\n\t
* @property {Boolean}
\t\t\t
vertical
\t\t
文字和图标是否垂直排列 (默认 false )
\r\n\t
* @property {String}
\t\t\t
mode
\t\t\t
模式选择,见官网说明(默认 'circle' )
\r\n\t
* @property {String | Number}
\t
size
\t\t\t
加载图标的大小,单位px (默认 24 )
\r\n\t
* @property {String | Number}
\t
textSize
\t\t
文字大小(默认 15 )
\r\n\t
* @property {String | Number}
\t
text
\t\t\t
文字内容
\r\n\t
* @property {String}
\t\t\t
timingFunction
\t
动画模式 (默认 'ease-in-out' )
\r\n\t
* @property {String | Number}
\t
duration
\t\t
动画执行周期时间(默认 1200)
\r\n\t
* @property {String}
\t\t\t
inactiveColor
\t
mode=circle时的暗边颜色
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t
定义需要用到的外部样式
\r\n\t
* @example <u-loading mode=
\"
circle
\"
></u-loading>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-loading-icon',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
// Array.form可以通过一个伪数组对象创建指定长度的数组
\r\n\t\t\t\t
// https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/from
\r\n\t\t\t\t
array12: Array.from({
\r\n\t\t\t\t\t
length: 12
\r\n\t\t\t\t
}),
\r\n\t\t\t\t
// 这里需要设置默认值为360,否则在安卓nvue上,会延迟一个duration周期后才执行
\r\n\t\t\t\t
// 在iOS nvue上,则会一开始默认执行两个周期的动画
\r\n\t\t\t\t
aniAngel: 360, // 动画旋转角度
\r\n\t\t\t\t
webviewHide: false, // 监听webview的状态,如果隐藏了页面,则停止动画,以免性能消耗
\r\n\t\t\t\t
loading: false, // 是否运行中,针对nvue使用
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
// 当为circle类型时,给其另外三边设置一个更轻一些的颜色
\r\n\t\t\t
// 之所以需要这么做的原因是,比如父组件传了color为红色,那么需要另外的三个边为浅红色
\r\n\t\t\t
// 而不能是固定的某一个其他颜色(因为这个固定的颜色可能浅蓝,导致效果没有那么细腻良好)
\r\n\t\t\t
otherBorderColor() {
\r\n\t\t\t\t
const lightColor = uni.$u.colorGradient(this.color, '#ffffff', 100)[80]
\r\n\t\t\t\t
if (this.mode === 'circle') {
\r\n\t\t\t\t\t
return this.inactiveColor ? this.inactiveColor : lightColor
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
return 'transparent'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// return this.mode === 'circle' ? this.inactiveColor ? this.inactiveColor : lightColor : 'transparent'
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(n) {
\r\n\t\t\t\t
// nvue中,show为true,且为非loading状态,就重新执行动画模块
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
if (n && !this.loading) {
\r\n\t\t\t\t\t
setTimeout(() => {
\r\n\t\t\t\t\t\t
this.startAnimate()
\r\n\t\t\t\t\t
}, 30)
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
setTimeout(() => {
\r\n\t\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t\t
this.show && this.nvueAnimate()
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
// #ifdef APP-PLUS
\r\n\t\t\t\t\t
this.show && this.addEventListenerToWebview()
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t
}, 20)
\r\n\t\t\t
},
\r\n\t\t\t
// 监听webview的显示与隐藏
\r\n\t\t\t
addEventListenerToWebview() {
\r\n\t\t\t\t
// webview的堆栈
\r\n\t\t\t\t
const pages = getCurrentPages()
\r\n\t\t\t\t
// 当前页面
\r\n\t\t\t\t
const page = pages[pages.length - 1]
\r\n\t\t\t\t
// 当前页面的webview实例
\r\n\t\t\t\t
const currentWebview = page.$getAppWebview()
\r\n\t\t\t\t
// 监听webview的显示与隐藏,从而停止或者开始动画(为了性能)
\r\n\t\t\t\t
currentWebview.addEventListener('hide', () => {
\r\n\t\t\t\t\t
this.webviewHide = true
\r\n\t\t\t\t
})
\r\n\t\t\t\t
currentWebview.addEventListener('show', () => {
\r\n\t\t\t\t\t
this.webviewHide = false
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t
nvueAnimate() {
\r\n\t\t\t\t
// nvue下,非spinner类型时才需要旋转,因为nvue的spinner类型,使用了weex的
\r\n\t\t\t\t
// loading-indicator组件,自带旋转功能
\r\n\t\t\t\t
this.mode !== 'spinner' && this.startAnimate()
\r\n\t\t\t
},
\r\n\t\t\t
// 执行nvue的animate模块动画
\r\n\t\t\t
startAnimate() {
\r\n\t\t\t\t
this.loading = true
\r\n\t\t\t\t
const ani = this.$refs.ani
\r\n\t\t\t\t
if (!ani) return
\r\n\t\t\t\t
animation.transition(ani, {
\r\n\t\t\t\t\t
// 进行角度旋转
\r\n\t\t\t\t\t
styles: {
\r\n\t\t\t\t\t\t
transform: `rotate(${this.aniAngel}deg)`,
\r\n\t\t\t\t\t\t
transformOrigin: 'center center'
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t\t
duration: this.duration,
\r\n\t\t\t\t\t
timingFunction: this.timingFunction,
\r\n\t\t\t\t\t
// delay: 10
\r\n\t\t\t\t
}, () => {
\r\n\t\t\t\t\t
// 每次增加360deg,为了让其重新旋转一周
\r\n\t\t\t\t\t
this.aniAngel += 360
\r\n\t\t\t\t\t
// 动画结束后,继续循环执行动画,需要同时判断webviewHide变量
\r\n\t\t\t\t\t
// nvue安卓,页面隐藏后依然会继续执行startAnimate方法
\r\n\t\t\t\t\t
this.show && !this.webviewHide ? this.startAnimate() : this.loading = false
\r\n\t\t\t\t
})
\r\n\t\t\t
}
\r\n\t\t\t
// #endif
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\t
$u-loading-icon-color: #c8c9cc !default;
\r\n\t
$u-loading-icon-text-margin-left:4px !default;
\r\n\t
$u-loading-icon-text-color:$u-content-color !default;
\r\n\t
$u-loading-icon-text-font-size:14px !default;
\r\n\t
$u-loading-icon-text-line-height:20px !default;
\r\n\t
$u-loading-width:30px !default;
\r\n\t
$u-loading-height:30px !default;
\r\n\t
$u-loading-max-width:100% !default;
\r\n\t
$u-loading-max-height:100% !default;
\r\n\t
$u-loading-semicircle-border-width: 2px !default;
\r\n\t
$u-loading-semicircle-border-color:transparent !default;
\r\n\t
$u-loading-semicircle-border-top-right-radius: 100px !default;
\r\n\t
$u-loading-semicircle-border-top-left-radius: 100px !default;
\r\n\t
$u-loading-semicircle-border-bottom-left-radius: 100px !default;
\r\n\t
$u-loading-semicircle-border-bottom-right-radiu: 100px !default;
\r\n\t
$u-loading-semicircle-border-style: solid !default;
\r\n\t
$u-loading-circle-border-top-right-radius: 100px !default;
\r\n\t
$u-loading-circle-border-top-left-radius: 100px !default;
\r\n\t
$u-loading-circle-border-bottom-left-radius: 100px !default;
\r\n\t
$u-loading-circle-border-bottom-right-radiu: 100px !default;
\r\n\t
$u-loading-circle-border-width:2px !default;
\r\n\t
$u-loading-circle-border-top-color:#e5e5e5 !default;
\r\n\t
$u-loading-circle-border-right-color:$u-loading-circle-border-top-color !default;
\r\n\t
$u-loading-circle-border-bottom-color:$u-loading-circle-border-top-color !default;
\r\n\t
$u-loading-circle-border-left-color:$u-loading-circle-border-top-color !default;
\r\n\t
$u-loading-circle-border-style:solid !default;
\r\n\t
$u-loading-icon-host-font-size:0px !default;
\r\n\t
$u-loading-icon-host-line-height:1 !default;
\r\n\t
$u-loading-icon-vertical-margin:6px 0 0 !default;
\r\n\t
$u-loading-icon-dot-top:0 !default;
\r\n\t
$u-loading-icon-dot-left:0 !default;
\r\n\t
$u-loading-icon-dot-width:100% !default;
\r\n\t
$u-loading-icon-dot-height:100% !default;
\r\n\t
$u-loading-icon-dot-before-width:2px !default;
\r\n\t
$u-loading-icon-dot-before-height:25% !default;
\r\n\t
$u-loading-icon-dot-before-margin:0 auto !default;
\r\n\t
$u-loading-icon-dot-before-background-color:currentColor !default;
\r\n\t
$u-loading-icon-dot-before-border-radius:40% !default;
\r\n\r\n\t
.u-loading-icon {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
// display: inline-flex;
\r\n\t\t
/* #endif */
\r\n\t\t
flex-direction: row;
\r\n\t\t
align-items: center;
\r\n\t\t
justify-content: center;
\r\n\t\t
color: $u-loading-icon-color;
\r\n\r\n\t\t
&__text {
\r\n\t\t\t
margin-left: $u-loading-icon-text-margin-left;
\r\n\t\t\t
color: $u-loading-icon-text-color;
\r\n\t\t\t
font-size: $u-loading-icon-text-font-size;
\r\n\t\t\t
line-height: $u-loading-icon-text-line-height;
\r\n\t\t
}
\r\n\r\n\t\t
&__spinner {
\r\n\t\t\t
width: $u-loading-width;
\r\n\t\t\t
height: $u-loading-height;
\r\n\t\t\t
position: relative;
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
box-sizing: border-box;
\r\n\t\t\t
max-width: $u-loading-max-width;
\r\n\t\t\t
max-height: $u-loading-max-height;
\r\n\t\t\t
animation: u-rotate 1s linear infinite;
\r\n\t\t\t
/* #endif */
\r\n\t\t
}
\r\n\r\n\t\t
&__spinner--semicircle {
\r\n\t\t\t
border-width: $u-loading-semicircle-border-width;
\r\n\t\t\t
border-color: $u-loading-semicircle-border-color;
\r\n\t\t\t
border-top-right-radius: $u-loading-semicircle-border-top-right-radius;
\r\n\t\t\t
border-top-left-radius: $u-loading-semicircle-border-top-left-radius;
\r\n\t\t\t
border-bottom-left-radius: $u-loading-semicircle-border-bottom-left-radius;
\r\n\t\t\t
border-bottom-right-radius: $u-loading-semicircle-border-bottom-right-radiu;
\r\n\t\t\t
border-style: $u-loading-semicircle-border-style;
\r\n\t\t
}
\r\n\r\n\t\t
&__spinner--circle {
\r\n\t\t\t
border-top-right-radius: $u-loading-circle-border-top-right-radius;
\r\n\t\t\t
border-top-left-radius: $u-loading-circle-border-top-left-radius;
\r\n\t\t\t
border-bottom-left-radius: $u-loading-circle-border-bottom-left-radius;
\r\n\t\t\t
border-bottom-right-radius: $u-loading-circle-border-bottom-right-radiu;
\r\n\t\t\t
border-width: $u-loading-circle-border-width;
\r\n\t\t\t
border-top-color: $u-loading-circle-border-top-color;
\r\n\t\t\t
border-right-color: $u-loading-circle-border-right-color;
\r\n\t\t\t
border-bottom-color: $u-loading-circle-border-bottom-color;
\r\n\t\t\t
border-left-color: $u-loading-circle-border-left-color;
\r\n\t\t\t
border-style: $u-loading-circle-border-style;
\r\n\t\t
}
\r\n\r\n\t\t
&--vertical {
\r\n\t\t\t
flex-direction: column
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
/* #ifndef APP-NVUE */
\r\n\t
:host {
\r\n\t\t
font-size: $u-loading-icon-host-font-size;
\r\n\t\t
line-height: $u-loading-icon-host-line-height;
\r\n\t
}
\r\n\r\n\t
.u-loading-icon {
\r\n\t\t
&__spinner--spinner {
\r\n\t\t\t
animation-timing-function: steps(12)
\r\n\t\t
}
\r\n\r\n\t\t
&__text:empty {
\r\n\t\t\t
display: none
\r\n\t\t
}
\r\n\r\n\t\t
&--vertical &__text {
\r\n\t\t\t
margin: $u-loading-icon-vertical-margin;
\r\n\t\t\t
color: $u-content-color;
\r\n\t\t
}
\r\n\r\n\t\t
&__dot {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: $u-loading-icon-dot-top;
\r\n\t\t\t
left: $u-loading-icon-dot-left;
\r\n\t\t\t
width: $u-loading-icon-dot-width;
\r\n\t\t\t
height: $u-loading-icon-dot-height;
\r\n\r\n\t\t\t
&:before {
\r\n\t\t\t\t
display: block;
\r\n\t\t\t\t
width: $u-loading-icon-dot-before-width;
\r\n\t\t\t\t
height: $u-loading-icon-dot-before-height;
\r\n\t\t\t\t
margin: $u-loading-icon-dot-before-margin;
\r\n\t\t\t\t
background-color: $u-loading-icon-dot-before-background-color;
\r\n\t\t\t\t
border-radius: $u-loading-icon-dot-before-border-radius;
\r\n\t\t\t\t
content:
\"
\"\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
@for $i from 1 through 12 {
\r\n\t\t
.u-loading-icon__dot:nth-of-type(#{$i}) {
\r\n\t\t\t
transform: rotate($i * 30deg);
\r\n\t\t\t
opacity: 1 - 0.0625 * ($i - 1);
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
@keyframes u-rotate {
\r\n\t\t
0% {
\r\n\t\t\t
transform: rotate(0deg)
\r\n\t\t
}
\r\n\r\n\t\t
to {
\r\n\t\t\t
transform: rotate(1turn)
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
/* #endif */
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659194
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?6cf7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?7fa1"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?15ec"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?e46d"
,
"uni-app:///node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?4941"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?18a8"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAioB,CAAgB,spBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4DrpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;;;;kBAkBA,EACA,sBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA;AACA,4BACA,UADA,GAHA,EAMA;AACA;AACA,mBARA,EAQA;AACA,wBATA,EASA;AACA,oBAVA,CAUA;AAVA,MAYA,CAhBA,EAiBA,YACA;AACA;AACA;AACA,oBAJA,8BAIA,CACA,sEACA,6BACA,4DACA,CAFA,MAEA,CACA,qBACA,CANA,CAOA;AACA,KAZA,EAjBA,EA+BA,SACA,IADA,gBACA,CADA,EACA,CACA;AAQA,KAVA,EA/BA,EA2CA,OA3CA,qBA2CA,CACA,YACA,CA7CA,EA8CA,WACA,IADA,kBACA,CACA,wBAOA,CAPA,EAOA,EAPA,EAQA,CAVA,EAWA;AACA,6BAZA,uCAYA,mBACA;AACA,oCAFA,CAGA;AACA,yCAJA,CAKA;AACA,iDANA,CAOA;AACA,2DACA,yBACA,CAFA,EAGA,qDACA,0BACA,CAFA;AAGA,KA1BA,EA9CA,E;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAwtC,CAAgB,qrCAAG,EAAC,C;;;;;;;;;;;ACA5uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-loading-icon/u-loading-icon.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-loading-icon.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-loading-icon.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
8ae91632
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=template&id=8ae91632&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.show ? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)]) : null
\n
var g0 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null
\n
var g1 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null
\n
var g2 = _vm.show && _vm.text ? _vm.$u.addUnit(_vm.textSize) : null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
g0: g0,
\n
g1: g1,
\n
g2: g2
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-loading-icon
\"\r\n\t\t
:style=
\"
[$u.addStyle(customStyle)]
\"\r\n\t\t
:class=
\"
[vertical && 'u-loading-icon--vertical']
\"\r\n\t\t
v-if=
\"
show
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
v-if=
\"
!webviewHide
\"\r\n\t\t\t
class=
\"
u-loading-icon__spinner
\"\r\n\t\t\t
:class=
\"
[`u-loading-icon__spinner--${mode}`]
\"\r\n\t\t\t
ref=
\"
ani
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
color: color,
\r\n\t\t\t\t
width: $u.addUnit(size),
\r\n\t\t\t\t
height: $u.addUnit(size),
\r\n\t\t\t\t
borderTopColor: color,
\r\n\t\t\t\t
borderBottomColor: otherBorderColor,
\r\n\t\t\t\t
borderLeftColor: otherBorderColor,
\r\n\t\t\t\t
borderRightColor: otherBorderColor,
\r\n\t\t\t\t
'animation-duration': `${duration}ms`,
\r\n\t\t\t\t
'animation-timing-function': mode === 'semicircle' || mode === 'circle' ? timingFunction : ''
\r\n\t\t\t
}
\"\r\n\t\t
>
\r\n\t\t\t
<block v-if=
\"
mode === 'spinner'
\"
>
\r\n\t\t\t\t
<!-- #ifndef APP-NVUE -->
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
v-for=
\"
(item, index) in array12
\"\r\n\t\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t\t
class=
\"
u-loading-icon__dot
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t\t
<!-- 此组件内部图标部分无法设置宽高,即使通过width和height配置了也无效 -->
\r\n\t\t\t\t
<loading-indicator
\r\n\t\t\t\t\t
v-if=
\"
!webviewHide
\"\r\n\t\t\t\t\t
class=
\"
u-loading-indicator
\"\r\n\t\t\t\t\t
:animating=
\"
true
\"\r\n\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t
color: color,
\r\n\t\t\t\t\t\t
width: $u.addUnit(size),
\r\n\t\t\t\t\t\t
height: $u.addUnit(size)
\r\n\t\t\t\t\t
}
\"\r\n\t\t\t\t
/>
\r\n\t\t\t\t
<!-- #endif -->
\r\n\t\t\t
</block>
\r\n\t\t
</view>
\r\n\t\t
<text
\r\n\t\t\t
v-if=
\"
text
\"\r\n\t\t\t
class=
\"
u-loading-icon__text
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
fontSize: $u.addUnit(textSize),
\r\n\t\t\t\t
color: textColor,
\r\n\t\t\t
}
\"\r\n\t\t
>{{text}}</text>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
// #ifdef APP-NVUE
\r\n\t
const animation = weex.requireModule('animation');
\r\n\t
// #endif
\r\n\t
/**
\r\n\t
* loading 加载动画
\r\n\t
* @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。
\r\n\t
* @tutorial https://www.uviewui.com/components/loading.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t
是否显示组件 (默认 true)
\r\n\t
* @property {String}
\t\t\t
color
\t\t\t
动画活动区域的颜色,只对 mode = flower 模式有效(默认color['u-tips-color'])
\r\n\t
* @property {String}
\t\t\t
textColor
\t\t
提示文本的颜色(默认color['u-tips-color'])
\r\n\t
* @property {Boolean}
\t\t\t
vertical
\t\t
文字和图标是否垂直排列 (默认 false )
\r\n\t
* @property {String}
\t\t\t
mode
\t\t\t
模式选择,见官网说明(默认 'circle' )
\r\n\t
* @property {String | Number}
\t
size
\t\t\t
加载图标的大小,单位px (默认 24 )
\r\n\t
* @property {String | Number}
\t
textSize
\t\t
文字大小(默认 15 )
\r\n\t
* @property {String | Number}
\t
text
\t\t\t
文字内容
\r\n\t
* @property {String}
\t\t\t
timingFunction
\t
动画模式 (默认 'ease-in-out' )
\r\n\t
* @property {String | Number}
\t
duration
\t\t
动画执行周期时间(默认 1200)
\r\n\t
* @property {String}
\t\t\t
inactiveColor
\t
mode=circle时的暗边颜色
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t
定义需要用到的外部样式
\r\n\t
* @example <u-loading mode=
\"
circle
\"
></u-loading>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-loading-icon',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
// Array.form可以通过一个伪数组对象创建指定长度的数组
\r\n\t\t\t\t
// https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/from
\r\n\t\t\t\t
array12: Array.from({
\r\n\t\t\t\t\t
length: 12
\r\n\t\t\t\t
}),
\r\n\t\t\t\t
// 这里需要设置默认值为360,否则在安卓nvue上,会延迟一个duration周期后才执行
\r\n\t\t\t\t
// 在iOS nvue上,则会一开始默认执行两个周期的动画
\r\n\t\t\t\t
aniAngel: 360, // 动画旋转角度
\r\n\t\t\t\t
webviewHide: false, // 监听webview的状态,如果隐藏了页面,则停止动画,以免性能消耗
\r\n\t\t\t\t
loading: false, // 是否运行中,针对nvue使用
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
// 当为circle类型时,给其另外三边设置一个更轻一些的颜色
\r\n\t\t\t
// 之所以需要这么做的原因是,比如父组件传了color为红色,那么需要另外的三个边为浅红色
\r\n\t\t\t
// 而不能是固定的某一个其他颜色(因为这个固定的颜色可能浅蓝,导致效果没有那么细腻良好)
\r\n\t\t\t
otherBorderColor() {
\r\n\t\t\t\t
const lightColor = uni.$u.colorGradient(this.color, '#ffffff', 100)[80]
\r\n\t\t\t\t
if (this.mode === 'circle') {
\r\n\t\t\t\t\t
return this.inactiveColor ? this.inactiveColor : lightColor
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
return 'transparent'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// return this.mode === 'circle' ? this.inactiveColor ? this.inactiveColor : lightColor : 'transparent'
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(n) {
\r\n\t\t\t\t
// nvue中,show为true,且为非loading状态,就重新执行动画模块
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
if (n && !this.loading) {
\r\n\t\t\t\t\t
setTimeout(() => {
\r\n\t\t\t\t\t\t
this.startAnimate()
\r\n\t\t\t\t\t
}, 30)
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
setTimeout(() => {
\r\n\t\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t\t
this.show && this.nvueAnimate()
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
// #ifdef APP-PLUS
\r\n\t\t\t\t\t
this.show && this.addEventListenerToWebview()
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t
}, 20)
\r\n\t\t\t
},
\r\n\t\t\t
// 监听webview的显示与隐藏
\r\n\t\t\t
addEventListenerToWebview() {
\r\n\t\t\t\t
// webview的堆栈
\r\n\t\t\t\t
const pages = getCurrentPages()
\r\n\t\t\t\t
// 当前页面
\r\n\t\t\t\t
const page = pages[pages.length - 1]
\r\n\t\t\t\t
// 当前页面的webview实例
\r\n\t\t\t\t
const currentWebview = page.$getAppWebview()
\r\n\t\t\t\t
// 监听webview的显示与隐藏,从而停止或者开始动画(为了性能)
\r\n\t\t\t\t
currentWebview.addEventListener('hide', () => {
\r\n\t\t\t\t\t
this.webviewHide = true
\r\n\t\t\t\t
})
\r\n\t\t\t\t
currentWebview.addEventListener('show', () => {
\r\n\t\t\t\t\t
this.webviewHide = false
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t
nvueAnimate() {
\r\n\t\t\t\t
// nvue下,非spinner类型时才需要旋转,因为nvue的spinner类型,使用了weex的
\r\n\t\t\t\t
// loading-indicator组件,自带旋转功能
\r\n\t\t\t\t
this.mode !== 'spinner' && this.startAnimate()
\r\n\t\t\t
},
\r\n\t\t\t
// 执行nvue的animate模块动画
\r\n\t\t\t
startAnimate() {
\r\n\t\t\t\t
this.loading = true
\r\n\t\t\t\t
const ani = this.$refs.ani
\r\n\t\t\t\t
if (!ani) return
\r\n\t\t\t\t
animation.transition(ani, {
\r\n\t\t\t\t\t
// 进行角度旋转
\r\n\t\t\t\t\t
styles: {
\r\n\t\t\t\t\t\t
transform: `rotate(${this.aniAngel}deg)`,
\r\n\t\t\t\t\t\t
transformOrigin: 'center center'
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t\t
duration: this.duration,
\r\n\t\t\t\t\t
timingFunction: this.timingFunction,
\r\n\t\t\t\t\t
// delay: 10
\r\n\t\t\t\t
}, () => {
\r\n\t\t\t\t\t
// 每次增加360deg,为了让其重新旋转一周
\r\n\t\t\t\t\t
this.aniAngel += 360
\r\n\t\t\t\t\t
// 动画结束后,继续循环执行动画,需要同时判断webviewHide变量
\r\n\t\t\t\t\t
// nvue安卓,页面隐藏后依然会继续执行startAnimate方法
\r\n\t\t\t\t\t
this.show && !this.webviewHide ? this.startAnimate() : this.loading = false
\r\n\t\t\t\t
})
\r\n\t\t\t
}
\r\n\t\t\t
// #endif
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\t
$u-loading-icon-color: #c8c9cc !default;
\r\n\t
$u-loading-icon-text-margin-left:4px !default;
\r\n\t
$u-loading-icon-text-color:$u-content-color !default;
\r\n\t
$u-loading-icon-text-font-size:14px !default;
\r\n\t
$u-loading-icon-text-line-height:20px !default;
\r\n\t
$u-loading-width:30px !default;
\r\n\t
$u-loading-height:30px !default;
\r\n\t
$u-loading-max-width:100% !default;
\r\n\t
$u-loading-max-height:100% !default;
\r\n\t
$u-loading-semicircle-border-width: 2px !default;
\r\n\t
$u-loading-semicircle-border-color:transparent !default;
\r\n\t
$u-loading-semicircle-border-top-right-radius: 100px !default;
\r\n\t
$u-loading-semicircle-border-top-left-radius: 100px !default;
\r\n\t
$u-loading-semicircle-border-bottom-left-radius: 100px !default;
\r\n\t
$u-loading-semicircle-border-bottom-right-radiu: 100px !default;
\r\n\t
$u-loading-semicircle-border-style: solid !default;
\r\n\t
$u-loading-circle-border-top-right-radius: 100px !default;
\r\n\t
$u-loading-circle-border-top-left-radius: 100px !default;
\r\n\t
$u-loading-circle-border-bottom-left-radius: 100px !default;
\r\n\t
$u-loading-circle-border-bottom-right-radiu: 100px !default;
\r\n\t
$u-loading-circle-border-width:2px !default;
\r\n\t
$u-loading-circle-border-top-color:#e5e5e5 !default;
\r\n\t
$u-loading-circle-border-right-color:$u-loading-circle-border-top-color !default;
\r\n\t
$u-loading-circle-border-bottom-color:$u-loading-circle-border-top-color !default;
\r\n\t
$u-loading-circle-border-left-color:$u-loading-circle-border-top-color !default;
\r\n\t
$u-loading-circle-border-style:solid !default;
\r\n\t
$u-loading-icon-host-font-size:0px !default;
\r\n\t
$u-loading-icon-host-line-height:1 !default;
\r\n\t
$u-loading-icon-vertical-margin:6px 0 0 !default;
\r\n\t
$u-loading-icon-dot-top:0 !default;
\r\n\t
$u-loading-icon-dot-left:0 !default;
\r\n\t
$u-loading-icon-dot-width:100% !default;
\r\n\t
$u-loading-icon-dot-height:100% !default;
\r\n\t
$u-loading-icon-dot-before-width:2px !default;
\r\n\t
$u-loading-icon-dot-before-height:25% !default;
\r\n\t
$u-loading-icon-dot-before-margin:0 auto !default;
\r\n\t
$u-loading-icon-dot-before-background-color:currentColor !default;
\r\n\t
$u-loading-icon-dot-before-border-radius:40% !default;
\r\n\r\n\t
.u-loading-icon {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
// display: inline-flex;
\r\n\t\t
/* #endif */
\r\n\t\t
flex-direction: row;
\r\n\t\t
align-items: center;
\r\n\t\t
justify-content: center;
\r\n\t\t
color: $u-loading-icon-color;
\r\n\r\n\t\t
&__text {
\r\n\t\t\t
margin-left: $u-loading-icon-text-margin-left;
\r\n\t\t\t
color: $u-loading-icon-text-color;
\r\n\t\t\t
font-size: $u-loading-icon-text-font-size;
\r\n\t\t\t
line-height: $u-loading-icon-text-line-height;
\r\n\t\t
}
\r\n\r\n\t\t
&__spinner {
\r\n\t\t\t
width: $u-loading-width;
\r\n\t\t\t
height: $u-loading-height;
\r\n\t\t\t
position: relative;
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
box-sizing: border-box;
\r\n\t\t\t
max-width: $u-loading-max-width;
\r\n\t\t\t
max-height: $u-loading-max-height;
\r\n\t\t\t
animation: u-rotate 1s linear infinite;
\r\n\t\t\t
/* #endif */
\r\n\t\t
}
\r\n\r\n\t\t
&__spinner--semicircle {
\r\n\t\t\t
border-width: $u-loading-semicircle-border-width;
\r\n\t\t\t
border-color: $u-loading-semicircle-border-color;
\r\n\t\t\t
border-top-right-radius: $u-loading-semicircle-border-top-right-radius;
\r\n\t\t\t
border-top-left-radius: $u-loading-semicircle-border-top-left-radius;
\r\n\t\t\t
border-bottom-left-radius: $u-loading-semicircle-border-bottom-left-radius;
\r\n\t\t\t
border-bottom-right-radius: $u-loading-semicircle-border-bottom-right-radiu;
\r\n\t\t\t
border-style: $u-loading-semicircle-border-style;
\r\n\t\t
}
\r\n\r\n\t\t
&__spinner--circle {
\r\n\t\t\t
border-top-right-radius: $u-loading-circle-border-top-right-radius;
\r\n\t\t\t
border-top-left-radius: $u-loading-circle-border-top-left-radius;
\r\n\t\t\t
border-bottom-left-radius: $u-loading-circle-border-bottom-left-radius;
\r\n\t\t\t
border-bottom-right-radius: $u-loading-circle-border-bottom-right-radiu;
\r\n\t\t\t
border-width: $u-loading-circle-border-width;
\r\n\t\t\t
border-top-color: $u-loading-circle-border-top-color;
\r\n\t\t\t
border-right-color: $u-loading-circle-border-right-color;
\r\n\t\t\t
border-bottom-color: $u-loading-circle-border-bottom-color;
\r\n\t\t\t
border-left-color: $u-loading-circle-border-left-color;
\r\n\t\t\t
border-style: $u-loading-circle-border-style;
\r\n\t\t
}
\r\n\r\n\t\t
&--vertical {
\r\n\t\t\t
flex-direction: column
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
/* #ifndef APP-NVUE */
\r\n\t
:host {
\r\n\t\t
font-size: $u-loading-icon-host-font-size;
\r\n\t\t
line-height: $u-loading-icon-host-line-height;
\r\n\t
}
\r\n\r\n\t
.u-loading-icon {
\r\n\t\t
&__spinner--spinner {
\r\n\t\t\t
animation-timing-function: steps(12)
\r\n\t\t
}
\r\n\r\n\t\t
&__text:empty {
\r\n\t\t\t
display: none
\r\n\t\t
}
\r\n\r\n\t\t
&--vertical &__text {
\r\n\t\t\t
margin: $u-loading-icon-vertical-margin;
\r\n\t\t\t
color: $u-content-color;
\r\n\t\t
}
\r\n\r\n\t\t
&__dot {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: $u-loading-icon-dot-top;
\r\n\t\t\t
left: $u-loading-icon-dot-left;
\r\n\t\t\t
width: $u-loading-icon-dot-width;
\r\n\t\t\t
height: $u-loading-icon-dot-height;
\r\n\r\n\t\t\t
&:before {
\r\n\t\t\t\t
display: block;
\r\n\t\t\t\t
width: $u-loading-icon-dot-before-width;
\r\n\t\t\t\t
height: $u-loading-icon-dot-before-height;
\r\n\t\t\t\t
margin: $u-loading-icon-dot-before-margin;
\r\n\t\t\t\t
background-color: $u-loading-icon-dot-before-background-color;
\r\n\t\t\t\t
border-radius: $u-loading-icon-dot-before-border-radius;
\r\n\t\t\t\t
content:
\"
\"\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
@for $i from 1 through 12 {
\r\n\t\t
.u-loading-icon__dot:nth-of-type(#{$i}) {
\r\n\t\t\t
transform: rotate($i * 30deg);
\r\n\t\t\t
opacity: 1 - 0.0625 * ($i - 1);
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
@keyframes u-rotate {
\r\n\t\t
0% {
\r\n\t\t\t
transform: rotate(0deg)
\r\n\t\t
}
\r\n\r\n\t\t
to {
\r\n\t\t\t
transform: rotate(1turn)
\r\n\t\t
}
\r\n\t
}
\r\n\r\n\t
/* #endif */
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-loading-icon.vue?vue&type=style&index=0&id=8ae91632&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029103657
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-modal/u-modal.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?0450"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?c790"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?572f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?42fd"
,
"uni-app:///node_modules/uview-ui/components/u-modal/u-modal.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?a666"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?6482"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4F9oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;kBAyBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,cADA,GAGA,CAPA,EAQA,SACA,IADA,gBACA,CADA,EACA,CACA;AACA;AACA,kDACA,CALA,EARA,EAeA,WACA;AACA,kBAFA,4BAEA,CACA;AACA,4BACA,oBACA,CACA,sBACA,CARA,EASA;AACA,iBAVA,2BAUA,CACA,qBACA,CAZA,EAaA;AACA;AACA;AACA;AACA;AACA,gBAlBA,0BAkBA,CACA,+BACA,oBACA,CACA,CAtBA,EAfA,E;;;;;;;;;;;;;ACtHA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-modal/u-modal.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-modal.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-modal.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
713d0fd3
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-modal/u-modal.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uPopup: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-popup/u-popup
\"
*/
\"
uview-ui/components/u-popup/u-popup.vue
\"\n
)
\n
},
\n
uLine: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-line/u-line
\"
*/
\"
uview-ui/components/u-line/u-line.vue
\"\n
)
\n
},
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var a0 = {
\n
borderRadius:
\"
6px
\"
,
\n
overflow:
\"
hidden
\"
,
\n
marginTop:
\"
-
\"
+ _vm.$u.addUnit(_vm.negativeTop)
\n
}
\n
var g0 = _vm.$u.addUnit(_vm.width)
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
a0: a0,
\n
g0: g0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-popup
\r\n\t\t
mode=
\"
center
\"\r\n\t\t
:zoom=
\"
zoom
\"\r\n\t\t
:show=
\"
show
\"\r\n\t\t
:customStyle=
\"
{
\r\n\t\t\t
borderRadius: '6px',
\r\n\t\t\t
overflow: 'hidden',
\r\n\t\t\t
marginTop: `-${$u.addUnit(negativeTop)}`
\r\n\t\t
}
\"\r\n\t\t
:closeOnClickOverlay=
\"
closeOnClickOverlay
\"\r\n\t\t
:safeAreaInsetBottom=
\"
false
\"\r\n\t\t
:duration=
\"
400
\"\r\n\t\t
@click=
\"
clickHandler
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-modal
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
width: $u.addUnit(width),
\r\n\t\t\t
}
\"\r\n\t\t
>
\r\n\t\t\t
<text
\r\n\t\t\t\t
class=
\"
u-modal__title
\"\r\n\t\t\t\t
v-if=
\"
title
\"\r\n\t\t\t
>{{ title }}</text>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-modal__content
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
paddingTop: `${title ? 12 : 25}px`
\r\n\t\t\t\t
}
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<slot>
\r\n\t\t\t\t\t
<text class=
\"
u-modal__content__text
\"
>{{ content }}</text>
\r\n\t\t\t\t
</slot>
\r\n\t\t\t
</view>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-modal__button-group--confirm-button
\"\r\n\t\t\t\t
v-if=
\"
$slots.confirmButton
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<slot name=
\"
confirmButton
\"
></slot>
\r\n\t\t\t
</view>
\r\n\t\t\t
<template v-else>
\r\n\t\t\t\t
<u-line></u-line>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-modal__button-group
\"\r\n\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t
flexDirection: buttonReverse ? 'row-reverse' : 'row'
\r\n\t\t\t\t\t
}
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel
\"\r\n\t\t\t\t\t\t
:hover-stay-time=
\"
150
\"\r\n\t\t\t\t\t\t
hover-class=
\"
u-modal__button-group__wrapper--hover
\"\r\n\t\t\t\t\t\t
:class=
\"
[showCancelButton && !showConfirmButton && 'u-modal__button-group__wrapper--only-cancel']
\"\r\n\t\t\t\t\t\t
v-if=
\"
showCancelButton
\"\r\n\t\t\t\t\t\t
@tap=
\"
cancelHandler
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper__text
\"\r\n\t\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t\t
color: cancelColor
\r\n\t\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t
>{{ cancelText }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<u-line
\r\n\t\t\t\t\t\t
direction=
\"
column
\"\r\n\t\t\t\t\t\t
v-if=
\"
showConfirmButton && showCancelButton
\"\r\n\t\t\t\t\t
></u-line>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm
\"\r\n\t\t\t\t\t\t
:hover-stay-time=
\"
150
\"\r\n\t\t\t\t\t\t
hover-class=
\"
u-modal__button-group__wrapper--hover
\"\r\n\t\t\t\t\t\t
:class=
\"
[!showCancelButton && showConfirmButton && 'u-modal__button-group__wrapper--only-confirm']
\"\r\n\t\t\t\t\t\t
v-if=
\"
showConfirmButton
\"\r\n\t\t\t\t\t\t
@tap=
\"
confirmHandler
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<u-loading-icon v-if=
\"
loading
\"
></u-loading-icon>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
v-else
\r\n\t\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper__text
\"\r\n\t\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t\t
color: confirmColor
\r\n\t\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t
>{{ confirmText }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</template>
\r\n\t\t
</view>
\r\n\t
</u-popup>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Modal 模态框
\r\n\t
* @description 弹出模态框,常用于消息提示、消息确认、在当前页面内完成特定的交互操作。
\r\n\t
* @tutorial https://www.uviewui.com/components/modul.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t\t
是否显示模态框,请赋值给show (默认 false )
\r\n\t
* @property {String}
\t\t\t
title
\t\t\t\t
标题内容
\r\n\t
* @property {String}
\t\t\t
content
\t\t\t\t
模态框内容,如传入slot内容,则此参数无效
\r\n\t
* @property {String}
\t\t\t
confirmText
\t\t\t
确认按钮的文字 (默认 '确认' )
\r\n\t
* @property {String}
\t\t\t
cancelText
\t\t\t
取消按钮的文字 (默认 '取消' )
\r\n\t
* @property {Boolean}
\t\t\t
showConfirmButton
\t
是否显示确认按钮 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
showCancelButton
\t
是否显示取消按钮 (默认 false )
\r\n\t
* @property {String}
\t\t\t
confirmColor
\t\t
确认按钮的颜色 (默认 '#2979ff' )
\r\n\t
* @property {String}
\t\t\t
cancelColor
\t\t\t
取消按钮的颜色 (默认 '#606266' )
\r\n\t
* @property {Boolean}
\t\t\t
buttonReverse
\t\t
对调确认和取消的位置 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
zoom
\t\t\t\t
是否开启缩放模式 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
asyncClose
\t\t\t
是否异步关闭,只对确定按钮有效,见上方说明 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
是否允许点击遮罩关闭Modal (默认 false )
\r\n\t
* @property {String | Number}
\t
negativeTop
\t\t\t
往上偏移的值,给一个负的margin-top,往上偏移,避免和键盘重合的情况,单位任意,数值则默认为px单位 (默认 0 )
\r\n\t
* @property {String | Number}
\t
width
\t\t\t\t
modal宽度,不支持百分比,可以数值,px,rpx单位 (默认 '650rpx' )
\r\n\t
* @property {String}
\t\t\t
confirmButtonShape
\t
确认按钮的样式,如设置,将不会显示取消按钮
\r\n\t
* @event {Function} confirm
\t
点击确认按钮时触发
\r\n\t
* @event {Function} cancel
\t\t
点击取消按钮时触发
\r\n\t
* @event {Function} close
\t\t
点击遮罩关闭出发,closeOnClickOverlay为true有效
\r\n\t
* @example <u-loadmore :status=
\"
status
\"
icon-type=
\"
iconType
\"
load-text=
\"
loadText
\"
/>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-modal',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
loading: false
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(n) {
\r\n\t\t\t\t
// 为了避免第一次打开modal,又使用了异步关闭的loading
\r\n\t\t\t\t
// 第二次打开modal时,loading依然存在的情况
\r\n\t\t\t\t
if (n && this.loading) this.loading = false
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击确定按钮
\r\n\t\t\t
confirmHandler() {
\r\n\t\t\t\t
// 如果配置了异步关闭,将按钮值为loading状态
\r\n\t\t\t\t
if (this.asyncClose) {
\r\n\t\t\t\t\t
this.loading = true;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
this.$emit('confirm')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击取消按钮
\r\n\t\t\t
cancelHandler() {
\r\n\t\t\t\t
this.$emit('cancel')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击遮罩
\r\n\t\t\t
// 从原理上来说,modal的遮罩点击,并不是真的点击到了遮罩
\r\n\t\t\t
// 因为modal依赖于popup的中部弹窗类型,中部弹窗比较特殊,虽有然遮罩,但是为了让弹窗内容能flex居中
\r\n\t\t\t
// 多了一个透明的遮罩,此透明的遮罩会覆盖在灰色的遮罩上,所以实际上是点击不到灰色遮罩的,popup内部在
\r\n\t\t\t
// 透明遮罩的子元素做了.stop处理,所以点击内容区,也不会导致误触发
\r\n\t\t\t
clickHandler() {
\r\n\t\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t\t
this.$emit('close')
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\t
$u-modal-border-radius: 6px;
\r\n\r\n\t
.u-modal {
\r\n\t\t
width: 650rpx;
\r\n\t\t
border-radius: $u-modal-border-radius;
\r\n\t\t
overflow: hidden;
\r\n\r\n\t\t
&__title {
\r\n\t\t\t
font-size: 16px;
\r\n\t\t\t
font-weight: bold;
\r\n\t\t\t
color: $u-content-color;
\r\n\t\t\t
text-align: center;
\r\n\t\t\t
padding-top: 25px;
\r\n\t\t
}
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
padding: 12px 25px 25px 25px;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
justify-content: center;
\r\n\r\n\t\t\t
&__text {
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
color: $u-content-color;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__button-group {
\r\n\t\t\t
@include flex;
\r\n\r\n\t\t\t
&--confirm-button {
\r\n\t\t\t\t
flex-direction: column;
\r\n\t\t\t\t
padding: 0px 25px 15px 25px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__wrapper {
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
justify-content: center;
\r\n\t\t\t\t
align-items: center;
\r\n\t\t\t\t
height: 48px;
\r\n\t\t\t\t\r\n\t\t\t\t
&--confirm,
\r\n\t\t\t\t
&--only-cancel {
\r\n\t\t\t\t\t
border-bottom-right-radius: $u-modal-border-radius;
\r\n\t\t\t\t
}
\r\n\t\t\t\t\r\n\t\t\t\t
&--cancel,
\r\n\t\t\t\t
&--only-confirm {
\r\n\t\t\t\t\t
border-bottom-left-radius: $u-modal-border-radius;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&--hover {
\r\n\t\t\t\t\t
background-color: $u-bg-color;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__text {
\r\n\t\t\t\t\t
color: $u-content-color;
\r\n\t\t\t\t\t
font-size: 16px;
\r\n\t\t\t\t\t
text-align: center;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659044
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?0450"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?c790"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?572f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?42fd"
,
"uni-app:///node_modules/uview-ui/components/u-modal/u-modal.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?a666"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-modal/u-modal.vue?6482"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4F9oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;kBAyBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,cADA,GAGA,CAPA,EAQA,SACA,IADA,gBACA,CADA,EACA,CACA;AACA;AACA,kDACA,CALA,EARA,EAeA,WACA;AACA,kBAFA,4BAEA,CACA;AACA,4BACA,oBACA,CACA,sBACA,CARA,EASA;AACA,iBAVA,2BAUA,CACA,qBACA,CAZA,EAaA;AACA;AACA;AACA;AACA;AACA,gBAlBA,0BAkBA,CACA,+BACA,oBACA,CACA,CAtBA,EAfA,E;;;;;;;;;;;;;ACtHA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-modal/u-modal.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-modal.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-modal.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
713d0fd3
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-modal/u-modal.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uPopup: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-popup/u-popup
\"
*/
\"
uview-ui/components/u-popup/u-popup.vue
\"\n
)
\n
},
\n
uLine: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-line/u-line
\"
*/
\"
uview-ui/components/u-line/u-line.vue
\"\n
)
\n
},
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var a0 = {
\n
borderRadius:
\"
6px
\"
,
\n
overflow:
\"
hidden
\"
,
\n
marginTop:
\"
-
\"
+ _vm.$u.addUnit(_vm.negativeTop)
\n
}
\n
var g0 = _vm.$u.addUnit(_vm.width)
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
a0: a0,
\n
g0: g0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-popup
\r\n\t\t
mode=
\"
center
\"\r\n\t\t
:zoom=
\"
zoom
\"\r\n\t\t
:show=
\"
show
\"\r\n\t\t
:customStyle=
\"
{
\r\n\t\t\t
borderRadius: '6px',
\r\n\t\t\t
overflow: 'hidden',
\r\n\t\t\t
marginTop: `-${$u.addUnit(negativeTop)}`
\r\n\t\t
}
\"\r\n\t\t
:closeOnClickOverlay=
\"
closeOnClickOverlay
\"\r\n\t\t
:safeAreaInsetBottom=
\"
false
\"\r\n\t\t
:duration=
\"
400
\"\r\n\t\t
@click=
\"
clickHandler
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-modal
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
width: $u.addUnit(width),
\r\n\t\t\t
}
\"\r\n\t\t
>
\r\n\t\t\t
<text
\r\n\t\t\t\t
class=
\"
u-modal__title
\"\r\n\t\t\t\t
v-if=
\"
title
\"\r\n\t\t\t
>{{ title }}</text>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-modal__content
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
paddingTop: `${title ? 12 : 25}px`
\r\n\t\t\t\t
}
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<slot>
\r\n\t\t\t\t\t
<text class=
\"
u-modal__content__text
\"
>{{ content }}</text>
\r\n\t\t\t\t
</slot>
\r\n\t\t\t
</view>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-modal__button-group--confirm-button
\"\r\n\t\t\t\t
v-if=
\"
$slots.confirmButton
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<slot name=
\"
confirmButton
\"
></slot>
\r\n\t\t\t
</view>
\r\n\t\t\t
<template v-else>
\r\n\t\t\t\t
<u-line></u-line>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-modal__button-group
\"\r\n\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t
flexDirection: buttonReverse ? 'row-reverse' : 'row'
\r\n\t\t\t\t\t
}
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel
\"\r\n\t\t\t\t\t\t
:hover-stay-time=
\"
150
\"\r\n\t\t\t\t\t\t
hover-class=
\"
u-modal__button-group__wrapper--hover
\"\r\n\t\t\t\t\t\t
:class=
\"
[showCancelButton && !showConfirmButton && 'u-modal__button-group__wrapper--only-cancel']
\"\r\n\t\t\t\t\t\t
v-if=
\"
showCancelButton
\"\r\n\t\t\t\t\t\t
@tap=
\"
cancelHandler
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper__text
\"\r\n\t\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t\t
color: cancelColor
\r\n\t\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t
>{{ cancelText }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<u-line
\r\n\t\t\t\t\t\t
direction=
\"
column
\"\r\n\t\t\t\t\t\t
v-if=
\"
showConfirmButton && showCancelButton
\"\r\n\t\t\t\t\t
></u-line>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm
\"\r\n\t\t\t\t\t\t
:hover-stay-time=
\"
150
\"\r\n\t\t\t\t\t\t
hover-class=
\"
u-modal__button-group__wrapper--hover
\"\r\n\t\t\t\t\t\t
:class=
\"
[!showCancelButton && showConfirmButton && 'u-modal__button-group__wrapper--only-confirm']
\"\r\n\t\t\t\t\t\t
v-if=
\"
showConfirmButton
\"\r\n\t\t\t\t\t\t
@tap=
\"
confirmHandler
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<u-loading-icon v-if=
\"
loading
\"
></u-loading-icon>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
v-else
\r\n\t\t\t\t\t\t\t
class=
\"
u-modal__button-group__wrapper__text
\"\r\n\t\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t\t
color: confirmColor
\r\n\t\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t
>{{ confirmText }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</template>
\r\n\t\t
</view>
\r\n\t
</u-popup>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Modal 模态框
\r\n\t
* @description 弹出模态框,常用于消息提示、消息确认、在当前页面内完成特定的交互操作。
\r\n\t
* @tutorial https://www.uviewui.com/components/modul.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t\t
是否显示模态框,请赋值给show (默认 false )
\r\n\t
* @property {String}
\t\t\t
title
\t\t\t\t
标题内容
\r\n\t
* @property {String}
\t\t\t
content
\t\t\t\t
模态框内容,如传入slot内容,则此参数无效
\r\n\t
* @property {String}
\t\t\t
confirmText
\t\t\t
确认按钮的文字 (默认 '确认' )
\r\n\t
* @property {String}
\t\t\t
cancelText
\t\t\t
取消按钮的文字 (默认 '取消' )
\r\n\t
* @property {Boolean}
\t\t\t
showConfirmButton
\t
是否显示确认按钮 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
showCancelButton
\t
是否显示取消按钮 (默认 false )
\r\n\t
* @property {String}
\t\t\t
confirmColor
\t\t
确认按钮的颜色 (默认 '#2979ff' )
\r\n\t
* @property {String}
\t\t\t
cancelColor
\t\t\t
取消按钮的颜色 (默认 '#606266' )
\r\n\t
* @property {Boolean}
\t\t\t
buttonReverse
\t\t
对调确认和取消的位置 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
zoom
\t\t\t\t
是否开启缩放模式 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
asyncClose
\t\t\t
是否异步关闭,只对确定按钮有效,见上方说明 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
是否允许点击遮罩关闭Modal (默认 false )
\r\n\t
* @property {String | Number}
\t
negativeTop
\t\t\t
往上偏移的值,给一个负的margin-top,往上偏移,避免和键盘重合的情况,单位任意,数值则默认为px单位 (默认 0 )
\r\n\t
* @property {String | Number}
\t
width
\t\t\t\t
modal宽度,不支持百分比,可以数值,px,rpx单位 (默认 '650rpx' )
\r\n\t
* @property {String}
\t\t\t
confirmButtonShape
\t
确认按钮的样式,如设置,将不会显示取消按钮
\r\n\t
* @event {Function} confirm
\t
点击确认按钮时触发
\r\n\t
* @event {Function} cancel
\t\t
点击取消按钮时触发
\r\n\t
* @event {Function} close
\t\t
点击遮罩关闭出发,closeOnClickOverlay为true有效
\r\n\t
* @example <u-loadmore :status=
\"
status
\"
icon-type=
\"
iconType
\"
load-text=
\"
loadText
\"
/>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-modal',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
loading: false
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(n) {
\r\n\t\t\t\t
// 为了避免第一次打开modal,又使用了异步关闭的loading
\r\n\t\t\t\t
// 第二次打开modal时,loading依然存在的情况
\r\n\t\t\t\t
if (n && this.loading) this.loading = false
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击确定按钮
\r\n\t\t\t
confirmHandler() {
\r\n\t\t\t\t
// 如果配置了异步关闭,将按钮值为loading状态
\r\n\t\t\t\t
if (this.asyncClose) {
\r\n\t\t\t\t\t
this.loading = true;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
this.$emit('confirm')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击取消按钮
\r\n\t\t\t
cancelHandler() {
\r\n\t\t\t\t
this.$emit('cancel')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击遮罩
\r\n\t\t\t
// 从原理上来说,modal的遮罩点击,并不是真的点击到了遮罩
\r\n\t\t\t
// 因为modal依赖于popup的中部弹窗类型,中部弹窗比较特殊,虽有然遮罩,但是为了让弹窗内容能flex居中
\r\n\t\t\t
// 多了一个透明的遮罩,此透明的遮罩会覆盖在灰色的遮罩上,所以实际上是点击不到灰色遮罩的,popup内部在
\r\n\t\t\t
// 透明遮罩的子元素做了.stop处理,所以点击内容区,也不会导致误触发
\r\n\t\t\t
clickHandler() {
\r\n\t\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t\t
this.$emit('close')
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\t
$u-modal-border-radius: 6px;
\r\n\r\n\t
.u-modal {
\r\n\t\t
width: 650rpx;
\r\n\t\t
border-radius: $u-modal-border-radius;
\r\n\t\t
overflow: hidden;
\r\n\r\n\t\t
&__title {
\r\n\t\t\t
font-size: 16px;
\r\n\t\t\t
font-weight: bold;
\r\n\t\t\t
color: $u-content-color;
\r\n\t\t\t
text-align: center;
\r\n\t\t\t
padding-top: 25px;
\r\n\t\t
}
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
padding: 12px 25px 25px 25px;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
justify-content: center;
\r\n\r\n\t\t\t
&__text {
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
color: $u-content-color;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__button-group {
\r\n\t\t\t
@include flex;
\r\n\r\n\t\t\t
&--confirm-button {
\r\n\t\t\t\t
flex-direction: column;
\r\n\t\t\t\t
padding: 0px 25px 15px 25px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__wrapper {
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
justify-content: center;
\r\n\t\t\t\t
align-items: center;
\r\n\t\t\t\t
height: 48px;
\r\n\t\t\t\t\r\n\t\t\t\t
&--confirm,
\r\n\t\t\t\t
&--only-cancel {
\r\n\t\t\t\t\t
border-bottom-right-radius: $u-modal-border-radius;
\r\n\t\t\t\t
}
\r\n\t\t\t\t\r\n\t\t\t\t
&--cancel,
\r\n\t\t\t\t
&--only-confirm {
\r\n\t\t\t\t\t
border-bottom-left-radius: $u-modal-border-radius;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&--hover {
\r\n\t\t\t\t\t
background-color: $u-bg-color;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__text {
\r\n\t\t\t\t\t
color: $u-content-color;
\r\n\t\t\t\t\t
font-size: 16px;
\r\n\t\t\t\t\t
text-align: center;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029102255
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-navbar/u-navbar.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?8421"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?59f9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?39a0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?9625"
,
"uni-app:///node_modules/uview-ui/components/u-navbar/u-navbar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?9f83"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?0abd"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2E/oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,gBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAGA,CAPA,EAQA,WACA;AACA,aAFA,uBAEA,CACA;AACA,8BACA,oBACA,mBACA,CACA,CARA,EASA;AACA,cAVA,wBAUA,CACA,yBACA,CAZA,EARA,E;;;;;;;;;;;;;ACpGA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-navbar/u-navbar.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-navbar.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-navbar.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
75dad532
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-navbar/u-navbar.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uStatusBar: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-status-bar/u-status-bar
\"
*/
\"
uview-ui/components/u-status-bar/u-status-bar.vue
\"\n
)
\n
},
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 =
\n
_vm.fixed && _vm.placeholder
\n
? _vm.$u.addUnit(
\n
_vm.$u.getPx(_vm.height) + _vm.$u.sys().statusBarHeight,
\n
\"
px
\"\n
)
\n
: null
\n
var g1 = _vm.$u.addUnit(_vm.height)
\n\n
var s0 = _vm.__get_style([
\n
{
\n
width: _vm.$u.addUnit(_vm.titleWidth)
\n
},
\n
_vm.$u.addStyle(_vm.titleStyle)
\n
])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
g1: g1,
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-navbar
\"
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-navbar__placeholder
\"\r\n\t\t\t
v-if=
\"
fixed && placeholder
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
height: $u.addUnit($u.getPx(height) + $u.sys().statusBarHeight,'px'),
\r\n\t\t\t
}
\"\r\n\t\t
></view>
\r\n\t\t
<view :class=
\"
[fixed && 'u-navbar--fixed']
\"
>
\r\n\t\t\t
<u-status-bar
\r\n\t\t\t\t
v-if=
\"
safeAreaInsetTop
\"\r\n\t\t\t\t
:bgColor=
\"
bgColor
\"\r\n\t\t\t
></u-status-bar>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-navbar__content
\"\r\n\t\t\t\t
:class=
\"
[border && 'u-border-bottom']
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t\t\t
backgroundColor: bgColor,
\r\n\t\t\t\t
}
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-navbar__content__left
\"\r\n\t\t\t\t\t
hover-class=
\"
u-navbar__content__left--hover
\"\r\n\t\t\t\t\t
hover-start-time=
\"
150
\"\r\n\t\t\t\t\t
@tap=
\"
leftClick
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<slot name=
\"
left
\"
>
\r\n\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
v-if=
\"
leftIcon
\"\r\n\t\t\t\t\t\t\t
:name=
\"
leftIcon
\"\r\n\t\t\t\t\t\t\t
:size=
\"
leftIconSize
\"\r\n\t\t\t\t\t\t\t
:color=
\"
leftIconColor
\"\r\n\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
v-if=
\"
leftText
\"\r\n\t\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t\t
color: leftIconColor
\r\n\t\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t\t
class=
\"
u-navbar__content__left__text
\"\r\n\t\t\t\t\t\t
>{{ leftText }}</text>
\r\n\t\t\t\t\t
</slot>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<slot name=
\"
center
\"
>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
class=
\"
u-line-1 u-navbar__content__title
\"\r\n\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t
width: $u.addUnit(titleWidth),
\r\n\t\t\t\t\t\t
}, $u.addStyle(titleStyle)]
\"\r\n\t\t\t\t\t
>{{ title }}</text>
\r\n\t\t\t\t
</slot>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-navbar__content__right
\"\r\n\t\t\t\t\t
v-if=
\"
$slots.right || rightIcon || rightText
\"\r\n\t\t\t\t\t
@tap=
\"
rightClick
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<slot name=
\"
right
\"
>
\r\n\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
v-if=
\"
rightIcon
\"\r\n\t\t\t\t\t\t\t
:name=
\"
rightIcon
\"\r\n\t\t\t\t\t\t\t
size=
\"
20
\"\r\n\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
v-if=
\"
rightText
\"\r\n\t\t\t\t\t\t\t
class=
\"
u-navbar__content__right__text
\"\r\n\t\t\t\t\t\t
>{{ rightText }}</text>
\r\n\t\t\t\t\t
</slot>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Navbar 自定义导航栏
\r\n\t
* @description 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,一般建议使用uni-app带的导航栏。
\r\n\t
* @tutorial https://www.uviewui.com/components/navbar.html
\r\n\t
* @property {Boolean}
\t\t\t
safeAreaInsetTop
\t
是否开启顶部安全区适配 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
placeholder
\t\t\t
固定在顶部时,是否生成一个等高元素,以防止塌陷 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
fixed
\t\t\t\t
导航栏是否固定在顶部 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
border
\t\t\t\t
导航栏底部是否显示下边框 (默认 false )
\r\n\t
* @property {String}
\t\t\t
leftIcon
\t\t\t
左边返回图标的名称,只能为uView自带的图标 (默认 'arrow-left' )
\r\n\t
* @property {String}
\t\t\t
leftText
\t\t\t
左边的提示文字
\r\n\t
* @property {String}
\t\t\t
rightText
\t\t\t
右边的提示文字
\r\n\t
* @property {String}
\t\t\t
rightIcon
\t\t\t
右边返回图标的名称,只能为uView自带的图标
\r\n\t
* @property {String}
\t\t\t
title
\t\t\t\t
导航栏标题,如设置为空字符,将会隐藏标题占位区域
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t\t
导航栏背景设置 (默认 '#ffffff' )
\r\n\t
* @property {String | Number}
\t
titleWidth
\t\t\t
导航栏标题的最大宽度,内容超出会以省略号隐藏 (默认 '400rpx' )
\r\n\t
* @property {String | Number}
\t
height
\t\t\t\t
导航栏高度(不包括状态栏高度在内,内部自动加上)(默认 '44px' )
\r\n\t
* @property {String | Number}
\t
leftIconSize
\t\t
左侧返回图标的大小(默认 20px )
\r\n\t
* @property {String | Number}
\t
leftIconColor
\t\t
左侧返回图标的颜色(默认 #303133 )
\r\n\t
* @property {Boolean}
\t
autoBack
\t\t\t
点击左侧区域(返回图标),是否自动返回上一页(默认 false )
\r\n\t
* @property {Object | String}
\t
titleStyle
\t\t\t
标题的样式,对象或字符串
\r\n\t
* @event {Function} leftClick
\t\t
点击左侧区域
\r\n\t
* @event {Function} rightClick
\t\t
点击右侧区域
\r\n\t
* @example <u-navbar title=
\"
剑未配妥,出门已是江湖
\"
left-text=
\"
返回
\"
right-text=
\"
帮助
\"
@click-left=
\"
onClickBack
\"
@click-right=
\"
onClickRight
\"
></u-navbar>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-navbar',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击左侧区域
\r\n\t\t\t
leftClick() {
\r\n\t\t\t\t
// 如果配置了autoBack,自动返回上一页
\r\n\t\t\t\t
this.$emit('leftClick')
\r\n\t\t\t\t
if(this.autoBack) {
\r\n\t\t\t\t\t
uni.navigateBack()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 点击右侧区域
\r\n\t\t\t
rightClick() {
\r\n\t\t\t\t
this.$emit('rightClick')
\r\n\t\t\t
},
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-navbar {
\r\n\r\n\t\t
&--fixed {
\r\n\t\t\t
position: fixed;
\r\n\t\t\t
left: 0;
\r\n\t\t\t
right: 0;
\r\n\t\t\t
top: 0;
\r\n\t\t\t
z-index: 11;
\r\n\t\t
}
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
@include flex(row);
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
height: 44px;
\r\n\t\t\t
background-color: #9acafc;
\r\n\t\t\t
position: relative;
\r\n\t\t\t
justify-content: center;
\r\n\r\n\t\t\t
&__left,
\r\n\t\t\t
&__right {
\r\n\t\t\t\t
padding: 0 13px;
\r\n\t\t\t\t
position: absolute;
\r\n\t\t\t\t
top: 0;
\r\n\t\t\t\t
bottom: 0;
\r\n\t\t\t\t
@include flex(row);
\r\n\t\t\t\t
align-items: center;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__left {
\r\n\t\t\t\t
left: 0;
\r\n\t\t\t\t\r\n\t\t\t\t
&--hover {
\r\n\t\t\t\t\t
opacity: 0.7;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__text {
\r\n\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t
margin-left: 3px;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__title {
\r\n\t\t\t\t
text-align: center;
\r\n\t\t\t\t
font-size: 16px;
\r\n\t\t\t\t
color: $u-main-color;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__right {
\r\n\t\t\t\t
right: 0;
\r\n\r\n\t\t\t\t
&__text {
\r\n\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t
margin-left: 3px;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991658969
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?8421"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?59f9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?39a0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?9625"
,
"uni-app:///node_modules/uview-ui/components/u-navbar/u-navbar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?9f83"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-navbar/u-navbar.vue?0abd"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2E/oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,gBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAGA,CAPA,EAQA,WACA;AACA,aAFA,uBAEA,CACA;AACA,8BACA,oBACA,mBACA,CACA,CARA,EASA;AACA,cAVA,wBAUA,CACA,yBACA,CAZA,EARA,E;;;;;;;;;;;;;ACpGA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-navbar/u-navbar.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-navbar.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-navbar.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
75dad532
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-navbar/u-navbar.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=template&id=75dad532&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uStatusBar: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-status-bar/u-status-bar
\"
*/
\"
uview-ui/components/u-status-bar/u-status-bar.vue
\"\n
)
\n
},
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 =
\n
_vm.fixed && _vm.placeholder
\n
? _vm.$u.addUnit(
\n
_vm.$u.getPx(_vm.height) + _vm.$u.sys().statusBarHeight,
\n
\"
px
\"\n
)
\n
: null
\n
var g1 = _vm.$u.addUnit(_vm.height)
\n\n
var s0 = _vm.__get_style([
\n
{
\n
width: _vm.$u.addUnit(_vm.titleWidth)
\n
},
\n
_vm.$u.addStyle(_vm.titleStyle)
\n
])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
g1: g1,
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-navbar
\"
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-navbar__placeholder
\"\r\n\t\t\t
v-if=
\"
fixed && placeholder
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
height: $u.addUnit($u.getPx(height) + $u.sys().statusBarHeight,'px'),
\r\n\t\t\t
}
\"\r\n\t\t
></view>
\r\n\t\t
<view :class=
\"
[fixed && 'u-navbar--fixed']
\"
>
\r\n\t\t\t
<u-status-bar
\r\n\t\t\t\t
v-if=
\"
safeAreaInsetTop
\"\r\n\t\t\t\t
:bgColor=
\"
bgColor
\"\r\n\t\t\t
></u-status-bar>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-navbar__content
\"\r\n\t\t\t\t
:class=
\"
[border && 'u-border-bottom']
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t\t\t
backgroundColor: bgColor,
\r\n\t\t\t\t
}
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-navbar__content__left
\"\r\n\t\t\t\t\t
hover-class=
\"
u-navbar__content__left--hover
\"\r\n\t\t\t\t\t
hover-start-time=
\"
150
\"\r\n\t\t\t\t\t
@tap=
\"
leftClick
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<slot name=
\"
left
\"
>
\r\n\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
v-if=
\"
leftIcon
\"\r\n\t\t\t\t\t\t\t
:name=
\"
leftIcon
\"\r\n\t\t\t\t\t\t\t
:size=
\"
leftIconSize
\"\r\n\t\t\t\t\t\t\t
:color=
\"
leftIconColor
\"\r\n\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
v-if=
\"
leftText
\"\r\n\t\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t\t
color: leftIconColor
\r\n\t\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t\t
class=
\"
u-navbar__content__left__text
\"\r\n\t\t\t\t\t\t
>{{ leftText }}</text>
\r\n\t\t\t\t\t
</slot>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<slot name=
\"
center
\"
>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
class=
\"
u-line-1 u-navbar__content__title
\"\r\n\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t
width: $u.addUnit(titleWidth),
\r\n\t\t\t\t\t\t
}, $u.addStyle(titleStyle)]
\"\r\n\t\t\t\t\t
>{{ title }}</text>
\r\n\t\t\t\t
</slot>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-navbar__content__right
\"\r\n\t\t\t\t\t
v-if=
\"
$slots.right || rightIcon || rightText
\"\r\n\t\t\t\t\t
@tap=
\"
rightClick
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<slot name=
\"
right
\"
>
\r\n\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
v-if=
\"
rightIcon
\"\r\n\t\t\t\t\t\t\t
:name=
\"
rightIcon
\"\r\n\t\t\t\t\t\t\t
size=
\"
20
\"\r\n\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t
v-if=
\"
rightText
\"\r\n\t\t\t\t\t\t\t
class=
\"
u-navbar__content__right__text
\"\r\n\t\t\t\t\t\t
>{{ rightText }}</text>
\r\n\t\t\t\t\t
</slot>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Navbar 自定义导航栏
\r\n\t
* @description 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,一般建议使用uni-app带的导航栏。
\r\n\t
* @tutorial https://www.uviewui.com/components/navbar.html
\r\n\t
* @property {Boolean}
\t\t\t
safeAreaInsetTop
\t
是否开启顶部安全区适配 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
placeholder
\t\t\t
固定在顶部时,是否生成一个等高元素,以防止塌陷 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
fixed
\t\t\t\t
导航栏是否固定在顶部 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
border
\t\t\t\t
导航栏底部是否显示下边框 (默认 false )
\r\n\t
* @property {String}
\t\t\t
leftIcon
\t\t\t
左边返回图标的名称,只能为uView自带的图标 (默认 'arrow-left' )
\r\n\t
* @property {String}
\t\t\t
leftText
\t\t\t
左边的提示文字
\r\n\t
* @property {String}
\t\t\t
rightText
\t\t\t
右边的提示文字
\r\n\t
* @property {String}
\t\t\t
rightIcon
\t\t\t
右边返回图标的名称,只能为uView自带的图标
\r\n\t
* @property {String}
\t\t\t
title
\t\t\t\t
导航栏标题,如设置为空字符,将会隐藏标题占位区域
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t\t
导航栏背景设置 (默认 '#ffffff' )
\r\n\t
* @property {String | Number}
\t
titleWidth
\t\t\t
导航栏标题的最大宽度,内容超出会以省略号隐藏 (默认 '400rpx' )
\r\n\t
* @property {String | Number}
\t
height
\t\t\t\t
导航栏高度(不包括状态栏高度在内,内部自动加上)(默认 '44px' )
\r\n\t
* @property {String | Number}
\t
leftIconSize
\t\t
左侧返回图标的大小(默认 20px )
\r\n\t
* @property {String | Number}
\t
leftIconColor
\t\t
左侧返回图标的颜色(默认 #303133 )
\r\n\t
* @property {Boolean}
\t
autoBack
\t\t\t
点击左侧区域(返回图标),是否自动返回上一页(默认 false )
\r\n\t
* @property {Object | String}
\t
titleStyle
\t\t\t
标题的样式,对象或字符串
\r\n\t
* @event {Function} leftClick
\t\t
点击左侧区域
\r\n\t
* @event {Function} rightClick
\t\t
点击右侧区域
\r\n\t
* @example <u-navbar title=
\"
剑未配妥,出门已是江湖
\"
left-text=
\"
返回
\"
right-text=
\"
帮助
\"
@click-left=
\"
onClickBack
\"
@click-right=
\"
onClickRight
\"
></u-navbar>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-navbar',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击左侧区域
\r\n\t\t\t
leftClick() {
\r\n\t\t\t\t
// 如果配置了autoBack,自动返回上一页
\r\n\t\t\t\t
this.$emit('leftClick')
\r\n\t\t\t\t
if(this.autoBack) {
\r\n\t\t\t\t\t
uni.navigateBack()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 点击右侧区域
\r\n\t\t\t
rightClick() {
\r\n\t\t\t\t
this.$emit('rightClick')
\r\n\t\t\t
},
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-navbar {
\r\n\r\n\t\t
&--fixed {
\r\n\t\t\t
position: fixed;
\r\n\t\t\t
left: 0;
\r\n\t\t\t
right: 0;
\r\n\t\t\t
top: 0;
\r\n\t\t\t
z-index: 11;
\r\n\t\t
}
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
@include flex(row);
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
height: 44px;
\r\n\t\t\t
background-color: #9acafc;
\r\n\t\t\t
position: relative;
\r\n\t\t\t
justify-content: center;
\r\n\r\n\t\t\t
&__left,
\r\n\t\t\t
&__right {
\r\n\t\t\t\t
padding: 0 13px;
\r\n\t\t\t\t
position: absolute;
\r\n\t\t\t\t
top: 0;
\r\n\t\t\t\t
bottom: 0;
\r\n\t\t\t\t
@include flex(row);
\r\n\t\t\t\t
align-items: center;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__left {
\r\n\t\t\t\t
left: 0;
\r\n\t\t\t\t\r\n\t\t\t\t
&--hover {
\r\n\t\t\t\t\t
opacity: 0.7;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__text {
\r\n\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t
margin-left: 3px;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__title {
\r\n\t\t\t\t
text-align: center;
\r\n\t\t\t\t
font-size: 16px;
\r\n\t\t\t\t
color: $u-main-color;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__right {
\r\n\t\t\t\t
right: 0;
\r\n\r\n\t\t\t\t
&__text {
\r\n\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t
margin-left: 3px;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-navbar.vue?vue&type=style&index=0&id=75dad532&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029100977
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-overlay/u-overlay.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?e4e5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?baf2"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?6cc9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?5584"
,
"uni-app:///node_modules/uview-ui/components/u-overlay/u-overlay.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?5fda"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?f037"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACahpB,gF;;;;;;;;;;;;AAEA;;;;;;;;;;;kBAYA,EACA,iBADA,EAEA,sDAFA,EAGA,YACA,YADA,0BACA,CACA,cACA,iBADA,EAEA,MAFA,EAGA,OAHA,EAIA,QAJA;AAKA,2BALA;AAMA,iBANA;AAOA,sEAPA;;AASA;AACA,KAZA,EAHA;;AAiBA;AACA,gBADA,0BACA;AACA;AACA,KAHA,EAjBA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAmtC,CAAgB,grCAAG,EAAC,C;;;;;;;;;;;ACAvuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-overlay/u-overlay.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-overlay.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-overlay.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
2d8262d9
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-overlay/u-overlay.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uTransition: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-transition/u-transition
\"
*/
\"
uview-ui/components/u-transition/u-transition.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-transition
\r\n\t
:show=
\"
show
\"\r\n\t
custom-class=
\"
u-overlay
\"\r\n\t
:duration=
\"
duration
\"\r\n\t
:custom-style=
\"
overlayStyle
\"\r\n\t
@click=
\"
clickHandler
\"\r\n\t
>
\r\n\t\t
<slot />
\r\n\t
</u-transition>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\r\n\t
/**
\r\n\t
* overlay 遮罩
\r\n\t
* @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景
\r\n\t
* @tutorial https://www.uviewui.com/components/overlay.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t
是否显示遮罩(默认 false )
\r\n\t
* @property {String | Number}
\t
zIndex
\t\t
zIndex 层级(默认 10070 )
\r\n\t
* @property {String | Number}
\t
duration
\t
动画时长,单位毫秒(默认 300 )
\r\n\t
* @property {String | Number}
\t
opacity
\t\t
不透明度值,当做rgba的第四个参数 (默认 0.5 )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
* @event {Function} click 点击遮罩发送事件
\r\n\t
* @example <u-overlay :show=
\"
show
\"
@click=
\"
show = false
\"
></u-overlay>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name:
\"
u-overlay
\"
,
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
computed: {
\r\n\t\t\t
overlayStyle() {
\r\n\t\t\t\t
const style = {
\r\n\t\t\t\t\t
position: 'fixed',
\r\n\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t
right: 0,
\r\n\t\t\t\t\t
zIndex: this.zIndex,
\r\n\t\t\t\t\t
bottom: 0,
\r\n\t\t\t\t\t
'background-color': `rgba(0, 0, 0, ${this.opacity})`
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
clickHandler() {
\r\n\t\t\t\t
this.$emit('click')
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n
$u-overlay-top:0 !default;
\r\n
$u-overlay-left:0 !default;
\r\n
$u-overlay-width:100% !default;
\r\n
$u-overlay-height:100% !default;
\r\n
$u-overlay-background-color:rgba(0, 0, 0, .7) !default;
\r\n\t
.u-overlay {
\r\n\t\t
position: fixed;
\r\n\t\t
top:$u-overlay-top;
\r\n\t\t
left:$u-overlay-left;
\r\n\t\t
width: $u-overlay-width;
\r\n\t\t
height:$u-overlay-height;
\r\n\t\t
background-color:$u-overlay-background-color;
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659164
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?e4e5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?baf2"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?6cc9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?5584"
,
"uni-app:///node_modules/uview-ui/components/u-overlay/u-overlay.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?5fda"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-overlay/u-overlay.vue?f037"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yTAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACahpB,gF;;;;;;;;;;;;AAEA;;;;;;;;;;;kBAYA,EACA,iBADA,EAEA,sDAFA,EAGA,YACA,YADA,0BACA,CACA,cACA,iBADA,EAEA,MAFA,EAGA,OAHA,EAIA,QAJA;AAKA,2BALA;AAMA,iBANA;AAOA,sEAPA;;AASA;AACA,KAZA,EAHA;;AAiBA;AACA,gBADA,0BACA;AACA;AACA,KAHA,EAjBA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAmtC,CAAgB,grCAAG,EAAC,C;;;;;;;;;;;ACAvuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-overlay/u-overlay.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-overlay.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-overlay.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
2d8262d9
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-overlay/u-overlay.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=template&id=2d8262d9&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uTransition: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-transition/u-transition
\"
*/
\"
uview-ui/components/u-transition/u-transition.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-transition
\r\n\t
:show=
\"
show
\"\r\n\t
custom-class=
\"
u-overlay
\"\r\n\t
:duration=
\"
duration
\"\r\n\t
:custom-style=
\"
overlayStyle
\"\r\n\t
@click=
\"
clickHandler
\"\r\n\t
>
\r\n\t\t
<slot />
\r\n\t
</u-transition>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\r\n\t
/**
\r\n\t
* overlay 遮罩
\r\n\t
* @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景
\r\n\t
* @tutorial https://www.uviewui.com/components/overlay.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t
是否显示遮罩(默认 false )
\r\n\t
* @property {String | Number}
\t
zIndex
\t\t
zIndex 层级(默认 10070 )
\r\n\t
* @property {String | Number}
\t
duration
\t
动画时长,单位毫秒(默认 300 )
\r\n\t
* @property {String | Number}
\t
opacity
\t\t
不透明度值,当做rgba的第四个参数 (默认 0.5 )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
* @event {Function} click 点击遮罩发送事件
\r\n\t
* @example <u-overlay :show=
\"
show
\"
@click=
\"
show = false
\"
></u-overlay>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name:
\"
u-overlay
\"
,
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
computed: {
\r\n\t\t\t
overlayStyle() {
\r\n\t\t\t\t
const style = {
\r\n\t\t\t\t\t
position: 'fixed',
\r\n\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t
right: 0,
\r\n\t\t\t\t\t
zIndex: this.zIndex,
\r\n\t\t\t\t\t
bottom: 0,
\r\n\t\t\t\t\t
'background-color': `rgba(0, 0, 0, ${this.opacity})`
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
clickHandler() {
\r\n\t\t\t\t
this.$emit('click')
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n
$u-overlay-top:0 !default;
\r\n
$u-overlay-left:0 !default;
\r\n
$u-overlay-width:100% !default;
\r\n
$u-overlay-height:100% !default;
\r\n
$u-overlay-background-color:rgba(0, 0, 0, .7) !default;
\r\n\t
.u-overlay {
\r\n\t\t
position: fixed;
\r\n\t\t
top:$u-overlay-top;
\r\n\t\t
left:$u-overlay-left;
\r\n\t\t
width: $u-overlay-width;
\r\n\t\t
height:$u-overlay-height;
\r\n\t\t
background-color:$u-overlay-background-color;
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-overlay.vue?vue&type=style&index=0&id=2d8262d9&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029104078
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-picker/u-picker.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?6331"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?add0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?a7b0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?669f"
,
"uni-app:///node_modules/uview-ui/components/u-picker/u-picker.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?8436"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?da53"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+E/oB,gF;AACA;AACA,kBADA;AAEA,wDAFA;AAGA,MAHA,kBAGA;AACA;AACA;AACA,mBAFA;AAGA;AACA,oBAJA;AAKA;AACA,sBANA;AAOA;AACA,oBARA;;AAUA,GAdA;AAeA;AACA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA,OAJA,EATA,EAfA;;;AA+BA;AACA;AACA,eAFA,uBAEA,IAFA,EAEA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KARA;AASA;AACA,gBAVA,0BAUA;AACA;AACA;AACA;AACA,KAdA;AAeA;AACA,UAhBA,oBAgBA;AACA;AACA,KAlBA;AAmBA;AACA,WApBA,qBAoBA;AACA;AACA,+BADA;AAEA,oGAFA;AAGA,iCAHA;;AAKA,KA1BA;AA2BA;AACA,iBA5BA,yBA4BA,CA5BA,EA4BA;;AAEA,WAFA;AAGA,cAHA,CAEA,KAFA;AAIA;AACA,qBADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBALA,CAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;AAKA,yFALA;AAMA,oBANA;AAOA,qBAPA;AAQA;AACA,sBATA;AAUA,gCAVA;;AAYA,KA/DA;AAgEA;AACA,aAjEA,qBAiEA,KAjEA,EAiEA,YAjEA,EAiEA;AACA;AACA;AACA;AACA;AACA,KAtEA;AAuEA;AACA,gBAxEA,wBAwEA,KAxEA,EAwEA;AACA;AACA;AACA;AACA,KA5EA;AA6EA;AACA,mBA9EA,2BA8EA,WA9EA,EA8EA,MA9EA,EA8EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA1FA;AA2FA;AACA,mBA5FA,2BA4FA,WA5FA,EA4FA;AACA;AACA;AACA;AACA,gCADA;;AAGA;AACA,KAnGA;AAoGA;AACA,cArGA,sBAqGA,OArGA,EAqGA;AACA;AACA;AACA;AACA;AACA;AACA,KA3GA;AA4GA;AACA,aA7GA,uBA6GA;AACA;AACA,KA/GA;AAgHA;AACA,aAjHA,uBAiHA;AACA;AACA;AACA;AACA,gCADA;;AAGA;AACA,KAxHA,EA/BA,E;;;;;;;;;;;;;AChFA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-picker/u-picker.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-picker.vue?vue&type=template&id=d45639b2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-picker.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-picker.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-picker.vue?vue&type=style&index=0&id=d45639b2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
d45639b2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-picker/u-picker.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=template&id=d45639b2&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uPopup: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-popup/u-popup
\"
*/
\"
uview-ui/components/u-popup/u-popup.vue
\"\n
)
\n
},
\n
uToolbar: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-toolbar/u-toolbar
\"
*/
\"
uview-ui/components/u-toolbar/u-toolbar.vue
\"\n
)
\n
},
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 = _vm.$u.addUnit(_vm.visibleItemCount * _vm.itemHeight)
\n
var g1 = _vm.$u.addUnit(_vm.itemHeight)
\n\n
var l1 = _vm.__map(_vm.innerColumns, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var g2 = _vm.$u.test.array(item)
\n
var g3 = g2 ? _vm.$u.addUnit(_vm.itemHeight) : null
\n
var g4 = g2 ? _vm.$u.addUnit(_vm.itemHeight) : null
\n\n
var l0 = _vm.__map(item, function(item1, index1) {
\n
var $orig = _vm.__get_orig(item1)
\n\n
var m0 = g2 ? _vm.getItemText(item1) : null
\n
return {
\n
$orig: $orig,
\n
m0: m0
\n
}
\n
})
\n\n
return {
\n
$orig: $orig,
\n
g2: g2,
\n
g3: g3,
\n
g4: g4,
\n
l0: l0
\n
}
\n
})
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
g1: g1,
\n
l1: l1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-popup
\r\n\t\t
:show=
\"
show
\"\r\n\t\t
@close=
\"
closeHandler
\"\r\n\t
>
\r\n\t\t
<view class=
\"
u-picker
\"
>
\r\n\t\t\t
<u-toolbar
\r\n\t\t\t\t
v-if=
\"
showToolbar
\"\r\n\t\t\t\t
:cancelColor=
\"
cancelColor
\"\r\n\t\t\t\t
:confirmColor=
\"
confirmColor
\"\r\n\t\t\t\t
:cancelText=
\"
cancelText
\"\r\n\t\t\t\t
:confirmText=
\"
confirmText
\"\r\n\t\t\t\t
:title=
\"
title
\"\r\n\t\t\t\t
@cancel=
\"
cancel
\"\r\n\t\t\t\t
@confirm=
\"
confirm
\"\r\n\t\t\t
></u-toolbar>
\r\n\t\t\t
<picker-view
\r\n\t\t\t\t
class=
\"
u-picker__view
\"\r\n\t\t\t\t
:indicatorStyle=
\"
`height: ${$u.addUnit(itemHeight)}`
\"\r\n\t\t\t\t
:value=
\"
innerIndex
\"\r\n\t\t\t\t
:immediateChange=
\"
immediateChange
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
height: `${$u.addUnit(visibleItemCount * itemHeight)}`
\r\n\t\t\t\t
}
\"\r\n\t\t\t\t
@change=
\"
changeHandler
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<picker-view-column
\r\n\t\t\t\t\t
v-for=
\"
(item, index) in innerColumns
\"\r\n\t\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t\t
class=
\"
u-picker__view__column
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
v-if=
\"
$u.test.array(item)
\"\r\n\t\t\t\t\t\t
class=
\"
u-picker__view__column__item u-line-1
\"\r\n\t\t\t\t\t\t
v-for=
\"
(item1, index1) in item
\"\r\n\t\t\t\t\t\t
:key=
\"
index1
\"\r\n\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(itemHeight),
\r\n\t\t\t\t\t\t\t
lineHeight: $u.addUnit(itemHeight),
\r\n\t\t\t\t\t\t\t
fontWeight: index1 === innerIndex[index] ? 'bold' : 'normal'
\r\n\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t
>{{ getItemText(item1) }}</text>
\r\n\t\t\t\t
</picker-view-column>
\r\n\t\t\t
</picker-view>
\r\n\t\t\t
<view
\r\n\t\t\t\t
v-if=
\"
loading
\"\r\n\t\t\t\t
class=
\"
u-picker--loading
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<u-loading-icon mode=
\"
circle
\"
></u-loading-icon>
\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n\t
</u-popup>
\r\n
</template>
\r\n\r\n
<script>
\r\n
/**
\r\n
* u-picker
\r\n
* @description 选择器
\r\n
* @property {Boolean}
\t\t\t
show
\t\t\t\t
是否显示picker弹窗(默认 false )
\r\n
* @property {Boolean}
\t\t\t
showToolbar
\t\t\t
是否显示顶部的操作栏(默认 true )
\r\n
* @property {String}
\t\t\t
title
\t\t\t\t
顶部标题
\r\n
* @property {Array}
\t\t\t
columns
\t\t\t\t
对象数组,设置每一列的数据
\r\n
* @property {Boolean}
\t\t\t
loading
\t\t\t\t
是否显示加载中状态(默认 false )
\r\n
* @property {String | Number}
\t
itemHeight
\t\t\t
各列中,单个选项的高度(默认 44 )
\r\n
* @property {String}
\t\t\t
cancelText
\t\t\t
取消按钮的文字(默认 '取消' )
\r\n
* @property {String}
\t\t\t
confirmText
\t\t\t
确认按钮的文字(默认 '确定' )
\r\n
* @property {String}
\t\t\t
cancelColor
\t\t\t
取消按钮的颜色(默认 '#909193' )
\r\n
* @property {String}
\t\t\t
confirmColor
\t\t
确认按钮的颜色(默认 '#3c9cff' )
\r\n
* @property {Array}
\t\t\t
singleIndex
\t\t\t
选择器只有一列时,默认选中项的索引,从0开始(默认 0 )
\r\n
* @property {String | Number}
\t
visibleItemCount
\t
每列中可见选项的数量(默认 5 )
\r\n
* @property {String}
\t\t\t
keyName
\t\t\t\t
选项对象中,需要展示的属性键名(默认 'text' )
\r\n
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
是否允许点击遮罩关闭选择器(默认 false )
\r\n
* @property {Array}
\t\t\t
defaultIndex
\t\t
各列的默认索引
\r\n
* @property {Boolean}
\t\t\t
immediateChange
\t\t
是否在手指松开时立即触发change事件(默认 false )
\r\n
* @event {Function} close
\t\t
关闭选择器时触发
\r\n
* @event {Function} cancel
\t\t
点击取消按钮触发
\r\n
* @event {Function} change
\t\t
当选择值变化时触发
\r\n
* @event {Function} confirm
\t
点击确定按钮,返回当前选择的值
\r\n
*/
\r\n
import props from './props.js';
\r\n
export default {
\r\n\t
name: 'u-picker',
\r\n\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t
data() {
\r\n\t\t
return {
\r\n\t\t\t
// 上一次选择的列索引
\r\n\t\t\t
lastIndex: [],
\r\n\t\t\t
// 索引值 ,对应picker-view的value
\r\n\t\t\t
innerIndex: [],
\r\n\t\t\t
// 各列的值
\r\n\t\t\t
innerColumns: [],
\r\n\t\t\t
// 上一次的变化列索引
\r\n\t\t\t
columnIndex: 0,
\r\n\t\t
}
\r\n\t
},
\r\n\t
watch: {
\r\n\t\t
// 监听默认索引的变化,重新设置对应的值
\r\n\t\t
defaultIndex: {
\r\n\t\t\t
immediate: true,
\r\n\t\t\t
handler(n) {
\r\n\t\t\t\t
this.setIndexs(n, true)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 监听columns参数的变化
\r\n\t\t
columns: {
\r\n\t\t\t
immediate: true,
\r\n\t\t\t
handler(n) {
\r\n\t\t\t\t
this.setColumns(n)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
},
\r\n\t
methods: {
\r\n\t\t
// 获取item需要显示的文字,判别为对象还是文本
\r\n\t\t
getItemText(item) {
\r\n\t\t\t
if (uni.$u.test.object(item)) {
\r\n\t\t\t\t
return item[this.keyName]
\r\n\t\t\t
} else {
\r\n\t\t\t\t
return item
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 关闭选择器
\r\n\t\t
closeHandler() {
\r\n\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t
this.$emit('close')
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 点击工具栏的取消按钮
\r\n\t\t
cancel() {
\r\n\t\t\t
this.$emit('cancel')
\r\n\t\t
},
\r\n\t\t
// 点击工具栏的确定按钮
\r\n\t\t
confirm() {
\r\n\t\t\t
this.$emit('confirm', {
\r\n\t\t\t\t
indexs: this.innerIndex,
\r\n\t\t\t\t
value: this.innerColumns.map((item, index) => item[this.innerIndex[index]]),
\r\n\t\t\t\t
values: this.innerColumns
\r\n\t\t\t
})
\r\n\t\t
},
\r\n\t\t
// 选择器某一列的数据发生变化时触发
\r\n\t\t
changeHandler(e) {
\r\n\t\t\t
const {
\r\n\t\t\t\t
value
\r\n\t\t\t
} = e.detail
\r\n\t\t\t
let index = 0,
\r\n\t\t\t\t
columnIndex = 0
\r\n\t\t\t
// 通过对比前后两次的列索引,得出当前变化的是哪一列
\r\n\t\t\t
for (let i = 0; i < value.length; i++) {
\r\n\t\t\t\t
let item = value[i]
\r\n\t\t\t\t
if (item !== (this.lastIndex[i] || 0)) { // 把undefined转为合法假值0
\r\n\t\t\t\t\t
// 设置columnIndex为当前变化列的索引
\r\n\t\t\t\t\t
columnIndex = i
\r\n\t\t\t\t\t
// index则为变化列中的变化项的索引
\r\n\t\t\t\t\t
index = item
\r\n\t\t\t\t\t
break // 终止循环,即使少一次循环,也是性能的提升
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
this.columnIndex = columnIndex
\r\n\t\t\t
const values = this.innerColumns
\r\n\t\t\t
// 将当前的各项变化索引,设置为
\"
上一次
\"
的索引变化值
\r\n\t\t\t
this.setLastIndex(value)
\r\n\t\t\t
this.setIndexs(value)
\r\n\r\n\t\t\t
this.$emit('change', {
\r\n\t\t\t\t
// #ifndef MP-WEIXIN
\r\n\t\t\t\t
// 微信小程序不能传递this,会因为循环引用而报错
\r\n\t\t\t\t
picker: this,
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
value: this.innerColumns.map((item, index) => item[value[index]]),
\r\n\t\t\t\t
index,
\r\n\t\t\t\t
indexs: value,
\r\n\t\t\t\t
// values为当前变化列的数组内容
\r\n\t\t\t\t
values,
\r\n\t\t\t\t
columnIndex
\r\n\t\t\t
})
\r\n\t\t
},
\r\n\t\t
// 设置index索引,此方法可被外部调用设置
\r\n\t\t
setIndexs(index, setLastIndex) {
\r\n\t\t\t
this.innerIndex = uni.$u.deepClone(index)
\r\n\t\t\t
if (setLastIndex) {
\r\n\t\t\t\t
this.setLastIndex(index)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 记录上一次的各列索引位置
\r\n\t\t
setLastIndex(index) {
\r\n\t\t\t
// 当能进入此方法,意味着当前设置的各列默认索引,即为“上一次”的选中值,需要记录,是因为changeHandler中
\r\n\t\t\t
// 需要拿前后的变化值进行对比,得出当前发生改变的是哪一列
\r\n\t\t\t
this.lastIndex = uni.$u.deepClone(index)
\r\n\t\t
},
\r\n\t\t
// 设置对应列选项的所有值
\r\n\t\t
setColumnValues(columnIndex, values) {
\r\n\t\t\t
// 替换innerColumns数组中columnIndex索引的值为values,使用的是数组的splice方法
\r\n\t\t\t
this.innerColumns.splice(columnIndex, 1, values)
\r\n\t\t\t
// 拷贝一份原有的innerIndex做临时变量,将大于当前变化列的所有的列的默认索引设置为0
\r\n\t\t\t
let tmpIndex = uni.$u.deepClone(this.innerIndex)
\r\n\t\t\t
for (let i = 0; i < this.innerColumns.length; i++) {
\r\n\t\t\t\t
if (i > this.columnIndex) {
\r\n\t\t\t\t\t
tmpIndex[i] = 0
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
// 一次性赋值,不能单个修改,否则无效
\r\n\t\t\t
this.setIndexs(tmpIndex)
\r\n\t\t
},
\r\n\t\t
// 获取对应列的所有选项
\r\n\t\t
getColumnValues(columnIndex) {
\r\n\t\t\t
// 进行同步阻塞,因为外部得到change事件之后,可能需要执行setColumnValues更新列的值
\r\n\t\t\t
// 索引如果在外部change的回调中调用getColumnValues的话,可能无法得到变更后的列值,这里进行一定延时,保证值的准确性
\r\n\t\t\t
(async () => {
\r\n\t\t\t\t
await uni.$u.sleep()
\r\n\t\t\t
})()
\r\n\t\t\t
return this.innerColumns[columnIndex]
\r\n\t\t
},
\r\n\t\t
// 设置整体各列的columns的值
\r\n\t\t
setColumns(columns) {
\r\n\t\t\t
this.innerColumns = uni.$u.deepClone(columns)
\r\n\t\t\t
// 如果在设置各列数据时,没有被设置默认的各列索引defaultIndex,那么用0去填充它,数组长度为列的数量
\r\n\t\t\t
if (this.innerIndex.length === 0) {
\r\n\t\t\t\t
this.innerIndex = new Array(columns.length).fill(0)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 获取各列选中值对应的索引
\r\n\t\t
getIndexs() {
\r\n\t\t\t
return this.innerIndex
\r\n\t\t
},
\r\n\t\t
// 获取各列选中的值
\r\n\t\t
getValues() {
\r\n\t\t\t
// 进行同步阻塞,因为外部得到change事件之后,可能需要执行setColumnValues更新列的值
\r\n\t\t\t
// 索引如果在外部change的回调中调用getValues的话,可能无法得到变更后的列值,这里进行一定延时,保证值的准确性
\r\n\t\t\t
(async () => {
\r\n\t\t\t\t
await uni.$u.sleep()
\r\n\t\t\t
})()
\r\n\t\t\t
return this.innerColumns.map((item, index) => item[this.innerIndex[index]])
\r\n\t\t
}
\r\n\t
},
\r\n
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-picker {
\r\n\t\t
position: relative;
\r\n\r\n\t\t
&__view {
\r\n\r\n\t\t\t
&__column {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t\t
justify-content: center;
\r\n\r\n\t\t\t\t
&__item {
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t
font-size: 16px;
\r\n\t\t\t\t\t
text-align: center;
\r\n\t\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t\t
display: block;
\r\n\t\t\t\t\t
/* #endif */
\r\n\t\t\t\t\t
color: $u-main-color;
\r\n\r\n\t\t\t\t\t
&--disabled {
\r\n\t\t\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t\t\t
cursor: not-allowed;
\r\n\t\t\t\t\t\t
/* #endif */
\r\n\t\t\t\t\t\t
opacity: 0.35;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&--loading {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: 0;
\r\n\t\t\t
right: 0;
\r\n\t\t\t
left: 0;
\r\n\t\t\t
bottom: 0;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
background-color: rgba(255, 255, 255, 0.87);
\r\n\t\t\t
z-index: 1000;
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=style&index=0&id=d45639b2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=style&index=0&id=d45639b2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659059
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?6331"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?add0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?a7b0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?669f"
,
"uni-app:///node_modules/uview-ui/components/u-picker/u-picker.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?8436"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-picker/u-picker.vue?da53"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+E/oB,gF;AACA;AACA,kBADA;AAEA,wDAFA;AAGA,MAHA,kBAGA;AACA;AACA;AACA,mBAFA;AAGA;AACA,oBAJA;AAKA;AACA,sBANA;AAOA;AACA,oBARA;;AAUA,GAdA;AAeA;AACA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA,OAJA,EATA,EAfA;;;AA+BA;AACA;AACA,eAFA,uBAEA,IAFA,EAEA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KARA;AASA;AACA,gBAVA,0BAUA;AACA;AACA;AACA;AACA,KAdA;AAeA;AACA,UAhBA,oBAgBA;AACA;AACA,KAlBA;AAmBA;AACA,WApBA,qBAoBA;AACA;AACA,+BADA;AAEA,oGAFA;AAGA,iCAHA;;AAKA,KA1BA;AA2BA;AACA,iBA5BA,yBA4BA,CA5BA,EA4BA;;AAEA,WAFA;AAGA,cAHA,CAEA,KAFA;AAIA;AACA,qBADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBALA,CAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;AAKA,yFALA;AAMA,oBANA;AAOA,qBAPA;AAQA;AACA,sBATA;AAUA,gCAVA;;AAYA,KA/DA;AAgEA;AACA,aAjEA,qBAiEA,KAjEA,EAiEA,YAjEA,EAiEA;AACA;AACA;AACA;AACA;AACA,KAtEA;AAuEA;AACA,gBAxEA,wBAwEA,KAxEA,EAwEA;AACA;AACA;AACA;AACA,KA5EA;AA6EA;AACA,mBA9EA,2BA8EA,WA9EA,EA8EA,MA9EA,EA8EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA1FA;AA2FA;AACA,mBA5FA,2BA4FA,WA5FA,EA4FA;AACA;AACA;AACA;AACA,gCADA;;AAGA;AACA,KAnGA;AAoGA;AACA,cArGA,sBAqGA,OArGA,EAqGA;AACA;AACA;AACA;AACA;AACA;AACA,KA3GA;AA4GA;AACA,aA7GA,uBA6GA;AACA;AACA,KA/GA;AAgHA;AACA,aAjHA,uBAiHA;AACA;AACA;AACA;AACA,gCADA;;AAGA;AACA,KAxHA,EA/BA,E;;;;;;;;;;;;;AChFA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-picker/u-picker.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-picker.vue?vue&type=template&id=d45639b2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-picker.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-picker.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-picker.vue?vue&type=style&index=0&id=d45639b2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
d45639b2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-picker/u-picker.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=template&id=d45639b2&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uPopup: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-popup/u-popup
\"
*/
\"
uview-ui/components/u-popup/u-popup.vue
\"\n
)
\n
},
\n
uToolbar: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-toolbar/u-toolbar
\"
*/
\"
uview-ui/components/u-toolbar/u-toolbar.vue
\"\n
)
\n
},
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 = _vm.$u.addUnit(_vm.visibleItemCount * _vm.itemHeight)
\n
var g1 = _vm.$u.addUnit(_vm.itemHeight)
\n\n
var l1 = _vm.__map(_vm.innerColumns, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var g2 = _vm.$u.test.array(item)
\n
var g3 = g2 ? _vm.$u.addUnit(_vm.itemHeight) : null
\n
var g4 = g2 ? _vm.$u.addUnit(_vm.itemHeight) : null
\n\n
var l0 = _vm.__map(item, function(item1, index1) {
\n
var $orig = _vm.__get_orig(item1)
\n\n
var m0 = g2 ? _vm.getItemText(item1) : null
\n
return {
\n
$orig: $orig,
\n
m0: m0
\n
}
\n
})
\n\n
return {
\n
$orig: $orig,
\n
g2: g2,
\n
g3: g3,
\n
g4: g4,
\n
l0: l0
\n
}
\n
})
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
g1: g1,
\n
l1: l1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<u-popup
\r\n\t\t
:show=
\"
show
\"\r\n\t\t
@close=
\"
closeHandler
\"\r\n\t
>
\r\n\t\t
<view class=
\"
u-picker
\"
>
\r\n\t\t\t
<u-toolbar
\r\n\t\t\t\t
v-if=
\"
showToolbar
\"\r\n\t\t\t\t
:cancelColor=
\"
cancelColor
\"\r\n\t\t\t\t
:confirmColor=
\"
confirmColor
\"\r\n\t\t\t\t
:cancelText=
\"
cancelText
\"\r\n\t\t\t\t
:confirmText=
\"
confirmText
\"\r\n\t\t\t\t
:title=
\"
title
\"\r\n\t\t\t\t
@cancel=
\"
cancel
\"\r\n\t\t\t\t
@confirm=
\"
confirm
\"\r\n\t\t\t
></u-toolbar>
\r\n\t\t\t
<picker-view
\r\n\t\t\t\t
class=
\"
u-picker__view
\"\r\n\t\t\t\t
:indicatorStyle=
\"
`height: ${$u.addUnit(itemHeight)}`
\"\r\n\t\t\t\t
:value=
\"
innerIndex
\"\r\n\t\t\t\t
:immediateChange=
\"
immediateChange
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
height: `${$u.addUnit(visibleItemCount * itemHeight)}`
\r\n\t\t\t\t
}
\"\r\n\t\t\t\t
@change=
\"
changeHandler
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<picker-view-column
\r\n\t\t\t\t\t
v-for=
\"
(item, index) in innerColumns
\"\r\n\t\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t\t
class=
\"
u-picker__view__column
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
v-if=
\"
$u.test.array(item)
\"\r\n\t\t\t\t\t\t
class=
\"
u-picker__view__column__item u-line-1
\"\r\n\t\t\t\t\t\t
v-for=
\"
(item1, index1) in item
\"\r\n\t\t\t\t\t\t
:key=
\"
index1
\"\r\n\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(itemHeight),
\r\n\t\t\t\t\t\t\t
lineHeight: $u.addUnit(itemHeight),
\r\n\t\t\t\t\t\t\t
fontWeight: index1 === innerIndex[index] ? 'bold' : 'normal'
\r\n\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t
>{{ getItemText(item1) }}</text>
\r\n\t\t\t\t
</picker-view-column>
\r\n\t\t\t
</picker-view>
\r\n\t\t\t
<view
\r\n\t\t\t\t
v-if=
\"
loading
\"\r\n\t\t\t\t
class=
\"
u-picker--loading
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<u-loading-icon mode=
\"
circle
\"
></u-loading-icon>
\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n\t
</u-popup>
\r\n
</template>
\r\n\r\n
<script>
\r\n
/**
\r\n
* u-picker
\r\n
* @description 选择器
\r\n
* @property {Boolean}
\t\t\t
show
\t\t\t\t
是否显示picker弹窗(默认 false )
\r\n
* @property {Boolean}
\t\t\t
showToolbar
\t\t\t
是否显示顶部的操作栏(默认 true )
\r\n
* @property {String}
\t\t\t
title
\t\t\t\t
顶部标题
\r\n
* @property {Array}
\t\t\t
columns
\t\t\t\t
对象数组,设置每一列的数据
\r\n
* @property {Boolean}
\t\t\t
loading
\t\t\t\t
是否显示加载中状态(默认 false )
\r\n
* @property {String | Number}
\t
itemHeight
\t\t\t
各列中,单个选项的高度(默认 44 )
\r\n
* @property {String}
\t\t\t
cancelText
\t\t\t
取消按钮的文字(默认 '取消' )
\r\n
* @property {String}
\t\t\t
confirmText
\t\t\t
确认按钮的文字(默认 '确定' )
\r\n
* @property {String}
\t\t\t
cancelColor
\t\t\t
取消按钮的颜色(默认 '#909193' )
\r\n
* @property {String}
\t\t\t
confirmColor
\t\t
确认按钮的颜色(默认 '#3c9cff' )
\r\n
* @property {Array}
\t\t\t
singleIndex
\t\t\t
选择器只有一列时,默认选中项的索引,从0开始(默认 0 )
\r\n
* @property {String | Number}
\t
visibleItemCount
\t
每列中可见选项的数量(默认 5 )
\r\n
* @property {String}
\t\t\t
keyName
\t\t\t\t
选项对象中,需要展示的属性键名(默认 'text' )
\r\n
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
是否允许点击遮罩关闭选择器(默认 false )
\r\n
* @property {Array}
\t\t\t
defaultIndex
\t\t
各列的默认索引
\r\n
* @property {Boolean}
\t\t\t
immediateChange
\t\t
是否在手指松开时立即触发change事件(默认 false )
\r\n
* @event {Function} close
\t\t
关闭选择器时触发
\r\n
* @event {Function} cancel
\t\t
点击取消按钮触发
\r\n
* @event {Function} change
\t\t
当选择值变化时触发
\r\n
* @event {Function} confirm
\t
点击确定按钮,返回当前选择的值
\r\n
*/
\r\n
import props from './props.js';
\r\n
export default {
\r\n\t
name: 'u-picker',
\r\n\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t
data() {
\r\n\t\t
return {
\r\n\t\t\t
// 上一次选择的列索引
\r\n\t\t\t
lastIndex: [],
\r\n\t\t\t
// 索引值 ,对应picker-view的value
\r\n\t\t\t
innerIndex: [],
\r\n\t\t\t
// 各列的值
\r\n\t\t\t
innerColumns: [],
\r\n\t\t\t
// 上一次的变化列索引
\r\n\t\t\t
columnIndex: 0,
\r\n\t\t
}
\r\n\t
},
\r\n\t
watch: {
\r\n\t\t
// 监听默认索引的变化,重新设置对应的值
\r\n\t\t
defaultIndex: {
\r\n\t\t\t
immediate: true,
\r\n\t\t\t
handler(n) {
\r\n\t\t\t\t
this.setIndexs(n, true)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 监听columns参数的变化
\r\n\t\t
columns: {
\r\n\t\t\t
immediate: true,
\r\n\t\t\t
handler(n) {
\r\n\t\t\t\t
this.setColumns(n)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
},
\r\n\t
methods: {
\r\n\t\t
// 获取item需要显示的文字,判别为对象还是文本
\r\n\t\t
getItemText(item) {
\r\n\t\t\t
if (uni.$u.test.object(item)) {
\r\n\t\t\t\t
return item[this.keyName]
\r\n\t\t\t
} else {
\r\n\t\t\t\t
return item
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 关闭选择器
\r\n\t\t
closeHandler() {
\r\n\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t
this.$emit('close')
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 点击工具栏的取消按钮
\r\n\t\t
cancel() {
\r\n\t\t\t
this.$emit('cancel')
\r\n\t\t
},
\r\n\t\t
// 点击工具栏的确定按钮
\r\n\t\t
confirm() {
\r\n\t\t\t
this.$emit('confirm', {
\r\n\t\t\t\t
indexs: this.innerIndex,
\r\n\t\t\t\t
value: this.innerColumns.map((item, index) => item[this.innerIndex[index]]),
\r\n\t\t\t\t
values: this.innerColumns
\r\n\t\t\t
})
\r\n\t\t
},
\r\n\t\t
// 选择器某一列的数据发生变化时触发
\r\n\t\t
changeHandler(e) {
\r\n\t\t\t
const {
\r\n\t\t\t\t
value
\r\n\t\t\t
} = e.detail
\r\n\t\t\t
let index = 0,
\r\n\t\t\t\t
columnIndex = 0
\r\n\t\t\t
// 通过对比前后两次的列索引,得出当前变化的是哪一列
\r\n\t\t\t
for (let i = 0; i < value.length; i++) {
\r\n\t\t\t\t
let item = value[i]
\r\n\t\t\t\t
if (item !== (this.lastIndex[i] || 0)) { // 把undefined转为合法假值0
\r\n\t\t\t\t\t
// 设置columnIndex为当前变化列的索引
\r\n\t\t\t\t\t
columnIndex = i
\r\n\t\t\t\t\t
// index则为变化列中的变化项的索引
\r\n\t\t\t\t\t
index = item
\r\n\t\t\t\t\t
break // 终止循环,即使少一次循环,也是性能的提升
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
this.columnIndex = columnIndex
\r\n\t\t\t
const values = this.innerColumns
\r\n\t\t\t
// 将当前的各项变化索引,设置为
\"
上一次
\"
的索引变化值
\r\n\t\t\t
this.setLastIndex(value)
\r\n\t\t\t
this.setIndexs(value)
\r\n\r\n\t\t\t
this.$emit('change', {
\r\n\t\t\t\t
// #ifndef MP-WEIXIN
\r\n\t\t\t\t
// 微信小程序不能传递this,会因为循环引用而报错
\r\n\t\t\t\t
picker: this,
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
value: this.innerColumns.map((item, index) => item[value[index]]),
\r\n\t\t\t\t
index,
\r\n\t\t\t\t
indexs: value,
\r\n\t\t\t\t
// values为当前变化列的数组内容
\r\n\t\t\t\t
values,
\r\n\t\t\t\t
columnIndex
\r\n\t\t\t
})
\r\n\t\t
},
\r\n\t\t
// 设置index索引,此方法可被外部调用设置
\r\n\t\t
setIndexs(index, setLastIndex) {
\r\n\t\t\t
this.innerIndex = uni.$u.deepClone(index)
\r\n\t\t\t
if (setLastIndex) {
\r\n\t\t\t\t
this.setLastIndex(index)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 记录上一次的各列索引位置
\r\n\t\t
setLastIndex(index) {
\r\n\t\t\t
// 当能进入此方法,意味着当前设置的各列默认索引,即为“上一次”的选中值,需要记录,是因为changeHandler中
\r\n\t\t\t
// 需要拿前后的变化值进行对比,得出当前发生改变的是哪一列
\r\n\t\t\t
this.lastIndex = uni.$u.deepClone(index)
\r\n\t\t
},
\r\n\t\t
// 设置对应列选项的所有值
\r\n\t\t
setColumnValues(columnIndex, values) {
\r\n\t\t\t
// 替换innerColumns数组中columnIndex索引的值为values,使用的是数组的splice方法
\r\n\t\t\t
this.innerColumns.splice(columnIndex, 1, values)
\r\n\t\t\t
// 拷贝一份原有的innerIndex做临时变量,将大于当前变化列的所有的列的默认索引设置为0
\r\n\t\t\t
let tmpIndex = uni.$u.deepClone(this.innerIndex)
\r\n\t\t\t
for (let i = 0; i < this.innerColumns.length; i++) {
\r\n\t\t\t\t
if (i > this.columnIndex) {
\r\n\t\t\t\t\t
tmpIndex[i] = 0
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
// 一次性赋值,不能单个修改,否则无效
\r\n\t\t\t
this.setIndexs(tmpIndex)
\r\n\t\t
},
\r\n\t\t
// 获取对应列的所有选项
\r\n\t\t
getColumnValues(columnIndex) {
\r\n\t\t\t
// 进行同步阻塞,因为外部得到change事件之后,可能需要执行setColumnValues更新列的值
\r\n\t\t\t
// 索引如果在外部change的回调中调用getColumnValues的话,可能无法得到变更后的列值,这里进行一定延时,保证值的准确性
\r\n\t\t\t
(async () => {
\r\n\t\t\t\t
await uni.$u.sleep()
\r\n\t\t\t
})()
\r\n\t\t\t
return this.innerColumns[columnIndex]
\r\n\t\t
},
\r\n\t\t
// 设置整体各列的columns的值
\r\n\t\t
setColumns(columns) {
\r\n\t\t\t
this.innerColumns = uni.$u.deepClone(columns)
\r\n\t\t\t
// 如果在设置各列数据时,没有被设置默认的各列索引defaultIndex,那么用0去填充它,数组长度为列的数量
\r\n\t\t\t
if (this.innerIndex.length === 0) {
\r\n\t\t\t\t
this.innerIndex = new Array(columns.length).fill(0)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
// 获取各列选中值对应的索引
\r\n\t\t
getIndexs() {
\r\n\t\t\t
return this.innerIndex
\r\n\t\t
},
\r\n\t\t
// 获取各列选中的值
\r\n\t\t
getValues() {
\r\n\t\t\t
// 进行同步阻塞,因为外部得到change事件之后,可能需要执行setColumnValues更新列的值
\r\n\t\t\t
// 索引如果在外部change的回调中调用getValues的话,可能无法得到变更后的列值,这里进行一定延时,保证值的准确性
\r\n\t\t\t
(async () => {
\r\n\t\t\t\t
await uni.$u.sleep()
\r\n\t\t\t
})()
\r\n\t\t\t
return this.innerColumns.map((item, index) => item[this.innerIndex[index]])
\r\n\t\t
}
\r\n\t
},
\r\n
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-picker {
\r\n\t\t
position: relative;
\r\n\r\n\t\t
&__view {
\r\n\r\n\t\t\t
&__column {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t\t
justify-content: center;
\r\n\r\n\t\t\t\t
&__item {
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t
font-size: 16px;
\r\n\t\t\t\t\t
text-align: center;
\r\n\t\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t\t
display: block;
\r\n\t\t\t\t\t
/* #endif */
\r\n\t\t\t\t\t
color: $u-main-color;
\r\n\r\n\t\t\t\t\t
&--disabled {
\r\n\t\t\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t\t\t
cursor: not-allowed;
\r\n\t\t\t\t\t\t
/* #endif */
\r\n\t\t\t\t\t\t
opacity: 0.35;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&--loading {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: 0;
\r\n\t\t\t
right: 0;
\r\n\t\t\t
left: 0;
\r\n\t\t\t
bottom: 0;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
background-color: rgba(255, 255, 255, 0.87);
\r\n\t\t\t
z-index: 1000;
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=style&index=0&id=d45639b2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-picker.vue?vue&type=style&index=0&id=d45639b2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029102108
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?939c"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?cf6a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?0cd1"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?3a93"
,
"uni-app:///node_modules/uview-ui/components/u-popup/u-popup.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?1b38"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?f3ec"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+C9oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,mCADA,GAGA,CAPA,EAQA,SACA,IADA,gBACA,QADA,EACA,QADA,EACA,CACA,wBAEA,8BACA,0CAEA,CACA,CARA,EARA,EAkBA,YACA,eADA,6BACA,CACA,cACA,mBADA,EAEA,iBAFA,EAGA,eAHA,GAKA,qBACA,2BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,4BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,0BACA,iCACA,OADA,EAEA,QAFA,IAIA,CALA,MAKA,6BACA,iCACA,OADA;AAEA,kBAFA;;AAIA,OALA,MAKA;AACA;AACA,8BADA;AAEA,qCAFA;AAGA,gBAHA;AAIA,iBAJA;AAKA,kBALA;AAMA,mBANA;;AAQA;AACA,KAtCA;AAuCA,gBAvCA,0BAuCA;AACA;AACA;AACA;AAHA;;AAMA,kBANA,CAKA,cALA,eAKA,cALA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA;AACA;AACA,KAlEA;AAmEA,YAnEA,sBAmEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnFA,EAlBA;;AAuGA;AACA;AACA,gBAFA,0BAEA;AACA;AACA;AACA;AACA,KANA;AAOA,SAPA,iBAOA,CAPA,EAOA;AACA;AACA,KATA;AAUA,cAVA,wBAUA;AACA;AACA,KAZA;AAaA,gBAbA,0BAaA;AACA;AACA;AACA;AACA;AACA;AACA,KAnBA;;AAqBA,8BArBA,sCAqBA,QArBA,EAqBA;AACA;AACA;AACA,uBADA,EACA,aADA,EACA,QADA,EACA,aADA,EACA,OADA,EACA,cADA,EACA,eADA;AAEA,kBAFA,EAEA,UAFA,EAEA,cAFA,EAEA,UAFA,EAEA,cAFA,EAEA,qBAFA,EAEA,UAFA;AAGA,cAHA,EAGA,WAHA;;AAKA;AAPA,iCAQA,CARA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA;AACA;AACA;AACA,SAtBA,EAQA;AAeA;AACA,KA7CA,EAvGA,E;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-popup/u-popup.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-popup.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-popup.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
52d4ddd1
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-popup/u-popup.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uOverlay: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-overlay/u-overlay
\"
*/
\"
uview-ui/components/u-overlay/u-overlay.vue
\"\n
)
\n
},
\n
uTransition: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-transition/u-transition
\"
*/
\"
uview-ui/components/u-transition/u-transition.vue
\"\n
)
\n
},
\n
uStatusBar: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-status-bar/u-status-bar
\"
*/
\"
uview-ui/components/u-status-bar/u-status-bar.vue
\"\n
)
\n
},
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
},
\n
uSafeBottom: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom
\"
*/
\"
uview-ui/components/u-safe-bottom/u-safe-bottom.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.contentStyle])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-popup
\"
>
\r\n\t\t
<u-overlay
\r\n\t\t\t
:show=
\"
show
\"\r\n\t\t\t
@click=
\"
overlayClick
\"\r\n\t\t\t
v-if=
\"
overlay
\"\r\n\t\t\t
:duration=
\"
overlayDuration
\"\r\n\t\t\t
:customStyle=
\"
overlayStyle
\"\r\n\t\t\t
:opacity=
\"
overlayOpacity
\"\r\n\t\t
></u-overlay>
\r\n\t\t
<u-transition
\r\n\t\t\t
:show=
\"
show
\"\r\n\t\t\t
:customStyle=
\"
transitionStyle
\"\r\n\t\t\t
:mode=
\"
position
\"\r\n\t\t\t
:duration=
\"
duration
\"\r\n\t\t\t
@afterEnter=
\"
afterEnter
\"\r\n\t\t\t
@click=
\"
clickHandler
\"\r\n\t\t
>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-popup__content
\"\r\n\t\t\t\t
:style=
\"
[contentStyle]
\"\r\n\t\t\t\t
@tap.stop=
\"
noop
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<u-status-bar v-if=
\"
safeAreaInsetTop
\"
></u-status-bar>
\r\n\t\t\t\t
<slot></slot>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
v-if=
\"
closeable
\"\r\n\t\t\t\t\t
@tap.stop=
\"
close
\"\r\n\t\t\t\t\t
class=
\"
u-popup__content__close
\"\r\n\t\t\t\t\t
:class=
\"
['u-popup__content__close--' + closeIconPos]
\"\r\n\t\t\t\t\t
hover-class=
\"
u-popup__content__close--hover
\"\r\n\t\t\t\t\t
hover-stay-time=
\"
150
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t
name=
\"
close
\"\r\n\t\t\t\t\t\t
color=
\"
#909399
\"\r\n\t\t\t\t\t\t
size=
\"
18
\"\r\n\t\t\t\t\t\t
bold
\r\n\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<u-safe-bottom v-if=
\"
safeAreaInsetBottom
\"
></u-safe-bottom>
\r\n\t\t\t
</view>
\r\n\t\t
</u-transition>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\r\n\t
/**
\r\n\t
* popup 弹窗
\r\n\t
* @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义
\r\n\t
* @tutorial https://www.uviewui.com/components/popup.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t\t
是否展示弹窗 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
overlay
\t\t\t\t
是否显示遮罩 (默认 true )
\r\n\t
* @property {String}
\t\t\t
mode
\t\t\t\t
弹出方向(默认 'bottom' )
\r\n\t
* @property {String | Number}
\t
duration
\t\t\t
动画时长,单位ms (默认 300 )
\r\n\t
* @property {String | Number}
\t
overlayDuration
\t\t\t
遮罩层动画时长,单位ms (默认 350 )
\r\n\t
* @property {Boolean}
\t\t\t
closeable
\t\t\t
是否显示关闭图标(默认 false )
\r\n\t
* @property {Object | String}
\t
overlayStyle
\t\t
自定义遮罩的样式
\r\n\t
* @property {String | Number}
\t
overlayOpacity
\t\t
遮罩透明度,0-1之间(默认 0.5)
\r\n\t
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
点击遮罩是否关闭弹窗 (默认 true )
\r\n\t
* @property {String | Number}
\t
zIndex
\t\t\t\t
层级 (默认 10075 )
\r\n\t
* @property {Boolean}
\t\t\t
safeAreaInsetBottom
\t
是否为iPhoneX留出底部安全距离 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
safeAreaInsetTop
\t
是否留出顶部安全距离(状态栏高度) (默认 false )
\r\n\t
* @property {String}
\t\t\t
closeIconPos
\t\t
自定义关闭图标位置(默认 'top-right' )
\r\n\t
* @property {String | Number}
\t
round
\t\t\t\t
圆角值(默认 0)
\r\n\t
* @property {Boolean}
\t\t\t
zoom
\t\t\t\t
当mode=center时 是否开启缩放(默认 true )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t\t
组件的样式,对象形式
\r\n\t
* @event {Function} open 弹出层打开
\r\n\t
* @event {Function} close 弹出层收起
\r\n\t
* @example <u-popup v-model=
\"
show
\"
><text>出淤泥而不染,濯清涟而不妖</text></u-popup>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-popup',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
overlayDuration: this.duration + 50
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(newValue, oldValue) {
\r\n\t\t\t\t
if (newValue === true) {
\r\n\t\t\t\t\t
// #ifdef MP-WEIXIN
\r\n\t\t\t\t\t
const children = this.$children
\r\n\t\t\t\t\t
this.retryComputedComponentRect(children)
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
transitionStyle() {
\r\n\t\t\t\t
const style = {
\r\n\t\t\t\t\t
zIndex: this.zIndex,
\r\n\t\t\t\t\t
position: 'fixed',
\r\n\t\t\t\t\t
display: 'flex',
\r\n\t\t\t\t
}
\r\n\t\t\t\t
style[this.mode] = 0
\r\n\t\t\t\t
if (this.mode === 'left') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
bottom: 0,
\r\n\t\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'right') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
bottom: 0,
\r\n\t\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'top') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t\t
right: 0
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'bottom') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t\t
right: 0,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'center') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
alignItems: 'center',
\r\n\t\t\t\t\t\t
'justify-content': 'center',
\r\n\t\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t\t
right: 0,
\r\n\t\t\t\t\t\t
bottom: 0
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
contentStyle() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
// 通过设备信息的safeAreaInsets值来判断是否需要预留顶部状态栏和底部安全局的位置
\r\n\t\t\t\t
// 不使用css方案,是因为nvue不支持css的iPhoneX安全区查询属性
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
safeAreaInsets
\r\n\t\t\t\t
} = uni.$u.sys()
\r\n\t\t\t\t
if (this.mode !== 'center') {
\r\n\t\t\t\t\t
style.flex = 1
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 背景色,一般用于设置为transparent,去除默认的白色背景
\r\n\t\t\t\t
if (this.bgColor) {
\r\n\t\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if(this.round) {
\r\n\t\t\t\t\t
const value = uni.$u.addUnit(this.round)
\r\n\t\t\t\t\t
if(this.mode === 'top') {
\r\n\t\t\t\t\t\t
style.borderBottomLeftRadius = value
\r\n\t\t\t\t\t\t
style.borderBottomRightRadius = value
\r\n\t\t\t\t\t
} else if(this.mode === 'bottom') {
\r\n\t\t\t\t\t\t
style.borderTopLeftRadius = value
\r\n\t\t\t\t\t\t
style.borderTopRightRadius = value
\r\n\t\t\t\t\t
} else if(this.mode === 'center') {
\r\n\t\t\t\t\t\t
style.borderRadius = value
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
},
\r\n\t\t\t
position() {
\r\n\t\t\t\t
if (this.mode === 'center') {
\r\n\t\t\t\t\t
return this.zoom ? 'fade-zoom' : 'fade'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'left') {
\r\n\t\t\t\t\t
return 'slide-left'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'right') {
\r\n\t\t\t\t\t
return 'slide-right'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'bottom') {
\r\n\t\t\t\t\t
return 'slide-up'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'top') {
\r\n\t\t\t\t\t
return 'slide-down'
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击遮罩
\r\n\t\t\t
overlayClick() {
\r\n\t\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t\t
this.$emit('close')
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
close(e) {
\r\n\t\t\t\t
this.$emit('close')
\r\n\t\t\t
},
\r\n\t\t\t
afterEnter() {
\r\n\t\t\t\t
this.$emit('open')
\r\n\t\t\t
},
\r\n\t\t\t
clickHandler() {
\r\n\t\t\t\t
// 由于中部弹出时,其u-transition占据了整个页面相当于遮罩,此时需要发出遮罩点击事件,是否无法通过点击遮罩关闭弹窗
\r\n\t\t\t\t
if(this.mode === 'center') {
\r\n\t\t\t\t\t
this.overlayClick()
\r\n\t\t\t\t
}
\r\n\t\t\t\t
this.$emit('click')
\r\n\t\t\t
},
\r\n\t\t\t
// #ifdef MP-WEIXIN
\r\n\t\t\t
retryComputedComponentRect(children) {
\r\n\t\t\t\t
// 组件内部需要计算节点的组件
\r\n\t\t\t\t
const names = ['u-calendar-month', 'u-album', 'u-collapse-item', 'u-dropdown', 'u-index-item', 'u-index-list',
\r\n\t\t\t\t\t
'u-line-progress', 'u-list-item', 'u-rate', 'u-read-more', 'u-row', 'u-row-notice', 'u-scroll-list',
\r\n\t\t\t\t\t
'u-skeleton', 'u-slider', 'u-steps-item', 'u-sticky', 'u-subsection', 'u-swipe-action-item', 'u-tabbar',
\r\n\t\t\t\t\t
'u-tabs', 'u-tooltip'
\r\n\t\t\t\t
]
\r\n\t\t\t\t
// 历遍所有的子组件节点
\r\n\t\t\t\t
for (let i = 0; i < children.length; i++) {
\r\n\t\t\t\t\t
const child = children[i]
\r\n\t\t\t\t\t
// 拿到子组件的子组件
\r\n\t\t\t\t\t
const grandChild = child.$children
\r\n\t\t\t\t\t
// 判断如果在需要重新初始化的组件数组中名中,并且存在init方法的话,则执行
\r\n\t\t\t\t\t
if (names.includes(child.$options.name) && typeof child?.init === 'function') {
\r\n\t\t\t\t\t\t
// 需要进行一定的延时,因为初始化页面需要时间
\r\n\t\t\t\t\t\t
uni.$u.sleep(50).then(() => {
\r\n\t\t\t\t\t\t\t
child.init()
\r\n\t\t\t\t\t\t
})
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// 如果子组件还有孙组件,进行递归历遍
\r\n\t\t\t\t\t
if (grandChild.length) {
\r\n\t\t\t\t\t\t
this.retryComputedComponentRect(grandChild)
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
// #endif
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\t
$u-popup-flex:1 !default;
\r\n\t
$u-popup-content-background-color: #fff !default;
\r\n\r\n\t
.u-popup {
\r\n\t\t
flex: $u-popup-flex;
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
background-color: $u-popup-content-background-color;
\r\n\t\t\t
position: relative;
\r\n\r\n\t\t\t
&--round-top {
\r\n\t\t\t\t
border-top-left-radius: 0;
\r\n\t\t\t\t
border-top-right-radius: 0;
\r\n\t\t\t\t
border-bottom-left-radius: 10px;
\r\n\t\t\t\t
border-bottom-right-radius: 10px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-left {
\r\n\t\t\t\t
border-top-left-radius: 0;
\r\n\t\t\t\t
border-top-right-radius: 10px;
\r\n\t\t\t\t
border-bottom-left-radius: 0;
\r\n\t\t\t\t
border-bottom-right-radius: 10px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-right {
\r\n\t\t\t\t
border-top-left-radius: 10px;
\r\n\t\t\t\t
border-top-right-radius: 0;
\r\n\t\t\t\t
border-bottom-left-radius: 10px;
\r\n\t\t\t\t
border-bottom-right-radius: 0;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-bottom {
\r\n\t\t\t\t
border-top-left-radius: 10px;
\r\n\t\t\t\t
border-top-right-radius: 10px;
\r\n\t\t\t\t
border-bottom-left-radius: 0;
\r\n\t\t\t\t
border-bottom-right-radius: 0;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-center {
\r\n\t\t\t\t
border-top-left-radius: 10px;
\r\n\t\t\t\t
border-top-right-radius: 10px;
\r\n\t\t\t\t
border-bottom-left-radius: 10px;
\r\n\t\t\t\t
border-bottom-right-radius: 10px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close {
\r\n\t\t\t\t
position: absolute;
\r\n\r\n\t\t\t\t
&--hover {
\r\n\t\t\t\t\t
opacity: 0.4;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--top-left {
\r\n\t\t\t\t
top: 15px;
\r\n\t\t\t\t
left: 15px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--top-right {
\r\n\t\t\t\t
top: 15px;
\r\n\t\t\t\t
right: 15px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--bottom-left {
\r\n\t\t\t\t
bottom: 15px;
\r\n\t\t\t\t
left: 15px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--bottom-right {
\r\n\t\t\t\t
right: 15px;
\r\n\t\t\t\t
bottom: 15px;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659014
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?939c"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?cf6a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?0cd1"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?3a93"
,
"uni-app:///node_modules/uview-ui/components/u-popup/u-popup.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?1b38"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-popup/u-popup.vue?f3ec"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAA0nB,CAAgB,+oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+C9oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;kBAwBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,mCADA,GAGA,CAPA,EAQA,SACA,IADA,gBACA,QADA,EACA,QADA,EACA,CACA,wBAEA,8BACA,0CAEA,CACA,CARA,EARA,EAkBA,YACA,eADA,6BACA,CACA,cACA,mBADA,EAEA,iBAFA,EAGA,eAHA,GAKA,qBACA,2BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,4BACA,iCACA,SADA,EAEA,MAFA,IAIA,CALA,MAKA,0BACA,iCACA,OADA,EAEA,QAFA,IAIA,CALA,MAKA,6BACA,iCACA,OADA;AAEA,kBAFA;;AAIA,OALA,MAKA;AACA;AACA,8BADA;AAEA,qCAFA;AAGA,gBAHA;AAIA,iBAJA;AAKA,kBALA;AAMA,mBANA;;AAQA;AACA,KAtCA;AAuCA,gBAvCA,0BAuCA;AACA;AACA;AACA;AAHA;;AAMA,kBANA,CAKA,cALA,eAKA,cALA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA;AACA;AACA,KAlEA;AAmEA,YAnEA,sBAmEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnFA,EAlBA;;AAuGA;AACA;AACA,gBAFA,0BAEA;AACA;AACA;AACA;AACA,KANA;AAOA,SAPA,iBAOA,CAPA,EAOA;AACA;AACA,KATA;AAUA,cAVA,wBAUA;AACA;AACA,KAZA;AAaA,gBAbA,0BAaA;AACA;AACA;AACA;AACA;AACA;AACA,KAnBA;;AAqBA,8BArBA,sCAqBA,QArBA,EAqBA;AACA;AACA;AACA,uBADA,EACA,aADA,EACA,QADA,EACA,aADA,EACA,OADA,EACA,cADA,EACA,eADA;AAEA,kBAFA,EAEA,UAFA,EAEA,cAFA,EAEA,UAFA,EAEA,cAFA,EAEA,qBAFA,EAEA,UAFA;AAGA,cAHA,EAGA,WAHA;;AAKA;AAPA,iCAQA,CARA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA;AACA;AACA;AACA,SAtBA,EAQA;AAeA;AACA,KA7CA,EAvGA,E;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAAitC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAruC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-popup/u-popup.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-popup.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-popup.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
52d4ddd1
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-popup/u-popup.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uOverlay: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-overlay/u-overlay
\"
*/
\"
uview-ui/components/u-overlay/u-overlay.vue
\"\n
)
\n
},
\n
uTransition: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-transition/u-transition
\"
*/
\"
uview-ui/components/u-transition/u-transition.vue
\"\n
)
\n
},
\n
uStatusBar: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-status-bar/u-status-bar
\"
*/
\"
uview-ui/components/u-status-bar/u-status-bar.vue
\"\n
)
\n
},
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
},
\n
uSafeBottom: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom
\"
*/
\"
uview-ui/components/u-safe-bottom/u-safe-bottom.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.contentStyle])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-popup
\"
>
\r\n\t\t
<u-overlay
\r\n\t\t\t
:show=
\"
show
\"\r\n\t\t\t
@click=
\"
overlayClick
\"\r\n\t\t\t
v-if=
\"
overlay
\"\r\n\t\t\t
:duration=
\"
overlayDuration
\"\r\n\t\t\t
:customStyle=
\"
overlayStyle
\"\r\n\t\t\t
:opacity=
\"
overlayOpacity
\"\r\n\t\t
></u-overlay>
\r\n\t\t
<u-transition
\r\n\t\t\t
:show=
\"
show
\"\r\n\t\t\t
:customStyle=
\"
transitionStyle
\"\r\n\t\t\t
:mode=
\"
position
\"\r\n\t\t\t
:duration=
\"
duration
\"\r\n\t\t\t
@afterEnter=
\"
afterEnter
\"\r\n\t\t\t
@click=
\"
clickHandler
\"\r\n\t\t
>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-popup__content
\"\r\n\t\t\t\t
:style=
\"
[contentStyle]
\"\r\n\t\t\t\t
@tap.stop=
\"
noop
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<u-status-bar v-if=
\"
safeAreaInsetTop
\"
></u-status-bar>
\r\n\t\t\t\t
<slot></slot>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
v-if=
\"
closeable
\"\r\n\t\t\t\t\t
@tap.stop=
\"
close
\"\r\n\t\t\t\t\t
class=
\"
u-popup__content__close
\"\r\n\t\t\t\t\t
:class=
\"
['u-popup__content__close--' + closeIconPos]
\"\r\n\t\t\t\t\t
hover-class=
\"
u-popup__content__close--hover
\"\r\n\t\t\t\t\t
hover-stay-time=
\"
150
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t
name=
\"
close
\"\r\n\t\t\t\t\t\t
color=
\"
#909399
\"\r\n\t\t\t\t\t\t
size=
\"
18
\"\r\n\t\t\t\t\t\t
bold
\r\n\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<u-safe-bottom v-if=
\"
safeAreaInsetBottom
\"
></u-safe-bottom>
\r\n\t\t\t
</view>
\r\n\t\t
</u-transition>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\r\n\t
/**
\r\n\t
* popup 弹窗
\r\n\t
* @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义
\r\n\t
* @tutorial https://www.uviewui.com/components/popup.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t\t
是否展示弹窗 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
overlay
\t\t\t\t
是否显示遮罩 (默认 true )
\r\n\t
* @property {String}
\t\t\t
mode
\t\t\t\t
弹出方向(默认 'bottom' )
\r\n\t
* @property {String | Number}
\t
duration
\t\t\t
动画时长,单位ms (默认 300 )
\r\n\t
* @property {String | Number}
\t
overlayDuration
\t\t\t
遮罩层动画时长,单位ms (默认 350 )
\r\n\t
* @property {Boolean}
\t\t\t
closeable
\t\t\t
是否显示关闭图标(默认 false )
\r\n\t
* @property {Object | String}
\t
overlayStyle
\t\t
自定义遮罩的样式
\r\n\t
* @property {String | Number}
\t
overlayOpacity
\t\t
遮罩透明度,0-1之间(默认 0.5)
\r\n\t
* @property {Boolean}
\t\t\t
closeOnClickOverlay
\t
点击遮罩是否关闭弹窗 (默认 true )
\r\n\t
* @property {String | Number}
\t
zIndex
\t\t\t\t
层级 (默认 10075 )
\r\n\t
* @property {Boolean}
\t\t\t
safeAreaInsetBottom
\t
是否为iPhoneX留出底部安全距离 (默认 true )
\r\n\t
* @property {Boolean}
\t\t\t
safeAreaInsetTop
\t
是否留出顶部安全距离(状态栏高度) (默认 false )
\r\n\t
* @property {String}
\t\t\t
closeIconPos
\t\t
自定义关闭图标位置(默认 'top-right' )
\r\n\t
* @property {String | Number}
\t
round
\t\t\t\t
圆角值(默认 0)
\r\n\t
* @property {Boolean}
\t\t\t
zoom
\t\t\t\t
当mode=center时 是否开启缩放(默认 true )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t\t
组件的样式,对象形式
\r\n\t
* @event {Function} open 弹出层打开
\r\n\t
* @event {Function} close 弹出层收起
\r\n\t
* @example <u-popup v-model=
\"
show
\"
><text>出淤泥而不染,濯清涟而不妖</text></u-popup>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-popup',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
overlayDuration: this.duration + 50
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
show(newValue, oldValue) {
\r\n\t\t\t\t
if (newValue === true) {
\r\n\t\t\t\t\t
// #ifdef MP-WEIXIN
\r\n\t\t\t\t\t
const children = this.$children
\r\n\t\t\t\t\t
this.retryComputedComponentRect(children)
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
transitionStyle() {
\r\n\t\t\t\t
const style = {
\r\n\t\t\t\t\t
zIndex: this.zIndex,
\r\n\t\t\t\t\t
position: 'fixed',
\r\n\t\t\t\t\t
display: 'flex',
\r\n\t\t\t\t
}
\r\n\t\t\t\t
style[this.mode] = 0
\r\n\t\t\t\t
if (this.mode === 'left') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
bottom: 0,
\r\n\t\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'right') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
bottom: 0,
\r\n\t\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'top') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t\t
right: 0
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'bottom') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t\t
right: 0,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
} else if (this.mode === 'center') {
\r\n\t\t\t\t\t
return uni.$u.deepMerge(style, {
\r\n\t\t\t\t\t\t
alignItems: 'center',
\r\n\t\t\t\t\t\t
'justify-content': 'center',
\r\n\t\t\t\t\t\t
top: 0,
\r\n\t\t\t\t\t\t
left: 0,
\r\n\t\t\t\t\t\t
right: 0,
\r\n\t\t\t\t\t\t
bottom: 0
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
contentStyle() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
// 通过设备信息的safeAreaInsets值来判断是否需要预留顶部状态栏和底部安全局的位置
\r\n\t\t\t\t
// 不使用css方案,是因为nvue不支持css的iPhoneX安全区查询属性
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
safeAreaInsets
\r\n\t\t\t\t
} = uni.$u.sys()
\r\n\t\t\t\t
if (this.mode !== 'center') {
\r\n\t\t\t\t\t
style.flex = 1
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 背景色,一般用于设置为transparent,去除默认的白色背景
\r\n\t\t\t\t
if (this.bgColor) {
\r\n\t\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if(this.round) {
\r\n\t\t\t\t\t
const value = uni.$u.addUnit(this.round)
\r\n\t\t\t\t\t
if(this.mode === 'top') {
\r\n\t\t\t\t\t\t
style.borderBottomLeftRadius = value
\r\n\t\t\t\t\t\t
style.borderBottomRightRadius = value
\r\n\t\t\t\t\t
} else if(this.mode === 'bottom') {
\r\n\t\t\t\t\t\t
style.borderTopLeftRadius = value
\r\n\t\t\t\t\t\t
style.borderTopRightRadius = value
\r\n\t\t\t\t\t
} else if(this.mode === 'center') {
\r\n\t\t\t\t\t\t
style.borderRadius = value
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
},
\r\n\t\t\t
position() {
\r\n\t\t\t\t
if (this.mode === 'center') {
\r\n\t\t\t\t\t
return this.zoom ? 'fade-zoom' : 'fade'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'left') {
\r\n\t\t\t\t\t
return 'slide-left'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'right') {
\r\n\t\t\t\t\t
return 'slide-right'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'bottom') {
\r\n\t\t\t\t\t
return 'slide-up'
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (this.mode === 'top') {
\r\n\t\t\t\t\t
return 'slide-down'
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击遮罩
\r\n\t\t\t
overlayClick() {
\r\n\t\t\t\t
if (this.closeOnClickOverlay) {
\r\n\t\t\t\t\t
this.$emit('close')
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
close(e) {
\r\n\t\t\t\t
this.$emit('close')
\r\n\t\t\t
},
\r\n\t\t\t
afterEnter() {
\r\n\t\t\t\t
this.$emit('open')
\r\n\t\t\t
},
\r\n\t\t\t
clickHandler() {
\r\n\t\t\t\t
// 由于中部弹出时,其u-transition占据了整个页面相当于遮罩,此时需要发出遮罩点击事件,是否无法通过点击遮罩关闭弹窗
\r\n\t\t\t\t
if(this.mode === 'center') {
\r\n\t\t\t\t\t
this.overlayClick()
\r\n\t\t\t\t
}
\r\n\t\t\t\t
this.$emit('click')
\r\n\t\t\t
},
\r\n\t\t\t
// #ifdef MP-WEIXIN
\r\n\t\t\t
retryComputedComponentRect(children) {
\r\n\t\t\t\t
// 组件内部需要计算节点的组件
\r\n\t\t\t\t
const names = ['u-calendar-month', 'u-album', 'u-collapse-item', 'u-dropdown', 'u-index-item', 'u-index-list',
\r\n\t\t\t\t\t
'u-line-progress', 'u-list-item', 'u-rate', 'u-read-more', 'u-row', 'u-row-notice', 'u-scroll-list',
\r\n\t\t\t\t\t
'u-skeleton', 'u-slider', 'u-steps-item', 'u-sticky', 'u-subsection', 'u-swipe-action-item', 'u-tabbar',
\r\n\t\t\t\t\t
'u-tabs', 'u-tooltip'
\r\n\t\t\t\t
]
\r\n\t\t\t\t
// 历遍所有的子组件节点
\r\n\t\t\t\t
for (let i = 0; i < children.length; i++) {
\r\n\t\t\t\t\t
const child = children[i]
\r\n\t\t\t\t\t
// 拿到子组件的子组件
\r\n\t\t\t\t\t
const grandChild = child.$children
\r\n\t\t\t\t\t
// 判断如果在需要重新初始化的组件数组中名中,并且存在init方法的话,则执行
\r\n\t\t\t\t\t
if (names.includes(child.$options.name) && typeof child?.init === 'function') {
\r\n\t\t\t\t\t\t
// 需要进行一定的延时,因为初始化页面需要时间
\r\n\t\t\t\t\t\t
uni.$u.sleep(50).then(() => {
\r\n\t\t\t\t\t\t\t
child.init()
\r\n\t\t\t\t\t\t
})
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// 如果子组件还有孙组件,进行递归历遍
\r\n\t\t\t\t\t
if (grandChild.length) {
\r\n\t\t\t\t\t\t
this.retryComputedComponentRect(grandChild)
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t\t
// #endif
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\t
$u-popup-flex:1 !default;
\r\n\t
$u-popup-content-background-color: #fff !default;
\r\n\r\n\t
.u-popup {
\r\n\t\t
flex: $u-popup-flex;
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
background-color: $u-popup-content-background-color;
\r\n\t\t\t
position: relative;
\r\n\r\n\t\t\t
&--round-top {
\r\n\t\t\t\t
border-top-left-radius: 0;
\r\n\t\t\t\t
border-top-right-radius: 0;
\r\n\t\t\t\t
border-bottom-left-radius: 10px;
\r\n\t\t\t\t
border-bottom-right-radius: 10px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-left {
\r\n\t\t\t\t
border-top-left-radius: 0;
\r\n\t\t\t\t
border-top-right-radius: 10px;
\r\n\t\t\t\t
border-bottom-left-radius: 0;
\r\n\t\t\t\t
border-bottom-right-radius: 10px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-right {
\r\n\t\t\t\t
border-top-left-radius: 10px;
\r\n\t\t\t\t
border-top-right-radius: 0;
\r\n\t\t\t\t
border-bottom-left-radius: 10px;
\r\n\t\t\t\t
border-bottom-right-radius: 0;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-bottom {
\r\n\t\t\t\t
border-top-left-radius: 10px;
\r\n\t\t\t\t
border-top-right-radius: 10px;
\r\n\t\t\t\t
border-bottom-left-radius: 0;
\r\n\t\t\t\t
border-bottom-right-radius: 0;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--round-center {
\r\n\t\t\t\t
border-top-left-radius: 10px;
\r\n\t\t\t\t
border-top-right-radius: 10px;
\r\n\t\t\t\t
border-bottom-left-radius: 10px;
\r\n\t\t\t\t
border-bottom-right-radius: 10px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close {
\r\n\t\t\t\t
position: absolute;
\r\n\r\n\t\t\t\t
&--hover {
\r\n\t\t\t\t\t
opacity: 0.4;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--top-left {
\r\n\t\t\t\t
top: 15px;
\r\n\t\t\t\t
left: 15px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--top-right {
\r\n\t\t\t\t
top: 15px;
\r\n\t\t\t\t
right: 15px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--bottom-left {
\r\n\t\t\t\t
bottom: 15px;
\r\n\t\t\t\t
left: 15px;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__close--bottom-right {
\r\n\t\t\t\t
right: 15px;
\r\n\t\t\t\t
bottom: 15px;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029101545
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?f2a9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?3397"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?f3ca"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?8835"
,
"uni-app:///node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?e5dc"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?f7c1"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUppB,gF;;;;;;;;;AACA;;;;;;;;;kBAUA,EACA,qBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,uBADA,EAEA,aAFA;AAIA,GARA;AASA;AACA,SADA,mBACA;AACA;;;;;AAKA;AACA,KARA,EATA;;AAmBA,SAnBA,qBAmBA;;;;;AAKA,GAxBA,E;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAutC,CAAgB,orCAAG,EAAC,C;;;;;;;;;;;ACA3uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-safe-bottom.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-safe-bottom.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
758fd84f
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.style])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-safe-bottom
\"\r\n\t\t
:style=
\"
[style]
\"\r\n\t\t
:class=
\"
[!isNvue && 'u-safe-area-inset-bottom']
\"\r\n\t
>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from
\"
./props.js
\"
;
\r\n\t
/**
\r\n\t
* SafeBottom 底部安全区
\r\n\t
* @description 这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。
\r\n\t
* @tutorial https://www.uviewui.com/components/safeAreaInset.html
\r\n\t
* @property {type}
\t\t
prop_name
\r\n\t
* @property {Object}
\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
*
\r\n\t
* @event {Function()}
\r\n\t
* @example <u-status-bar></u-status-bar>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name:
\"
u-safe-bottom
\"
,
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
safeAreaBottomHeight: 0,
\r\n\t\t\t\t
isNvue: false,
\r\n\t\t\t
};
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
style() {
\r\n\t\t\t\t
const style = {};
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
// nvue下,高度使用js计算填充
\r\n\t\t\t\t
style.height = uni.$u.addUnit(uni.$u.sys().safeAreaInsets.bottom, 'px');
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t
// 标识为是否nvue
\r\n\t\t\t
this.isNvue = true;
\r\n\t\t\t
// #endif
\r\n\t\t
},
\r\n\t
};
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
.u-safe-bottom {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
width: 100%;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659194
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?f2a9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?3397"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?f3ca"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?8835"
,
"uni-app:///node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?e5dc"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue?f7c1"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUppB,gF;;;;;;;;;AACA;;;;;;;;;kBAUA,EACA,qBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,uBADA,EAEA,aAFA;AAIA,GARA;AASA;AACA,SADA,mBACA;AACA;;;;;AAKA;AACA,KARA,EATA;;AAmBA,SAnBA,qBAmBA;;;;;AAKA,GAxBA,E;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAutC,CAAgB,orCAAG,EAAC,C;;;;;;;;;;;ACA3uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-safe-bottom.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-safe-bottom.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
758fd84f
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=template&id=758fd84f&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.style])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-safe-bottom
\"\r\n\t\t
:style=
\"
[style]
\"\r\n\t\t
:class=
\"
[!isNvue && 'u-safe-area-inset-bottom']
\"\r\n\t
>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from
\"
./props.js
\"
;
\r\n\t
/**
\r\n\t
* SafeBottom 底部安全区
\r\n\t
* @description 这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。
\r\n\t
* @tutorial https://www.uviewui.com/components/safeAreaInset.html
\r\n\t
* @property {type}
\t\t
prop_name
\r\n\t
* @property {Object}
\t
customStyle
\t
定义需要用到的外部样式
\r\n\t
*
\r\n\t
* @event {Function()}
\r\n\t
* @example <u-status-bar></u-status-bar>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name:
\"
u-safe-bottom
\"
,
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
safeAreaBottomHeight: 0,
\r\n\t\t\t\t
isNvue: false,
\r\n\t\t\t
};
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
style() {
\r\n\t\t\t\t
const style = {};
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
// nvue下,高度使用js计算填充
\r\n\t\t\t\t
style.height = uni.$u.addUnit(uni.$u.sys().safeAreaInsets.bottom, 'px');
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t
// 标识为是否nvue
\r\n\t\t\t
this.isNvue = true;
\r\n\t\t\t
// #endif
\r\n\t\t
},
\r\n\t
};
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
.u-safe-bottom {
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
width: 100%;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-safe-bottom.vue?vue&type=style&index=0&id=758fd84f&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029104168
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-status-bar/u-status-bar.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?2648"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?833a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?9865"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?ac30"
,
"uni-app:///node_modules/uview-ui/components/u-status-bar/u-status-bar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?7047"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?5021"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,opBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUnpB,gF;;;;;;;;;AACA;;;;;;;kBAQA,EACA,oBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAEA,CANA,EAOA;AACA,SADA,mBACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA,EAPA,E;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAstC,CAAgB,mrCAAG,EAAC,C;;;;;;;;;;;ACA1uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-status-bar/u-status-bar.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-status-bar.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-status-bar.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
3c8c2ae7
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-status-bar/u-status-bar.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.style])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t
:style=
\"
[style]
\"\r\n\t
class=
\"
u-status-bar
\"\r\n\t
>
\r\n\t\t
<slot />
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* StatbusBar 状态栏占位
\r\n\t
* @description 本组件主要用于状态填充,比如在自定导航栏的时候,它会自动适配一个恰当的状态栏高度。
\r\n\t
* @tutorial https://uviewui.com/components/statusBar.html
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t
背景色 (默认 'transparent' )
\r\n\t
* @property {String | Object}
\t
customStyle
\t\t
自定义样式
\r\n\t
* @example <u-status-bar></u-status-bar>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-status-bar',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
style() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
// 状态栏高度,由于某些安卓和微信开发工具无法识别css的顶部状态栏变量,所以使用js获取的方式
\r\n\t\t\t\t
style.height = uni.$u.addUnit(uni.$u.sys().statusBarHeight, 'px')
\r\n\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
.u-status-bar {
\r\n\t\t
// nvue会默认100%,如果nvue下,显式写100%的话,会导致宽度不为100%而异常
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
width: 100%;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659179
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?2648"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?833a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?9865"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?ac30"
,
"uni-app:///node_modules/uview-ui/components/u-status-bar/u-status-bar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?7047"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-status-bar/u-status-bar.vue?5021"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,opBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUnpB,gF;;;;;;;;;AACA;;;;;;;kBAQA,EACA,oBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,UAEA,CANA,EAOA;AACA,SADA,mBACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA,EAPA,E;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAstC,CAAgB,mrCAAG,EAAC,C;;;;;;;;;;;ACA1uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-status-bar/u-status-bar.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-status-bar.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-status-bar.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
3c8c2ae7
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-status-bar/u-status-bar.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=template&id=3c8c2ae7&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.style])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t
:style=
\"
[style]
\"\r\n\t
class=
\"
u-status-bar
\"\r\n\t
>
\r\n\t\t
<slot />
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* StatbusBar 状态栏占位
\r\n\t
* @description 本组件主要用于状态填充,比如在自定导航栏的时候,它会自动适配一个恰当的状态栏高度。
\r\n\t
* @tutorial https://uviewui.com/components/statusBar.html
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t
背景色 (默认 'transparent' )
\r\n\t
* @property {String | Object}
\t
customStyle
\t\t
自定义样式
\r\n\t
* @example <u-status-bar></u-status-bar>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-status-bar',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
style() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
// 状态栏高度,由于某些安卓和微信开发工具无法识别css的顶部状态栏变量,所以使用js获取的方式
\r\n\t\t\t\t
style.height = uni.$u.addUnit(uni.$u.sys().statusBarHeight, 'px')
\r\n\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
.u-status-bar {
\r\n\t\t
// nvue会默认100%,如果nvue下,显式写100%的话,会导致宽度不为100%而异常
\r\n\t\t
/* #ifndef APP-NVUE */
\r\n\t\t
width: 100%;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-status-bar.vue?vue&type=style&index=0&id=3c8c2ae7&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029103223
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-sticky/u-sticky.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?02a7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?8dfc"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?db43"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?eb2d"
,
"uni-app:///node_modules/uview-ui/components/u-sticky/u-sticky.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?4dde"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?df93"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgB/oB,gF,+sBAAA;AACA;;;;;;;;;;;;;;;AAeA;AACA,kBADA;AAEA,wDAFA;AAGA,MAHA,kBAGA;AACA;AACA,sBADA,EACA;AACA,kBAFA,EAEA;AACA,yBAHA;AAIA,aAJA,EAIA;AACA,mBALA;AAMA,oBANA;AAOA,kBAPA,CAOA;AAPA;AASA,GAbA;AAcA;AACA,SADA,mBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAJA,MAIA;AACA;AACA;AACA,OARA,MAQA;AACA;;;;;AAKA;;AAEA;AACA;AACA;AACA,KAtBA;AAuBA;AACA,iBAxBA,2BAwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAlCA;AAmCA,WAnCA,qBAmCA;AACA;AACA,KArCA,EAdA;;AAqDA,SArDA,qBAqDA;AACA;AACA,GAvDA;AAwDA;AACA,QADA,kBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KATA;AAUA,sBAVA,gCAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAPA;AAQA,KApBA;AAqBA,kBArBA,4BAqBA;AACA;AACA;AACA;AACA;AACA,mCAFA;;AAIA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,OAFA;AAGA;AACA,KArCA;AAsCA,YAtCA,oBAsCA,GAtCA,EAsCA;AACA;AACA;AACA;AACA,KA1CA;AA2CA,sBA3CA,8BA2CA,YA3CA,EA2CA;AACA;AACA;AACA;AACA,KA/CA;AAgDA,gBAhDA,0BAgDA;AACA;AACA,KAlDA;AAmDA,yBAnDA,mCAmDA;;;;;;;;AAQA;AACA;AACA;AACA;;AAEA;AAbA;AAeA,6CAfA,SAeA,gBAfA;;;AAkBA;AACA;AACA;AACA;;AAEA;AAvBA;;;AA2BA,KA9EA;AA+EA;AACA,sBAhFA,gCAgFA;AACA;;AAEA;AACA;AACA,qCADA;AAEA,YAFA,CAEA;AACA;AACA,SAJA;AAKA,OANA;;AAQA,KA3FA;AA4FA;AACA;AACA,uBA9FA,iCA8FA;AACA;;;;;;;;;;;;;AAaA,KA5GA,EAxDA;;AAsKA,eAtKA,2BAsKA;AACA;AACA,GAxKA,E;;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-sticky/u-sticky.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-sticky.vue?vue&type=template&id=c187ecf2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-sticky.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-sticky.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-sticky.vue?vue&type=style&index=0&id=c187ecf2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
c187ecf2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-sticky/u-sticky.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=template&id=c187ecf2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.style])
\n\n
var s1 = _vm.__get_style([_vm.stickyContent])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
s1: s1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-sticky
\"\r\n\t\t
:id=
\"
elId
\"\r\n\t\t
:style=
\"
[style]
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
:style=
\"
[stickyContent]
\"\r\n\t\t\t
class=
\"
u-sticky__content
\"\r\n\t\t
>
\r\n\t\t\t
<slot />
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';;
\r\n\t
/**
\r\n\t
* sticky 吸顶
\r\n\t
* @description 该组件与CSS中position: sticky属性实现的效果一致,当组件达到预设的到顶部距离时, 就会固定在指定位置,组件位置大于预设的顶部距离时,会重新按照正常的布局排列。
\r\n\t
* @tutorial https://www.uviewui.com/components/sticky.html
\r\n\t
* @property {String | Number}
\t
offsetTop
\t\t
吸顶时与顶部的距离,单位px(默认 0 )
\r\n\t
* @property {String | Number}
\t
customNavHeight
\t
自定义导航栏的高度 (h5 默认44 其他默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
disabled
\t\t
是否开启吸顶功能 (默认 false )
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t
组件背景颜色(默认 '#ffffff' )
\r\n\t
* @property {String | Number}
\t
zIndex
\t\t\t
吸顶时的z-index值
\r\n\t
* @property {String | Number}
\t
index
\t\t\t
自定义标识,用于区分是哪一个组件
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t
组件的样式,对象形式
\r\n\t
* @event {Function} fixed
\t\t
组件吸顶时触发
\r\n\t
* @event {Function} unfixed
\t
组件取消吸顶时触发
\r\n\t
* @example <u-sticky offsetTop=
\"
200
\"
><view>塞下秋来风景异,衡阳雁去无留意</view></u-sticky>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-sticky',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
cssSticky: false, // 是否使用css的sticky实现
\r\n\t\t\t\t
stickyTop: 0, // 吸顶的top值,因为可能受自定义导航栏影响,最终的吸顶值非offsetTop值
\r\n\t\t\t\t
elId: uni.$u.guid(),
\r\n\t\t\t\t
left: 0, // js模式时,吸顶的内容因为处于postition: fixed模式,为了和原来保持一致的样式,需要记录并重新设置它的left,height,width属性
\r\n\t\t\t\t
width: 'auto',
\r\n\t\t\t\t
height: 'auto',
\r\n\t\t\t\t
fixed: false, // js模式时,是否处于吸顶模式
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
style() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
if(!this.disabled) {
\r\n\t\t\t\t\t
if (this.cssSticky) {
\r\n\t\t\t\t\t\t
style.position = 'sticky'
\r\n\t\t\t\t\t\t
style.zIndex = this.uZindex
\r\n\t\t\t\t\t\t
style.top = uni.$u.addUnit(this.stickyTop)
\r\n\t\t\t\t\t
} else {
\r\n\t\t\t\t\t\t
style.height = this.fixed ? this.height + 'px' : 'auto'
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 无需吸顶时,设置会默认的relative(nvue)和非nvue的static静态模式即可
\r\n\t\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t\t
style.position = 'relative'
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t\t
style.position = 'static'
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t
}
\r\n\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
return uni.$u.deepMerge(uni.$u.addStyle(this.customStyle), style)
\r\n\t\t\t
},
\r\n\t\t\t
// 吸顶内容的样式
\r\n\t\t\t
stickyContent() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
if (!this.cssSticky) {
\r\n\t\t\t\t\t
style.position = this.fixed ? 'fixed' : 'static'
\r\n\t\t\t\t\t
style.top = this.stickyTop + 'px'
\r\n\t\t\t\t\t
style.left = this.left + 'px'
\r\n\t\t\t\t\t
style.width = this.width == 'auto' ? 'auto' : this.width + 'px'
\r\n\t\t\t\t\t
style.zIndex = this.uZindex
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
uZindex() {
\r\n\t\t\t\t
return this.zIndex ? this.zIndex : uni.$u.zIndex.sticky
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
this.getStickyTop()
\r\n\t\t\t\t
// 判断使用的模式
\r\n\t\t\t\t
this.checkSupportCssSticky()
\r\n\t\t\t\t
// 如果不支持css sticky,则使用js方案,此方案性能比不上css方案
\r\n\t\t\t\t
if (!this.cssSticky) {
\r\n\t\t\t\t\t
!this.disabled && this.initObserveContent()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
initObserveContent() {
\r\n\t\t\t\t
// 获取吸顶内容的高度,用于在js吸顶模式时,给父元素一个填充高度,防止
\"
塌陷
\"\r\n\t\t\t\t
this.$uGetRect('#' + this.elId).then((res) => {
\r\n\t\t\t\t\t
this.height = res.height
\r\n\t\t\t\t\t
this.left = res.left
\r\n\t\t\t\t\t
this.width = res.width
\r\n\t\t\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t\t\t
this.observeContent()
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
observeContent() {
\r\n\t\t\t\t
// 先断掉之前的观察
\r\n\t\t\t\t
this.disconnectObserver('contentObserver')
\r\n\t\t\t\t
const contentObserver = uni.createIntersectionObserver({
\r\n\t\t\t\t\t
// 检测的区间范围
\r\n\t\t\t\t\t
thresholds: [0.95, 0.98, 1]
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// 到屏幕顶部的高度时触发
\r\n\t\t\t\t
contentObserver.relativeToViewport({
\r\n\t\t\t\t\t
top: -this.stickyTop
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// 绑定观察的元素
\r\n\t\t\t\t
contentObserver.observe(`#${this.elId}`, res => {
\r\n\t\t\t\t\t
this.setFixed(res.boundingClientRect.top)
\r\n\t\t\t\t
})
\r\n\t\t\t\t
this.contentObserver = contentObserver
\r\n\t\t\t
},
\r\n\t\t\t
setFixed(top) {
\r\n\t\t\t\t
// 判断是否出于吸顶条件范围
\r\n\t\t\t\t
const fixed = top <= this.stickyTop
\r\n\t\t\t\t
this.fixed = fixed
\r\n\t\t\t
},
\r\n\t\t\t
disconnectObserver(observerName) {
\r\n\t\t\t\t
// 断掉观察,释放资源
\r\n\t\t\t\t
const observer = this[observerName]
\r\n\t\t\t\t
observer && observer.disconnect()
\r\n\t\t\t
},
\r\n\t\t\t
getStickyTop() {
\r\n\t\t\t\t
this.stickyTop = uni.$u.getPx(this.offsetTop) + uni.$u.getPx(this.customNavHeight)
\r\n\t\t\t
},
\r\n\t\t\t
async checkSupportCssSticky() {
\r\n\t\t\t\t
// #ifdef H5
\r\n\t\t\t\t
// H5,一般都是现代浏览器,是支持css sticky的,这里使用创建元素嗅探的形式判断
\r\n\t\t\t\t
if (this.checkCssStickyForH5()) {
\r\n\t\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// 如果安卓版本高于8.0,依然认为是支持css sticky的(因为安卓7在某些机型,可能不支持sticky)
\r\n\t\t\t\t
if (uni.$u.os() === 'android' && Number(uni.$u.sys().system) > 8) {
\r\n\t\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
// APP-Vue和微信平台,通过computedStyle判断是否支持css sticky
\r\n\t\t\t\t
// #ifdef APP-VUE || MP-WEIXIN
\r\n\t\t\t\t
this.cssSticky = await this.checkComputedStyle()
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// ios上,从ios6开始,都是支持css sticky的
\r\n\t\t\t\t
if (uni.$u.os() === 'ios') {
\r\n\t\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
// nvue,是支持css sticky的
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// 在APP和微信小程序上,通过uni.createSelectorQuery可以判断是否支持css sticky
\r\n\t\t\t
checkComputedStyle() {
\r\n\t\t\t\t
// 方法内进行判断,避免在其他平台生成无用代码
\r\n\t\t\t\t
// #ifdef APP-VUE || MP-WEIXIN
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
uni.createSelectorQuery().in(this).select('.u-sticky').fields({
\r\n\t\t\t\t\t\t
computedStyle: [
\"
position
\"
]
\r\n\t\t\t\t\t
}).exec(e => {
\r\n\t\t\t\t\t\t
resolve('sticky' === e[0].position)
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// H5通过创建元素的形式嗅探是否支持css sticky
\r\n\t\t\t
// 判断浏览器是否支持sticky属性
\r\n\t\t\t
checkCssStickyForH5() {
\r\n\t\t\t\t
// 方法内进行判断,避免在其他平台生成无用代码
\r\n\t\t\t\t
// #ifdef H5
\r\n\t\t\t\t
const vendorList = ['', '-webkit-', '-ms-', '-moz-', '-o-'],
\r\n\t\t\t\t\t
vendorListLength = vendorList.length,
\r\n\t\t\t\t\t
stickyElement = document.createElement('div')
\r\n\t\t\t\t
for (let i = 0; i < vendorListLength; i++) {
\r\n\t\t\t\t\t
stickyElement.style.position = vendorList[i] + 'sticky'
\r\n\t\t\t\t\t
if (stickyElement.style.position !== '') {
\r\n\t\t\t\t\t\t
return true
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return false;
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
beforeDestroy() {
\r\n\t\t\t
this.disconnectObserver('contentObserver')
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
.u-sticky {
\r\n\t\t
/* #ifdef APP-VUE || MP-WEIXIN */
\r\n\t\t
// 此处默认写sticky属性,是为了给微信和APP通过uni.createSelectorQuery查询是否支持css sticky使用
\r\n\t\t
position: sticky;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=style&index=0&id=c187ecf2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=style&index=0&id=c187ecf2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659104
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?02a7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?8dfc"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?db43"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?eb2d"
,
"uni-app:///node_modules/uview-ui/components/u-sticky/u-sticky.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?4dde"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-sticky/u-sticky.vue?df93"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgB/oB,gF,+sBAAA;AACA;;;;;;;;;;;;;;;AAeA;AACA,kBADA;AAEA,wDAFA;AAGA,MAHA,kBAGA;AACA;AACA,sBADA,EACA;AACA,kBAFA,EAEA;AACA,yBAHA;AAIA,aAJA,EAIA;AACA,mBALA;AAMA,oBANA;AAOA,kBAPA,CAOA;AAPA;AASA,GAbA;AAcA;AACA,SADA,mBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAJA,MAIA;AACA;AACA;AACA,OARA,MAQA;AACA;;;;;AAKA;;AAEA;AACA;AACA;AACA,KAtBA;AAuBA;AACA,iBAxBA,2BAwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAlCA;AAmCA,WAnCA,qBAmCA;AACA;AACA,KArCA,EAdA;;AAqDA,SArDA,qBAqDA;AACA;AACA,GAvDA;AAwDA;AACA,QADA,kBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KATA;AAUA,sBAVA,gCAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAPA;AAQA,KApBA;AAqBA,kBArBA,4BAqBA;AACA;AACA;AACA;AACA;AACA,mCAFA;;AAIA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA,OAFA;AAGA;AACA,KArCA;AAsCA,YAtCA,oBAsCA,GAtCA,EAsCA;AACA;AACA;AACA;AACA,KA1CA;AA2CA,sBA3CA,8BA2CA,YA3CA,EA2CA;AACA;AACA;AACA;AACA,KA/CA;AAgDA,gBAhDA,0BAgDA;AACA;AACA,KAlDA;AAmDA,yBAnDA,mCAmDA;;;;;;;;AAQA;AACA;AACA;AACA;;AAEA;AAbA;AAeA,6CAfA,SAeA,gBAfA;;;AAkBA;AACA;AACA;AACA;;AAEA;AAvBA;;;AA2BA,KA9EA;AA+EA;AACA,sBAhFA,gCAgFA;AACA;;AAEA;AACA;AACA,qCADA;AAEA,YAFA,CAEA;AACA;AACA,SAJA;AAKA,OANA;;AAQA,KA3FA;AA4FA;AACA;AACA,uBA9FA,iCA8FA;AACA;;;;;;;;;;;;;AAaA,KA5GA,EAxDA;;AAsKA,eAtKA,2BAsKA;AACA;AACA,GAxKA,E;;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-sticky/u-sticky.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-sticky.vue?vue&type=template&id=c187ecf2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-sticky.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-sticky.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-sticky.vue?vue&type=style&index=0&id=c187ecf2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
c187ecf2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-sticky/u-sticky.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=template&id=c187ecf2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.style])
\n\n
var s1 = _vm.__get_style([_vm.stickyContent])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
s1: s1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-sticky
\"\r\n\t\t
:id=
\"
elId
\"\r\n\t\t
:style=
\"
[style]
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
:style=
\"
[stickyContent]
\"\r\n\t\t\t
class=
\"
u-sticky__content
\"\r\n\t\t
>
\r\n\t\t\t
<slot />
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';;
\r\n\t
/**
\r\n\t
* sticky 吸顶
\r\n\t
* @description 该组件与CSS中position: sticky属性实现的效果一致,当组件达到预设的到顶部距离时, 就会固定在指定位置,组件位置大于预设的顶部距离时,会重新按照正常的布局排列。
\r\n\t
* @tutorial https://www.uviewui.com/components/sticky.html
\r\n\t
* @property {String | Number}
\t
offsetTop
\t\t
吸顶时与顶部的距离,单位px(默认 0 )
\r\n\t
* @property {String | Number}
\t
customNavHeight
\t
自定义导航栏的高度 (h5 默认44 其他默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
disabled
\t\t
是否开启吸顶功能 (默认 false )
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t
组件背景颜色(默认 '#ffffff' )
\r\n\t
* @property {String | Number}
\t
zIndex
\t\t\t
吸顶时的z-index值
\r\n\t
* @property {String | Number}
\t
index
\t\t\t
自定义标识,用于区分是哪一个组件
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t
组件的样式,对象形式
\r\n\t
* @event {Function} fixed
\t\t
组件吸顶时触发
\r\n\t
* @event {Function} unfixed
\t
组件取消吸顶时触发
\r\n\t
* @example <u-sticky offsetTop=
\"
200
\"
><view>塞下秋来风景异,衡阳雁去无留意</view></u-sticky>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-sticky',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
cssSticky: false, // 是否使用css的sticky实现
\r\n\t\t\t\t
stickyTop: 0, // 吸顶的top值,因为可能受自定义导航栏影响,最终的吸顶值非offsetTop值
\r\n\t\t\t\t
elId: uni.$u.guid(),
\r\n\t\t\t\t
left: 0, // js模式时,吸顶的内容因为处于postition: fixed模式,为了和原来保持一致的样式,需要记录并重新设置它的left,height,width属性
\r\n\t\t\t\t
width: 'auto',
\r\n\t\t\t\t
height: 'auto',
\r\n\t\t\t\t
fixed: false, // js模式时,是否处于吸顶模式
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
style() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
if(!this.disabled) {
\r\n\t\t\t\t\t
if (this.cssSticky) {
\r\n\t\t\t\t\t\t
style.position = 'sticky'
\r\n\t\t\t\t\t\t
style.zIndex = this.uZindex
\r\n\t\t\t\t\t\t
style.top = uni.$u.addUnit(this.stickyTop)
\r\n\t\t\t\t\t
} else {
\r\n\t\t\t\t\t\t
style.height = this.fixed ? this.height + 'px' : 'auto'
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
// 无需吸顶时,设置会默认的relative(nvue)和非nvue的static静态模式即可
\r\n\t\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t\t
style.position = 'relative'
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t\t
style.position = 'static'
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t
}
\r\n\t\t\t\t
style.backgroundColor = this.bgColor
\r\n\t\t\t\t
return uni.$u.deepMerge(uni.$u.addStyle(this.customStyle), style)
\r\n\t\t\t
},
\r\n\t\t\t
// 吸顶内容的样式
\r\n\t\t\t
stickyContent() {
\r\n\t\t\t\t
const style = {}
\r\n\t\t\t\t
if (!this.cssSticky) {
\r\n\t\t\t\t\t
style.position = this.fixed ? 'fixed' : 'static'
\r\n\t\t\t\t\t
style.top = this.stickyTop + 'px'
\r\n\t\t\t\t\t
style.left = this.left + 'px'
\r\n\t\t\t\t\t
style.width = this.width == 'auto' ? 'auto' : this.width + 'px'
\r\n\t\t\t\t\t
style.zIndex = this.uZindex
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
uZindex() {
\r\n\t\t\t\t
return this.zIndex ? this.zIndex : uni.$u.zIndex.sticky
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
this.getStickyTop()
\r\n\t\t\t\t
// 判断使用的模式
\r\n\t\t\t\t
this.checkSupportCssSticky()
\r\n\t\t\t\t
// 如果不支持css sticky,则使用js方案,此方案性能比不上css方案
\r\n\t\t\t\t
if (!this.cssSticky) {
\r\n\t\t\t\t\t
!this.disabled && this.initObserveContent()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
initObserveContent() {
\r\n\t\t\t\t
// 获取吸顶内容的高度,用于在js吸顶模式时,给父元素一个填充高度,防止
\"
塌陷
\"\r\n\t\t\t\t
this.$uGetRect('#' + this.elId).then((res) => {
\r\n\t\t\t\t\t
this.height = res.height
\r\n\t\t\t\t\t
this.left = res.left
\r\n\t\t\t\t\t
this.width = res.width
\r\n\t\t\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t\t\t
this.observeContent()
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
observeContent() {
\r\n\t\t\t\t
// 先断掉之前的观察
\r\n\t\t\t\t
this.disconnectObserver('contentObserver')
\r\n\t\t\t\t
const contentObserver = uni.createIntersectionObserver({
\r\n\t\t\t\t\t
// 检测的区间范围
\r\n\t\t\t\t\t
thresholds: [0.95, 0.98, 1]
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// 到屏幕顶部的高度时触发
\r\n\t\t\t\t
contentObserver.relativeToViewport({
\r\n\t\t\t\t\t
top: -this.stickyTop
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// 绑定观察的元素
\r\n\t\t\t\t
contentObserver.observe(`#${this.elId}`, res => {
\r\n\t\t\t\t\t
this.setFixed(res.boundingClientRect.top)
\r\n\t\t\t\t
})
\r\n\t\t\t\t
this.contentObserver = contentObserver
\r\n\t\t\t
},
\r\n\t\t\t
setFixed(top) {
\r\n\t\t\t\t
// 判断是否出于吸顶条件范围
\r\n\t\t\t\t
const fixed = top <= this.stickyTop
\r\n\t\t\t\t
this.fixed = fixed
\r\n\t\t\t
},
\r\n\t\t\t
disconnectObserver(observerName) {
\r\n\t\t\t\t
// 断掉观察,释放资源
\r\n\t\t\t\t
const observer = this[observerName]
\r\n\t\t\t\t
observer && observer.disconnect()
\r\n\t\t\t
},
\r\n\t\t\t
getStickyTop() {
\r\n\t\t\t\t
this.stickyTop = uni.$u.getPx(this.offsetTop) + uni.$u.getPx(this.customNavHeight)
\r\n\t\t\t
},
\r\n\t\t\t
async checkSupportCssSticky() {
\r\n\t\t\t\t
// #ifdef H5
\r\n\t\t\t\t
// H5,一般都是现代浏览器,是支持css sticky的,这里使用创建元素嗅探的形式判断
\r\n\t\t\t\t
if (this.checkCssStickyForH5()) {
\r\n\t\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// 如果安卓版本高于8.0,依然认为是支持css sticky的(因为安卓7在某些机型,可能不支持sticky)
\r\n\t\t\t\t
if (uni.$u.os() === 'android' && Number(uni.$u.sys().system) > 8) {
\r\n\t\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
// APP-Vue和微信平台,通过computedStyle判断是否支持css sticky
\r\n\t\t\t\t
// #ifdef APP-VUE || MP-WEIXIN
\r\n\t\t\t\t
this.cssSticky = await this.checkComputedStyle()
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// ios上,从ios6开始,都是支持css sticky的
\r\n\t\t\t\t
if (uni.$u.os() === 'ios') {
\r\n\t\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
// nvue,是支持css sticky的
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
this.cssSticky = true
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// 在APP和微信小程序上,通过uni.createSelectorQuery可以判断是否支持css sticky
\r\n\t\t\t
checkComputedStyle() {
\r\n\t\t\t\t
// 方法内进行判断,避免在其他平台生成无用代码
\r\n\t\t\t\t
// #ifdef APP-VUE || MP-WEIXIN
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
uni.createSelectorQuery().in(this).select('.u-sticky').fields({
\r\n\t\t\t\t\t\t
computedStyle: [
\"
position
\"
]
\r\n\t\t\t\t\t
}).exec(e => {
\r\n\t\t\t\t\t\t
resolve('sticky' === e[0].position)
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// H5通过创建元素的形式嗅探是否支持css sticky
\r\n\t\t\t
// 判断浏览器是否支持sticky属性
\r\n\t\t\t
checkCssStickyForH5() {
\r\n\t\t\t\t
// 方法内进行判断,避免在其他平台生成无用代码
\r\n\t\t\t\t
// #ifdef H5
\r\n\t\t\t\t
const vendorList = ['', '-webkit-', '-ms-', '-moz-', '-o-'],
\r\n\t\t\t\t\t
vendorListLength = vendorList.length,
\r\n\t\t\t\t\t
stickyElement = document.createElement('div')
\r\n\t\t\t\t
for (let i = 0; i < vendorListLength; i++) {
\r\n\t\t\t\t\t
stickyElement.style.position = vendorList[i] + 'sticky'
\r\n\t\t\t\t\t
if (stickyElement.style.position !== '') {
\r\n\t\t\t\t\t\t
return true
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t\t
return false;
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
beforeDestroy() {
\r\n\t\t\t
this.disconnectObserver('contentObserver')
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
.u-sticky {
\r\n\t\t
/* #ifdef APP-VUE || MP-WEIXIN */
\r\n\t\t
// 此处默认写sticky属性,是为了给微信和APP通过uni.createSelectorQuery查询是否支持css sticky使用
\r\n\t\t
position: sticky;
\r\n\t\t
/* #endif */
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=style&index=0&id=c187ecf2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-sticky.vue?vue&type=style&index=0&id=c187ecf2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029102843
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?01fa"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?ec8a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?ccc0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?7d60"
,
"uni-app:///node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?ceeb"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?88e0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/index.wxs?75fd"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/index.wxs?3b51"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA4T;AAC5T;AACuE;AACL;AACsC;;;AAGxG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,0RAAM;AACR,EAAE,mSAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8RAAU;AACZ;AACA;;AAEA;AAC0S;AAC1S,WAAW,4TAAM,iBAAiB,oUAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5EA;AAAA;AAAA;AAAA;AAAsoB,CAAgB,2pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8C1pB;AACA;;;;;AAKA,4E;;AAEA;;;;;;;;;;;;;;;;AAgBA,6B;AACA,wE;;;;;AAKA,4E;;AAEA;AACA;AACA;AACA,YAFA;AAGA;AACA;AACA,qBADA,EAJA;;AAOA;AACA,mBARA;;AAUA,C;AACA;AACA;AACA,SAFA,mBAEA,QAFA,EAEA,QAFA,EAEA;AACA;AACA,GAJA,E;;AAMA;AACA,SADA,qBACA;AACA;AACA,GAHA,E;;AAKA;AACA;AACA,C;AACA;AACA,MADA,kBACA;AACA;AACA;;AAEA;AACA;AACA,KAFA;;AAIA,GATA;AAUA,kBAVA,8BAUA;AACA;AACA;AACA,GAbA;;AAeA;AACA,WAhBA,uBAgBA;AACA;AACA;AACA,wBADA;AAEA,yBAFA;AAGA,iCAHA;AAIA,mCAJA;AAKA,iCALA;;AAOA,KARA;AASA,GA1BA;;AA4BA;AACA,oBA7BA,8BA6BA,IA7BA,EA6BA,KA7BA,EA6BA;AACA;AACA,kBADA;AAEA,qBAFA;;AAIA,GAlCA,E;;;;;;;;;;;;;ACxGA;AAAA;AAAA;AAAA;AAA6tC,CAAgB,0rCAAG,EAAC,C;;;;;;;;;;;ACAjvC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA,wCAA8a,CAAgB,mfAAG,EAAC,C;;;;;;;;;;;;ACAlc;AAAe;AACf;AACA;AACA;AACA;AACA;AACA,M"
,
"file"
:
"node-modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-swipe-action-item.vue?vue&type=template&id=2fea6ae7&scoped=true&filter-modules=eyJ3eHMiOnsidHlwZSI6InNjcmlwdCIsImNvbnRlbnQiOiIiLCJzdGFydCI6MjI2NSwiYXR0cnMiOnsic3JjIjoiLi9pbmRleC53eHMiLCJtb2R1bGUiOiJ3eHMiLCJsYW5nIjoid3hzIn0sImVuZCI6MjI2NX19&
\"\n
var renderjs
\n
import script from
\"
./u-swipe-action-item.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-swipe-action-item.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-swipe-action-item.vue?vue&type=style&index=0&id=2fea6ae7&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
2fea6ae7
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
/* custom blocks */
\n
import block0 from
\"
./index.wxs?vue&type=custom&index=0&blockType=script&issuerPath=C%3A%5CUsers%5C%E6%86%A8%E6%89%B9%5CDesktop%5C%E5%B7%A5%E4%BD%9C%5C%E9%A1%B9%E7%9B%AE%5CbiomassShop-uniapp%5Cnode_modules%5Cuview-ui%5Ccomponents%5Cu-swipe-action-item%5Cu-swipe-action-item.vue&module=wxs&lang=wxs
\"\n
if (typeof block0 === 'function') block0(component)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=template&id=2fea6ae7&scoped=true&filter-modules=eyJ3eHMiOnsidHlwZSI6InNjcmlwdCIsImNvbnRlbnQiOiIiLCJzdGFydCI6MjI2NSwiYXR0cnMiOnsic3JjIjoiLi9pbmRleC53eHMiLCJtb2R1bGUiOiJ3eHMiLCJsYW5nIjoid3hzIn0sImVuZCI6MjI2NX19&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var l0 = _vm.__map(_vm.options, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s0 = _vm.__get_style([
\n
{
\n
backgroundColor:
\n
item.style && item.style.backgroundColor
\n
? item.style.backgroundColor
\n
:
\"
#C7C6CD
\"
,
\n
borderRadius:
\n
item.style && item.style.borderRadius ? item.style.borderRadius :
\"
0
\"
,
\n
padding: item.style && item.style.borderRadius ?
\"
0
\"
:
\"
0 15px
\"\n
},
\n
item.style
\n
])
\n\n
var a0 = item.icon
\n
? {
\n
marginRight: item.text ?
\"
2px
\"
: 0
\n
}
\n
: null
\n
var g0 = item.icon && item.iconSize ? _vm.$u.addUnit(item.iconSize) : null
\n
var g1 =
\n
item.icon && !item.iconSize && item.style && item.style.fontSize
\n
? _vm.$u.getPx(item.style.fontSize)
\n
: null
\n
return {
\n
$orig: $orig,
\n
s0: s0,
\n
a0: a0,
\n
g0: g0,
\n
g1: g1
\n
}
\n
})
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
l0: l0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-swipe-action-item
\"
ref=
\"
u-swipe-action-item
\"
>
\r\n\t\t
<view class=
\"
u-swipe-action-item__right
\"
>
\r\n\t\t\t
<slot name=
\"
button
\"
>
\r\n\t\t\t\t
<view v-for=
\"
(item,index) in options
\"
:key=
\"
index
\"
class=
\"
u-swipe-action-item__right__button
\"\r\n\t\t\t\t\t
:ref=
\"
`u-swipe-action-item__right__button-${index}`
\"
:style=
\"
[{
\r\n\t\t\t\t\t\t
alignItems: item.style && item.style.borderRadius ? 'center' : 'stretch'
\r\n\t\t\t\t\t
}]
\"
@tap=
\"
buttonClickHandler(item, index)
\"
>
\r\n\t\t\t\t\t
<view class=
\"
u-swipe-action-item__right__button__wrapper
\"
:style=
\"
[{
\r\n\t\t\t\t\t\t\t
backgroundColor: item.style && item.style.backgroundColor ? item.style.backgroundColor : '#C7C6CD',
\r\n\t\t\t\t\t\t\t
borderRadius: item.style && item.style.borderRadius ? item.style.borderRadius : '0',
\r\n\t\t\t\t\t\t\t
padding: item.style && item.style.borderRadius ? '0' : '0 15px',
\r\n\t\t\t\t\t\t
}, item.style]
\"
>
\r\n\t\t\t\t\t\t
<u-icon v-if=
\"
item.icon
\"
:name=
\"
item.icon
\"\r\n\t\t\t\t\t\t\t
:color=
\"
item.style && item.style.color ? item.style.color : '#ffffff'
\"\r\n\t\t\t\t\t\t\t
:size=
\"
item.iconSize ? $u.addUnit(item.iconSize) : item.style && item.style.fontSize ? $u.getPx(item.style.fontSize) * 1.2 : 17
\"\r\n\t\t\t\t\t\t\t
:customStyle=
\"
{
\r\n\t\t\t\t\t\t\t\t
marginRight: item.text ? '2px' : 0
\r\n\t\t\t\t\t\t\t
}
\"
></u-icon>
\r\n\t\t\t\t\t\t
<text v-if=
\"
item.text
\"
class=
\"
u-swipe-action-item__right__button__wrapper__text u-line-1
\"\r\n\t\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t\t
color: item.style && item.style.color ? item.style.color : '#ffffff',
\r\n\t\t\t\t\t\t\t\t
fontSize: item.style && item.style.fontSize ? item.style.fontSize : '16px',
\r\n\t\t\t\t\t\t\t\t
lineHeight: item.style && item.style.fontSize ? item.style.fontSize : '16px',
\r\n\t\t\t\t\t\t\t
}]
\"
>{{ item.text }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</slot>
\r\n\t\t
</view>
\r\n\t\t
<!-- #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ -->
\r\n\t\t
<view class=
\"
u-swipe-action-item__content
\"
@touchstart=
\"
wxs.touchstart
\"
@touchmove=
\"
wxs.touchmove
\"\r\n\t\t\t
@touchend=
\"
wxs.touchend
\"
:status=
\"
status
\"
:change:status=
\"
wxs.statusChange
\"
:size=
\"
size
\"\r\n\t\t\t
:change:size=
\"
wxs.sizeChange
\"
>
\r\n\t\t\t
<!-- #endif -->
\r\n\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t
<view class=
\"
u-swipe-action-item__content
\"
ref=
\"
u-swipe-action-item__content
\"
@panstart=
\"
onTouchstart
\"\r\n\t\t\t\t
@tap=
\"
clickHandler
\"
>
\r\n\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t
<slot />
\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n
</template>
\r\n
<!-- #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ -->
\r\n
<script src=
\"
./index.wxs
\"
module=
\"
wxs
\"
lang=
\"
wxs
\"
></script>
\r\n
<!-- #endif -->
\r\n
<script>
\r\n\t
import touch from '../../libs/mixin/touch.js'
\r\n\t
import props from './props.js';
\r\n\t
// #ifdef APP-NVUE
\r\n\t
import nvue from './nvue.js';
\r\n\t
// #endif
\r\n\t
// #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ
\r\n\t
import wxs from './wxs.js';
\r\n\t
// #endif
\r\n\t
/**
\r\n\t
* SwipeActionItem 滑动单元格子组件
\r\n\t
* @description 该组件一般用于左滑唤出操作菜单的场景,用的最多的是左滑删除操作
\r\n\t
* @tutorial https://www.uviewui.com/components/swipeAction.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t
控制打开或者关闭(默认 false )
\r\n\t
* @property {String | Number}
\t
index
\t\t\t
标识符,如果是v-for,可用index索引
\r\n\t
* @property {Boolean}
\t\t\t
disabled
\t\t
是否禁用(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
autoClose
\t\t
是否自动关闭其他swipe按钮组(默认 true )
\r\n\t
* @property {Number}
\t\t\t
threshold
\t\t
滑动距离阈值,只有大于此值,才被认为是要打开菜单(默认 30 )
\r\n\t
* @property {Array}
\t\t\t
options
\t\t\t
右侧按钮内容
\r\n\t
* @property {String | Number}
\t
duration
\t\t
动画过渡时间,单位ms(默认 350 )
\r\n\t
* @event {Function(index)}
\t
open
\t
组件打开时触发
\r\n\t
* @event {Function(index)}
\t
close
\t
组件关闭时触发
\r\n\t
* @example
\t
<u-swipe-action><u-swipe-action-item :options=
\"
options1
\"
></u-swipe-action-item></u-swipe-action>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-swipe-action-item',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props, touch],
\r\n\t\t
// #ifdef APP-NVUE
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props, nvue, touch],
\r\n\t\t
// #endif
\r\n\t\t
// #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props, touch, wxs],
\r\n\t\t
// #endif
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
// 按钮的尺寸信息
\r\n\t\t\t\t
size: {},
\r\n\t\t\t\t
// 父组件u-swipe-action的参数
\r\n\t\t\t\t
parentData: {
\r\n\t\t\t\t\t
autoClose: true,
\r\n\t\t\t\t
},
\r\n\t\t\t\t
// 当前状态,open-打开,close-关闭
\r\n\t\t\t\t
status: 'close',
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
// 由于wxs无法直接读取外部的值,需要在外部值变化时,重新执行赋值逻辑
\r\n\t\t\t
wxsInit(newValue, oldValue) {
\r\n\t\t\t\t
this.queryRect()
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
wxsInit() {
\r\n\t\t\t\t
return [this.disabled, this.autoClose, this.threshold, this.options, this.duration]
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
// 初始化父组件数据
\r\n\t\t\t\t
this.updateParentData()
\r\n\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t
uni.$u.sleep().then(() => {
\r\n\t\t\t\t\t
this.queryRect()
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
updateParentData() {
\r\n\t\t\t\t
// 此方法在mixin中
\r\n\t\t\t\t
this.getParentData('u-swipe-action')
\r\n\t\t\t
},
\r\n\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t
// 查询节点
\r\n\t\t\t
queryRect() {
\r\n\t\t\t\t
this.$uGetRect('.u-swipe-action-item__right__button', true).then(buttons => {
\r\n\t\t\t\t\t
this.size = {
\r\n\t\t\t\t\t\t
buttons,
\r\n\t\t\t\t\t\t
show: this.show,
\r\n\t\t\t\t\t\t
disabled: this.disabled,
\r\n\t\t\t\t\t\t
threshold: this.threshold,
\r\n\t\t\t\t\t\t
duration: this.duration
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// #endif
\r\n\t\t\t
// 按钮被点击
\r\n\t\t\t
buttonClickHandler(item, index) {
\r\n\t\t\t\t
this.$emit('click', {
\r\n\t\t\t\t\t
index,
\r\n\t\t\t\t\t
name: this.name
\r\n\t\t\t\t
})
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-swipe-action-item {
\r\n\t\t
position: relative;
\r\n\t\t
overflow: hidden;
\r\n\t\t
/* #ifndef APP-NVUE || MP-WEIXIN */
\r\n\t\t
touch-action: none;
\r\n\t\t
/* #endif */
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
background-color: #FFFFFF;
\r\n\t\t\t
z-index: 10;
\r\n\t\t
}
\r\n\r\n\t\t
&__right {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: 0;
\r\n\t\t\t
bottom: 0;
\r\n\t\t\t
right: 0;
\r\n\t\t\t
@include flex;
\r\n\r\n\t\t\t
&__button {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
justify-content: center;
\r\n\t\t\t\t
overflow: hidden;
\r\n\t\t\t\t
align-items: center;
\r\n\r\n\t\t\t\t
&__wrapper {
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
padding: 0 15px;
\r\n\r\n\t\t\t\t\t
&__text {
\r\n\t\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t\t
color: #FFFFFF;
\r\n\t\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t\t
text-align: center;
\r\n\t\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=style&index=0&id=2fea6ae7&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=style&index=0&id=2fea6ae7&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659119
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-filter-loader
\\\\
index.js!./index.wxs?vue&type=custom&index=0&blockType=script&issuerPath=C%3A%5CUsers%5C%E6%86%A8%E6%89%B9%5CDesktop%5C%E5%B7%A5%E4%BD%9C%5C%E9%A1%B9%E7%9B%AE%5CbiomassShop-uniapp%5Cnode_modules%5Cuview-ui%5Ccomponents%5Cu-swipe-action-item%5Cu-swipe-action-item.vue&module=wxs&lang=wxs
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-filter-loader
\\\\
index.js!./index.wxs?vue&type=custom&index=0&blockType=script&issuerPath=C%3A%5CUsers%5C%E6%86%A8%E6%89%B9%5CDesktop%5C%E5%B7%A5%E4%BD%9C%5C%E9%A1%B9%E7%9B%AE%5CbiomassShop-uniapp%5Cnode_modules%5Cuview-ui%5Ccomponents%5Cu-swipe-action-item%5Cu-swipe-action-item.vue&module=wxs&lang=wxs
\"
"
,
"export default function (Component) {
\n
if(!Component.options.wxsCallMethods){
\n
Component.options.wxsCallMethods = []
\n
}
\n
Component.options.wxsCallMethods.push('closeOther')
\n
Component.options.wxsCallMethods.push('setState')
\n
}"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?01fa"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?ec8a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?ccc0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?7d60"
,
"uni-app:///node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?ceeb"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue?88e0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/index.wxs?75fd"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swipe-action-item/index.wxs?3b51"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA4T;AAC5T;AACuE;AACL;AACsC;;;AAGxG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,0RAAM;AACR,EAAE,mSAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8RAAU;AACZ;AACA;;AAEA;AAC0S;AAC1S,WAAW,4TAAM,iBAAiB,oUAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5EA;AAAA;AAAA;AAAA;AAAsoB,CAAgB,2pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8C1pB;AACA;;;;;AAKA,4E;;AAEA;;;;;;;;;;;;;;;;AAgBA,6B;AACA,wE;;;;;AAKA,4E;;AAEA;AACA;AACA;AACA,YAFA;AAGA;AACA;AACA,qBADA,EAJA;;AAOA;AACA,mBARA;;AAUA,C;AACA;AACA;AACA,SAFA,mBAEA,QAFA,EAEA,QAFA,EAEA;AACA;AACA,GAJA,E;;AAMA;AACA,SADA,qBACA;AACA;AACA,GAHA,E;;AAKA;AACA;AACA,C;AACA;AACA,MADA,kBACA;AACA;AACA;;AAEA;AACA;AACA,KAFA;;AAIA,GATA;AAUA,kBAVA,8BAUA;AACA;AACA;AACA,GAbA;;AAeA;AACA,WAhBA,uBAgBA;AACA;AACA;AACA,wBADA;AAEA,yBAFA;AAGA,iCAHA;AAIA,mCAJA;AAKA,iCALA;;AAOA,KARA;AASA,GA1BA;;AA4BA;AACA,oBA7BA,8BA6BA,IA7BA,EA6BA,KA7BA,EA6BA;AACA;AACA,kBADA;AAEA,qBAFA;;AAIA,GAlCA,E;;;;;;;;;;;;;ACxGA;AAAA;AAAA;AAAA;AAA6tC,CAAgB,0rCAAG,EAAC,C;;;;;;;;;;;ACAjvC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA,wCAA8a,CAAgB,mfAAG,EAAC,C;;;;;;;;;;;;ACAlc;AAAe;AACf;AACA;AACA;AACA;AACA;AACA,M"
,
"file"
:
"node-modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-swipe-action-item.vue?vue&type=template&id=2fea6ae7&scoped=true&filter-modules=eyJ3eHMiOnsidHlwZSI6InNjcmlwdCIsImNvbnRlbnQiOiIiLCJzdGFydCI6MjI2NSwiYXR0cnMiOnsic3JjIjoiLi9pbmRleC53eHMiLCJtb2R1bGUiOiJ3eHMiLCJsYW5nIjoid3hzIn0sImVuZCI6MjI2NX19&
\"\n
var renderjs
\n
import script from
\"
./u-swipe-action-item.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-swipe-action-item.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-swipe-action-item.vue?vue&type=style&index=0&id=2fea6ae7&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
2fea6ae7
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
/* custom blocks */
\n
import block0 from
\"
./index.wxs?vue&type=custom&index=0&blockType=script&issuerPath=C%3A%5CUsers%5C%E6%86%A8%E6%89%B9%5CDesktop%5C%E5%B7%A5%E4%BD%9C%5C%E9%A1%B9%E7%9B%AE%5CbiomassShop-uniapp%5Cnode_modules%5Cuview-ui%5Ccomponents%5Cu-swipe-action-item%5Cu-swipe-action-item.vue&module=wxs&lang=wxs
\"\n
if (typeof block0 === 'function') block0(component)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=template&id=2fea6ae7&scoped=true&filter-modules=eyJ3eHMiOnsidHlwZSI6InNjcmlwdCIsImNvbnRlbnQiOiIiLCJzdGFydCI6MjI2NSwiYXR0cnMiOnsic3JjIjoiLi9pbmRleC53eHMiLCJtb2R1bGUiOiJ3eHMiLCJsYW5nIjoid3hzIn0sImVuZCI6MjI2NX19&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var l0 = _vm.__map(_vm.options, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s0 = _vm.__get_style([
\n
{
\n
backgroundColor:
\n
item.style && item.style.backgroundColor
\n
? item.style.backgroundColor
\n
:
\"
#C7C6CD
\"
,
\n
borderRadius:
\n
item.style && item.style.borderRadius ? item.style.borderRadius :
\"
0
\"
,
\n
padding: item.style && item.style.borderRadius ?
\"
0
\"
:
\"
0 15px
\"\n
},
\n
item.style
\n
])
\n\n
var a0 = item.icon
\n
? {
\n
marginRight: item.text ?
\"
2px
\"
: 0
\n
}
\n
: null
\n
var g0 = item.icon && item.iconSize ? _vm.$u.addUnit(item.iconSize) : null
\n
var g1 =
\n
item.icon && !item.iconSize && item.style && item.style.fontSize
\n
? _vm.$u.getPx(item.style.fontSize)
\n
: null
\n
return {
\n
$orig: $orig,
\n
s0: s0,
\n
a0: a0,
\n
g0: g0,
\n
g1: g1
\n
}
\n
})
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
l0: l0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-swipe-action-item
\"
ref=
\"
u-swipe-action-item
\"
>
\r\n\t\t
<view class=
\"
u-swipe-action-item__right
\"
>
\r\n\t\t\t
<slot name=
\"
button
\"
>
\r\n\t\t\t\t
<view v-for=
\"
(item,index) in options
\"
:key=
\"
index
\"
class=
\"
u-swipe-action-item__right__button
\"\r\n\t\t\t\t\t
:ref=
\"
`u-swipe-action-item__right__button-${index}`
\"
:style=
\"
[{
\r\n\t\t\t\t\t\t
alignItems: item.style && item.style.borderRadius ? 'center' : 'stretch'
\r\n\t\t\t\t\t
}]
\"
@tap=
\"
buttonClickHandler(item, index)
\"
>
\r\n\t\t\t\t\t
<view class=
\"
u-swipe-action-item__right__button__wrapper
\"
:style=
\"
[{
\r\n\t\t\t\t\t\t\t
backgroundColor: item.style && item.style.backgroundColor ? item.style.backgroundColor : '#C7C6CD',
\r\n\t\t\t\t\t\t\t
borderRadius: item.style && item.style.borderRadius ? item.style.borderRadius : '0',
\r\n\t\t\t\t\t\t\t
padding: item.style && item.style.borderRadius ? '0' : '0 15px',
\r\n\t\t\t\t\t\t
}, item.style]
\"
>
\r\n\t\t\t\t\t\t
<u-icon v-if=
\"
item.icon
\"
:name=
\"
item.icon
\"\r\n\t\t\t\t\t\t\t
:color=
\"
item.style && item.style.color ? item.style.color : '#ffffff'
\"\r\n\t\t\t\t\t\t\t
:size=
\"
item.iconSize ? $u.addUnit(item.iconSize) : item.style && item.style.fontSize ? $u.getPx(item.style.fontSize) * 1.2 : 17
\"\r\n\t\t\t\t\t\t\t
:customStyle=
\"
{
\r\n\t\t\t\t\t\t\t\t
marginRight: item.text ? '2px' : 0
\r\n\t\t\t\t\t\t\t
}
\"
></u-icon>
\r\n\t\t\t\t\t\t
<text v-if=
\"
item.text
\"
class=
\"
u-swipe-action-item__right__button__wrapper__text u-line-1
\"\r\n\t\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t\t
color: item.style && item.style.color ? item.style.color : '#ffffff',
\r\n\t\t\t\t\t\t\t\t
fontSize: item.style && item.style.fontSize ? item.style.fontSize : '16px',
\r\n\t\t\t\t\t\t\t\t
lineHeight: item.style && item.style.fontSize ? item.style.fontSize : '16px',
\r\n\t\t\t\t\t\t\t
}]
\"
>{{ item.text }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</slot>
\r\n\t\t
</view>
\r\n\t\t
<!-- #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ -->
\r\n\t\t
<view class=
\"
u-swipe-action-item__content
\"
@touchstart=
\"
wxs.touchstart
\"
@touchmove=
\"
wxs.touchmove
\"\r\n\t\t\t
@touchend=
\"
wxs.touchend
\"
:status=
\"
status
\"
:change:status=
\"
wxs.statusChange
\"
:size=
\"
size
\"\r\n\t\t\t
:change:size=
\"
wxs.sizeChange
\"
>
\r\n\t\t\t
<!-- #endif -->
\r\n\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t
<view class=
\"
u-swipe-action-item__content
\"
ref=
\"
u-swipe-action-item__content
\"
@panstart=
\"
onTouchstart
\"\r\n\t\t\t\t
@tap=
\"
clickHandler
\"
>
\r\n\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t
<slot />
\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n
</template>
\r\n
<!-- #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ -->
\r\n
<script src=
\"
./index.wxs
\"
module=
\"
wxs
\"
lang=
\"
wxs
\"
></script>
\r\n
<!-- #endif -->
\r\n
<script>
\r\n\t
import touch from '../../libs/mixin/touch.js'
\r\n\t
import props from './props.js';
\r\n\t
// #ifdef APP-NVUE
\r\n\t
import nvue from './nvue.js';
\r\n\t
// #endif
\r\n\t
// #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ
\r\n\t
import wxs from './wxs.js';
\r\n\t
// #endif
\r\n\t
/**
\r\n\t
* SwipeActionItem 滑动单元格子组件
\r\n\t
* @description 该组件一般用于左滑唤出操作菜单的场景,用的最多的是左滑删除操作
\r\n\t
* @tutorial https://www.uviewui.com/components/swipeAction.html
\r\n\t
* @property {Boolean}
\t\t\t
show
\t\t\t
控制打开或者关闭(默认 false )
\r\n\t
* @property {String | Number}
\t
index
\t\t\t
标识符,如果是v-for,可用index索引
\r\n\t
* @property {Boolean}
\t\t\t
disabled
\t\t
是否禁用(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
autoClose
\t\t
是否自动关闭其他swipe按钮组(默认 true )
\r\n\t
* @property {Number}
\t\t\t
threshold
\t\t
滑动距离阈值,只有大于此值,才被认为是要打开菜单(默认 30 )
\r\n\t
* @property {Array}
\t\t\t
options
\t\t\t
右侧按钮内容
\r\n\t
* @property {String | Number}
\t
duration
\t\t
动画过渡时间,单位ms(默认 350 )
\r\n\t
* @event {Function(index)}
\t
open
\t
组件打开时触发
\r\n\t
* @event {Function(index)}
\t
close
\t
组件关闭时触发
\r\n\t
* @example
\t
<u-swipe-action><u-swipe-action-item :options=
\"
options1
\"
></u-swipe-action-item></u-swipe-action>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-swipe-action-item',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props, touch],
\r\n\t\t
// #ifdef APP-NVUE
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props, nvue, touch],
\r\n\t\t
// #endif
\r\n\t\t
// #ifdef APP-VUE || MP-WEIXIN || H5 || MP-QQ
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props, touch, wxs],
\r\n\t\t
// #endif
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
// 按钮的尺寸信息
\r\n\t\t\t\t
size: {},
\r\n\t\t\t\t
// 父组件u-swipe-action的参数
\r\n\t\t\t\t
parentData: {
\r\n\t\t\t\t\t
autoClose: true,
\r\n\t\t\t\t
},
\r\n\t\t\t\t
// 当前状态,open-打开,close-关闭
\r\n\t\t\t\t
status: 'close',
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
// 由于wxs无法直接读取外部的值,需要在外部值变化时,重新执行赋值逻辑
\r\n\t\t\t
wxsInit(newValue, oldValue) {
\r\n\t\t\t\t
this.queryRect()
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
wxsInit() {
\r\n\t\t\t\t
return [this.disabled, this.autoClose, this.threshold, this.options, this.duration]
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
init() {
\r\n\t\t\t\t
// 初始化父组件数据
\r\n\t\t\t\t
this.updateParentData()
\r\n\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t
uni.$u.sleep().then(() => {
\r\n\t\t\t\t\t
this.queryRect()
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
updateParentData() {
\r\n\t\t\t\t
// 此方法在mixin中
\r\n\t\t\t\t
this.getParentData('u-swipe-action')
\r\n\t\t\t
},
\r\n\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t
// 查询节点
\r\n\t\t\t
queryRect() {
\r\n\t\t\t\t
this.$uGetRect('.u-swipe-action-item__right__button', true).then(buttons => {
\r\n\t\t\t\t\t
this.size = {
\r\n\t\t\t\t\t\t
buttons,
\r\n\t\t\t\t\t\t
show: this.show,
\r\n\t\t\t\t\t\t
disabled: this.disabled,
\r\n\t\t\t\t\t\t
threshold: this.threshold,
\r\n\t\t\t\t\t\t
duration: this.duration
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// #endif
\r\n\t\t\t
// 按钮被点击
\r\n\t\t\t
buttonClickHandler(item, index) {
\r\n\t\t\t\t
this.$emit('click', {
\r\n\t\t\t\t\t
index,
\r\n\t\t\t\t\t
name: this.name
\r\n\t\t\t\t
})
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-swipe-action-item {
\r\n\t\t
position: relative;
\r\n\t\t
overflow: hidden;
\r\n\t\t
/* #ifndef APP-NVUE || MP-WEIXIN */
\r\n\t\t
touch-action: none;
\r\n\t\t
/* #endif */
\r\n\r\n\t\t
&__content {
\r\n\t\t\t
background-color: #FFFFFF;
\r\n\t\t\t
z-index: 10;
\r\n\t\t
}
\r\n\r\n\t\t
&__right {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: 0;
\r\n\t\t\t
bottom: 0;
\r\n\t\t\t
right: 0;
\r\n\t\t\t
@include flex;
\r\n\r\n\t\t\t
&__button {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
justify-content: center;
\r\n\t\t\t\t
overflow: hidden;
\r\n\t\t\t\t
align-items: center;
\r\n\r\n\t\t\t\t
&__wrapper {
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
padding: 0 15px;
\r\n\r\n\t\t\t\t\t
&__text {
\r\n\t\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t\t
color: #FFFFFF;
\r\n\t\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t\t
text-align: center;
\r\n\t\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=style&index=0&id=2fea6ae7&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swipe-action-item.vue?vue&type=style&index=0&id=2fea6ae7&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029103030
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-filter-loader
\\\\
index.js!./index.wxs?vue&type=custom&index=0&blockType=script&issuerPath=C%3A%5CUsers%5C%E6%86%A8%E6%89%B9%5CDesktop%5C%E5%B7%A5%E4%BD%9C%5C%E9%A1%B9%E7%9B%AE%5CbiomassShop-uniapp%5Cnode_modules%5Cuview-ui%5Ccomponents%5Cu-swipe-action-item%5Cu-swipe-action-item.vue&module=wxs&lang=wxs
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-filter-loader
\\\\
index.js!./index.wxs?vue&type=custom&index=0&blockType=script&issuerPath=C%3A%5CUsers%5C%E6%86%A8%E6%89%B9%5CDesktop%5C%E5%B7%A5%E4%BD%9C%5C%E9%A1%B9%E7%9B%AE%5CbiomassShop-uniapp%5Cnode_modules%5Cuview-ui%5Ccomponents%5Cu-swipe-action-item%5Cu-swipe-action-item.vue&module=wxs&lang=wxs
\"
"
,
"export default function (Component) {
\n
if(!Component.options.wxsCallMethods){
\n
Component.options.wxsCallMethods = []
\n
}
\n
Component.options.wxsCallMethods.push('closeOther')
\n
Component.options.wxsCallMethods.push('setState')
\n
}"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?6310"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?9e77"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?21e7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?9913"
,
"uni-app:///node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?6e15"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?91e7"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2I;AAC3I;AACsE;AACL;AACsC;;;AAGvG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,wFAAM;AACR,EAAE,yGAAM;AACR,EAAE,kHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrCA;AAAA;AAAA;AAAA;AAAqoB,CAAgB,0pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkCzpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;kBAWA,EACA,0BADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,aADA,GAGA,CAPA,EAQA,YACA;AACA,aAFA,uBAEA,CACA,eACA,6CACA,2FACA,kDACA,aACA,CARA,EASA;AACA,YAVA,sBAUA,kBACA,yBACA,eACA,4GACA,aACA,CAJA,CAKA,CAhBA,EARA,E;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAA4tC,CAAgB,yrCAAG,EAAC,C;;;;;;;;;;;ACAhvC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-swiper-indicator.vue?vue&type=template&id=647f6c67&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-swiper-indicator.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-swiper-indicator.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-swiper-indicator.vue?vue&type=style&index=0&id=647f6c67&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
647f6c67
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=template&id=647f6c67&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 =
\n
_vm.indicatorMode ===
\"
line
\"\n
? _vm.$u.addUnit(_vm.lineWidth * _vm.length)
\n
: null
\n
var s0 =
\n
_vm.indicatorMode ===
\"
line
\"
? _vm.__get_style([_vm.lineStyle]) : null
\n
var l0 =
\n
_vm.indicatorMode ===
\"
dot
\"\n
? _vm.__map(_vm.length, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s1 = _vm.__get_style([_vm.dotStyle(index)])
\n\n
return {
\n
$orig: $orig,
\n
s1: s1
\n
}
\n
})
\n
: null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
s0: s0,
\n
l0: l0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-swiper-indicator
\"
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-swiper-indicator__wrapper
\"\r\n\t\t\t
v-if=
\"
indicatorMode === 'line'
\"\r\n\t\t\t
:class=
\"
[`u-swiper-indicator__wrapper--${indicatorMode}`]
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
width: $u.addUnit(lineWidth * length),
\r\n\t\t\t\t
backgroundColor: indicatorInactiveColor
\r\n\t\t\t
}
\"\r\n\t\t
>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-swiper-indicator__wrapper--line__bar
\"\r\n\t\t\t\t
:style=
\"
[lineStyle]
\"\r\n\t\t\t
></view>
\r\n\t\t
</view>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-swiper-indicator__wrapper
\"\r\n\t\t\t
v-if=
\"
indicatorMode === 'dot'
\"\r\n\t\t
>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-swiper-indicator__wrapper__dot
\"\r\n\t\t\t\t
v-for=
\"
(item, index) in length
\"\r\n\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t
:class=
\"
[index === current && 'u-swiper-indicator__wrapper__dot--active']
\"\r\n\t\t\t\t
:style=
\"
[dotStyle(index)]
\"\r\n\t\t\t
>
\r\n\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* SwiperIndicator 轮播图指示器
\r\n\t
* @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用,
\r\n\t
* @tutorial https://www.uviewui.com/components/swiper.html
\r\n\t
* @property {String | Number}
\t
length
\t\t\t\t\t
轮播的长度(默认 0 )
\r\n\t
* @property {String | Number}
\t
current
\t\t\t\t\t
当前处于活动状态的轮播的索引(默认 0 )
\r\n\t
* @property {String}
\t\t\t
indicatorActiveColor
\t
指示器非激活颜色
\r\n\t
* @property {String}
\t\t\t
indicatorInactiveColor
\t
指示器的激活颜色
\r\n\t
* @property {String}
\t\t\t
indicatorMode
\t\t\t
指示器模式(默认 'line' )
\r\n\t
* @example
\t
<u-swiper :list=
\"
list4
\"
indicator keyName=
\"
url
\"
:autoplay=
\"
false
\"
></u-swiper>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-swiper-indicator',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
lineWidth: 22
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
// 指示器为线型的样式
\r\n\t\t\t
lineStyle() {
\r\n\t\t\t\t
let style = {}
\r\n\t\t\t\t
style.width = uni.$u.addUnit(this.lineWidth)
\r\n\t\t\t\t
style.transform = `translateX(${ uni.$u.addUnit(this.current * this.lineWidth) })`
\r\n\t\t\t\t
style.backgroundColor = this.indicatorActiveColor
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
// 指示器为点型的样式
\r\n\t\t\t
dotStyle() {
\r\n\t\t\t\t
return index => {
\r\n\t\t\t\t\t
let style = {}
\r\n\t\t\t\t\t
style.backgroundColor = index === this.current ? this.indicatorActiveColor : this.indicatorInactiveColor
\r\n\t\t\t\t\t
return style
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-swiper-indicator {
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
@include flex;
\r\n\r\n\t\t\t
&--line {
\r\n\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t
height: 4px;
\r\n\r\n\t\t\t\t
&__bar {
\r\n\t\t\t\t\t
width: 22px;
\r\n\t\t\t\t\t
height: 4px;
\r\n\t\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t\t
background-color: #FFFFFF;
\r\n\t\t\t\t\t
transition: transform 0.3s;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__dot {
\r\n\t\t\t\t
width: 5px;
\r\n\t\t\t\t
height: 5px;
\r\n\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t
margin: 0 4px;
\r\n\r\n\t\t\t\t
&--active {
\r\n\t\t\t\t\t
width: 12px;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=style&index=0&id=647f6c67&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=style&index=0&id=647f6c67&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659239
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?6310"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?9e77"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?21e7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?9913"
,
"uni-app:///node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?6e15"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue?91e7"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2I;AAC3I;AACsE;AACL;AACsC;;;AAGvG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,wFAAM;AACR,EAAE,yGAAM;AACR,EAAE,kHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrCA;AAAA;AAAA;AAAA;AAAqoB,CAAgB,0pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkCzpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;kBAWA,EACA,0BADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,aADA,GAGA,CAPA,EAQA,YACA;AACA,aAFA,uBAEA,CACA,eACA,6CACA,2FACA,kDACA,aACA,CARA,EASA;AACA,YAVA,sBAUA,kBACA,yBACA,eACA,4GACA,aACA,CAJA,CAKA,CAhBA,EARA,E;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAA4tC,CAAgB,yrCAAG,EAAC,C;;;;;;;;;;;ACAhvC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-swiper-indicator.vue?vue&type=template&id=647f6c67&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-swiper-indicator.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-swiper-indicator.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-swiper-indicator.vue?vue&type=style&index=0&id=647f6c67&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
647f6c67
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=template&id=647f6c67&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 =
\n
_vm.indicatorMode ===
\"
line
\"\n
? _vm.$u.addUnit(_vm.lineWidth * _vm.length)
\n
: null
\n
var s0 =
\n
_vm.indicatorMode ===
\"
line
\"
? _vm.__get_style([_vm.lineStyle]) : null
\n
var l0 =
\n
_vm.indicatorMode ===
\"
dot
\"\n
? _vm.__map(_vm.length, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s1 = _vm.__get_style([_vm.dotStyle(index)])
\n\n
return {
\n
$orig: $orig,
\n
s1: s1
\n
}
\n
})
\n
: null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
s0: s0,
\n
l0: l0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-swiper-indicator
\"
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-swiper-indicator__wrapper
\"\r\n\t\t\t
v-if=
\"
indicatorMode === 'line'
\"\r\n\t\t\t
:class=
\"
[`u-swiper-indicator__wrapper--${indicatorMode}`]
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
width: $u.addUnit(lineWidth * length),
\r\n\t\t\t\t
backgroundColor: indicatorInactiveColor
\r\n\t\t\t
}
\"\r\n\t\t
>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-swiper-indicator__wrapper--line__bar
\"\r\n\t\t\t\t
:style=
\"
[lineStyle]
\"\r\n\t\t\t
></view>
\r\n\t\t
</view>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-swiper-indicator__wrapper
\"\r\n\t\t\t
v-if=
\"
indicatorMode === 'dot'
\"\r\n\t\t
>
\r\n\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-swiper-indicator__wrapper__dot
\"\r\n\t\t\t\t
v-for=
\"
(item, index) in length
\"\r\n\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t
:class=
\"
[index === current && 'u-swiper-indicator__wrapper__dot--active']
\"\r\n\t\t\t\t
:style=
\"
[dotStyle(index)]
\"\r\n\t\t\t
>
\r\n\r\n\t\t\t
</view>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* SwiperIndicator 轮播图指示器
\r\n\t
* @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用,
\r\n\t
* @tutorial https://www.uviewui.com/components/swiper.html
\r\n\t
* @property {String | Number}
\t
length
\t\t\t\t\t
轮播的长度(默认 0 )
\r\n\t
* @property {String | Number}
\t
current
\t\t\t\t\t
当前处于活动状态的轮播的索引(默认 0 )
\r\n\t
* @property {String}
\t\t\t
indicatorActiveColor
\t
指示器非激活颜色
\r\n\t
* @property {String}
\t\t\t
indicatorInactiveColor
\t
指示器的激活颜色
\r\n\t
* @property {String}
\t\t\t
indicatorMode
\t\t\t
指示器模式(默认 'line' )
\r\n\t
* @example
\t
<u-swiper :list=
\"
list4
\"
indicator keyName=
\"
url
\"
:autoplay=
\"
false
\"
></u-swiper>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-swiper-indicator',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
lineWidth: 22
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
// 指示器为线型的样式
\r\n\t\t\t
lineStyle() {
\r\n\t\t\t\t
let style = {}
\r\n\t\t\t\t
style.width = uni.$u.addUnit(this.lineWidth)
\r\n\t\t\t\t
style.transform = `translateX(${ uni.$u.addUnit(this.current * this.lineWidth) })`
\r\n\t\t\t\t
style.backgroundColor = this.indicatorActiveColor
\r\n\t\t\t\t
return style
\r\n\t\t\t
},
\r\n\t\t\t
// 指示器为点型的样式
\r\n\t\t\t
dotStyle() {
\r\n\t\t\t\t
return index => {
\r\n\t\t\t\t\t
let style = {}
\r\n\t\t\t\t\t
style.backgroundColor = index === this.current ? this.indicatorActiveColor : this.indicatorInactiveColor
\r\n\t\t\t\t\t
return style
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-swiper-indicator {
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
@include flex;
\r\n\r\n\t\t\t
&--line {
\r\n\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t
height: 4px;
\r\n\r\n\t\t\t\t
&__bar {
\r\n\t\t\t\t\t
width: 22px;
\r\n\t\t\t\t\t
height: 4px;
\r\n\t\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t\t
background-color: #FFFFFF;
\r\n\t\t\t\t\t
transition: transform 0.3s;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__dot {
\r\n\t\t\t\t
width: 5px;
\r\n\t\t\t\t
height: 5px;
\r\n\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t
margin: 0 4px;
\r\n\r\n\t\t\t\t
&--active {
\r\n\t\t\t\t\t
width: 12px;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=style&index=0&id=647f6c67&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper-indicator.vue?vue&type=style&index=0&id=647f6c67&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029103465
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-swiper/u-swiper.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?c761"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?e3d9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?f8fe"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?6db5"
,
"uni-app:///node_modules/uview-ui/components/u-swiper/u-swiper.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?8911"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?d13f"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qUAEN;AACP,KAAK;AACL;AACA,aAAa,6VAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnGA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4F/oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgCA,EACA,gBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,eADA,GAGA,CAPA,EAQA,SACA,OADA,mBACA,GADA,EACA,MADA,EACA,CACA,2BACA,wBAFA,CAEA;AACA,KAJA,EARA,EAcA,YACA,SADA,uBACA,kBACA,yBACA,eADA,CAGA;AACA;AACA,uDACA,kDACA,kEACA,CAEA,aACA,CAXA,CAYA,CAdA,EAdA,EA8BA,WACA,WADA,uBACA,IADA,EACA,CACA,iGACA,+CACA,mFACA,0CACA,0CACA,eACA,CACA,CATA,EAUA;AACA,aAXA,qBAWA,IAXA,EAWA,CACA,0CACA,6EACA,2BACA,UACA,CAhBA,EAiBA;AACA,UAlBA,kBAkBA,CAlBA,EAkBA,CACA;AADA,UAGA,OAHA,GAIA,QAJA,CAGA,OAHA,CAKA,mCACA,4BACA,+BACA,CA1BA,EA2BA;AACA,cA5BA,sBA4BA,KA5BA,EA4BA,CACA,gDACA,kCACA;AACA,yEACA,cACA,CACA,CAnCA,EAoCA;AACA,aArCA,qBAqCA,IArCA,EAqCA,CACA,kEACA,CAvCA,EAwCA;AACA,gBAzCA,wBAyCA,KAzCA,EAyCA,CACA,2BACA,CA3CA,EA9BA,E;;;;;;;;;;;;;AC7HA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-swiper/u-swiper.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-swiper.vue?vue&type=template&id=7b038a67&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-swiper.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-swiper.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-swiper.vue?vue&type=style&index=0&id=7b038a67&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
7b038a67
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-swiper/u-swiper.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=template&id=7b038a67&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
},
\n
uSwiperIndicator: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator
\"
*/
\"
uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 = _vm.$u.addUnit(_vm.height)
\n
var g1 = _vm.$u.addUnit(_vm.radius)
\n
var g2 = !_vm.loading ? _vm.$u.addUnit(_vm.height) : null
\n
var g3 = !_vm.loading ? _vm.$u.addUnit(_vm.previousMargin) : null
\n
var g4 = !_vm.loading ? _vm.$u.addUnit(_vm.nextMargin) : null
\n
var l0 = !_vm.loading
\n
? _vm.__map(_vm.list, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s0 = _vm.__get_style([_vm.itemStyle(index)])
\n\n
var m0 = _vm.getItemType(item)
\n
var g5 = m0 ===
\"
image
\"
? _vm.$u.addUnit(_vm.height) : null
\n
var g6 = m0 ===
\"
image
\"
? _vm.$u.addUnit(_vm.radius) : null
\n
var m1 = m0 ===
\"
image
\"
? _vm.getSource(item) : null
\n
var m2 = _vm.getItemType(item)
\n
var g7 = m2 ===
\"
video
\"
? _vm.$u.addUnit(_vm.height) : null
\n
var m3 = m2 ===
\"
video
\"
? _vm.getSource(item) : null
\n
var m4 = m2 ===
\"
video
\"
? _vm.getPoster(item) : null
\n
var g8 =
\n
m2 ===
\"
video
\"\n
? _vm.showTitle && _vm.$u.test.object(item) && item.title
\n
: null
\n
var g9 =
\n
_vm.showTitle &&
\n
_vm.$u.test.object(item) &&
\n
item.title &&
\n
_vm.$u.test.image(_vm.getSource(item))
\n
return {
\n
$orig: $orig,
\n
s0: s0,
\n
m0: m0,
\n
g5: g5,
\n
g6: g6,
\n
m1: m1,
\n
m2: m2,
\n
g7: g7,
\n
m3: m3,
\n
m4: m4,
\n
g8: g8,
\n
g9: g9
\n
}
\n
})
\n
: null
\n\n
var s1 = _vm.__get_style([_vm.$u.addStyle(_vm.indicatorStyle)])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
g1: g1,
\n
g2: g2,
\n
g3: g3,
\n
g4: g4,
\n
l0: l0,
\n
s1: s1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-swiper
\"\r\n\t\t
:style=
\"
{
\r\n\t\t\t
backgroundColor: bgColor,
\r\n\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t
borderRadius: $u.addUnit(radius)
\r\n\t\t
}
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-swiper__loading
\"\r\n\t\t\t
v-if=
\"
loading
\"\r\n\t\t
>
\r\n\t\t\t
<u-loading-icon mode=
\"
circle
\"
></u-loading-icon>
\r\n\t\t
</view>
\r\n\t\t
<swiper
\r\n\t\t\t
v-else
\r\n\t\t\t
class=
\"
u-swiper__wrapper
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t
}
\"\r\n\t\t\t
@change=
\"
change
\"\r\n\t\t\t
:circular=
\"
circular
\"\r\n\t\t\t
:interval=
\"
interval
\"\r\n\t\t\t
:duration=
\"
duration
\"\r\n\t\t\t
:autoplay=
\"
autoplay
\"\r\n\t\t\t
:current=
\"
current
\"\r\n\t\t\t
:currentItemId=
\"
currentItemId
\"\r\n\t\t\t
:previousMargin=
\"
$u.addUnit(previousMargin)
\"\r\n\t\t\t
:nextMargin=
\"
$u.addUnit(nextMargin)
\"\r\n\t\t\t
:acceleration=
\"
acceleration
\"\r\n\t\t\t
:displayMultipleItems=
\"
displayMultipleItems
\"\r\n\t\t\t
:easingFunction=
\"
easingFunction
\"\r\n\t\t
>
\r\n\t\t\t
<swiper-item
\r\n\t\t\t\t
class=
\"
u-swiper__wrapper__item
\"\r\n\t\t\t\t
v-for=
\"
(item, index) in list
\"\r\n\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper
\"\r\n\t\t\t\t\t
:style=
\"
[itemStyle(index)]
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<!-- 在nvue中,image图片的宽度默认为屏幕宽度,需要通过flex:1撑开,另外必须设置高度才能显示图片 -->
\r\n\t\t\t\t\t
<image
\r\n\t\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper__image
\"\r\n\t\t\t\t\t\t
v-if=
\"
getItemType(item) === 'image'
\"\r\n\t\t\t\t\t\t
:src=
\"
getSource(item)
\"\r\n\t\t\t\t\t\t
:mode=
\"
imgMode
\"\r\n\t\t\t\t\t\t
@tap=
\"
clickHandler(index)
\"\r\n\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t\t\t\t\t
borderRadius: $u.addUnit(radius)
\r\n\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t
></image>
\r\n\t\t\t\t\t
<video
\r\n\t\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper__video
\"\r\n\t\t\t\t\t\t
v-if=
\"
getItemType(item) === 'video'
\"\r\n\t\t\t\t\t\t
:id=
\"
`video-${index}`
\"\r\n\t\t\t\t\t\t
:enable-progress-gesture=
\"
false
\"\r\n\t\t\t\t\t\t
:src=
\"
getSource(item)
\"\r\n\t\t\t\t\t\t
:poster=
\"
getPoster(item)
\"\r\n\t\t\t\t\t\t
:title=
\"
showTitle && $u.test.object(item) && item.title ? item.title : ''
\"\r\n\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(height)
\r\n\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t
controls
\r\n\t\t\t\t\t\t
@tap=
\"
clickHandler(index)
\"\r\n\t\t\t\t\t
></video>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
v-if=
\"
showTitle && $u.test.object(item) && item.title && $u.test.image(getSource(item))
\"\r\n\t\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper__title u-line-1
\"\r\n\t\t\t\t\t
>{{ item.title }}</text>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</swiper-item>
\r\n\t\t
</swiper>
\r\n\t\t
<view class=
\"
u-swiper__indicator
\"
:style=
\"
[$u.addStyle(indicatorStyle)]
\"
>
\r\n\t\t\t
<slot name=
\"
indicator
\"
>
\r\n\t\t\t\t
<u-swiper-indicator
\r\n\t\t\t\t\t
v-if=
\"
!loading && indicator && !showTitle
\"\r\n\t\t\t\t\t
:indicatorActiveColor=
\"
indicatorActiveColor
\"\r\n\t\t\t\t\t
:indicatorInactiveColor=
\"
indicatorInactiveColor
\"\r\n\t\t\t\t\t
:length=
\"
list.length
\"\r\n\t\t\t\t\t
:current=
\"
currentIndex
\"\r\n\t\t\t\t\t
:indicatorMode=
\"
indicatorMode
\"\r\n\t\t\t\t
></u-swiper-indicator>
\r\n\t\t\t
</slot>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Swiper 轮播图
\r\n\t
* @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用,
\r\n\t
* @tutorial https://www.uviewui.com/components/swiper.html
\r\n\t
* @property {Array}
\t\t\t
list
\t\t\t\t\t
轮播图数据
\r\n\t
* @property {Boolean}
\t\t\t
indicator
\t\t\t\t
是否显示面板指示器(默认 false )
\r\n\t
* @property {String}
\t\t\t
indicatorActiveColor
\t
指示器非激活颜色(默认 '#FFFFFF' )
\r\n\t
* @property {String}
\t\t\t
indicatorInactiveColor
\t
指示器的激活颜色(默认 'rgba(255, 255, 255, 0.35)' )
\r\n\t
* @property {String | Object}
\t
indicatorStyle
\t\t\t
指示器样式,可通过bottom,left,right进行定位
\r\n\t
* @property {String}
\t\t\t
indicatorMode
\t\t\t
指示器模式(默认 'line' )
\r\n\t
* @property {Boolean}
\t\t\t
autoplay
\t\t\t\t
是否自动切换(默认 true )
\r\n\t
* @property {String | Number}
\t
current
\t\t\t\t\t
当前所在滑块的 index(默认 0 )
\r\n\t
* @property {String}
\t\t\t
currentItemId
\t\t\t
当前所在滑块的 item-id ,不能与 current 被同时指定
\r\n\t
* @property {String | Number}
\t
interval
\t\t\t\t
滑块自动切换时间间隔(ms)(默认 3000 )
\r\n\t
* @property {String | Number}
\t
duration
\t\t\t\t
滑块切换过程所需时间(ms)(默认 300 )
\r\n\t
* @property {Boolean}
\t\t\t
circular
\t\t\t\t
播放到末尾后是否重新回到开头(默认 false )
\r\n\t
* @property {String | Number}
\t
previousMargin
\t\t\t
前边距,可用于露出前一项的一小部分,nvue和支付宝不支持(默认 0 )
\r\n\t
* @property {String | Number}
\t
nextMargin
\t\t\t\t
后边距,可用于露出后一项的一小部分,nvue和支付宝不支持(默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
acceleration
\t\t\t
当开启时,会根据滑动速度,连续滑动多屏,支付宝不支持(默认 false )
\r\n\t
* @property {Number}
\t\t\t
displayMultipleItems
\t
同时显示的滑块数量,nvue、支付宝小程序不支持(默认 1 )
\r\n\t
* @property {String}
\t\t\t
easingFunction
\t\t\t
指定swiper切换缓动动画类型, 只对微信小程序有效(默认 'default' )
\r\n\t
* @property {String}
\t\t\t
keyName
\t\t\t\t\t
list数组中指定对象的目标属性名(默认 'url' )
\r\n\t
* @property {String}
\t\t\t
imgMode
\t\t\t\t\t
图片的裁剪模式(默认 'aspectFill' )
\r\n\t
* @property {String | Number}
\t
height
\t\t\t\t\t
组件高度(默认 130 )
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t\t\t
背景颜色(默认
\t
'#f3f4f6' )
\r\n\t
* @property {String | Number}
\t
radius
\t\t\t\t\t
组件圆角,数值或带单位的字符串(默认 4 )
\r\n\t
* @property {Boolean}
\t\t\t
loading
\t\t\t\t\t
是否加载中(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
showTitle
\t\t\t\t
是否显示标题,要求数组对象中有title属性(默认 false )
\r\n\t
* @event {Function(index)}
\t
click
\t
点击轮播图时触发
\t
index:点击了第几张图片,从0开始
\r\n\t
* @event {Function(index)}
\t
change
\t
轮播图切换时触发(自动或者手动切换)
\t
index:切换到了第几张图片,从0开始
\r\n\t
* @example
\t
<u-swiper :list=
\"
list4
\"
keyName=
\"
url
\"
:autoplay=
\"
false
\"
></u-swiper>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-swiper',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
currentIndex: 0
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
current(val, preVal) {
\r\n\t\t\t\t
if(val === preVal) return;
\r\n\t\t\t\t
this.currentIndex = val; // 和上游数据关联上
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
itemStyle() {
\r\n\t\t\t\t
return index => {
\r\n\t\t\t\t\t
const style = {}
\r\n\t\t\t\t\t
// #ifndef APP-NVUE || MP-TOUTIAO
\r\n\t\t\t\t\t
// 左右流出空间的写法不支持nvue和头条
\r\n\t\t\t\t\t
// 只有配置了此二值,才加上对应的圆角,以及缩放
\r\n\t\t\t\t\t
if (this.nextMargin && this.previousMargin) {
\r\n\t\t\t\t\t\t
style.borderRadius = uni.$u.addUnit(this.radius)
\r\n\t\t\t\t\t\t
if (index !== this.currentIndex) style.transform = 'scale(0.92)'
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
return style
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n
getItemType(item) {
\r\n
if (typeof item === 'string') return uni.$u.test.video(this.getSource(item)) ? 'video' : 'image'
\r\n
if (typeof item === 'object' && this.keyName) {
\r\n
if (!item.type) return uni.$u.test.video(this.getSource(item)) ? 'video' : 'image'
\r\n
if (item.type === 'image') return 'image'
\r\n
if (item.type === 'video') return 'video'
\r\n
return 'image'
\r\n
}
\r\n
},
\r\n\t\t\t
// 获取目标路径,可能数组中为字符串,对象的形式,额外可指定对象的目标属性名keyName
\r\n\t\t\t
getSource(item) {
\r\n\t\t\t\t
if (typeof item === 'string') return item
\r\n\t\t\t\t
if (typeof item === 'object' && this.keyName) return item[this.keyName]
\r\n\t\t\t\t
else uni.$u.error('请按格式传递列表参数')
\r\n\t\t\t\t
return ''
\r\n\t\t\t
},
\r\n\t\t\t
// 轮播切换事件
\r\n\t\t\t
change(e) {
\r\n\t\t\t\t
// 当前的激活索引
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
current
\r\n\t\t\t\t
} = e.detail
\r\n\t\t\t\t
this.pauseVideo(this.currentIndex)
\r\n\t\t\t\t
this.currentIndex = current
\r\n\t\t\t\t
this.$emit('change', e.detail)
\r\n\t\t\t
},
\r\n\t\t\t
// 切换轮播时,暂停视频播放
\r\n\t\t\t
pauseVideo(index) {
\r\n\t\t\t\t
const lastItem = this.getSource(this.list[index])
\r\n\t\t\t\t
if (uni.$u.test.video(lastItem)) {
\r\n\t\t\t\t\t
// 当视频隐藏时,暂停播放
\r\n\t\t\t\t\t
const video = uni.createVideoContext(`video-${index}`, this)
\r\n\t\t\t\t\t
video.pause()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 当一个轮播item为视频时,获取它的视频海报
\r\n\t\t\t
getPoster(item) {
\r\n\t\t\t\t
return typeof item === 'object' && item.poster ? item.poster : ''
\r\n\t\t\t
},
\r\n\t\t\t
// 点击某个item
\r\n\t\t\t
clickHandler(index) {
\r\n\t\t\t\t
this.$emit('click', index)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-swiper {
\r\n\t\t
@include flex;
\r\n\t\t
justify-content: center;
\r\n\t\t
align-items: center;
\r\n\t\t
position: relative;
\r\n\t\t
overflow: hidden;
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
flex: 1;
\r\n\r\n\t\t\t
&__item {
\r\n\t\t\t\t
flex: 1;
\r\n\r\n\t\t\t\t
&__wrapper {
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
position: relative;
\r\n\t\t\t\t\t
overflow: hidden;
\r\n\t\t\t\t\t
transition: transform 0.3s;
\r\n\t\t\t\t\t
flex: 1;
\r\n\r\n\t\t\t\t\t
&__image {
\r\n\t\t\t\t\t\t
flex: 1;
\r\n\t\t\t\t\t
}
\r\n\r\n\t\t\t\t\t
&__video {
\r\n\t\t\t\t\t\t
flex: 1;
\r\n\t\t\t\t\t
}
\r\n\r\n\t\t\t\t\t
&__title {
\r\n\t\t\t\t\t\t
position: absolute;
\r\n\t\t\t\t\t\t
background-color: rgba(0, 0, 0, 0.3);
\r\n\t\t\t\t\t\t
bottom: 0;
\r\n\t\t\t\t\t\t
left: 0;
\r\n\t\t\t\t\t\t
right: 0;
\r\n\t\t\t\t\t\t
font-size: 28rpx;
\r\n\t\t\t\t\t\t
padding: 12rpx 24rpx;
\r\n\t\t\t\t\t\t
color: #FFFFFF;
\r\n\t\t\t\t\t\t
flex: 1;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__indicator {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
bottom: 10px;
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=style&index=0&id=7b038a67&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=style&index=0&id=7b038a67&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991658999
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?c761"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?e3d9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?f8fe"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?6db5"
,
"uni-app:///node_modules/uview-ui/components/u-swiper/u-swiper.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?8911"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-swiper/u-swiper.vue?d13f"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qUAEN;AACP,KAAK;AACL;AACA,aAAa,6VAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnGA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4F/oB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgCA,EACA,gBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,eADA,GAGA,CAPA,EAQA,SACA,OADA,mBACA,GADA,EACA,MADA,EACA,CACA,2BACA,wBAFA,CAEA;AACA,KAJA,EARA,EAcA,YACA,SADA,uBACA,kBACA,yBACA,eADA,CAGA;AACA;AACA,uDACA,kDACA,kEACA,CAEA,aACA,CAXA,CAYA,CAdA,EAdA,EA8BA,WACA,WADA,uBACA,IADA,EACA,CACA,iGACA,+CACA,mFACA,0CACA,0CACA,eACA,CACA,CATA,EAUA;AACA,aAXA,qBAWA,IAXA,EAWA,CACA,0CACA,6EACA,2BACA,UACA,CAhBA,EAiBA;AACA,UAlBA,kBAkBA,CAlBA,EAkBA,CACA;AADA,UAGA,OAHA,GAIA,QAJA,CAGA,OAHA,CAKA,mCACA,4BACA,+BACA,CA1BA,EA2BA;AACA,cA5BA,sBA4BA,KA5BA,EA4BA,CACA,gDACA,kCACA;AACA,yEACA,cACA,CACA,CAnCA,EAoCA;AACA,aArCA,qBAqCA,IArCA,EAqCA,CACA,kEACA,CAvCA,EAwCA;AACA,gBAzCA,wBAyCA,KAzCA,EAyCA,CACA,2BACA,CA3CA,EA9BA,E;;;;;;;;;;;;;AC7HA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-swiper/u-swiper.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-swiper.vue?vue&type=template&id=7b038a67&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-swiper.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-swiper.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-swiper.vue?vue&type=style&index=0&id=7b038a67&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
7b038a67
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-swiper/u-swiper.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=template&id=7b038a67&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
},
\n
uSwiperIndicator: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator
\"
*/
\"
uview-ui/components/u-swiper-indicator/u-swiper-indicator.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var g0 = _vm.$u.addUnit(_vm.height)
\n
var g1 = _vm.$u.addUnit(_vm.radius)
\n
var g2 = !_vm.loading ? _vm.$u.addUnit(_vm.height) : null
\n
var g3 = !_vm.loading ? _vm.$u.addUnit(_vm.previousMargin) : null
\n
var g4 = !_vm.loading ? _vm.$u.addUnit(_vm.nextMargin) : null
\n
var l0 = !_vm.loading
\n
? _vm.__map(_vm.list, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s0 = _vm.__get_style([_vm.itemStyle(index)])
\n\n
var m0 = _vm.getItemType(item)
\n
var g5 = m0 ===
\"
image
\"
? _vm.$u.addUnit(_vm.height) : null
\n
var g6 = m0 ===
\"
image
\"
? _vm.$u.addUnit(_vm.radius) : null
\n
var m1 = m0 ===
\"
image
\"
? _vm.getSource(item) : null
\n
var m2 = _vm.getItemType(item)
\n
var g7 = m2 ===
\"
video
\"
? _vm.$u.addUnit(_vm.height) : null
\n
var m3 = m2 ===
\"
video
\"
? _vm.getSource(item) : null
\n
var m4 = m2 ===
\"
video
\"
? _vm.getPoster(item) : null
\n
var g8 =
\n
m2 ===
\"
video
\"\n
? _vm.showTitle && _vm.$u.test.object(item) && item.title
\n
: null
\n
var g9 =
\n
_vm.showTitle &&
\n
_vm.$u.test.object(item) &&
\n
item.title &&
\n
_vm.$u.test.image(_vm.getSource(item))
\n
return {
\n
$orig: $orig,
\n
s0: s0,
\n
m0: m0,
\n
g5: g5,
\n
g6: g6,
\n
m1: m1,
\n
m2: m2,
\n
g7: g7,
\n
m3: m3,
\n
m4: m4,
\n
g8: g8,
\n
g9: g9
\n
}
\n
})
\n
: null
\n\n
var s1 = _vm.__get_style([_vm.$u.addStyle(_vm.indicatorStyle)])
\n\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
g0: g0,
\n
g1: g1,
\n
g2: g2,
\n
g3: g3,
\n
g4: g4,
\n
l0: l0,
\n
s1: s1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-swiper
\"\r\n\t\t
:style=
\"
{
\r\n\t\t\t
backgroundColor: bgColor,
\r\n\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t
borderRadius: $u.addUnit(radius)
\r\n\t\t
}
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-swiper__loading
\"\r\n\t\t\t
v-if=
\"
loading
\"\r\n\t\t
>
\r\n\t\t\t
<u-loading-icon mode=
\"
circle
\"
></u-loading-icon>
\r\n\t\t
</view>
\r\n\t\t
<swiper
\r\n\t\t\t
v-else
\r\n\t\t\t
class=
\"
u-swiper__wrapper
\"\r\n\t\t\t
:style=
\"
{
\r\n\t\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t
}
\"\r\n\t\t\t
@change=
\"
change
\"\r\n\t\t\t
:circular=
\"
circular
\"\r\n\t\t\t
:interval=
\"
interval
\"\r\n\t\t\t
:duration=
\"
duration
\"\r\n\t\t\t
:autoplay=
\"
autoplay
\"\r\n\t\t\t
:current=
\"
current
\"\r\n\t\t\t
:currentItemId=
\"
currentItemId
\"\r\n\t\t\t
:previousMargin=
\"
$u.addUnit(previousMargin)
\"\r\n\t\t\t
:nextMargin=
\"
$u.addUnit(nextMargin)
\"\r\n\t\t\t
:acceleration=
\"
acceleration
\"\r\n\t\t\t
:displayMultipleItems=
\"
displayMultipleItems
\"\r\n\t\t\t
:easingFunction=
\"
easingFunction
\"\r\n\t\t
>
\r\n\t\t\t
<swiper-item
\r\n\t\t\t\t
class=
\"
u-swiper__wrapper__item
\"\r\n\t\t\t\t
v-for=
\"
(item, index) in list
\"\r\n\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper
\"\r\n\t\t\t\t\t
:style=
\"
[itemStyle(index)]
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<!-- 在nvue中,image图片的宽度默认为屏幕宽度,需要通过flex:1撑开,另外必须设置高度才能显示图片 -->
\r\n\t\t\t\t\t
<image
\r\n\t\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper__image
\"\r\n\t\t\t\t\t\t
v-if=
\"
getItemType(item) === 'image'
\"\r\n\t\t\t\t\t\t
:src=
\"
getSource(item)
\"\r\n\t\t\t\t\t\t
:mode=
\"
imgMode
\"\r\n\t\t\t\t\t\t
@tap=
\"
clickHandler(index)
\"\r\n\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(height),
\r\n\t\t\t\t\t\t\t
borderRadius: $u.addUnit(radius)
\r\n\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t
></image>
\r\n\t\t\t\t\t
<video
\r\n\t\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper__video
\"\r\n\t\t\t\t\t\t
v-if=
\"
getItemType(item) === 'video'
\"\r\n\t\t\t\t\t\t
:id=
\"
`video-${index}`
\"\r\n\t\t\t\t\t\t
:enable-progress-gesture=
\"
false
\"\r\n\t\t\t\t\t\t
:src=
\"
getSource(item)
\"\r\n\t\t\t\t\t\t
:poster=
\"
getPoster(item)
\"\r\n\t\t\t\t\t\t
:title=
\"
showTitle && $u.test.object(item) && item.title ? item.title : ''
\"\r\n\t\t\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(height)
\r\n\t\t\t\t\t\t
}
\"\r\n\t\t\t\t\t\t
controls
\r\n\t\t\t\t\t\t
@tap=
\"
clickHandler(index)
\"\r\n\t\t\t\t\t
></video>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
v-if=
\"
showTitle && $u.test.object(item) && item.title && $u.test.image(getSource(item))
\"\r\n\t\t\t\t\t\t
class=
\"
u-swiper__wrapper__item__wrapper__title u-line-1
\"\r\n\t\t\t\t\t
>{{ item.title }}</text>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</swiper-item>
\r\n\t\t
</swiper>
\r\n\t\t
<view class=
\"
u-swiper__indicator
\"
:style=
\"
[$u.addStyle(indicatorStyle)]
\"
>
\r\n\t\t\t
<slot name=
\"
indicator
\"
>
\r\n\t\t\t\t
<u-swiper-indicator
\r\n\t\t\t\t\t
v-if=
\"
!loading && indicator && !showTitle
\"\r\n\t\t\t\t\t
:indicatorActiveColor=
\"
indicatorActiveColor
\"\r\n\t\t\t\t\t
:indicatorInactiveColor=
\"
indicatorInactiveColor
\"\r\n\t\t\t\t\t
:length=
\"
list.length
\"\r\n\t\t\t\t\t
:current=
\"
currentIndex
\"\r\n\t\t\t\t\t
:indicatorMode=
\"
indicatorMode
\"\r\n\t\t\t\t
></u-swiper-indicator>
\r\n\t\t\t
</slot>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Swiper 轮播图
\r\n\t
* @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用,
\r\n\t
* @tutorial https://www.uviewui.com/components/swiper.html
\r\n\t
* @property {Array}
\t\t\t
list
\t\t\t\t\t
轮播图数据
\r\n\t
* @property {Boolean}
\t\t\t
indicator
\t\t\t\t
是否显示面板指示器(默认 false )
\r\n\t
* @property {String}
\t\t\t
indicatorActiveColor
\t
指示器非激活颜色(默认 '#FFFFFF' )
\r\n\t
* @property {String}
\t\t\t
indicatorInactiveColor
\t
指示器的激活颜色(默认 'rgba(255, 255, 255, 0.35)' )
\r\n\t
* @property {String | Object}
\t
indicatorStyle
\t\t\t
指示器样式,可通过bottom,left,right进行定位
\r\n\t
* @property {String}
\t\t\t
indicatorMode
\t\t\t
指示器模式(默认 'line' )
\r\n\t
* @property {Boolean}
\t\t\t
autoplay
\t\t\t\t
是否自动切换(默认 true )
\r\n\t
* @property {String | Number}
\t
current
\t\t\t\t\t
当前所在滑块的 index(默认 0 )
\r\n\t
* @property {String}
\t\t\t
currentItemId
\t\t\t
当前所在滑块的 item-id ,不能与 current 被同时指定
\r\n\t
* @property {String | Number}
\t
interval
\t\t\t\t
滑块自动切换时间间隔(ms)(默认 3000 )
\r\n\t
* @property {String | Number}
\t
duration
\t\t\t\t
滑块切换过程所需时间(ms)(默认 300 )
\r\n\t
* @property {Boolean}
\t\t\t
circular
\t\t\t\t
播放到末尾后是否重新回到开头(默认 false )
\r\n\t
* @property {String | Number}
\t
previousMargin
\t\t\t
前边距,可用于露出前一项的一小部分,nvue和支付宝不支持(默认 0 )
\r\n\t
* @property {String | Number}
\t
nextMargin
\t\t\t\t
后边距,可用于露出后一项的一小部分,nvue和支付宝不支持(默认 0 )
\r\n\t
* @property {Boolean}
\t\t\t
acceleration
\t\t\t
当开启时,会根据滑动速度,连续滑动多屏,支付宝不支持(默认 false )
\r\n\t
* @property {Number}
\t\t\t
displayMultipleItems
\t
同时显示的滑块数量,nvue、支付宝小程序不支持(默认 1 )
\r\n\t
* @property {String}
\t\t\t
easingFunction
\t\t\t
指定swiper切换缓动动画类型, 只对微信小程序有效(默认 'default' )
\r\n\t
* @property {String}
\t\t\t
keyName
\t\t\t\t\t
list数组中指定对象的目标属性名(默认 'url' )
\r\n\t
* @property {String}
\t\t\t
imgMode
\t\t\t\t\t
图片的裁剪模式(默认 'aspectFill' )
\r\n\t
* @property {String | Number}
\t
height
\t\t\t\t\t
组件高度(默认 130 )
\r\n\t
* @property {String}
\t\t\t
bgColor
\t\t\t\t\t
背景颜色(默认
\t
'#f3f4f6' )
\r\n\t
* @property {String | Number}
\t
radius
\t\t\t\t\t
组件圆角,数值或带单位的字符串(默认 4 )
\r\n\t
* @property {Boolean}
\t\t\t
loading
\t\t\t\t\t
是否加载中(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
showTitle
\t\t\t\t
是否显示标题,要求数组对象中有title属性(默认 false )
\r\n\t
* @event {Function(index)}
\t
click
\t
点击轮播图时触发
\t
index:点击了第几张图片,从0开始
\r\n\t
* @event {Function(index)}
\t
change
\t
轮播图切换时触发(自动或者手动切换)
\t
index:切换到了第几张图片,从0开始
\r\n\t
* @example
\t
<u-swiper :list=
\"
list4
\"
keyName=
\"
url
\"
:autoplay=
\"
false
\"
></u-swiper>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-swiper',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
currentIndex: 0
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
current(val, preVal) {
\r\n\t\t\t\t
if(val === preVal) return;
\r\n\t\t\t\t
this.currentIndex = val; // 和上游数据关联上
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
itemStyle() {
\r\n\t\t\t\t
return index => {
\r\n\t\t\t\t\t
const style = {}
\r\n\t\t\t\t\t
// #ifndef APP-NVUE || MP-TOUTIAO
\r\n\t\t\t\t\t
// 左右流出空间的写法不支持nvue和头条
\r\n\t\t\t\t\t
// 只有配置了此二值,才加上对应的圆角,以及缩放
\r\n\t\t\t\t\t
if (this.nextMargin && this.previousMargin) {
\r\n\t\t\t\t\t\t
style.borderRadius = uni.$u.addUnit(this.radius)
\r\n\t\t\t\t\t\t
if (index !== this.currentIndex) style.transform = 'scale(0.92)'
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
// #endif
\r\n\t\t\t\t\t
return style
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n
getItemType(item) {
\r\n
if (typeof item === 'string') return uni.$u.test.video(this.getSource(item)) ? 'video' : 'image'
\r\n
if (typeof item === 'object' && this.keyName) {
\r\n
if (!item.type) return uni.$u.test.video(this.getSource(item)) ? 'video' : 'image'
\r\n
if (item.type === 'image') return 'image'
\r\n
if (item.type === 'video') return 'video'
\r\n
return 'image'
\r\n
}
\r\n
},
\r\n\t\t\t
// 获取目标路径,可能数组中为字符串,对象的形式,额外可指定对象的目标属性名keyName
\r\n\t\t\t
getSource(item) {
\r\n\t\t\t\t
if (typeof item === 'string') return item
\r\n\t\t\t\t
if (typeof item === 'object' && this.keyName) return item[this.keyName]
\r\n\t\t\t\t
else uni.$u.error('请按格式传递列表参数')
\r\n\t\t\t\t
return ''
\r\n\t\t\t
},
\r\n\t\t\t
// 轮播切换事件
\r\n\t\t\t
change(e) {
\r\n\t\t\t\t
// 当前的激活索引
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
current
\r\n\t\t\t\t
} = e.detail
\r\n\t\t\t\t
this.pauseVideo(this.currentIndex)
\r\n\t\t\t\t
this.currentIndex = current
\r\n\t\t\t\t
this.$emit('change', e.detail)
\r\n\t\t\t
},
\r\n\t\t\t
// 切换轮播时,暂停视频播放
\r\n\t\t\t
pauseVideo(index) {
\r\n\t\t\t\t
const lastItem = this.getSource(this.list[index])
\r\n\t\t\t\t
if (uni.$u.test.video(lastItem)) {
\r\n\t\t\t\t\t
// 当视频隐藏时,暂停播放
\r\n\t\t\t\t\t
const video = uni.createVideoContext(`video-${index}`, this)
\r\n\t\t\t\t\t
video.pause()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// 当一个轮播item为视频时,获取它的视频海报
\r\n\t\t\t
getPoster(item) {
\r\n\t\t\t\t
return typeof item === 'object' && item.poster ? item.poster : ''
\r\n\t\t\t
},
\r\n\t\t\t
// 点击某个item
\r\n\t\t\t
clickHandler(index) {
\r\n\t\t\t\t
this.$emit('click', index)
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-swiper {
\r\n\t\t
@include flex;
\r\n\t\t
justify-content: center;
\r\n\t\t
align-items: center;
\r\n\t\t
position: relative;
\r\n\t\t
overflow: hidden;
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
flex: 1;
\r\n\r\n\t\t\t
&__item {
\r\n\t\t\t\t
flex: 1;
\r\n\r\n\t\t\t\t
&__wrapper {
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
position: relative;
\r\n\t\t\t\t\t
overflow: hidden;
\r\n\t\t\t\t\t
transition: transform 0.3s;
\r\n\t\t\t\t\t
flex: 1;
\r\n\r\n\t\t\t\t\t
&__image {
\r\n\t\t\t\t\t\t
flex: 1;
\r\n\t\t\t\t\t
}
\r\n\r\n\t\t\t\t\t
&__video {
\r\n\t\t\t\t\t\t
flex: 1;
\r\n\t\t\t\t\t
}
\r\n\r\n\t\t\t\t\t
&__title {
\r\n\t\t\t\t\t\t
position: absolute;
\r\n\t\t\t\t\t\t
background-color: rgba(0, 0, 0, 0.3);
\r\n\t\t\t\t\t\t
bottom: 0;
\r\n\t\t\t\t\t\t
left: 0;
\r\n\t\t\t\t\t\t
right: 0;
\r\n\t\t\t\t\t\t
font-size: 28rpx;
\r\n\t\t\t\t\t\t
padding: 12rpx 24rpx;
\r\n\t\t\t\t\t\t
color: #FFFFFF;
\r\n\t\t\t\t\t\t
flex: 1;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__indicator {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
bottom: 10px;
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=style&index=0&id=7b038a67&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-swiper.vue?vue&type=style&index=0&id=7b038a67&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029101070
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-tabs/u-tabs.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?b635"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?1532"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?4d19"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?3284"
,
"uni-app:///node_modules/uview-ui/components/u-tabs/u-tabs.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?c2e9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?4559"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsF7oB,gF;AACA;;;;;;;;;;;AAWA;AACA,gBADA;AAEA,wDAFA;AAGA,MAHA,kBAGA;AACA;AACA,qBADA;AAEA,mBAFA;AAGA,wBAHA;AAIA,uBAJA;AAKA;AACA,eADA,EALA;;AAQA,qBARA;AASA,mBATA;;AAWA,GAfA;AAgBA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,QAFA,EAEA,QAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA,OAVA,EADA;;AAaA;AACA,QAdA,kBAcA;AACA;AACA;AACA,OAFA;AAGA,KAlBA,EAhBA;;AAoCA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA,gBADA;AAEA,4BAFA;AAGA;AACA;AACA;AACA;AACA;AACA,OAXA;AAYA,KAdA;AAeA,cAfA,wBAeA;AACA;AACA,KAjBA,EApCA;;AAuDA,SAvDA,qBAuDA;AACA,4BADA;AAEA,GAzDA;AA0DA;AACA,eADA,yBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WADA,CACA,CADA,EACA,iBADA;AAEA,YAFA,CAEA,wDAFA,EAEA,CAFA;AAGA;AACA;AACA;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA,SAFA,EAEA,EAFA;AAGA;AACA,KAzBA;AA0BA;AACA,aA3BA,qBA2BA,CA3BA,EA2BA;;;;;;;;;;AAUA,KArCA;AAsCA;AACA,gBAvCA,wBAuCA,IAvCA,EAuCA,KAvCA,EAuCA;AACA;AACA;AACA,UADA;AAEA,oBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,UADA;AAEA,oBAFA;;AAIA,KArDA;AAsDA,QAtDA,kBAsDA;AACA;AACA;AACA,OAFA;AAGA,KA1DA;AA2DA,iBA3DA,2BA2DA;AACA;AACA;AACA;AACA;AACA,WADA,CACA,CADA,EACA,iBADA;AAEA,YAFA,CAEA;AACA;AACA,OAJA,EAIA,CAJA;AAKA;AACA;AACA;AACA;AACA,WADA,IACA,CADA,GACA,sBADA;AAEA;AACA;AACA;AACA,KA5EA;AA6EA;AACA,UA9EA,oBA8EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SALA;AAMA;AACA;AACA;AACA,OAZA;AAaA,KAhGA;AAiGA;AACA,eAlGA,yBAkGA;AACA;AACA;AACA,OAFA;AAGA,KAtGA;AAuGA;AACA,kBAxGA,4BAwGA;AACA;AACA;AACA,eADA,GACA,IADA;AAEA;AACA,OAJA;AAKA,KA9GA;AA+GA;AACA,aAhHA,qBAgHA,EAhHA,EAgHA,IAhHA,EAgHA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAJA;;;;;;;;;;;;AAgBA,KApIA,EA1DA,E;;;;;;;;;;;;;AClGA;AAAA;AAAA;AAAA;AAAgtC,CAAgB,6qCAAG,EAAC,C;;;;;;;;;;;ACApuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-tabs/u-tabs.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-tabs.vue?vue&type=template&id=0de61367&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-tabs.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-tabs.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
0de61367
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-tabs/u-tabs.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=template&id=0de61367&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uBadge: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-badge/u-badge
\"
*/
\"
uview-ui/components/u-badge/u-badge.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([
\n
_vm.$u.addStyle(_vm.itemStyle),
\n
{
\n
flex: _vm.scrollable ?
\"\"
: 1
\n
}
\n
])
\n\n
var l0 = _vm.__map(_vm.list, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s1 = _vm.__get_style([_vm.textStyle(index)])
\n\n
return {
\n
$orig: $orig,
\n
s1: s1
\n
}
\n
})
\n\n
var g0 = _vm.$u.addUnit(_vm.lineWidth)
\n
var g1 = _vm.$u.addUnit(_vm.lineHeight)
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
l0: l0,
\n
g0: g0,
\n
g1: g1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-tabs
\"
>
\r\n\t\t
<view class=
\"
u-tabs__wrapper
\"
>
\r\n\t\t\t
<slot name=
\"
left
\"
/>
\r\n\t\t\t
<view class=
\"
u-tabs__wrapper__scroll-view-wrapper
\"
>
\r\n\t\t\t\t
<scroll-view
\r\n\t\t\t\t\t
:scroll-x=
\"
scrollable
\"\r\n\t\t\t\t\t
:scroll-left=
\"
scrollLeft
\"\r\n\t\t\t\t\t
scroll-with-animation
\r\n\t\t\t\t\t
class=
\"
u-tabs__wrapper__scroll-view
\"\r\n\t\t\t\t\t
:show-scrollbar=
\"
false
\"\r\n\t\t\t\t\t
ref=
\"
u-tabs__wrapper__scroll-view
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav
\"\r\n\t\t\t\t\t\t
ref=
\"
u-tabs__wrapper__nav
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__item
\"\r\n\t\t\t\t\t\t\t
v-for=
\"
(item, index) in list
\"\r\n\t\t\t\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t\t\t\t
@tap=
\"
clickHandler(item, index)
\"\r\n\t\t\t\t\t\t\t
:ref=
\"
`u-tabs__wrapper__nav__item-${index}`
\"\r\n\t\t\t\t\t\t\t
:style=
\"
[$u.addStyle(itemStyle), {flex: scrollable ? '' : 1}]
\"\r\n\t\t\t\t\t\t\t
:class=
\"
[`u-tabs__wrapper__nav__item-${index}`, item.disabled && 'u-tabs__wrapper__nav__item--disabled']
\"\r\n\t\t\t\t\t\t
>
\r\n\t\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t\t
:class=
\"
[item.disabled && 'u-tabs__wrapper__nav__item__text--disabled']
\"\r\n\t\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__item__text
\"\r\n\t\t\t\t\t\t\t\t
:style=
\"
[textStyle(index)]
\"\r\n\t\t\t\t\t\t\t
>{{ item[keyName] }}</text>
\r\n\t\t\t\t\t\t\t
<u-badge
\r\n\t\t\t\t\t\t\t\t
:show=
\"
!!(item.badge && (item.badge.show || item.badge.isDot || item.badge.value))
\"\r\n\t\t\t\t\t\t\t\t
:isDot=
\"
item.badge && item.badge.isDot || propsBadge.isDot
\"\r\n\t\t\t\t\t\t\t\t
:value=
\"
item.badge && item.badge.value || propsBadge.value
\"\r\n\t\t\t\t\t\t\t\t
:max=
\"
item.badge && item.badge.max || propsBadge.max
\"\r\n\t\t\t\t\t\t\t\t
:type=
\"
item.badge && item.badge.type || propsBadge.type
\"\r\n\t\t\t\t\t\t\t\t
:showZero=
\"
item.badge && item.badge.showZero || propsBadge.showZero
\"\r\n\t\t\t\t\t\t\t\t
:bgColor=
\"
item.badge && item.badge.bgColor || propsBadge.bgColor
\"\r\n\t\t\t\t\t\t\t\t
:color=
\"
item.badge && item.badge.color || propsBadge.color
\"\r\n\t\t\t\t\t\t\t\t
:shape=
\"
item.badge && item.badge.shape || propsBadge.shape
\"\r\n\t\t\t\t\t\t\t\t
:numberType=
\"
item.badge && item.badge.numberType || propsBadge.numberType
\"\r\n\t\t\t\t\t\t\t\t
:inverted=
\"
item.badge && item.badge.inverted || propsBadge.inverted
\"\r\n\t\t\t\t\t\t\t\t
customStyle=
\"
margin-left: 4px;
\"\r\n\t\t\t\t\t\t\t
></u-badge>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t
ref=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t\t\t
width: $u.addUnit(lineWidth),
\r\n\t\t\t\t\t\t\t\t\t
height: $u.addUnit(lineHeight),
\r\n\t\t\t\t\t\t\t\t\t
background: lineColor,
\r\n\t\t\t\t\t\t\t\t\t
backgroundSize: lineBgSize,
\r\n\t\t\t\t\t\t\t\t
}]
\"\r\n\t\t\t\t\t\t
>
\r\n\t\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t\t\t
<!-- #ifndef APP-NVUE -->
\r\n\t\t\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t\t
ref=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t\t\t\t
width: $u.addUnit(lineWidth),
\r\n\t\t\t\t\t\t\t\t\t\t
transform: `translate(${lineOffsetLeft}px)`,
\r\n\t\t\t\t\t\t\t\t\t\t
transitionDuration: `${firstTime ? 0 : duration}ms`,
\r\n\t\t\t\t\t\t\t\t\t\t
height: $u.addUnit(lineHeight),
\r\n\t\t\t\t\t\t\t\t\t\t
background: lineColor,
\r\n\t\t\t\t\t\t\t\t\t\t
backgroundSize: lineBgSize,
\r\n\t\t\t\t\t\t\t\t\t
}]
\"\r\n\t\t\t\t\t\t\t
>
\r\n\t\t\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t
</scroll-view>
\r\n\t\t\t
</view>
\r\n\t\t\t
<slot name=
\"
right
\"
/>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
// #ifdef APP-NVUE
\r\n\t
const animation = uni.requireNativePlugin('animation')
\r\n\t
const dom = uni.requireNativePlugin('dom')
\r\n\t
// #endif
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Tabs 标签
\r\n\t
* @description tabs标签组件,在标签多的时候,可以配置为左右滑动,标签少的时候,可以禁止滑动。 该组件的一个特点是配置为滚动模式时,激活的tab会自动移动到组件的中间位置。
\r\n\t
* @tutorial https://www.uviewui.com/components/tabs.html
\r\n\t
* @property {String | Number}
\t
duration
\t\t\t
滑块移动一次所需的时间,单位秒(默认 200 )
\r\n\t
* @property {String | Number}
\t
swierWidth
\t\t\t
swiper的宽度(默认 '750rpx' )
\r\n\t
* @property {String}
\t
keyName
\t
从`list`元素对象中读取的键名(默认 'name' )
\r\n\t
* @event {Function(index)} change 标签改变时触发 index: 点击了第几个tab,索引从0开始
\r\n\t
* @event {Function(index)} click 点击标签时触发 index: 点击了第几个tab,索引从0开始
\r\n\t
* @example <u-tabs :list=
\"
list
\"
:is-scroll=
\"
false
\"
:current=
\"
current
\"
@change=
\"
change
\"
></u-tabs>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-tabs',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
firstTime: true,
\r\n\t\t\t\t
scrollLeft: 0,
\r\n\t\t\t\t
scrollViewWidth: 0,
\r\n\t\t\t\t
lineOffsetLeft: 0,
\r\n\t\t\t\t
tabsRect: {
\r\n\t\t\t\t\t
left: 0
\r\n\t\t\t\t
},
\r\n\t\t\t\t
innerCurrent: 0,
\r\n\t\t\t\t
moving: false,
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
current: {
\r\n\t\t\t\t
immediate: true,
\r\n\t\t\t\t
handler (newValue, oldValue) {
\r\n\t\t\t\t\t
// 内外部值不相等时,才尝试移动滑块
\r\n\t\t\t\t\t
if (newValue !== this.innerCurrent) {
\r\n\t\t\t\t\t\t
this.innerCurrent = newValue
\r\n\t\t\t\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t\t\t\t
this.resize()
\r\n\t\t\t\t\t\t
})
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// list变化时,重新渲染list各项信息
\r\n\t\t\t
list() {
\r\n\t\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t\t
this.resize()
\r\n\t\t\t\t
})
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
textStyle() {
\r\n\t\t\t\t
return index => {
\r\n\t\t\t\t\t
const style = {}
\r\n\t\t\t\t\t
// 取当期是否激活的样式
\r\n\t\t\t\t\t
const customeStyle = index === this.innerCurrent ? uni.$u.addStyle(this.activeStyle) : uni.$u
\r\n\t\t\t\t\t\t
.addStyle(
\r\n\t\t\t\t\t\t\t
this.inactiveStyle)
\r\n\t\t\t\t\t
// 如果当前菜单被禁用,则加上对应颜色,需要在此做处理,是因为nvue下,无法在style样式中通过!import覆盖标签的内联样式
\r\n\t\t\t\t\t
if (this.list[index].disabled) {
\r\n\t\t\t\t\t\t
style.color = '#c8c9cc'
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
return uni.$u.deepMerge(customeStyle, style)
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
propsBadge() {
\r\n\t\t\t\t
return uni.$u.props.badge
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
async mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
setLineLeft() {
\r\n\t\t\t\t
const tabItem = this.list[this.innerCurrent];
\r\n\t\t\t\t
if (!tabItem) {
\r\n\t\t\t\t\t
return;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 获取滑块该移动的位置
\r\n\t\t\t\t
let lineOffsetLeft = this.list
\r\n\t\t\t\t\t
.slice(0, this.innerCurrent)
\r\n\t\t\t\t\t
.reduce((total, curr) => total + curr.rect.width, 0);
\r\n
// 获取下划线的数值px表示法
\r\n\t\t\t\t
const lineWidth = uni.$u.getPx(this.lineWidth);
\r\n\t\t\t\t
this.lineOffsetLeft = lineOffsetLeft + (tabItem.rect.width - lineWidth) / 2
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
// 第一次移动滑块,无需过渡时间
\r\n\t\t\t\t
this.animation(this.lineOffsetLeft, this.firstTime ? 0 : parseInt(this.duration))
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// 如果是第一次执行此方法,让滑块在初始化时,瞬间滑动到第一个tab item的中间
\r\n\t\t\t\t
// 这里需要一个定时器,因为在非nvue下,是直接通过style绑定过渡时间,需要等其过渡完成后,再设置为false(非第一次移动滑块)
\r\n\t\t\t\t
if (this.firstTime) {
\r\n\t\t\t\t\t
setTimeout(() => {
\r\n\t\t\t\t\t\t
this.firstTime = false
\r\n\t\t\t\t\t
}, 10);
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// nvue下设置滑块的位置
\r\n\t\t\t
animation(x, duration = 0) {
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
const ref = this.$refs['u-tabs__wrapper__nav__line']
\r\n\t\t\t\t
animation.transition(ref, {
\r\n\t\t\t\t\t
styles: {
\r\n\t\t\t\t\t\t
transform: `translateX(${x}px)`
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t\t
duration
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// 点击某一个标签
\r\n\t\t\t
clickHandler(item, index) {
\r\n\t\t\t\t
// 因为标签可能为disabled状态,所以click是一定会发出的,但是change事件是需要可用的状态才发出
\r\n\t\t\t\t
this.$emit('click', {
\r\n\t\t\t\t\t
...item,
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// 如果disabled状态,返回
\r\n\t\t\t\t
if (item.disabled) return
\r\n\t\t\t\t
this.innerCurrent = index
\r\n\t\t\t\t
this.resize()
\r\n\t\t\t\t
this.$emit('change', {
\r\n\t\t\t\t\t
...item,
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
init() {
\r\n\t\t\t\t
uni.$u.sleep().then(() => {
\r\n\t\t\t\t\t
this.resize()
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
setScrollLeft() {
\r\n\t\t\t\t
// 当前活动tab的布局信息,有tab菜单的width和left(为元素左边界到父元素左边界的距离)等信息
\r\n\t\t\t\t
const tabRect = this.list[this.innerCurrent]
\r\n\t\t\t\t
// 累加得到当前item到左边的距离
\r\n\t\t\t\t
const offsetLeft = this.list
\r\n\t\t\t\t\t
.slice(0, this.innerCurrent)
\r\n\t\t\t\t\t
.reduce((total, curr) => {
\r\n\t\t\t\t\t\t
return total + curr.rect.width
\r\n\t\t\t\t\t
}, 0)
\r\n\t\t\t\t
// 此处为屏幕宽度
\r\n\t\t\t\t
const windowWidth = uni.$u.sys().windowWidth
\r\n\t\t\t\t
// 将活动的tabs-item移动到屏幕正中间,实际上是对scroll-view的移动
\r\n\t\t\t\t
let scrollLeft = offsetLeft - (this.tabsRect.width - tabRect.rect.width) / 2 - (windowWidth - this.tabsRect
\r\n\t\t\t\t\t
.right) / 2 + this.tabsRect.left / 2
\r\n\t\t\t\t
// 这里做一个限制,限制scrollLeft的最大值为整个scroll-view宽度减去tabs组件的宽度
\r\n\t\t\t\t
scrollLeft = Math.min(scrollLeft, this.scrollViewWidth - this.tabsRect.width)
\r\n\t\t\t\t
this.scrollLeft = Math.max(0, scrollLeft)
\r\n\t\t\t
},
\r\n\t\t\t
// 获取所有标签的尺寸
\r\n\t\t\t
resize() {
\r\n\t\t\t\t
// 如果不存在list,则不处理
\r\n\t\t\t\t
if(this.list.length === 0) {
\r\n\t\t\t\t\t
return
\r\n\t\t\t\t
}
\r\n\t\t\t\t
Promise.all([this.getTabsRect(), this.getAllItemRect()]).then(([tabsRect, itemRect = []]) => {
\r\n\t\t\t\t\t
this.tabsRect = tabsRect
\r\n\t\t\t\t\t
this.scrollViewWidth = 0
\r\n\t\t\t\t\t
itemRect.map((item, index) => {
\r\n\t\t\t\t\t\t
// 计算scroll-view的宽度,这里
\r\n\t\t\t\t\t\t
this.scrollViewWidth += item.width
\r\n\t\t\t\t\t\t
// 另外计算每一个item的中心点X轴坐标
\r\n\t\t\t\t\t\t
this.list[index].rect = item
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t\t
// 获取了tabs的尺寸之后,设置滑块的位置
\r\n\t\t\t\t\t
this.setLineLeft()
\r\n\t\t\t\t\t
this.setScrollLeft()
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 获取导航菜单的尺寸
\r\n\t\t\t
getTabsRect() {
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
this.queryRect('u-tabs__wrapper__scroll-view').then(size => resolve(size))
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 获取所有标签的尺寸
\r\n\t\t\t
getAllItemRect() {
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
const promiseAllArr = this.list.map((item, index) => this.queryRect(
\r\n\t\t\t\t\t\t
`u-tabs__wrapper__nav__item-${index}`, true))
\r\n\t\t\t\t\t
Promise.all(promiseAllArr).then(sizes => resolve(sizes))
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 获取各个标签的尺寸
\r\n\t\t\t
queryRect(el, item) {
\r\n\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t
// $uGetRect为uView自带的节点查询简化方法,详见文档介绍:https://www.uviewui.com/js/getRect.html
\r\n\t\t\t\t
// 组件内部一般用this.$uGetRect,对外的为uni.$u.getRect,二者功能一致,名称不同
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
this.$uGetRect(`.${el}`).then(size => {
\r\n\t\t\t\t\t\t
resolve(size)
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
// nvue下,使用dom模块查询元素高度
\r\n\t\t\t\t
// 返回一个promise,让调用此方法的主体能使用then回调
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
dom.getComponentRect(item ? this.$refs[el][0] : this.$refs[el], res => {
\r\n\t\t\t\t\t\t
resolve(res.size)
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-tabs {
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
@include flex;
\r\n\t\t\t
align-items: center;
\r\n\r\n\t\t\t
&__scroll-view-wrapper {
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t
overflow: auto hidden;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__scroll-view {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__nav {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
position: relative;
\r\n\r\n\t\t\t\t
&__item {
\r\n\t\t\t\t\t
padding: 0 11px;
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t
justify-content: center;
\r\n\r\n\t\t\t\t\t
&--disabled {
\r\n\t\t\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t\t\t
cursor: not-allowed;
\r\n\t\t\t\t\t\t
/* #endif */
\r\n\t\t\t\t\t
}
\r\n\r\n\t\t\t\t\t
&__text {
\r\n\t\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t\t
color: $u-content-color;
\r\n\r\n\t\t\t\t\t\t
&--disabled {
\r\n\t\t\t\t\t\t\t
color: $u-disabled-color !important;
\r\n\t\t\t\t\t\t
}
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__line {
\r\n\t\t\t\t\t
height: 3px;
\r\n\t\t\t\t\t
background: $u-primary;
\r\n\t\t\t\t\t
width: 30px;
\r\n\t\t\t\t\t
position: absolute;
\r\n\t\t\t\t\t
bottom: 2px;
\r\n\t\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t\t
transition-property: transform;
\r\n\t\t\t\t\t
transition-duration: 300ms;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991658984
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?b635"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?1532"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?4d19"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?3284"
,
"uni-app:///node_modules/uview-ui/components/u-tabs/u-tabs.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?c2e9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-tabs/u-tabs.vue?4559"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsF7oB,gF;AACA;;;;;;;;;;;AAWA;AACA,gBADA;AAEA,wDAFA;AAGA,MAHA,kBAGA;AACA;AACA,qBADA;AAEA,mBAFA;AAGA,wBAHA;AAIA,uBAJA;AAKA;AACA,eADA,EALA;;AAQA,qBARA;AASA,mBATA;;AAWA,GAfA;AAgBA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,QAFA,EAEA,QAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA;AAGA;AACA,OAVA,EADA;;AAaA;AACA,QAdA,kBAcA;AACA;AACA;AACA,OAFA;AAGA,KAlBA,EAhBA;;AAoCA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA,gBADA;AAEA,4BAFA;AAGA;AACA;AACA;AACA;AACA;AACA,OAXA;AAYA,KAdA;AAeA,cAfA,wBAeA;AACA;AACA,KAjBA,EApCA;;AAuDA,SAvDA,qBAuDA;AACA,4BADA;AAEA,GAzDA;AA0DA;AACA,eADA,yBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WADA,CACA,CADA,EACA,iBADA;AAEA,YAFA,CAEA,wDAFA,EAEA,CAFA;AAGA;AACA;AACA;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA,SAFA,EAEA,EAFA;AAGA;AACA,KAzBA;AA0BA;AACA,aA3BA,qBA2BA,CA3BA,EA2BA;;;;;;;;;;AAUA,KArCA;AAsCA;AACA,gBAvCA,wBAuCA,IAvCA,EAuCA,KAvCA,EAuCA;AACA;AACA;AACA,UADA;AAEA,oBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,UADA;AAEA,oBAFA;;AAIA,KArDA;AAsDA,QAtDA,kBAsDA;AACA;AACA;AACA,OAFA;AAGA,KA1DA;AA2DA,iBA3DA,2BA2DA;AACA;AACA;AACA;AACA;AACA,WADA,CACA,CADA,EACA,iBADA;AAEA,YAFA,CAEA;AACA;AACA,OAJA,EAIA,CAJA;AAKA;AACA;AACA;AACA;AACA,WADA,IACA,CADA,GACA,sBADA;AAEA;AACA;AACA;AACA,KA5EA;AA6EA;AACA,UA9EA,oBA8EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SALA;AAMA;AACA;AACA;AACA,OAZA;AAaA,KAhGA;AAiGA;AACA,eAlGA,yBAkGA;AACA;AACA;AACA,OAFA;AAGA,KAtGA;AAuGA;AACA,kBAxGA,4BAwGA;AACA;AACA;AACA,eADA,GACA,IADA;AAEA;AACA,OAJA;AAKA,KA9GA;AA+GA;AACA,aAhHA,qBAgHA,EAhHA,EAgHA,IAhHA,EAgHA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA,OAJA;;;;;;;;;;;;AAgBA,KApIA,EA1DA,E;;;;;;;;;;;;;AClGA;AAAA;AAAA;AAAA;AAAgtC,CAAgB,6qCAAG,EAAC,C;;;;;;;;;;;ACApuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-tabs/u-tabs.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-tabs.vue?vue&type=template&id=0de61367&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-tabs.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-tabs.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
0de61367
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-tabs/u-tabs.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=template&id=0de61367&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uBadge: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-badge/u-badge
\"
*/
\"
uview-ui/components/u-badge/u-badge.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([
\n
_vm.$u.addStyle(_vm.itemStyle),
\n
{
\n
flex: _vm.scrollable ?
\"\"
: 1
\n
}
\n
])
\n\n
var l0 = _vm.__map(_vm.list, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var s1 = _vm.__get_style([_vm.textStyle(index)])
\n\n
return {
\n
$orig: $orig,
\n
s1: s1
\n
}
\n
})
\n\n
var g0 = _vm.$u.addUnit(_vm.lineWidth)
\n
var g1 = _vm.$u.addUnit(_vm.lineHeight)
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
l0: l0,
\n
g0: g0,
\n
g1: g1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-tabs
\"
>
\r\n\t\t
<view class=
\"
u-tabs__wrapper
\"
>
\r\n\t\t\t
<slot name=
\"
left
\"
/>
\r\n\t\t\t
<view class=
\"
u-tabs__wrapper__scroll-view-wrapper
\"
>
\r\n\t\t\t\t
<scroll-view
\r\n\t\t\t\t\t
:scroll-x=
\"
scrollable
\"\r\n\t\t\t\t\t
:scroll-left=
\"
scrollLeft
\"\r\n\t\t\t\t\t
scroll-with-animation
\r\n\t\t\t\t\t
class=
\"
u-tabs__wrapper__scroll-view
\"\r\n\t\t\t\t\t
:show-scrollbar=
\"
false
\"\r\n\t\t\t\t\t
ref=
\"
u-tabs__wrapper__scroll-view
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav
\"\r\n\t\t\t\t\t\t
ref=
\"
u-tabs__wrapper__nav
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__item
\"\r\n\t\t\t\t\t\t\t
v-for=
\"
(item, index) in list
\"\r\n\t\t\t\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t\t\t\t
@tap=
\"
clickHandler(item, index)
\"\r\n\t\t\t\t\t\t\t
:ref=
\"
`u-tabs__wrapper__nav__item-${index}`
\"\r\n\t\t\t\t\t\t\t
:style=
\"
[$u.addStyle(itemStyle), {flex: scrollable ? '' : 1}]
\"\r\n\t\t\t\t\t\t\t
:class=
\"
[`u-tabs__wrapper__nav__item-${index}`, item.disabled && 'u-tabs__wrapper__nav__item--disabled']
\"\r\n\t\t\t\t\t\t
>
\r\n\t\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t\t\t
:class=
\"
[item.disabled && 'u-tabs__wrapper__nav__item__text--disabled']
\"\r\n\t\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__item__text
\"\r\n\t\t\t\t\t\t\t\t
:style=
\"
[textStyle(index)]
\"\r\n\t\t\t\t\t\t\t
>{{ item[keyName] }}</text>
\r\n\t\t\t\t\t\t\t
<u-badge
\r\n\t\t\t\t\t\t\t\t
:show=
\"
!!(item.badge && (item.badge.show || item.badge.isDot || item.badge.value))
\"\r\n\t\t\t\t\t\t\t\t
:isDot=
\"
item.badge && item.badge.isDot || propsBadge.isDot
\"\r\n\t\t\t\t\t\t\t\t
:value=
\"
item.badge && item.badge.value || propsBadge.value
\"\r\n\t\t\t\t\t\t\t\t
:max=
\"
item.badge && item.badge.max || propsBadge.max
\"\r\n\t\t\t\t\t\t\t\t
:type=
\"
item.badge && item.badge.type || propsBadge.type
\"\r\n\t\t\t\t\t\t\t\t
:showZero=
\"
item.badge && item.badge.showZero || propsBadge.showZero
\"\r\n\t\t\t\t\t\t\t\t
:bgColor=
\"
item.badge && item.badge.bgColor || propsBadge.bgColor
\"\r\n\t\t\t\t\t\t\t\t
:color=
\"
item.badge && item.badge.color || propsBadge.color
\"\r\n\t\t\t\t\t\t\t\t
:shape=
\"
item.badge && item.badge.shape || propsBadge.shape
\"\r\n\t\t\t\t\t\t\t\t
:numberType=
\"
item.badge && item.badge.numberType || propsBadge.numberType
\"\r\n\t\t\t\t\t\t\t\t
:inverted=
\"
item.badge && item.badge.inverted || propsBadge.inverted
\"\r\n\t\t\t\t\t\t\t\t
customStyle=
\"
margin-left: 4px;
\"\r\n\t\t\t\t\t\t\t
></u-badge>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t
ref=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t\t\t
width: $u.addUnit(lineWidth),
\r\n\t\t\t\t\t\t\t\t\t
height: $u.addUnit(lineHeight),
\r\n\t\t\t\t\t\t\t\t\t
background: lineColor,
\r\n\t\t\t\t\t\t\t\t\t
backgroundSize: lineBgSize,
\r\n\t\t\t\t\t\t\t\t
}]
\"\r\n\t\t\t\t\t\t
>
\r\n\t\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t\t\t
<!-- #ifndef APP-NVUE -->
\r\n\t\t\t\t\t\t\t
<view
\r\n\t\t\t\t\t\t\t\t
class=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t\t
ref=
\"
u-tabs__wrapper__nav__line
\"\r\n\t\t\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t\t\t\t
width: $u.addUnit(lineWidth),
\r\n\t\t\t\t\t\t\t\t\t\t
transform: `translate(${lineOffsetLeft}px)`,
\r\n\t\t\t\t\t\t\t\t\t\t
transitionDuration: `${firstTime ? 0 : duration}ms`,
\r\n\t\t\t\t\t\t\t\t\t\t
height: $u.addUnit(lineHeight),
\r\n\t\t\t\t\t\t\t\t\t\t
background: lineColor,
\r\n\t\t\t\t\t\t\t\t\t\t
backgroundSize: lineBgSize,
\r\n\t\t\t\t\t\t\t\t\t
}]
\"\r\n\t\t\t\t\t\t\t
>
\r\n\t\t\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t
</scroll-view>
\r\n\t\t\t
</view>
\r\n\t\t\t
<slot name=
\"
right
\"
/>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
// #ifdef APP-NVUE
\r\n\t
const animation = uni.requireNativePlugin('animation')
\r\n\t
const dom = uni.requireNativePlugin('dom')
\r\n\t
// #endif
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Tabs 标签
\r\n\t
* @description tabs标签组件,在标签多的时候,可以配置为左右滑动,标签少的时候,可以禁止滑动。 该组件的一个特点是配置为滚动模式时,激活的tab会自动移动到组件的中间位置。
\r\n\t
* @tutorial https://www.uviewui.com/components/tabs.html
\r\n\t
* @property {String | Number}
\t
duration
\t\t\t
滑块移动一次所需的时间,单位秒(默认 200 )
\r\n\t
* @property {String | Number}
\t
swierWidth
\t\t\t
swiper的宽度(默认 '750rpx' )
\r\n\t
* @property {String}
\t
keyName
\t
从`list`元素对象中读取的键名(默认 'name' )
\r\n\t
* @event {Function(index)} change 标签改变时触发 index: 点击了第几个tab,索引从0开始
\r\n\t
* @event {Function(index)} click 点击标签时触发 index: 点击了第几个tab,索引从0开始
\r\n\t
* @example <u-tabs :list=
\"
list
\"
:is-scroll=
\"
false
\"
:current=
\"
current
\"
@change=
\"
change
\"
></u-tabs>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-tabs',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
firstTime: true,
\r\n\t\t\t\t
scrollLeft: 0,
\r\n\t\t\t\t
scrollViewWidth: 0,
\r\n\t\t\t\t
lineOffsetLeft: 0,
\r\n\t\t\t\t
tabsRect: {
\r\n\t\t\t\t\t
left: 0
\r\n\t\t\t\t
},
\r\n\t\t\t\t
innerCurrent: 0,
\r\n\t\t\t\t
moving: false,
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
current: {
\r\n\t\t\t\t
immediate: true,
\r\n\t\t\t\t
handler (newValue, oldValue) {
\r\n\t\t\t\t\t
// 内外部值不相等时,才尝试移动滑块
\r\n\t\t\t\t\t
if (newValue !== this.innerCurrent) {
\r\n\t\t\t\t\t\t
this.innerCurrent = newValue
\r\n\t\t\t\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t\t\t\t
this.resize()
\r\n\t\t\t\t\t\t
})
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// list变化时,重新渲染list各项信息
\r\n\t\t\t
list() {
\r\n\t\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t\t
this.resize()
\r\n\t\t\t\t
})
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
computed: {
\r\n\t\t\t
textStyle() {
\r\n\t\t\t\t
return index => {
\r\n\t\t\t\t\t
const style = {}
\r\n\t\t\t\t\t
// 取当期是否激活的样式
\r\n\t\t\t\t\t
const customeStyle = index === this.innerCurrent ? uni.$u.addStyle(this.activeStyle) : uni.$u
\r\n\t\t\t\t\t\t
.addStyle(
\r\n\t\t\t\t\t\t\t
this.inactiveStyle)
\r\n\t\t\t\t\t
// 如果当前菜单被禁用,则加上对应颜色,需要在此做处理,是因为nvue下,无法在style样式中通过!import覆盖标签的内联样式
\r\n\t\t\t\t\t
if (this.list[index].disabled) {
\r\n\t\t\t\t\t\t
style.color = '#c8c9cc'
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t\t
return uni.$u.deepMerge(customeStyle, style)
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
propsBadge() {
\r\n\t\t\t\t
return uni.$u.props.badge
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
async mounted() {
\r\n\t\t\t
this.init()
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
setLineLeft() {
\r\n\t\t\t\t
const tabItem = this.list[this.innerCurrent];
\r\n\t\t\t\t
if (!tabItem) {
\r\n\t\t\t\t\t
return;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
// 获取滑块该移动的位置
\r\n\t\t\t\t
let lineOffsetLeft = this.list
\r\n\t\t\t\t\t
.slice(0, this.innerCurrent)
\r\n\t\t\t\t\t
.reduce((total, curr) => total + curr.rect.width, 0);
\r\n
// 获取下划线的数值px表示法
\r\n\t\t\t\t
const lineWidth = uni.$u.getPx(this.lineWidth);
\r\n\t\t\t\t
this.lineOffsetLeft = lineOffsetLeft + (tabItem.rect.width - lineWidth) / 2
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
// 第一次移动滑块,无需过渡时间
\r\n\t\t\t\t
this.animation(this.lineOffsetLeft, this.firstTime ? 0 : parseInt(this.duration))
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// 如果是第一次执行此方法,让滑块在初始化时,瞬间滑动到第一个tab item的中间
\r\n\t\t\t\t
// 这里需要一个定时器,因为在非nvue下,是直接通过style绑定过渡时间,需要等其过渡完成后,再设置为false(非第一次移动滑块)
\r\n\t\t\t\t
if (this.firstTime) {
\r\n\t\t\t\t\t
setTimeout(() => {
\r\n\t\t\t\t\t\t
this.firstTime = false
\r\n\t\t\t\t\t
}, 10);
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
// nvue下设置滑块的位置
\r\n\t\t\t
animation(x, duration = 0) {
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
const ref = this.$refs['u-tabs__wrapper__nav__line']
\r\n\t\t\t\t
animation.transition(ref, {
\r\n\t\t\t\t\t
styles: {
\r\n\t\t\t\t\t\t
transform: `translateX(${x}px)`
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t\t
duration
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// 点击某一个标签
\r\n\t\t\t
clickHandler(item, index) {
\r\n\t\t\t\t
// 因为标签可能为disabled状态,所以click是一定会发出的,但是change事件是需要可用的状态才发出
\r\n\t\t\t\t
this.$emit('click', {
\r\n\t\t\t\t\t
...item,
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// 如果disabled状态,返回
\r\n\t\t\t\t
if (item.disabled) return
\r\n\t\t\t\t
this.innerCurrent = index
\r\n\t\t\t\t
this.resize()
\r\n\t\t\t\t
this.$emit('change', {
\r\n\t\t\t\t\t
...item,
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
init() {
\r\n\t\t\t\t
uni.$u.sleep().then(() => {
\r\n\t\t\t\t\t
this.resize()
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
setScrollLeft() {
\r\n\t\t\t\t
// 当前活动tab的布局信息,有tab菜单的width和left(为元素左边界到父元素左边界的距离)等信息
\r\n\t\t\t\t
const tabRect = this.list[this.innerCurrent]
\r\n\t\t\t\t
// 累加得到当前item到左边的距离
\r\n\t\t\t\t
const offsetLeft = this.list
\r\n\t\t\t\t\t
.slice(0, this.innerCurrent)
\r\n\t\t\t\t\t
.reduce((total, curr) => {
\r\n\t\t\t\t\t\t
return total + curr.rect.width
\r\n\t\t\t\t\t
}, 0)
\r\n\t\t\t\t
// 此处为屏幕宽度
\r\n\t\t\t\t
const windowWidth = uni.$u.sys().windowWidth
\r\n\t\t\t\t
// 将活动的tabs-item移动到屏幕正中间,实际上是对scroll-view的移动
\r\n\t\t\t\t
let scrollLeft = offsetLeft - (this.tabsRect.width - tabRect.rect.width) / 2 - (windowWidth - this.tabsRect
\r\n\t\t\t\t\t
.right) / 2 + this.tabsRect.left / 2
\r\n\t\t\t\t
// 这里做一个限制,限制scrollLeft的最大值为整个scroll-view宽度减去tabs组件的宽度
\r\n\t\t\t\t
scrollLeft = Math.min(scrollLeft, this.scrollViewWidth - this.tabsRect.width)
\r\n\t\t\t\t
this.scrollLeft = Math.max(0, scrollLeft)
\r\n\t\t\t
},
\r\n\t\t\t
// 获取所有标签的尺寸
\r\n\t\t\t
resize() {
\r\n\t\t\t\t
// 如果不存在list,则不处理
\r\n\t\t\t\t
if(this.list.length === 0) {
\r\n\t\t\t\t\t
return
\r\n\t\t\t\t
}
\r\n\t\t\t\t
Promise.all([this.getTabsRect(), this.getAllItemRect()]).then(([tabsRect, itemRect = []]) => {
\r\n\t\t\t\t\t
this.tabsRect = tabsRect
\r\n\t\t\t\t\t
this.scrollViewWidth = 0
\r\n\t\t\t\t\t
itemRect.map((item, index) => {
\r\n\t\t\t\t\t\t
// 计算scroll-view的宽度,这里
\r\n\t\t\t\t\t\t
this.scrollViewWidth += item.width
\r\n\t\t\t\t\t\t
// 另外计算每一个item的中心点X轴坐标
\r\n\t\t\t\t\t\t
this.list[index].rect = item
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t\t
// 获取了tabs的尺寸之后,设置滑块的位置
\r\n\t\t\t\t\t
this.setLineLeft()
\r\n\t\t\t\t\t
this.setScrollLeft()
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 获取导航菜单的尺寸
\r\n\t\t\t
getTabsRect() {
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
this.queryRect('u-tabs__wrapper__scroll-view').then(size => resolve(size))
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 获取所有标签的尺寸
\r\n\t\t\t
getAllItemRect() {
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
const promiseAllArr = this.list.map((item, index) => this.queryRect(
\r\n\t\t\t\t\t\t
`u-tabs__wrapper__nav__item-${index}`, true))
\r\n\t\t\t\t\t
Promise.all(promiseAllArr).then(sizes => resolve(sizes))
\r\n\t\t\t\t
})
\r\n\t\t\t
},
\r\n\t\t\t
// 获取各个标签的尺寸
\r\n\t\t\t
queryRect(el, item) {
\r\n\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t
// $uGetRect为uView自带的节点查询简化方法,详见文档介绍:https://www.uviewui.com/js/getRect.html
\r\n\t\t\t\t
// 组件内部一般用this.$uGetRect,对外的为uni.$u.getRect,二者功能一致,名称不同
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
this.$uGetRect(`.${el}`).then(size => {
\r\n\t\t\t\t\t\t
resolve(size)
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
// nvue下,使用dom模块查询元素高度
\r\n\t\t\t\t
// 返回一个promise,让调用此方法的主体能使用then回调
\r\n\t\t\t\t
return new Promise(resolve => {
\r\n\t\t\t\t\t
dom.getComponentRect(item ? this.$refs[el][0] : this.$refs[el], res => {
\r\n\t\t\t\t\t\t
resolve(res.size)
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
})
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-tabs {
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
@include flex;
\r\n\t\t\t
align-items: center;
\r\n\r\n\t\t\t
&__scroll-view-wrapper {
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t
overflow: auto hidden;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__scroll-view {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
flex: 1;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__nav {
\r\n\t\t\t\t
@include flex;
\r\n\t\t\t\t
position: relative;
\r\n\r\n\t\t\t\t
&__item {
\r\n\t\t\t\t\t
padding: 0 11px;
\r\n\t\t\t\t\t
@include flex;
\r\n\t\t\t\t\t
align-items: center;
\r\n\t\t\t\t\t
justify-content: center;
\r\n\r\n\t\t\t\t\t
&--disabled {
\r\n\t\t\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t\t\t
cursor: not-allowed;
\r\n\t\t\t\t\t\t
/* #endif */
\r\n\t\t\t\t\t
}
\r\n\r\n\t\t\t\t\t
&__text {
\r\n\t\t\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t\t\t
color: $u-content-color;
\r\n\r\n\t\t\t\t\t\t
&--disabled {
\r\n\t\t\t\t\t\t\t
color: $u-disabled-color !important;
\r\n\t\t\t\t\t\t
}
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__line {
\r\n\t\t\t\t\t
height: 3px;
\r\n\t\t\t\t\t
background: $u-primary;
\r\n\t\t\t\t\t
width: 30px;
\r\n\t\t\t\t\t
position: absolute;
\r\n\t\t\t\t\t
bottom: 2px;
\r\n\t\t\t\t\t
border-radius: 100px;
\r\n\t\t\t\t\t
transition-property: transform;
\r\n\t\t\t\t\t
transition-duration: 300ms;
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-tabs.vue?vue&type=style&index=0&id=0de61367&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029101328
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-textarea/u-textarea.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?6bf8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?f097"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?5a8b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?1382"
,
"uni-app:///node_modules/uview-ui/components/u-textarea/u-textarea.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?6215"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?7fac"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAA6nB,CAAgB,kpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0CjpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAoCA,EACA,kBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA,oBAFA,EAGA;AACA,oBAJA,EAKA;AACA,uBANA,EAOA;AACA,4BARA,EASA;AACA,oEAVA,GAYA,CAhBA,EAiBA,SACA,SACA,eADA,EAEA,OAFA,mBAEA,MAFA,EAEA,MAFA,EAEA,CACA,yBAUA,yBAXA,CAYA;AACA,qCACA,CAhBA,EADA,EAjBA,EAqCA,YACA;AACA,iBAFA,2BAEA,CACA,iBACA,MADA,GACA,IADA,CACA,MADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,KADA,GACA,IADA,CACA,KADA,CAEA,0BACA,4DADA,EAEA,wBACA,0BACA,iBADA;AAEA,6BAFA,EADA;;AAKA;AACA;AACA,KAdA;AAeA;AACA,iBAhBA,2BAgBA;AACA;;;;;;;;;;AAUA;AACA,KA5BA,EArCA;;AAmEA;AACA;AACA,gBAFA,wBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA,WALA,mBAKA,CALA,EAKA;AACA;AACA,KAPA;AAQA,UARA,kBAQA,CARA,EAQA;AACA;AACA;AACA;AACA,KAZA;AAaA,gBAbA,wBAaA,CAbA,EAaA;AACA;AACA,KAfA;AAgBA,WAhBA,mBAgBA,CAhBA,EAgBA;AACA,oBADA,mBACA,KADA,CACA,KADA,2BACA,EADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KA3BA;AA4BA;AACA,eA7BA,yBA6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAPA;AAQA,KAvCA;AAwCA,aAxCA,qBAwCA,CAxCA,EAwCA;AACA;AACA,KA1CA;AA2CA,0BA3CA,kCA2CA,CA3CA,EA2CA;AACA;AACA,KA7CA,EAnEA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAotC,CAAgB,irCAAG,EAAC,C;;;;;;;;;;;ACAxuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-textarea/u-textarea.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-textarea.vue?vue&type=template&id=81cd9d32&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-textarea.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-textarea.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-textarea.vue?vue&type=style&index=0&id=81cd9d32&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
81cd9d32
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-textarea/u-textarea.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=template&id=81cd9d32&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.textareaStyle])
\n\n
var g0 = _vm.$u.addUnit(_vm.height)
\n
var g1 = _vm.$u.addStyle(_vm.placeholderStyle,
\"
string
\"
)
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
g0: g0,
\n
g1: g1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n
<view class=
\"
u-textarea
\"
:class=
\"
textareaClass
\"
:style=
\"
[textareaStyle]
\"
>
\r\n
<textarea
\r\n
class=
\"
u-textarea__field
\"\r\n
:value=
\"
innerValue
\"\r\n
:style=
\"
{ height: $u.addUnit(height) }
\"\r\n
:placeholder=
\"
placeholder
\"\r\n
:placeholder-style=
\"
$u.addStyle(placeholderStyle, 'string')
\"\r\n
:placeholder-class=
\"
placeholderClass
\"\r\n
:disabled=
\"
disabled
\"\r\n
:focus=
\"
focus
\"\r\n
:autoHeight=
\"
autoHeight
\"\r\n
:fixed=
\"
fixed
\"\r\n
:cursorSpacing=
\"
cursorSpacing
\"\r\n
:cursor=
\"
cursor
\"\r\n
:showConfirmBar=
\"
showConfirmBar
\"\r\n
:selectionStart=
\"
selectionStart
\"\r\n
:selectionEnd=
\"
selectionEnd
\"\r\n
:adjustPosition=
\"
adjustPosition
\"\r\n
:disableDefaultPadding=
\"
disableDefaultPadding
\"\r\n
:holdKeyboard=
\"
holdKeyboard
\"\r\n
:maxlength=
\"
maxlength
\"\r\n
:confirmType=
\"
confirmType
\"\r\n
@focus=
\"
onFocus
\"\r\n
@blur=
\"
onBlur
\"\r\n
@linechange=
\"
onLinechange
\"\r\n
@input=
\"
onInput
\"\r\n
@confirm=
\"
onConfirm
\"\r\n
@keyboardheightchange=
\"
onKeyboardheightchange
\"\r\n
></textarea>
\r\n
<text
\r\n
class=
\"
u-textarea__count
\"\r\n
:style=
\"
{
\r\n
'background-color': disabled ? 'transparent' : '#fff',
\r\n
}
\"\r\n
v-if=
\"
count
\"\r\n
>{{ innerValue.length }}/{{ maxlength }}</text
\r\n
>
\r\n
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n
import props from
\"
./props.js
\"
;
\r\n
/**
\r\n
* Textarea 文本域
\r\n
* @description 文本域此组件满足了可能出现的表单信息补充,编辑等实际逻辑的功能,内置了字数校验等
\r\n
* @tutorial https://www.uviewui.com/components/textarea.html
\r\n
*
\r\n
* @property {String | Number}
\t\t
value
\t\t\t\t\t
输入框的内容
\r\n
* @property {String | Number}
\t\t
placeholder
\t\t\t\t
输入框为空时占位符
\r\n
* @property {String}
\t\t\t
placeholderClass
\t\t
指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' )
\r\n
* @property {String | Object}
\t
placeholderStyle
\t\t
指定placeholder的样式,字符串/对象形式,如
\"
color: red;
\"\r\n
* @property {String | Number}
\t\t
height
\t\t\t\t\t
输入框高度(默认 70 )
\r\n
* @property {String}
\t\t\t\t
confirmType
\t\t\t\t
设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效(默认 'done' )
\r\n
* @property {Boolean}
\t\t\t\t
disabled
\t\t\t\t
是否禁用(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
count
\t\t\t\t\t
是否显示统计字数(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
focus
\t\t\t\t\t
是否自动获取焦点,nvue不支持,H5取决于浏览器的实现(默认 false )
\r\n
* @property {Boolean | Function}
\t
autoHeight
\t\t\t\t
是否自动增加高度(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
fixed
\t\t\t\t\t
如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true(默认 false )
\r\n
* @property {Number}
\t\t\t\t
cursorSpacing
\t\t\t
指定光标与键盘的距离(默认 0 )
\r\n
* @property {String | Number}
\t\t
cursor
\t\t\t\t\t
指定focus时的光标位置
\r\n
* @property {Function}
\t\t\t
formatter
\t\t\t
内容式化函数
\r\n
* @property {Boolean}
\t\t\t\t
showConfirmBar
\t\t\t
是否显示键盘上方带有”完成“按钮那一栏,(默认 true )
\r\n
* @property {Number}
\t\t\t\t
selectionStart
\t\t\t
光标起始位置,自动聚焦时有效,需与selection-end搭配使用,(默认 -1 )
\r\n
* @property {Number | Number}
\t\t
selectionEnd
\t\t\t
光标结束位置,自动聚焦时有效,需与selection-start搭配使用(默认 -1 )
\r\n
* @property {Boolean}
\t\t\t\t
adjustPosition
\t\t\t
键盘弹起时,是否自动上推页面(默认 true )
\r\n
* @property {Boolean | Number}
\t\t
disableDefaultPadding
\t
是否去掉 iOS 下的默认内边距,只微信小程序有效(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
holdKeyboard
\t\t\t
focus时,点击页面的时候不收起键盘,只微信小程序有效(默认 false )
\r\n
* @property {String | Number}
\t\t
maxlength
\t\t\t\t
最大输入长度,设置为 -1 的时候不限制最大长度(默认 140 )
\r\n
* @property {String}
\t\t\t\t
border
\t\t\t\t\t
边框类型,surround-四周边框,none-无边框,bottom-底部边框(默认 'surround' )
\r\n
*
\r\n
* @event {Function(e)} focus
\t\t\t\t\t
输入框聚焦时触发,event.detail = { value, height },height 为键盘高度
\r\n
* @event {Function(e)} blur
\t\t\t\t\t
输入框失去焦点时触发,event.detail = {value, cursor}
\r\n
* @event {Function(e)} linechange
\t\t\t\t
输入框行数变化时调用,event.detail = {height: 0, heightRpx: 0, lineCount: 0}
\r\n
* @event {Function(e)} input
\t\t\t\t\t
当键盘输入时,触发 input 事件
\r\n
* @event {Function(e)} confirm
\t\t\t\t\t
点击完成时, 触发 confirm 事件
\r\n
* @event {Function(e)} keyboardheightchange
\t
键盘高度发生变化的时候触发此事件
\r\n
* @example <u--textarea v-model=
\"
value1
\"
placeholder=
\"
请输入内容
\"
></u--textarea>
\r\n
*/
\r\n
export default {
\r\n
name:
\"
u-textarea
\"
,
\r\n
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t
data() {
\r\n\t\t
return {
\r\n\t\t\t
// 输入框的值
\r\n\t\t\t
innerValue:
\"\"
,
\r\n\t\t\t
// 是否处于获得焦点状态
\r\n\t\t\t
focused: false,
\r\n\t\t\t
// value是否第一次变化,在watch中,由于加入immediate属性,会在第一次触发,此时不应该认为value发生了变化
\r\n\t\t\t
firstChange: true,
\r\n\t\t\t
// value绑定值的变化是由内部还是外部引起的
\r\n\t\t\t
changeFromInner: false,
\r\n\t\t\t
// 过滤处理方法
\r\n\t\t\t
innerFormatter: value => value
\r\n\t\t
}
\r\n\t
},
\r\n\t
watch: {
\r\n\t
value: {
\r\n\t
immediate: true,
\r\n\t
handler(newVal, oldVal) {
\r\n\t
this.innerValue = newVal;
\r\n\t
/* #ifdef H5 */
\r\n\t
// 在H5中,外部value变化后,修改input中的值,不会触发@input事件,此时手动调用值变化方法
\r\n\t
if (
\r\n\t
this.firstChange === false &&
\r\n\t
this.changeFromInner === false
\r\n\t
) {
\r\n\t
this.valueChange();
\r\n\t
}
\r\n\t
/* #endif */
\r\n\t
this.firstChange = false;
\r\n\t
// 重置changeFromInner的值为false,标识下一次引起默认为外部引起的
\r\n\t
this.changeFromInner = false;
\r\n\t
},
\r\n\t
},
\r\n\t
},
\r\n
computed: {
\r\n
// 组件的类名
\r\n
textareaClass() {
\r\n
let classes = [],
\r\n
{ border, disabled, shape } = this;
\r\n
border ===
\"
surround
\"
&&
\r\n
(classes = classes.concat([
\"
u-border
\"
,
\"
u-textarea--radius
\"
]));
\r\n
border ===
\"
bottom
\"
&&
\r\n
(classes = classes.concat([
\r\n
\"
u-border-bottom
\"
,
\r\n
\"
u-textarea--no-radius
\"
,
\r\n
]));
\r\n
disabled && classes.push(
\"
u-textarea--disabled
\"
);
\r\n
return classes.join(
\"
\"
);
\r\n
},
\r\n
// 组件的样式
\r\n
textareaStyle() {
\r\n
const style = {};
\r\n
// #ifdef APP-NVUE
\r\n
// 由于textarea在安卓nvue上的差异性,需要额外再调整其内边距
\r\n
if (uni.$u.os() ===
\"
android
\"
) {
\r\n
style.paddingTop =
\"
6px
\"
;
\r\n
style.paddingLeft =
\"
9px
\"
;
\r\n
style.paddingBottom =
\"
3px
\"
;
\r\n
style.paddingRight =
\"
6px
\"
;
\r\n
}
\r\n
// #endif
\r\n
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));
\r\n
},
\r\n
},
\r\n
methods: {
\r\n\t\t
// 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用
\r\n\t\t
setFormatter(e) {
\r\n\t\t\t
this.innerFormatter = e
\r\n\t\t
},
\r\n
onFocus(e) {
\r\n
this.$emit(
\"
focus
\"
, e);
\r\n
},
\r\n
onBlur(e) {
\r\n
this.$emit(
\"
blur
\"
, e);
\r\n
// 尝试调用u-form的验证方法
\r\n
uni.$u.formValidate(this,
\"
blur
\"
);
\r\n
},
\r\n
onLinechange(e) {
\r\n
this.$emit(
\"
linechange
\"
, e);
\r\n
},
\r\n
onInput(e) {
\r\n\t\t\t
let { value =
\"\"
} = e.detail || {};
\r\n\t\t\t
// 格式化过滤方法
\r\n\t\t\t
const formatter = this.formatter || this.innerFormatter
\r\n\t\t\t
const formatValue = formatter(value)
\r\n\t\t\t
// 为了避免props的单向数据流特性,需要先将innerValue值设置为当前值,再在$nextTick中重新赋予设置后的值才有效
\r\n\t\t\t
this.innerValue = value
\r\n\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t
this.innerValue = formatValue;
\r\n\t\t\t\t
this.valueChange();
\r\n\t\t\t
})
\r\n
},
\r\n\t\t
// 内容发生变化,进行处理
\r\n\t\t
valueChange() {
\r\n\t\t
const value = this.innerValue;
\r\n\t\t
this.$nextTick(() => {
\r\n\t\t
this.$emit(
\"
input
\"
, value);
\r\n\t\t
// 标识value值的变化是由内部引起的
\r\n\t\t
this.changeFromInner = true;
\r\n\t\t
this.$emit(
\"
change
\"
, value);
\r\n\t\t
// 尝试调用u-form的验证方法
\r\n\t\t
uni.$u.formValidate(this,
\"
change
\"
);
\r\n\t\t
});
\r\n\t\t
},
\r\n
onConfirm(e) {
\r\n
this.$emit(
\"
confirm
\"
, e);
\r\n
},
\r\n
onKeyboardheightchange(e) {
\r\n
this.$emit(
\"
keyboardheightchange
\"
, e);
\r\n
},
\r\n
},
\r\n
};
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n
.u-textarea {
\r\n
border-radius: 4px;
\r\n
background-color: #fff;
\r\n
position: relative;
\r\n
@include flex;
\r\n
flex: 1;
\r\n\t
padding: 9px;
\r\n\r\n
&--radius {
\r\n
border-radius: 4px;
\r\n
}
\r\n\r\n
&--no-radius {
\r\n
border-radius: 0;
\r\n
}
\r\n\r\n
&--disabled {
\r\n
background-color: #f5f7fa;
\r\n
}
\r\n\r\n
&__field {
\r\n
flex: 1;
\r\n
font-size: 15px;
\r\n
color: $u-content-color;
\r\n\t\t
width: 100%;
\r\n
}
\r\n\r\n
&__count {
\r\n
position: absolute;
\r\n
right: 5px;
\r\n
bottom: 2px;
\r\n
font-size: 12px;
\r\n
color: $u-tips-color;
\r\n
background-color: #ffffff;
\r\n
padding: 1px 4px;
\r\n
}
\r\n
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=style&index=0&id=81cd9d32&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=style&index=0&id=81cd9d32&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659134
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?6bf8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?f097"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?5a8b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?1382"
,
"uni-app:///node_modules/uview-ui/components/u-textarea/u-textarea.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?6215"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-textarea/u-textarea.vue?7fac"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAA6nB,CAAgB,kpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0CjpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAoCA,EACA,kBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA,oBAFA,EAGA;AACA,oBAJA,EAKA;AACA,uBANA,EAOA;AACA,4BARA,EASA;AACA,oEAVA,GAYA,CAhBA,EAiBA,SACA,SACA,eADA,EAEA,OAFA,mBAEA,MAFA,EAEA,MAFA,EAEA,CACA,yBAUA,yBAXA,CAYA;AACA,qCACA,CAhBA,EADA,EAjBA,EAqCA,YACA;AACA,iBAFA,2BAEA,CACA,iBACA,MADA,GACA,IADA,CACA,MADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,KADA,GACA,IADA,CACA,KADA,CAEA,0BACA,4DADA,EAEA,wBACA,0BACA,iBADA;AAEA,6BAFA,EADA;;AAKA;AACA;AACA,KAdA;AAeA;AACA,iBAhBA,2BAgBA;AACA;;;;;;;;;;AAUA;AACA,KA5BA,EArCA;;AAmEA;AACA;AACA,gBAFA,wBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA,WALA,mBAKA,CALA,EAKA;AACA;AACA,KAPA;AAQA,UARA,kBAQA,CARA,EAQA;AACA;AACA;AACA;AACA,KAZA;AAaA,gBAbA,wBAaA,CAbA,EAaA;AACA;AACA,KAfA;AAgBA,WAhBA,mBAgBA,CAhBA,EAgBA;AACA,oBADA,mBACA,KADA,CACA,KADA,2BACA,EADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KA3BA;AA4BA;AACA,eA7BA,yBA6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAPA;AAQA,KAvCA;AAwCA,aAxCA,qBAwCA,CAxCA,EAwCA;AACA;AACA,KA1CA;AA2CA,0BA3CA,kCA2CA,CA3CA,EA2CA;AACA;AACA,KA7CA,EAnEA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAotC,CAAgB,irCAAG,EAAC,C;;;;;;;;;;;ACAxuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-textarea/u-textarea.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-textarea.vue?vue&type=template&id=81cd9d32&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-textarea.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-textarea.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-textarea.vue?vue&type=style&index=0&id=81cd9d32&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
81cd9d32
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-textarea/u-textarea.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=template&id=81cd9d32&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.textareaStyle])
\n\n
var g0 = _vm.$u.addUnit(_vm.height)
\n
var g1 = _vm.$u.addStyle(_vm.placeholderStyle,
\"
string
\"
)
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
g0: g0,
\n
g1: g1
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n
<view class=
\"
u-textarea
\"
:class=
\"
textareaClass
\"
:style=
\"
[textareaStyle]
\"
>
\r\n
<textarea
\r\n
class=
\"
u-textarea__field
\"\r\n
:value=
\"
innerValue
\"\r\n
:style=
\"
{ height: $u.addUnit(height) }
\"\r\n
:placeholder=
\"
placeholder
\"\r\n
:placeholder-style=
\"
$u.addStyle(placeholderStyle, 'string')
\"\r\n
:placeholder-class=
\"
placeholderClass
\"\r\n
:disabled=
\"
disabled
\"\r\n
:focus=
\"
focus
\"\r\n
:autoHeight=
\"
autoHeight
\"\r\n
:fixed=
\"
fixed
\"\r\n
:cursorSpacing=
\"
cursorSpacing
\"\r\n
:cursor=
\"
cursor
\"\r\n
:showConfirmBar=
\"
showConfirmBar
\"\r\n
:selectionStart=
\"
selectionStart
\"\r\n
:selectionEnd=
\"
selectionEnd
\"\r\n
:adjustPosition=
\"
adjustPosition
\"\r\n
:disableDefaultPadding=
\"
disableDefaultPadding
\"\r\n
:holdKeyboard=
\"
holdKeyboard
\"\r\n
:maxlength=
\"
maxlength
\"\r\n
:confirmType=
\"
confirmType
\"\r\n
@focus=
\"
onFocus
\"\r\n
@blur=
\"
onBlur
\"\r\n
@linechange=
\"
onLinechange
\"\r\n
@input=
\"
onInput
\"\r\n
@confirm=
\"
onConfirm
\"\r\n
@keyboardheightchange=
\"
onKeyboardheightchange
\"\r\n
></textarea>
\r\n
<text
\r\n
class=
\"
u-textarea__count
\"\r\n
:style=
\"
{
\r\n
'background-color': disabled ? 'transparent' : '#fff',
\r\n
}
\"\r\n
v-if=
\"
count
\"\r\n
>{{ innerValue.length }}/{{ maxlength }}</text
\r\n
>
\r\n
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n
import props from
\"
./props.js
\"
;
\r\n
/**
\r\n
* Textarea 文本域
\r\n
* @description 文本域此组件满足了可能出现的表单信息补充,编辑等实际逻辑的功能,内置了字数校验等
\r\n
* @tutorial https://www.uviewui.com/components/textarea.html
\r\n
*
\r\n
* @property {String | Number}
\t\t
value
\t\t\t\t\t
输入框的内容
\r\n
* @property {String | Number}
\t\t
placeholder
\t\t\t\t
输入框为空时占位符
\r\n
* @property {String}
\t\t\t
placeholderClass
\t\t
指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' )
\r\n
* @property {String | Object}
\t
placeholderStyle
\t\t
指定placeholder的样式,字符串/对象形式,如
\"
color: red;
\"\r\n
* @property {String | Number}
\t\t
height
\t\t\t\t\t
输入框高度(默认 70 )
\r\n
* @property {String}
\t\t\t\t
confirmType
\t\t\t\t
设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效(默认 'done' )
\r\n
* @property {Boolean}
\t\t\t\t
disabled
\t\t\t\t
是否禁用(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
count
\t\t\t\t\t
是否显示统计字数(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
focus
\t\t\t\t\t
是否自动获取焦点,nvue不支持,H5取决于浏览器的实现(默认 false )
\r\n
* @property {Boolean | Function}
\t
autoHeight
\t\t\t\t
是否自动增加高度(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
fixed
\t\t\t\t\t
如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true(默认 false )
\r\n
* @property {Number}
\t\t\t\t
cursorSpacing
\t\t\t
指定光标与键盘的距离(默认 0 )
\r\n
* @property {String | Number}
\t\t
cursor
\t\t\t\t\t
指定focus时的光标位置
\r\n
* @property {Function}
\t\t\t
formatter
\t\t\t
内容式化函数
\r\n
* @property {Boolean}
\t\t\t\t
showConfirmBar
\t\t\t
是否显示键盘上方带有”完成“按钮那一栏,(默认 true )
\r\n
* @property {Number}
\t\t\t\t
selectionStart
\t\t\t
光标起始位置,自动聚焦时有效,需与selection-end搭配使用,(默认 -1 )
\r\n
* @property {Number | Number}
\t\t
selectionEnd
\t\t\t
光标结束位置,自动聚焦时有效,需与selection-start搭配使用(默认 -1 )
\r\n
* @property {Boolean}
\t\t\t\t
adjustPosition
\t\t\t
键盘弹起时,是否自动上推页面(默认 true )
\r\n
* @property {Boolean | Number}
\t\t
disableDefaultPadding
\t
是否去掉 iOS 下的默认内边距,只微信小程序有效(默认 false )
\r\n
* @property {Boolean}
\t\t\t\t
holdKeyboard
\t\t\t
focus时,点击页面的时候不收起键盘,只微信小程序有效(默认 false )
\r\n
* @property {String | Number}
\t\t
maxlength
\t\t\t\t
最大输入长度,设置为 -1 的时候不限制最大长度(默认 140 )
\r\n
* @property {String}
\t\t\t\t
border
\t\t\t\t\t
边框类型,surround-四周边框,none-无边框,bottom-底部边框(默认 'surround' )
\r\n
*
\r\n
* @event {Function(e)} focus
\t\t\t\t\t
输入框聚焦时触发,event.detail = { value, height },height 为键盘高度
\r\n
* @event {Function(e)} blur
\t\t\t\t\t
输入框失去焦点时触发,event.detail = {value, cursor}
\r\n
* @event {Function(e)} linechange
\t\t\t\t
输入框行数变化时调用,event.detail = {height: 0, heightRpx: 0, lineCount: 0}
\r\n
* @event {Function(e)} input
\t\t\t\t\t
当键盘输入时,触发 input 事件
\r\n
* @event {Function(e)} confirm
\t\t\t\t\t
点击完成时, 触发 confirm 事件
\r\n
* @event {Function(e)} keyboardheightchange
\t
键盘高度发生变化的时候触发此事件
\r\n
* @example <u--textarea v-model=
\"
value1
\"
placeholder=
\"
请输入内容
\"
></u--textarea>
\r\n
*/
\r\n
export default {
\r\n
name:
\"
u-textarea
\"
,
\r\n
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
\r\n\t
data() {
\r\n\t\t
return {
\r\n\t\t\t
// 输入框的值
\r\n\t\t\t
innerValue:
\"\"
,
\r\n\t\t\t
// 是否处于获得焦点状态
\r\n\t\t\t
focused: false,
\r\n\t\t\t
// value是否第一次变化,在watch中,由于加入immediate属性,会在第一次触发,此时不应该认为value发生了变化
\r\n\t\t\t
firstChange: true,
\r\n\t\t\t
// value绑定值的变化是由内部还是外部引起的
\r\n\t\t\t
changeFromInner: false,
\r\n\t\t\t
// 过滤处理方法
\r\n\t\t\t
innerFormatter: value => value
\r\n\t\t
}
\r\n\t
},
\r\n\t
watch: {
\r\n\t
value: {
\r\n\t
immediate: true,
\r\n\t
handler(newVal, oldVal) {
\r\n\t
this.innerValue = newVal;
\r\n\t
/* #ifdef H5 */
\r\n\t
// 在H5中,外部value变化后,修改input中的值,不会触发@input事件,此时手动调用值变化方法
\r\n\t
if (
\r\n\t
this.firstChange === false &&
\r\n\t
this.changeFromInner === false
\r\n\t
) {
\r\n\t
this.valueChange();
\r\n\t
}
\r\n\t
/* #endif */
\r\n\t
this.firstChange = false;
\r\n\t
// 重置changeFromInner的值为false,标识下一次引起默认为外部引起的
\r\n\t
this.changeFromInner = false;
\r\n\t
},
\r\n\t
},
\r\n\t
},
\r\n
computed: {
\r\n
// 组件的类名
\r\n
textareaClass() {
\r\n
let classes = [],
\r\n
{ border, disabled, shape } = this;
\r\n
border ===
\"
surround
\"
&&
\r\n
(classes = classes.concat([
\"
u-border
\"
,
\"
u-textarea--radius
\"
]));
\r\n
border ===
\"
bottom
\"
&&
\r\n
(classes = classes.concat([
\r\n
\"
u-border-bottom
\"
,
\r\n
\"
u-textarea--no-radius
\"
,
\r\n
]));
\r\n
disabled && classes.push(
\"
u-textarea--disabled
\"
);
\r\n
return classes.join(
\"
\"
);
\r\n
},
\r\n
// 组件的样式
\r\n
textareaStyle() {
\r\n
const style = {};
\r\n
// #ifdef APP-NVUE
\r\n
// 由于textarea在安卓nvue上的差异性,需要额外再调整其内边距
\r\n
if (uni.$u.os() ===
\"
android
\"
) {
\r\n
style.paddingTop =
\"
6px
\"
;
\r\n
style.paddingLeft =
\"
9px
\"
;
\r\n
style.paddingBottom =
\"
3px
\"
;
\r\n
style.paddingRight =
\"
6px
\"
;
\r\n
}
\r\n
// #endif
\r\n
return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));
\r\n
},
\r\n
},
\r\n
methods: {
\r\n\t\t
// 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用
\r\n\t\t
setFormatter(e) {
\r\n\t\t\t
this.innerFormatter = e
\r\n\t\t
},
\r\n
onFocus(e) {
\r\n
this.$emit(
\"
focus
\"
, e);
\r\n
},
\r\n
onBlur(e) {
\r\n
this.$emit(
\"
blur
\"
, e);
\r\n
// 尝试调用u-form的验证方法
\r\n
uni.$u.formValidate(this,
\"
blur
\"
);
\r\n
},
\r\n
onLinechange(e) {
\r\n
this.$emit(
\"
linechange
\"
, e);
\r\n
},
\r\n
onInput(e) {
\r\n\t\t\t
let { value =
\"\"
} = e.detail || {};
\r\n\t\t\t
// 格式化过滤方法
\r\n\t\t\t
const formatter = this.formatter || this.innerFormatter
\r\n\t\t\t
const formatValue = formatter(value)
\r\n\t\t\t
// 为了避免props的单向数据流特性,需要先将innerValue值设置为当前值,再在$nextTick中重新赋予设置后的值才有效
\r\n\t\t\t
this.innerValue = value
\r\n\t\t\t
this.$nextTick(() => {
\r\n\t\t\t\t
this.innerValue = formatValue;
\r\n\t\t\t\t
this.valueChange();
\r\n\t\t\t
})
\r\n
},
\r\n\t\t
// 内容发生变化,进行处理
\r\n\t\t
valueChange() {
\r\n\t\t
const value = this.innerValue;
\r\n\t\t
this.$nextTick(() => {
\r\n\t\t
this.$emit(
\"
input
\"
, value);
\r\n\t\t
// 标识value值的变化是由内部引起的
\r\n\t\t
this.changeFromInner = true;
\r\n\t\t
this.$emit(
\"
change
\"
, value);
\r\n\t\t
// 尝试调用u-form的验证方法
\r\n\t\t
uni.$u.formValidate(this,
\"
change
\"
);
\r\n\t\t
});
\r\n\t\t
},
\r\n
onConfirm(e) {
\r\n
this.$emit(
\"
confirm
\"
, e);
\r\n
},
\r\n
onKeyboardheightchange(e) {
\r\n
this.$emit(
\"
keyboardheightchange
\"
, e);
\r\n
},
\r\n
},
\r\n
};
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n
.u-textarea {
\r\n
border-radius: 4px;
\r\n
background-color: #fff;
\r\n
position: relative;
\r\n
@include flex;
\r\n
flex: 1;
\r\n\t
padding: 9px;
\r\n\r\n
&--radius {
\r\n
border-radius: 4px;
\r\n
}
\r\n\r\n
&--no-radius {
\r\n
border-radius: 0;
\r\n
}
\r\n\r\n
&--disabled {
\r\n
background-color: #f5f7fa;
\r\n
}
\r\n\r\n
&__field {
\r\n
flex: 1;
\r\n
font-size: 15px;
\r\n
color: $u-content-color;
\r\n\t\t
width: 100%;
\r\n
}
\r\n\r\n
&__count {
\r\n
position: absolute;
\r\n
right: 5px;
\r\n
bottom: 2px;
\r\n
font-size: 12px;
\r\n
color: $u-tips-color;
\r\n
background-color: #ffffff;
\r\n
padding: 1px 4px;
\r\n
}
\r\n
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=style&index=0&id=81cd9d32&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-textarea.vue?vue&type=style&index=0&id=81cd9d32&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029103156
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-toolbar/u-toolbar.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?c8c8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?8737"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?9a2d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?700f"
,
"uni-app:///node_modules/uview-ui/components/u-toolbar/u-toolbar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?9fd8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?f78b"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsChpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;kBAaA,EACA,iBADA,EAEA,sDAFA,EAGA,WACA;AACA,UAFA,oBAEA,CACA,qBACA,CAJA,EAKA;AACA,WANA,qBAMA,CACA,sBACA,CARA,EAHA,E;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAmtC,CAAgB,grCAAG,EAAC,C;;;;;;;;;;;ACAvuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-toolbar/u-toolbar.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-toolbar.vue?vue&type=template&id=6d25fc6f&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-toolbar.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-toolbar.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-toolbar.vue?vue&type=style&index=0&id=6d25fc6f&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
6d25fc6f
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-toolbar/u-toolbar.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=template&id=6d25fc6f&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-toolbar
\"\r\n\t\t
@touchmove.stop.prevent=
\"
noop
\"\r\n\t\t
v-if=
\"
show
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-toolbar__cancel__wrapper
\"\r\n\t\t\t
hover-class=
\"
u-hover-class
\"\r\n\t\t
>
\r\n\t\t\t
<text
\r\n\t\t\t\t
class=
\"
u-toolbar__wrapper__cancel
\"\r\n\t\t\t\t
@tap=
\"
cancel
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
color: cancelColor
\r\n\t\t\t\t
}
\"\r\n\t\t\t
>{{ cancelText }}</text>
\r\n\t\t
</view>
\r\n\t\t
<text
\r\n\t\t\t
class=
\"
u-toolbar__title u-line-1
\"\r\n\t\t\t
v-if=
\"
title
\"\r\n\t\t
>{{ title }}</text>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-toolbar__confirm__wrapper
\"\r\n\t\t\t
hover-class=
\"
u-hover-class
\"\r\n\t\t
>
\r\n\t\t\t
<text
\r\n\t\t\t\t
class=
\"
u-toolbar__wrapper__confirm
\"\r\n\t\t\t\t
@tap=
\"
confirm
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t
color: confirmColor
\r\n\t\t\t
}
\"\r\n\t\t\t
>{{ confirmText }}</text>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Toolbar 工具条
\r\n\t
* @description
\r\n\t
* @tutorial https://www.uviewui.com/components/toolbar.html
\r\n\t
* @property {Boolean}
\t
show
\t\t\t
是否展示工具条(默认 true )
\r\n\t
* @property {String}
\t
cancelText
\t\t
取消按钮的文字(默认 '取消' )
\r\n\t
* @property {String}
\t
confirmText
\t\t
确认按钮的文字(默认 '确认' )
\r\n\t
* @property {String}
\t
cancelColor
\t\t
取消按钮的颜色(默认 '#909193' )
\r\n\t
* @property {String}
\t
confirmColor
\t
确认按钮的颜色(默认 '#3c9cff' )
\r\n\t
* @property {String}
\t
title
\t\t\t
标题文字
\r\n\t
* @event {Function}
\r\n\t
* @example
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-toolbar',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击取消按钮
\r\n\t\t\t
cancel() {
\r\n\t\t\t\t
this.$emit('cancel')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击确定按钮
\r\n\t\t\t
confirm() {
\r\n\t\t\t\t
this.$emit('confirm')
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-toolbar {
\r\n\t\t
height: 42px;
\r\n\t\t
@include flex;
\r\n\t\t
justify-content: space-between;
\r\n\t\t
align-items: center;
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
&__cancel {
\r\n\t\t\t\t
color: $u-tips-color;
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
padding: 0 15px;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__title {
\r\n\t\t\t
color: $u-main-color;
\r\n\t\t\t
padding: 0 60rpx;
\r\n\t\t\t
font-size: 16px;
\r\n\t\t\t
flex: 1;
\r\n\t\t\t
text-align: center;
\r\n\t\t
}
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
&__confirm {
\r\n\t\t\t\t
color: $u-primary;
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
padding: 0 15px;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=style&index=0&id=6d25fc6f&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=style&index=0&id=6d25fc6f&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659254
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?c8c8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?8737"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?9a2d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?700f"
,
"uni-app:///node_modules/uview-ui/components/u-toolbar/u-toolbar.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?9fd8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-toolbar/u-toolbar.vue?f78b"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsChpB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;kBAaA,EACA,iBADA,EAEA,sDAFA,EAGA,WACA;AACA,UAFA,oBAEA,CACA,qBACA,CAJA,EAKA;AACA,WANA,qBAMA,CACA,sBACA,CARA,EAHA,E;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAmtC,CAAgB,grCAAG,EAAC,C;;;;;;;;;;;ACAvuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-toolbar/u-toolbar.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-toolbar.vue?vue&type=template&id=6d25fc6f&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-toolbar.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-toolbar.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-toolbar.vue?vue&type=style&index=0&id=6d25fc6f&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
6d25fc6f
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-toolbar/u-toolbar.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=template&id=6d25fc6f&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
class=
\"
u-toolbar
\"\r\n\t\t
@touchmove.stop.prevent=
\"
noop
\"\r\n\t\t
v-if=
\"
show
\"\r\n\t
>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-toolbar__cancel__wrapper
\"\r\n\t\t\t
hover-class=
\"
u-hover-class
\"\r\n\t\t
>
\r\n\t\t\t
<text
\r\n\t\t\t\t
class=
\"
u-toolbar__wrapper__cancel
\"\r\n\t\t\t\t
@tap=
\"
cancel
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t\t
color: cancelColor
\r\n\t\t\t\t
}
\"\r\n\t\t\t
>{{ cancelText }}</text>
\r\n\t\t
</view>
\r\n\t\t
<text
\r\n\t\t\t
class=
\"
u-toolbar__title u-line-1
\"\r\n\t\t\t
v-if=
\"
title
\"\r\n\t\t
>{{ title }}</text>
\r\n\t\t
<view
\r\n\t\t\t
class=
\"
u-toolbar__confirm__wrapper
\"\r\n\t\t\t
hover-class=
\"
u-hover-class
\"\r\n\t\t
>
\r\n\t\t\t
<text
\r\n\t\t\t\t
class=
\"
u-toolbar__wrapper__confirm
\"\r\n\t\t\t\t
@tap=
\"
confirm
\"\r\n\t\t\t\t
:style=
\"
{
\r\n\t\t\t\t
color: confirmColor
\r\n\t\t\t
}
\"\r\n\t\t\t
>{{ confirmText }}</text>
\r\n\t\t
</view>
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import props from './props.js';
\r\n\t
/**
\r\n\t
* Toolbar 工具条
\r\n\t
* @description
\r\n\t
* @tutorial https://www.uviewui.com/components/toolbar.html
\r\n\t
* @property {Boolean}
\t
show
\t\t\t
是否展示工具条(默认 true )
\r\n\t
* @property {String}
\t
cancelText
\t\t
取消按钮的文字(默认 '取消' )
\r\n\t
* @property {String}
\t
confirmText
\t\t
确认按钮的文字(默认 '确认' )
\r\n\t
* @property {String}
\t
cancelColor
\t\t
取消按钮的颜色(默认 '#909193' )
\r\n\t
* @property {String}
\t
confirmColor
\t
确认按钮的颜色(默认 '#3c9cff' )
\r\n\t
* @property {String}
\t
title
\t\t\t
标题文字
\r\n\t
* @event {Function}
\r\n\t
* @example
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name: 'u-toolbar',
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin,props],
\r\n\t\t
methods: {
\r\n\t\t\t
// 点击取消按钮
\r\n\t\t\t
cancel() {
\r\n\t\t\t\t
this.$emit('cancel')
\r\n\t\t\t
},
\r\n\t\t\t
// 点击确定按钮
\r\n\t\t\t
confirm() {
\r\n\t\t\t\t
this.$emit('confirm')
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import
\"
../../libs/css/components.scss
\"
;
\r\n\r\n\t
.u-toolbar {
\r\n\t\t
height: 42px;
\r\n\t\t
@include flex;
\r\n\t\t
justify-content: space-between;
\r\n\t\t
align-items: center;
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
&__cancel {
\r\n\t\t\t\t
color: $u-tips-color;
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
padding: 0 15px;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__title {
\r\n\t\t\t
color: $u-main-color;
\r\n\t\t\t
padding: 0 60rpx;
\r\n\t\t\t
font-size: 16px;
\r\n\t\t\t
flex: 1;
\r\n\t\t\t
text-align: center;
\r\n\t\t
}
\r\n\r\n\t\t
&__wrapper {
\r\n\t\t\t
&__confirm {
\r\n\t\t\t\t
color: $u-primary;
\r\n\t\t\t\t
font-size: 15px;
\r\n\t\t\t\t
padding: 0 15px;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=style&index=0&id=6d25fc6f&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-toolbar.vue?vue&type=style&index=0&id=6d25fc6f&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029104255
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-transition/u-transition.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?be49"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?d4a9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?bf8b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?b448"
,
"uni-app:///node_modules/uview-ui/components/u-transition/u-transition.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?41b7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?6e6c"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,opBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;ACenpB;;AAEA,0F;AACA;;;;;;;;;;;;;;;;;AAiBA;AACA,sBADA;AAEA,MAFA,kBAEA;AACA;AACA,mBADA,EACA;AACA,mBAFA,EAEA;AACA,gBAHA,EAGA;AACA,4BAJA,EAIA;AACA,oBALA,EAKA;AACA,iBANA,CAMA;AANA;AAQA,GAXA;AAYA;AACA,cADA,wBACA;AACA,eADA,GACA,IADA,CACA,SADA,CACA,WADA,GACA,IADA,CACA,WADA;AAEA;;AAEA,0DAFA;AAGA;AACA,qDAJA;;;AAOA,kCAPA;AAQA,eARA;;AAUA,KAbA,EAZA;;AA2BA;AACA,6EA5BA;AA6BA;AACA;AACA,aADA,mBACA,MADA,EACA;AACA;;;;;AAKA;;AAEA,OATA;AAUA;AACA,qBAXA,EADA,EA7BA,E;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAstC,CAAgB,mrCAAG,EAAC,C;;;;;;;;;;;ACA1uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-transition/u-transition.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-transition.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-transition.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
39e33bf2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-transition/u-transition.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.inited ? _vm.__get_style([_vm.mergeStyle]) : null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
v-if=
\"
inited
\"\r\n\t\t
class=
\"
u-transition
\"\r\n\t\t
ref=
\"
u-transition
\"\r\n\t\t
@tap=
\"
clickHandler
\"\r\n\t\t
:class=
\"
classes
\"\r\n\t\t
:style=
\"
[mergeStyle]
\"\r\n\t\t
@touchmove=
\"
noop
\"\r\n\t
>
\r\n\t\t
<slot />
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n
import props from './props.js';
\r\n
// 组件的methods方法,由于内容较长,写在外部文件中通过mixin引入
\r\n
import transition from
\"
./transition.js
\"
;
\r\n
/**
\r\n
* transition 动画组件
\r\n
* @description
\r\n
* @tutorial
\r\n
* @property {String}
\t\t\t
show
\t\t\t
是否展示组件 (默认 false )
\r\n
* @property {String}
\t\t\t
mode
\t\t\t
使用的动画模式 (默认 'fade' )
\r\n
* @property {String | Number}
\t
duration
\t\t
动画的执行时间,单位ms (默认 '300' )
\r\n
* @property {String}
\t\t\t
timingFunction
\t
使用的动画过渡函数 (默认 'ease-out' )
\r\n
* @property {Object}
\t\t\t
customStyle
\t\t
自定义样式
\r\n
* @event {Function} before-enter
\t
进入前触发
\r\n
* @event {Function} enter
\t\t\t
进入中触发
\r\n
* @event {Function} after-enter
\t
进入后触发
\r\n
* @event {Function} before-leave
\t
离开前触发
\r\n
* @event {Function} leave
\t\t\t
离开中触发
\r\n
* @event {Function} after-leave
\t
离开后触发
\r\n
* @example
\r\n
*/
\r\n
export default {
\r\n\t
name: 'u-transition',
\r\n\t
data() {
\r\n\t\t
return {
\r\n\t\t\t
inited: false, // 是否显示/隐藏组件
\r\n\t\t\t
viewStyle: {}, // 组件内部的样式
\r\n\t\t\t
status: '', // 记录组件动画的状态
\r\n\t\t\t
transitionEnded: false, // 组件是否结束的标记
\r\n\t\t\t
display: false, // 组件是否展示
\r\n\t\t\t
classes: '', // 应用的类名
\r\n\t\t
}
\r\n\t
},
\r\n\t
computed: {
\r\n\t
mergeStyle() {
\r\n\t
const { viewStyle, customStyle } = this
\r\n\t
return {
\r\n\t
// #ifndef APP-NVUE
\r\n\t
transitionDuration: `${this.duration}ms`,
\r\n\t
// display: `${this.display ? '' : 'none'}`,
\r\n\t\t\t\t
transitionTimingFunction: this.timingFunction,
\r\n\t
// #endif
\r\n\t\t\t\t
// 避免自定义样式影响到动画属性,所以写在viewStyle前面
\r\n\t
...uni.$u.addStyle(customStyle),
\r\n\t
...viewStyle
\r\n\t
}
\r\n\t
}
\r\n\t
},
\r\n\t
// 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象
\r\n\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, transition, props],
\r\n\t
watch: {
\r\n\t\t
show: {
\r\n\t\t\t
handler(newVal) {
\r\n\t\t\t\t
// vue和nvue分别执行不同的方法
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
newVal ? this.nvueEnter() : this.nvueLeave()
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t
newVal ? this.vueEnter() : this.vueLeave()
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// 表示同时监听初始化时的props的show的意思
\r\n\t\t\t
immediate: true
\r\n\t\t
}
\r\n\t
}
\r\n
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n
@import '../../libs/css/components.scss';
\r\n\r\n
/* #ifndef APP-NVUE */
\r\n
// vue版本动画相关的样式抽离在外部文件
\r\n
@import './vue.ani-style.scss';
\r\n
/* #endif */
\r\n\r\n
.u-transition {}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659269
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?be49"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?d4a9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?bf8b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?b448"
,
"uni-app:///node_modules/uview-ui/components/u-transition/u-transition.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?41b7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-transition/u-transition.vue?6e6c"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,opBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;ACenpB;;AAEA,0F;AACA;;;;;;;;;;;;;;;;;AAiBA;AACA,sBADA;AAEA,MAFA,kBAEA;AACA;AACA,mBADA,EACA;AACA,mBAFA,EAEA;AACA,gBAHA,EAGA;AACA,4BAJA,EAIA;AACA,oBALA,EAKA;AACA,iBANA,CAMA;AANA;AAQA,GAXA;AAYA;AACA,cADA,wBACA;AACA,eADA,GACA,IADA,CACA,SADA,CACA,WADA,GACA,IADA,CACA,WADA;AAEA;;AAEA,0DAFA;AAGA;AACA,qDAJA;;;AAOA,kCAPA;AAQA,eARA;;AAUA,KAbA,EAZA;;AA2BA;AACA,6EA5BA;AA6BA;AACA;AACA,aADA,mBACA,MADA,EACA;AACA;;;;;AAKA;;AAEA,OATA;AAUA;AACA,qBAXA,EADA,EA7BA,E;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAstC,CAAgB,mrCAAG,EAAC,C;;;;;;;;;;;ACA1uC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-transition/u-transition.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-transition.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-transition.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
39e33bf2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-transition/u-transition.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=template&id=39e33bf2&scoped=true&
\"
"
,
"var components
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.inited ? _vm.__get_style([_vm.mergeStyle]) : null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view
\r\n\t\t
v-if=
\"
inited
\"\r\n\t\t
class=
\"
u-transition
\"\r\n\t\t
ref=
\"
u-transition
\"\r\n\t\t
@tap=
\"
clickHandler
\"\r\n\t\t
:class=
\"
classes
\"\r\n\t\t
:style=
\"
[mergeStyle]
\"\r\n\t\t
@touchmove=
\"
noop
\"\r\n\t
>
\r\n\t\t
<slot />
\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n
import props from './props.js';
\r\n
// 组件的methods方法,由于内容较长,写在外部文件中通过mixin引入
\r\n
import transition from
\"
./transition.js
\"
;
\r\n
/**
\r\n
* transition 动画组件
\r\n
* @description
\r\n
* @tutorial
\r\n
* @property {String}
\t\t\t
show
\t\t\t
是否展示组件 (默认 false )
\r\n
* @property {String}
\t\t\t
mode
\t\t\t
使用的动画模式 (默认 'fade' )
\r\n
* @property {String | Number}
\t
duration
\t\t
动画的执行时间,单位ms (默认 '300' )
\r\n
* @property {String}
\t\t\t
timingFunction
\t
使用的动画过渡函数 (默认 'ease-out' )
\r\n
* @property {Object}
\t\t\t
customStyle
\t\t
自定义样式
\r\n
* @event {Function} before-enter
\t
进入前触发
\r\n
* @event {Function} enter
\t\t\t
进入中触发
\r\n
* @event {Function} after-enter
\t
进入后触发
\r\n
* @event {Function} before-leave
\t
离开前触发
\r\n
* @event {Function} leave
\t\t\t
离开中触发
\r\n
* @event {Function} after-leave
\t
离开后触发
\r\n
* @example
\r\n
*/
\r\n
export default {
\r\n\t
name: 'u-transition',
\r\n\t
data() {
\r\n\t\t
return {
\r\n\t\t\t
inited: false, // 是否显示/隐藏组件
\r\n\t\t\t
viewStyle: {}, // 组件内部的样式
\r\n\t\t\t
status: '', // 记录组件动画的状态
\r\n\t\t\t
transitionEnded: false, // 组件是否结束的标记
\r\n\t\t\t
display: false, // 组件是否展示
\r\n\t\t\t
classes: '', // 应用的类名
\r\n\t\t
}
\r\n\t
},
\r\n\t
computed: {
\r\n\t
mergeStyle() {
\r\n\t
const { viewStyle, customStyle } = this
\r\n\t
return {
\r\n\t
// #ifndef APP-NVUE
\r\n\t
transitionDuration: `${this.duration}ms`,
\r\n\t
// display: `${this.display ? '' : 'none'}`,
\r\n\t\t\t\t
transitionTimingFunction: this.timingFunction,
\r\n\t
// #endif
\r\n\t\t\t\t
// 避免自定义样式影响到动画属性,所以写在viewStyle前面
\r\n\t
...uni.$u.addStyle(customStyle),
\r\n\t
...viewStyle
\r\n\t
}
\r\n\t
}
\r\n\t
},
\r\n\t
// 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象
\r\n\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, transition, props],
\r\n\t
watch: {
\r\n\t\t
show: {
\r\n\t\t\t
handler(newVal) {
\r\n\t\t\t\t
// vue和nvue分别执行不同的方法
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
newVal ? this.nvueEnter() : this.nvueLeave()
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
// #ifndef APP-NVUE
\r\n\t\t\t\t
newVal ? this.vueEnter() : this.vueLeave()
\r\n\t\t\t\t
// #endif
\r\n\t\t\t
},
\r\n\t\t\t
// 表示同时监听初始化时的props的show的意思
\r\n\t\t\t
immediate: true
\r\n\t\t
}
\r\n\t
}
\r\n
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n
@import '../../libs/css/components.scss';
\r\n\r\n
/* #ifndef APP-NVUE */
\r\n
// vue版本动画相关的样式抽离在外部文件
\r\n
@import './vue.ani-style.scss';
\r\n
/* #endif */
\r\n\r\n
.u-transition {}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-transition.vue?vue&type=style&index=0&id=39e33bf2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029104638
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/node-modules/uview-ui/components/u-upload/u-upload.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?90ac"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?b6df"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?3497"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?5a34"
,
"uni-app:///node_modules/uview-ui/components/u-upload/u-upload.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?8f3a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?7339"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9EA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+H/oB;;;AAGA;AACA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiCA,EACA,gBADA,EAEA,sEAFA,EAGA,IAHA,kBAGA,CACA,SAIA,SAJA,EAKA,eALA,GAOA,CAXA,EAYA,SACA;AACA,gBACA,eADA,EAEA,OAFA,qBAEA,CACA,sBACA,CAJA,EAFA,EAZA,EAqBA,WACA,cADA,4BACA,uCAGA,IAHA,CAEA,QAFA,CAEA,QAFA,+BAEA,EAFA,kBAEA,QAFA,GAGA,IAHA,CAEA,QAFA,CAIA,iDACA,yCACA;AACA,wFAFA,EAGA,8EAHA,EAIA,iFAJA,GADA,IAQA,mBACA,yCACA,CAfA,EAgBA,UAhBA,wBAgBA,uBAEA,QAFA,GAMA,IANA,CAEA,QAFA,CAGA,QAHA,GAMA,IANA,CAGA,QAHA,CAIA,KAJA,GAMA,IANA,CAIA,KAJA,CAKA,QALA,GAMA,IANA,CAKA,QALA,CAOA,qBAPA,CAQA;AACA,kBACA,KACA,mFACA,CAFA,CAEA,WACA,aACA,CACA,uBACA,gBACA,mBADA,EAEA,uBAFA,EAGA,gBAHA,EAIA,2BAJA,EAKA,6BALA,EAMA,uBANA,EAOA,mBAPA,IAQA,EACA,iCADA,EARA,CADA,EAaA,IAbA,CAaA,gBACA,6CACA,CAfA,EAgBA,KAhBA,CAgBA,kBACA,6BACA,CAlBA,EAmBA,CAlDA,EAmDA;AACA,gBApDA,wBAoDA,IApDA,EAoDA,uBAEA,UAFA,GAIA,IAJA,CAEA,UAFA,CAGA,aAHA,GAIA,IAJA,CAGA,aAHA,CAKA,eALA,CAMA;AACA,yCACA;AACA,iDACA,CACA,oBACA,8CACA,aACA,YADA,EAEA,8BACA,UADA,IAEA,kBAFA,GAEA,EACA,iCACA,0BACA,CAHA,EAFA,CAFA,EAUA,CAXA,EAYA,CACA,WACA,OACA,CACA,+BACA,qEACA,CAFA,MAEA,CACA,uBACA,CACA,CArFA,EAsFA,SAtFA,qBAsFA,KAtFA,EAsFA,CACA,SACA,eADA,EAEA,mDAFA,GAIA,CA3FA,EA4FA,WA5FA,uBA4FA,IA5FA,EA4FA,KAEA,OAFA,GAIA,IAJA,CAEA,OAFA,CAGA,SAHA,GAIA,IAJA,CAGA,SAHA,CAKA,qCACA,wDADA,GAEA,mBAFA,CAGA,eACA,uCACA,UADA,IAEA,gBAFA,GAGA,OACA,CACA,sCACA,kCACA;AACA;AACA,kBADA;AAEA,sBAFA;AAGA,KAhHA;AAiHA,cAjHA,sBAiHA,KAjHA,EAiHA;AACA;AACA,cADA;AAEA;AACA,kCADA,GAFA;;;AAMA,KAxHA;AAyHA;AACA,kBA1HA,0BA0HA,IA1HA,EA0HA;AACA;AACA;AACA;AACA,uLAFA;AAGA,uCAHA;AAIA,YAJA,kBAIA;AACA;AACA,SANA;;AAQA,KApIA;AAqIA,kBArIA,0BAqIA,KArIA,EAqIA;AACA,8CADA;;AAGA,WAHA;AAIA,iCAJA,CAGA,KAHA;;AAMA,WANA;AAOA,eAPA,CAMA,KANA;AAQA;AACA;AACA,cADA,CACA,2CADA;AAEA,WAFA,CAEA;AACA;AACA,2BADA,GADA,GAFA,CADA;;;AAQA,sBARA;AASA,YATA,kBASA;AACA;AACA,SAXA;;AAaA,KA1JA;AA2JA,kBA3JA,0BA2JA,KA3JA,EA2JA;;AAEA,WAFA;AAGA,iCAHA,CAEA,KAFA;AAIA;AACA;AACA,oBADA;AAEA,mEAFA;;AAIA,KApKA,EArBA,E;;;;;;;;;;;;;ACtKA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-upload/u-upload.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-upload.vue?vue&type=template&id=49deb6f2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-upload.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-upload.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-upload.vue?vue&type=style&index=0&id=49deb6f2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
49deb6f2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-upload/u-upload.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=template&id=49deb6f2&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
},
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)])
\n\n
var l0 = _vm.previewImage
\n
? _vm.__map(_vm.lists, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var g0 =
\n
item.isImage || (item.type && item.type ===
\"
image
\"
)
\n
? _vm.$u.addUnit(_vm.width)
\n
: null
\n
var g1 =
\n
item.isImage || (item.type && item.type ===
\"
image
\"
)
\n
? _vm.$u.addUnit(_vm.height)
\n
: null
\n
return {
\n
$orig: $orig,
\n
g0: g0,
\n
g1: g1
\n
}
\n
})
\n
: null
\n
var g2 =
\n
_vm.isInCount && !(_vm.$slots.default || _vm.$slots.$default)
\n
? _vm.$u.addUnit(_vm.width)
\n
: null
\n
var g3 =
\n
_vm.isInCount && !(_vm.$slots.default || _vm.$slots.$default)
\n
? _vm.$u.addUnit(_vm.height)
\n
: null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
l0: l0,
\n
g2: g2,
\n
g3: g3
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-upload
\"
:style=
\"
[$u.addStyle(customStyle)]
\"
>
\r\n\t\t
<view class=
\"
u-upload__wrap
\"
>
\r\n\t\t\t
<template v-if=
\"
previewImage
\"
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-upload__wrap__preview
\"\r\n\t\t\t\t
v-for=
\"
(item, index) in lists
\"\r\n\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<image
\r\n\t\t\t\t\t
v-if=
\"
item.isImage || (item.type && item.type === 'image')
\"\r\n\t\t\t\t\t
:src=
\"
item.thumb || item.url
\"\r\n\t\t\t\t\t
:mode=
\"
imageMode
\"\r\n\t\t\t\t\t
class=
\"
u-upload__wrap__preview__image
\"\r\n\t\t\t\t\t
@tap=
\"
onPreviewImage(item)
\"\r\n\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t
width: $u.addUnit(width),
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(height)
\r\n\t\t\t\t\t\t
}]
\"\r\n\t\t\t\t\t
/>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
v-else
\r\n\t\t\t\t\t
class=
\"
u-upload__wrap__preview__other
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t
color=
\"
#80CBF9
\"\r\n\t\t\t\t\t\t
size=
\"
26
\"\r\n\t\t\t\t\t\t
:name=
\"
item.isVideo || (item.type && item.type === 'video') ? 'movie' : 'folder'
\"\r\n\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
<text class=
\"
u-upload__wrap__preview__other__text
\"
>{{item.isVideo || (item.type && item.type === 'video') ? '视频' : '文件'}}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-upload__status
\"\r\n\t\t\t\t\t
v-if=
\"
item.status === 'uploading' || item.status === 'failed'
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<view class=
\"
u-upload__status__icon
\"
>
\r\n\t\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
v-if=
\"
item.status === 'failed'
\"\r\n\t\t\t\t\t\t\t
name=
\"
close-circle
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
size=
\"
25
\"\r\n\t\t\t\t\t\t\t
/>
\r\n\t\t\t\t\t\t\t
<u-loading-icon
\r\n\t\t\t\t\t\t\t
size=
\"
22
\"\r\n\t\t\t\t\t\t\t
mode=
\"
circle
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
v-else
\r\n\t\t\t\t\t\t\t
/>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
v-if=
\"
item.message
\"\r\n\t\t\t\t\t\t
class=
\"
u-upload__status__message
\"\r\n\t\t\t\t\t\t
>{{ item.message }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-upload__deletable
\"\r\n\t\t\t\t\t
v-if=
\"
item.status !== 'uploading' && (deletable || item.deletable)
\"\r\n\t\t\t\t\t
@tap.stop=
\"
deleteItem(index)
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<view class=
\"
u-upload__deletable__icon
\"
>
\r\n\t\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
name=
\"
close
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
size=
\"
10
\"\r\n\t\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-upload__success
\"\r\n\t\t\t\t\t
v-if=
\"
item.status === 'success'
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t\t\t\t
<image
\r\n\t\t\t\t\t\t
:src=
\"
successIcon
\"\r\n\t\t\t\t\t\t
class=
\"
u-upload__success__icon
\"\r\n\t\t\t\t\t\t
></image>
\r\n\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t\t
<!-- #ifndef APP-NVUE -->
\r\n\t\t\t\t\t\t
<view class=
\"
u-upload__success__icon
\"
>
\r\n\t\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
name=
\"
checkmark
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
size=
\"
12
\"\r\n\t\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t\r\n\t\t\t
</template>
\r\n\t\t\t\r\n\t\t\t
<template v-if=
\"
isInCount
\"
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t
v-if=
\"
$slots.default || $slots.$default
\"\r\n\t\t\t\t
@tap=
\"
chooseFile
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<slot />
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t
v-else
\r\n\t\t\t\t
class=
\"
u-upload__button
\"\r\n\t\t\t\t
:hover-class=
\"
!disabled ? 'u-upload__button--hover' : ''
\"\r\n\t\t\t\t
hover-stay-time=
\"
150
\"\r\n\t\t\t\t
@tap=
\"
chooseFile
\"\r\n\t\t\t\t
:class=
\"
[disabled && 'u-upload__button--disabled']
\"\r\n\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t
width: $u.addUnit(width),
\r\n\t\t\t\t\t\t
height: $u.addUnit(height)
\r\n\t\t\t\t\t
}]
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t
:name=
\"
uploadIcon
\"\r\n\t\t\t\t\t
size=
\"
26
\"\r\n\t\t\t\t\t
:color=
\"
uploadIconColor
\"\r\n\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t
v-if=
\"
uploadText
\"\r\n\t\t\t\t\t
class=
\"
u-upload__button__text
\"\r\n\t\t\t\t\t
>{{ uploadText }}</text>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</template>
\r\n\t\t
</view>
\r\n\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import {
\r\n\t\t
chooseFile
\r\n\t
} from './utils';
\r\n\t
import mixin from './mixin.js';
\r\n\t
import props from './props.js';
\r\n\r\n\t
/**
\r\n\t
* upload 上传
\r\n\t
* @description 该组件用于上传图片场景
\r\n\t
* @tutorial https://uviewui.com/components/upload.html
\r\n\t
* @property {String}
\t\t\t
accept
\t\t\t\t
接受的文件类型, 可选值为all media image file video (默认 'image' )
\r\n\t
* @property {String | Array}
\t
capture
\t\t\t\t
图片或视频拾取模式,当accept为image类型时设置capture可选额外camera可以直接调起摄像头(默认 ['album', 'camera'] )
\r\n\t
* @property {Boolean}
\t\t\t
compressed
\t\t\t
当accept为video时生效,是否压缩视频,默认为true(默认 true )
\r\n\t
* @property {String}
\t\t\t
camera
\t\t\t\t
当accept为video时生效,可选值为back或front(默认 'back' )
\r\n\t
* @property {Number}
\t\t\t
maxDuration
\t\t\t
当accept为video时生效,拍摄视频最长拍摄时间,单位秒(默认 60 )
\r\n\t
* @property {String}
\t\t\t
uploadIcon
\t\t\t
上传区域的图标,只能内置图标(默认 'camera-fill' )
\r\n\t
* @property {String}
\t\t\t
uploadIconColor
\t\t
上传区域的图标的字体颜色,只能内置图标(默认 #D3D4D6 )
\r\n\t
* @property {Boolean}
\t\t\t
useBeforeRead
\t\t
是否开启文件读取前事件(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
previewFullImage
\t
是否显示组件自带的图片预览功能(默认 true )
\r\n\t
* @property {String | Number}
\t
maxCount
\t\t\t
最大上传数量(默认 52 )
\r\n\t
* @property {Boolean}
\t\t\t
disabled
\t\t\t
是否启用(默认 false )
\r\n\t
* @property {String}
\t\t\t
imageMode
\t\t\t
预览上传的图片时的裁剪模式,和image组件mode属性一致(默认 'aspectFill' )
\r\n\t
* @property {String}
\t\t\t
name
\t\t\t\t
标识符,可以在回调函数的第二项参数中获取
\r\n\t
* @property {Array}
\t\t\t
sizeType
\t\t\t
所选的图片的尺寸, 可选值为original compressed(默认 ['original', 'compressed'] )
\r\n\t
* @property {Boolean}
\t\t\t
multiple
\t\t\t
是否开启图片多选,部分安卓机型不支持 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
deletable
\t\t\t
是否展示删除按钮(默认 true )
\r\n\t
* @property {String | Number}
\t
maxSize
\t\t\t\t
文件大小限制,单位为byte (默认 Number.MAX_VALUE )
\r\n\t
* @property {Array}
\t\t\t
fileList
\t\t\t
显示已上传的文件列表
\r\n\t
* @property {String}
\t\t\t
uploadText
\t\t\t
上传区域的提示文字
\r\n\t
* @property {String | Number}
\t
width
\t\t\t\t
内部预览图片区域和选择图片按钮的区域宽度(默认 80 )
\r\n\t
* @property {String | Number}
\t
height
\t\t\t\t
内部预览图片区域和选择图片按钮的区域高度(默认 80 )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t\t
组件的样式,对象形式
\r\n\t
* @event {Function} afterRead
\t\t
读取后的处理函数
\r\n\t
* @event {Function} beforeRead
\t\t
读取前的处理函数
\r\n\t
* @event {Function} oversize
\t\t
文件超出大小限制
\r\n\t
* @event {Function} clickPreview
\t
点击预览图片
\r\n\t
* @event {Function} delete
\t\t
删除图片
\r\n\t
* @example <u-upload :action=
\"
action
\"
:fileList=
\"
fileList
\"
></u-upload>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name:
\"
u-upload
\"
,
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, mixin,props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
successIcon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAACP0lEQVRYCc3YXygsURwH8K/dpcWyG3LF5u/6/+dKVylSypuUl6uUPMifKMWL8oKEB1EUT1KeUPdR3uTNUsSLxb2udG/cbvInNuvf2rVnazZ/ZndmZ87snjM1Z+Z3zpzfp9+Z5mEAhlvjRtZgCKs+gnPAOcAkkMOR4jEHfItjDvgRxxSQD8cM0BuOCaAvXNCBQrigAsXgggYUiwsK0B9cwIH+4gIKlIILGFAqLiBAOTjFgXJxigJp4BQD0sIpAqSJow6kjSNAFTnRaHJwLenD6Mud52VQAcrBfTd2oyq+HtGaGGWAcnAVcXWoM3bCZrdi+ncPfaAcXE5UKVpdW/vitGPqqAtn98d0gXJwX7Qp6MmegUYVhvmTIezdmHlxJCjpHRTCFerLkRRu4k0aqdajN3sWOo0BK//msHa+xDuPC/oNFMKRhTtM4xjIX0SCNpXL4+7VIaHuyiWEp2L7ahWLf8fejfPdqPmC3mJicORZUp1CQzm+GiphvljGk+PBvWRbxii+xVTj5M6CiZ/tsDufvaXyxEUDxeLIyvu3m0iOyEFWVAkydcVYdyFrE9tQk9iMq6f/GNlvwt3LjQfh60LUrw9/cFyyMJUW/XkLSNMV4Mi6C5ML+ui4x5ClAX9sB9w0wV6wglJwJCv5fOxcr6EstgbGiEw4XcfUry4cWrcEUW8n+ARKxXEJHhw2WG43UKSvwI/TSZgvl7kh0b3XLZaLEy0QmMgLZAVH7J+ALOE+AVnDvQOyiPMAWcW5gSzjCPAV+78S5WE0GrQAAAAASUVORK5CYII=',
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
lists: [],
\r\n\t\t\t\t
isInCount: true,
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
// 监听文件列表的变化,重新整理内部数据
\r\n\t\t\t
fileList: {
\r\n\t\t\t\t
immediate: true,
\r\n\t\t\t\t
handler() {
\r\n\t\t\t\t\t
this.formatFileList()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
formatFileList() {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
fileList = [], maxCount
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
const lists = fileList.map((item) =>
\r\n\t\t\t\t\t
Object.assign(Object.assign({}, item), {
\r\n\t\t\t\t\t\t
// 如果item.url为本地选择的blob文件的话,无法判断其为video还是image,此处优先通过accept做判断处理
\r\n\t\t\t\t\t\t
isImage: this.accept === 'image' || uni.$u.test.image(item.url || item.thumb),
\r\n\t\t\t\t\t\t
isVideo: this.accept === 'video' || uni.$u.test.video(item.url || item.thumb),
\r\n\t\t\t\t\t\t
deletable: typeof(item.deletable) === 'boolean' ? item.deletable : this.deletable,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
);
\r\n\t\t\t\t
this.lists = lists
\r\n\t\t\t\t
this.isInCount = lists.length < maxCount
\r\n\t\t\t
},
\r\n\t\t\t
chooseFile() {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
maxCount,
\r\n\t\t\t\t\t
multiple,
\r\n\t\t\t\t\t
lists,
\r\n\t\t\t\t\t
disabled
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
if (disabled) return;
\r\n\t\t\t\t
// 如果用户传入的是字符串,需要格式化成数组
\r\n\t\t\t\t
let capture;
\r\n\t\t\t\t
try {
\r\n\t\t\t\t\t
capture = uni.$u.test.array(this.capture) ? this.capture : this.capture.split(',');
\r\n\t\t\t\t
}catch(e) {
\r\n\t\t\t\t\t
capture = [];
\r\n\t\t\t\t
}
\r\n\t\t\t\t
chooseFile(
\r\n\t\t\t\t\t\t
Object.assign({
\r\n\t\t\t\t\t\t\t
accept: this.accept,
\r\n\t\t\t\t\t\t\t
multiple: this.multiple,
\r\n\t\t\t\t\t\t\t
capture: capture,
\r\n\t\t\t\t\t\t\t
compressed: this.compressed,
\r\n\t\t\t\t\t\t\t
maxDuration: this.maxDuration,
\r\n\t\t\t\t\t\t\t
sizeType: this.sizeType,
\r\n\t\t\t\t\t\t\t
camera: this.camera,
\r\n\t\t\t\t\t\t
}, {
\r\n\t\t\t\t\t\t\t
maxCount: maxCount - lists.length,
\r\n\t\t\t\t\t\t
})
\r\n\t\t\t\t\t
)
\r\n\t\t\t\t\t
.then((res) => {
\r\n\t\t\t\t\t\t
this.onBeforeRead(multiple ? res : res[0]);
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t\t
.catch((error) => {
\r\n\t\t\t\t\t\t
this.$emit('error', error);
\r\n\t\t\t\t\t
});
\r\n\t\t\t
},
\r\n\t\t\t
// 文件读取之前
\r\n\t\t\t
onBeforeRead(file) {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
beforeRead,
\r\n\t\t\t\t\t
useBeforeRead,
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
let res = true
\r\n\t\t\t\t
// beforeRead是否为一个方法
\r\n\t\t\t\t
if (uni.$u.test.func(beforeRead)) {
\r\n\t\t\t\t\t
// 如果用户定义了此方法,则去执行此方法,并传入读取的文件回调
\r\n\t\t\t\t\t
res = beforeRead(file, this.getDetail());
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (useBeforeRead) {
\r\n\t\t\t\t\t
res = new Promise((resolve, reject) => {
\r\n\t\t\t\t\t\t
this.$emit(
\r\n\t\t\t\t\t\t\t
'beforeRead',
\r\n\t\t\t\t\t\t\t
Object.assign(Object.assign({
\r\n\t\t\t\t\t\t\t\t
file
\r\n\t\t\t\t\t\t\t
}, this.getDetail()), {
\r\n\t\t\t\t\t\t\t\t
callback: (ok) => {
\r\n\t\t\t\t\t\t\t\t\t
ok ? resolve() : reject();
\r\n\t\t\t\t\t\t\t\t
},
\r\n\t\t\t\t\t\t\t
})
\r\n\t\t\t\t\t\t
);
\r\n\t\t\t\t\t
});
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (!res) {
\r\n\t\t\t\t\t
return;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (uni.$u.test.promise(res)) {
\r\n\t\t\t\t\t
res.then((data) => this.onAfterRead(data || file));
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
this.onAfterRead(file);
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
getDetail(index) {
\r\n\t\t\t\t
return {
\r\n\t\t\t\t\t
name: this.name,
\r\n\t\t\t\t\t
index: index == null ? this.fileList.length : index,
\r\n\t\t\t\t
};
\r\n\t\t\t
},
\r\n\t\t\t
onAfterRead(file) {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
maxSize,
\r\n\t\t\t\t\t
afterRead
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
const oversize = Array.isArray(file) ?
\r\n\t\t\t\t\t
file.some((item) => item.size > maxSize) :
\r\n\t\t\t\t\t
file.size > maxSize;
\r\n\t\t\t\t
if (oversize) {
\r\n\t\t\t\t\t
this.$emit('oversize', Object.assign({
\r\n\t\t\t\t\t\t
file
\r\n\t\t\t\t\t
}, this.getDetail()));
\r\n\t\t\t\t\t
return;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (typeof afterRead === 'function') {
\r\n\t\t\t\t\t
afterRead(file, this.getDetail());
\r\n\t\t\t\t
}
\r\n\t\t\t\t
this.$emit('afterRead', Object.assign({
\r\n\t\t\t\t\t
file
\r\n\t\t\t\t
}, this.getDetail()));
\r\n\t\t\t
},
\r\n\t\t\t
deleteItem(index) {
\r\n\t\t\t\t
this.$emit(
\r\n\t\t\t\t\t
'delete',
\r\n\t\t\t\t\t
Object.assign(Object.assign({}, this.getDetail(index)), {
\r\n\t\t\t\t\t\t
file: this.fileList[index],
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
);
\r\n\t\t\t
},
\r\n\t\t\t
// 预览图片
\r\n\t\t\t
onPreviewImage(item) {
\r\n\t\t\t\t
if (!item.isImage || !this.previewFullImage) return
\r\n\t\t\t\t
uni.previewImage({
\r\n\t\t\t\t\t
// 先filter找出为图片的item,再返回filter结果中的图片url
\r\n\t\t\t\t\t
urls: this.lists.filter((item) => this.accept === 'image' || uni.$u.test.image(item.url || item.thumb)).map((item) => item.url || item.thumb),
\r\n\t\t\t\t\t
current: item.url || item.thumb,
\r\n\t\t\t\t\t
fail() {
\r\n\t\t\t\t\t\t
uni.$u.toast('预览图片失败')
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t
});
\r\n\t\t\t
},
\r\n\t\t\t
onPreviewVideo(event) {
\r\n\t\t\t\t
if (!this.data.previewFullImage) return;
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
} = event.currentTarget.dataset;
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
lists
\r\n\t\t\t\t
} = this.data;
\r\n\t\t\t\t
wx.previewMedia({
\r\n\t\t\t\t\t
sources: lists
\r\n\t\t\t\t\t\t
.filter((item) => isVideoFile(item))
\r\n\t\t\t\t\t\t
.map((item) =>
\r\n\t\t\t\t\t\t\t
Object.assign(Object.assign({}, item), {
\r\n\t\t\t\t\t\t\t\t
type: 'video'
\r\n\t\t\t\t\t\t\t
})
\r\n\t\t\t\t\t\t
),
\r\n\t\t\t\t\t
current: index,
\r\n\t\t\t\t\t
fail() {
\r\n\t\t\t\t\t\t
uni.$u.toast('预览视频失败')
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t
});
\r\n\t\t\t
},
\r\n\t\t\t
onClickPreview(event) {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
} = event.currentTarget.dataset;
\r\n\t\t\t\t
const item = this.data.lists[index];
\r\n\t\t\t\t
this.$emit(
\r\n\t\t\t\t\t
'clickPreview',
\r\n\t\t\t\t\t
Object.assign(Object.assign({}, item), this.getDetail(index))
\r\n\t\t\t\t
);
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import '../../libs/css/components.scss';
\r\n\t
$u-upload-preview-border-radius: 2px !default;
\r\n\t
$u-upload-preview-margin: 0 8px 8px 0 !default;
\r\n\t
$u-upload-image-width:80px !default;
\r\n\t
$u-upload-image-height:$u-upload-image-width;
\r\n\t
$u-upload-other-bgColor: rgb(242, 242, 242) !default;
\r\n\t
$u-upload-other-flex:1 !default;
\r\n\t
$u-upload-text-font-size:11px !default;
\r\n\t
$u-upload-text-color:$u-tips-color !default;
\r\n\t
$u-upload-text-margin-top:2px !default;
\r\n\t
$u-upload-deletable-right:0 !default;
\r\n\t
$u-upload-deletable-top:0 !default;
\r\n\t
$u-upload-deletable-bgColor:rgb(55, 55, 55) !default;
\r\n\t
$u-upload-deletable-height:14px !default;
\r\n\t
$u-upload-deletable-width:$u-upload-deletable-height;
\r\n\t
$u-upload-deletable-boder-bottom-left-radius:100px !default;
\r\n\t
$u-upload-deletable-zIndex:3 !default;
\r\n\t
$u-upload-success-bottom:0 !default;
\r\n\t
$u-upload-success-right:0 !default;
\r\n\t
$u-upload-success-border-style:solid !default;
\r\n\t
$u-upload-success-border-top-color:transparent !default;
\r\n\t
$u-upload-success-border-left-color:transparent !default;
\r\n\t
$u-upload-success-border-bottom-color: $u-success !default;
\r\n\t
$u-upload-success-border-right-color:$u-upload-success-border-bottom-color;
\r\n\t
$u-upload-success-border-width:9px !default;
\r\n\t
$u-upload-icon-top:0px !default;
\r\n\t
$u-upload-icon-right:0px !default;
\r\n\t
$u-upload-icon-h5-top:1px !default;
\r\n\t
$u-upload-icon-h5-right:0 !default;
\r\n\t
$u-upload-icon-width:16px !default;
\r\n\t
$u-upload-icon-height:$u-upload-icon-width;
\r\n\t
$u-upload-success-icon-bottom:-10px !default;
\r\n\t
$u-upload-success-icon-right:-10px !default;
\r\n\t
$u-upload-status-right:0 !default;
\r\n\t
$u-upload-status-left:0 !default;
\r\n\t
$u-upload-status-bottom:0 !default;
\r\n\t
$u-upload-status-top:0 !default;
\r\n\t
$u-upload-status-bgColor:rgba(0, 0, 0, 0.5) !default;
\r\n\t
$u-upload-status-icon-Zindex:1 !default;
\r\n\t
$u-upload-message-font-size:12px !default;
\r\n\t
$u-upload-message-color:#FFFFFF !default;
\r\n\t
$u-upload-message-margin-top:5px !default;
\r\n\t
$u-upload-button-width:80px !default;
\r\n\t
$u-upload-button-height:$u-upload-button-width;
\r\n\t
$u-upload-button-bgColor:rgb(244, 245, 247) !default;
\r\n\t
$u-upload-button-border-radius:2px !default;
\r\n\t
$u-upload-botton-margin: 0 8px 8px 0 !default;
\r\n\t
$u-upload-text-font-size:11px !default;
\r\n\t
$u-upload-text-color:$u-tips-color !default;
\r\n\t
$u-upload-text-margin-top: 2px !default;
\r\n\t
$u-upload-hover-bgColor:rgb(230, 231, 233) !default;
\r\n\t
$u-upload-disabled-opacity:.5 !default;
\r\n\r\n\t
.u-upload {
\r\n\t\t
@include flex(column);
\r\n\t\t
flex: 1;
\r\n\r\n\t\t
&__wrap {
\r\n\t\t\t
@include flex;
\r\n\t\t\t
flex-wrap: wrap;
\r\n\t\t\t
flex: 1;
\r\n\r\n\t\t\t
&__preview {
\r\n\t\t\t\t
border-radius: $u-upload-preview-border-radius;
\r\n\t\t\t\t
margin: $u-upload-preview-margin;
\r\n\t\t\t\t
position: relative;
\r\n\t\t\t\t
overflow: hidden;
\r\n\t\t\t\t
@include flex;
\r\n\r\n\t\t\t\t
&__image {
\r\n\t\t\t\t\t
width: $u-upload-image-width;
\r\n\t\t\t\t\t
height: $u-upload-image-height;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__other {
\r\n\t\t\t\t\t
width: $u-upload-image-width;
\r\n\t\t\t\t\t
height: $u-upload-image-height;
\r\n\t\t\t\t\t
background-color: $u-upload-other-bgColor;
\r\n\t\t\t\t\t
flex: $u-upload-other-flex;
\r\n\t\t\t\t\t
@include flex(column);
\r\n\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
align-items: center;
\r\n\r\n\t\t\t\t\t
&__text {
\r\n\t\t\t\t\t\t
font-size: $u-upload-text-font-size;
\r\n\t\t\t\t\t\t
color: $u-upload-text-color;
\r\n\t\t\t\t\t\t
margin-top: $u-upload-text-margin-top;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__deletable {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: $u-upload-deletable-top;
\r\n\t\t\t
right: $u-upload-deletable-right;
\r\n\t\t\t
background-color: $u-upload-deletable-bgColor;
\r\n\t\t\t
height: $u-upload-deletable-height;
\r\n\t\t\t
width: $u-upload-deletable-width;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
border-bottom-left-radius: $u-upload-deletable-boder-bottom-left-radius;
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
z-index: $u-upload-deletable-zIndex;
\r\n\r\n\t\t\t
&__icon {
\r\n\t\t\t\t
position: absolute;
\r\n\t\t\t\t
transform: scale(0.7);
\r\n\t\t\t\t
top: $u-upload-icon-top;
\r\n\t\t\t\t
right: $u-upload-icon-right;
\r\n\t\t\t\t
/* #ifdef H5 */
\r\n\t\t\t\t
top: $u-upload-icon-h5-top;
\r\n\t\t\t\t
right: $u-upload-icon-h5-right;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__success {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
bottom: $u-upload-success-bottom;
\r\n\t\t\t
right: $u-upload-success-right;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
// 由于weex(nvue)为阿里巴巴的KPI(部门业绩考核)的laji产物,不支持css绘制三角形
\r\n\t\t\t
// 所以在nvue下使用图片,非nvue下使用css实现
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
border-style: $u-upload-success-border-style;
\r\n\t\t\t
border-top-color: $u-upload-success-border-top-color;
\r\n\t\t\t
border-left-color: $u-upload-success-border-left-color;
\r\n\t\t\t
border-bottom-color: $u-upload-success-border-bottom-color;
\r\n\t\t\t
border-right-color: $u-upload-success-border-right-color;
\r\n\t\t\t
border-width: $u-upload-success-border-width;
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
/* #endif */
\r\n\r\n\t\t\t
&__icon {
\r\n\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t
position: absolute;
\r\n\t\t\t\t
transform: scale(0.7);
\r\n\t\t\t\t
bottom: $u-upload-success-icon-bottom;
\r\n\t\t\t\t
right: $u-upload-success-icon-right;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t\t
/* #ifdef APP-NVUE */
\r\n\t\t\t\t
width: $u-upload-icon-width;
\r\n\t\t\t\t
height: $u-upload-icon-height;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__status {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: $u-upload-status-top;
\r\n\t\t\t
bottom: $u-upload-status-bottom;
\r\n\t\t\t
left: $u-upload-status-left;
\r\n\t\t\t
right: $u-upload-status-right;
\r\n\t\t\t
background-color: $u-upload-status-bgColor;
\r\n\t\t\t
@include flex(column);
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\r\n\t\t\t
&__icon {
\r\n\t\t\t\t
position: relative;
\r\n\t\t\t\t
z-index: $u-upload-status-icon-Zindex;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__message {
\r\n\t\t\t\t
font-size: $u-upload-message-font-size;
\r\n\t\t\t\t
color: $u-upload-message-color;
\r\n\t\t\t\t
margin-top: $u-upload-message-margin-top;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__button {
\r\n\t\t\t
@include flex(column);
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
width: $u-upload-button-width;
\r\n\t\t\t
height: $u-upload-button-height;
\r\n\t\t\t
background-color: $u-upload-button-bgColor;
\r\n\t\t\t
border-radius: $u-upload-button-border-radius;
\r\n\t\t\t
margin: $u-upload-botton-margin;
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
box-sizing: border-box;
\r\n\t\t\t
/* #endif */
\r\n\r\n\t\t\t
&__text {
\r\n\t\t\t\t
font-size: $u-upload-text-font-size;
\r\n\t\t\t\t
color: $u-upload-text-color;
\r\n\t\t\t\t
margin-top: $u-upload-text-margin-top;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--hover {
\r\n\t\t\t\t
background-color: $u-upload-hover-bgColor;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--disabled {
\r\n\t\t\t\t
opacity: $u-upload-disabled-opacity;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=style&index=0&id=49deb6f2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=style&index=0&id=49deb6f2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1662991659029
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:
[
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?90ac"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?b6df"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?3497"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?5a34"
,
"uni-app:///node_modules/uview-ui/components/u-upload/u-upload.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?8f3a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/node_modules/uview-ui/components/u-upload/u-upload.vue?7339"
],
"names"
:
[],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9EA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+H/oB;;;AAGA;AACA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiCA,EACA,gBADA,EAEA,sEAFA,EAGA,IAHA,kBAGA,CACA,SAIA,SAJA,EAKA,eALA,GAOA,CAXA,EAYA,SACA;AACA,gBACA,eADA,EAEA,OAFA,qBAEA,CACA,sBACA,CAJA,EAFA,EAZA,EAqBA,WACA,cADA,4BACA,uCAGA,IAHA,CAEA,QAFA,CAEA,QAFA,+BAEA,EAFA,kBAEA,QAFA,GAGA,IAHA,CAEA,QAFA,CAIA,iDACA,yCACA;AACA,wFAFA,EAGA,8EAHA,EAIA,iFAJA,GADA,IAQA,mBACA,yCACA,CAfA,EAgBA,UAhBA,wBAgBA,uBAEA,QAFA,GAMA,IANA,CAEA,QAFA,CAGA,QAHA,GAMA,IANA,CAGA,QAHA,CAIA,KAJA,GAMA,IANA,CAIA,KAJA,CAKA,QALA,GAMA,IANA,CAKA,QALA,CAOA,qBAPA,CAQA;AACA,kBACA,KACA,mFACA,CAFA,CAEA,WACA,aACA,CACA,uBACA,gBACA,mBADA,EAEA,uBAFA,EAGA,gBAHA,EAIA,2BAJA,EAKA,6BALA,EAMA,uBANA,EAOA,mBAPA,IAQA,EACA,iCADA,EARA,CADA,EAaA,IAbA,CAaA,gBACA,6CACA,CAfA,EAgBA,KAhBA,CAgBA,kBACA,6BACA,CAlBA,EAmBA,CAlDA,EAmDA;AACA,gBApDA,wBAoDA,IApDA,EAoDA,uBAEA,UAFA,GAIA,IAJA,CAEA,UAFA,CAGA,aAHA,GAIA,IAJA,CAGA,aAHA,CAKA,eALA,CAMA;AACA,yCACA;AACA,iDACA,CACA,oBACA,8CACA,aACA,YADA,EAEA,8BACA,UADA,IAEA,kBAFA,GAEA,EACA,iCACA,0BACA,CAHA,EAFA,CAFA,EAUA,CAXA,EAYA,CACA,WACA,OACA,CACA,+BACA,qEACA,CAFA,MAEA,CACA,uBACA,CACA,CArFA,EAsFA,SAtFA,qBAsFA,KAtFA,EAsFA,CACA,SACA,eADA,EAEA,mDAFA,GAIA,CA3FA,EA4FA,WA5FA,uBA4FA,IA5FA,EA4FA,KAEA,OAFA,GAIA,IAJA,CAEA,OAFA,CAGA,SAHA,GAIA,IAJA,CAGA,SAHA,CAKA,qCACA,wDADA,GAEA,mBAFA,CAGA,eACA,uCACA,UADA,IAEA,gBAFA,GAGA,OACA,CACA,sCACA,kCACA;AACA;AACA,kBADA;AAEA,sBAFA;AAGA,KAhHA;AAiHA,cAjHA,sBAiHA,KAjHA,EAiHA;AACA;AACA,cADA;AAEA;AACA,kCADA,GAFA;;;AAMA,KAxHA;AAyHA;AACA,kBA1HA,0BA0HA,IA1HA,EA0HA;AACA;AACA;AACA;AACA,uLAFA;AAGA,uCAHA;AAIA,YAJA,kBAIA;AACA;AACA,SANA;;AAQA,KApIA;AAqIA,kBArIA,0BAqIA,KArIA,EAqIA;AACA,8CADA;;AAGA,WAHA;AAIA,iCAJA,CAGA,KAHA;;AAMA,WANA;AAOA,eAPA,CAMA,KANA;AAQA;AACA;AACA,cADA,CACA,2CADA;AAEA,WAFA,CAEA;AACA;AACA,2BADA,GADA,GAFA,CADA;;;AAQA,sBARA;AASA,YATA,kBASA;AACA;AACA,SAXA;;AAaA,KA1JA;AA2JA,kBA3JA,0BA2JA,KA3JA,EA2JA;;AAEA,WAFA;AAGA,iCAHA,CAEA,KAFA;AAIA;AACA;AACA,oBADA;AAEA,mEAFA;;AAIA,KApKA,EArBA,E;;;;;;;;;;;;;ACtKA;AAAA;AAAA;AAAA;AAAktC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"node-modules/uview-ui/components/u-upload/u-upload.js"
,
"sourcesContent"
:
[
"import { render, staticRenderFns, recyclableRender, components } from
\"
./u-upload.vue?vue&type=template&id=49deb6f2&scoped=true&
\"\n
var renderjs
\n
import script from
\"
./u-upload.vue?vue&type=script&lang=js&
\"\n
export * from
\"
./u-upload.vue?vue&type=script&lang=js&
\"\n
import style0 from
\"
./u-upload.vue?vue&type=style&index=0&id=49deb6f2&lang=scss&scoped=true&
\"\n\n\n
/* normalize component */
\n
import normalizer from
\"
!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
runtime
\\\\
componentNormalizer.js
\"\n
var component = normalizer(
\n
script,
\n
render,
\n
staticRenderFns,
\n
false,
\n
null,
\n
\"
49deb6f2
\"
,
\n
null,
\n
false,
\n
components,
\n
renderjs
\n
)
\n\n
component.options.__file =
\"
node_modules/uview-ui/components/u-upload/u-upload.vue
\"\n
export default component.exports"
,
"export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
templateLoader.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--16-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
template.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-uni-app-loader
\\\\
page-meta.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=template&id=49deb6f2&scoped=true&
\"
"
,
"var components
\n
try {
\n
components = {
\n
uIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-icon/u-icon
\"
*/
\"
uview-ui/components/u-icon/u-icon.vue
\"\n
)
\n
},
\n
uLoadingIcon: function() {
\n
return import(
\n
/* webpackChunkName:
\"
node-modules/uview-ui/components/u-loading-icon/u-loading-icon
\"
*/
\"
uview-ui/components/u-loading-icon/u-loading-icon.vue
\"\n
)
\n
}
\n
}
\n
} catch (e) {
\n
if (
\n
e.message.indexOf(
\"
Cannot find module
\"
) !== -1 &&
\n
e.message.indexOf(
\"
.vue
\"
) !== -1
\n
) {
\n
console.error(e.message)
\n
console.error(
\"
1. 排查组件名称拼写是否正确
\"
)
\n
console.error(
\n
\"
2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom
\"\n
)
\n
console.error(
\n
\"
3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件
\"\n
)
\n
} else {
\n
throw e
\n
}
\n
}
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
var s0 = _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)])
\n\n
var l0 = _vm.previewImage
\n
? _vm.__map(_vm.lists, function(item, index) {
\n
var $orig = _vm.__get_orig(item)
\n\n
var g0 =
\n
item.isImage || (item.type && item.type ===
\"
image
\"
)
\n
? _vm.$u.addUnit(_vm.width)
\n
: null
\n
var g1 =
\n
item.isImage || (item.type && item.type ===
\"
image
\"
)
\n
? _vm.$u.addUnit(_vm.height)
\n
: null
\n
return {
\n
$orig: $orig,
\n
g0: g0,
\n
g1: g1
\n
}
\n
})
\n
: null
\n
var g2 =
\n
_vm.isInCount && !(_vm.$slots.default || _vm.$slots.$default)
\n
? _vm.$u.addUnit(_vm.width)
\n
: null
\n
var g3 =
\n
_vm.isInCount && !(_vm.$slots.default || _vm.$slots.$default)
\n
? _vm.$u.addUnit(_vm.height)
\n
: null
\n
_vm.$mp.data = Object.assign(
\n
{},
\n
{
\n
$root: {
\n
s0: s0,
\n
l0: l0,
\n
g2: g2,
\n
g3: g3
\n
}
\n
}
\n
)
\n
}
\n
var recyclableRender = false
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
export { render, staticRenderFns, recyclableRender, components }"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=script&lang=js&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
babel-loader
\\\\
lib
\\\\
index.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--12-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
script.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=script&lang=js&
\"
"
,
"<template>
\r\n\t
<view class=
\"
u-upload
\"
:style=
\"
[$u.addStyle(customStyle)]
\"
>
\r\n\t\t
<view class=
\"
u-upload__wrap
\"
>
\r\n\t\t\t
<template v-if=
\"
previewImage
\"
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t
class=
\"
u-upload__wrap__preview
\"\r\n\t\t\t\t
v-for=
\"
(item, index) in lists
\"\r\n\t\t\t\t
:key=
\"
index
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<image
\r\n\t\t\t\t\t
v-if=
\"
item.isImage || (item.type && item.type === 'image')
\"\r\n\t\t\t\t\t
:src=
\"
item.thumb || item.url
\"\r\n\t\t\t\t\t
:mode=
\"
imageMode
\"\r\n\t\t\t\t\t
class=
\"
u-upload__wrap__preview__image
\"\r\n\t\t\t\t\t
@tap=
\"
onPreviewImage(item)
\"\r\n\t\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t\t
width: $u.addUnit(width),
\r\n\t\t\t\t\t\t\t
height: $u.addUnit(height)
\r\n\t\t\t\t\t\t
}]
\"\r\n\t\t\t\t\t
/>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
v-else
\r\n\t\t\t\t\t
class=
\"
u-upload__wrap__preview__other
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t
color=
\"
#80CBF9
\"\r\n\t\t\t\t\t\t
size=
\"
26
\"\r\n\t\t\t\t\t\t
:name=
\"
item.isVideo || (item.type && item.type === 'video') ? 'movie' : 'folder'
\"\r\n\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
<text class=
\"
u-upload__wrap__preview__other__text
\"
>{{item.isVideo || (item.type && item.type === 'video') ? '视频' : '文件'}}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-upload__status
\"\r\n\t\t\t\t\t
v-if=
\"
item.status === 'uploading' || item.status === 'failed'
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<view class=
\"
u-upload__status__icon
\"
>
\r\n\t\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
v-if=
\"
item.status === 'failed'
\"\r\n\t\t\t\t\t\t\t
name=
\"
close-circle
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
size=
\"
25
\"\r\n\t\t\t\t\t\t\t
/>
\r\n\t\t\t\t\t\t\t
<u-loading-icon
\r\n\t\t\t\t\t\t\t
size=
\"
22
\"\r\n\t\t\t\t\t\t\t
mode=
\"
circle
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
v-else
\r\n\t\t\t\t\t\t\t
/>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
<text
\r\n\t\t\t\t\t\t
v-if=
\"
item.message
\"\r\n\t\t\t\t\t\t
class=
\"
u-upload__status__message
\"\r\n\t\t\t\t\t\t
>{{ item.message }}</text>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-upload__deletable
\"\r\n\t\t\t\t\t
v-if=
\"
item.status !== 'uploading' && (deletable || item.deletable)
\"\r\n\t\t\t\t\t
@tap.stop=
\"
deleteItem(index)
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<view class=
\"
u-upload__deletable__icon
\"
>
\r\n\t\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
name=
\"
close
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
size=
\"
10
\"\r\n\t\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t\t
<view
\r\n\t\t\t\t\t
class=
\"
u-upload__success
\"\r\n\t\t\t\t\t
v-if=
\"
item.status === 'success'
\"\r\n\t\t\t\t\t
>
\r\n\t\t\t\t\t\t
<!-- #ifdef APP-NVUE -->
\r\n\t\t\t\t\t\t
<image
\r\n\t\t\t\t\t\t
:src=
\"
successIcon
\"\r\n\t\t\t\t\t\t
class=
\"
u-upload__success__icon
\"\r\n\t\t\t\t\t\t
></image>
\r\n\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t\t
<!-- #ifndef APP-NVUE -->
\r\n\t\t\t\t\t\t
<view class=
\"
u-upload__success__icon
\"
>
\r\n\t\t\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t\t\t
name=
\"
checkmark
\"\r\n\t\t\t\t\t\t\t
color=
\"
#ffffff
\"\r\n\t\t\t\t\t\t\t
size=
\"
12
\"\r\n\t\t\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t\t
</view>
\r\n\t\t\t\t\t\t
<!-- #endif -->
\r\n\t\t\t\t\t
</view>
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t\r\n\t\t\t
</template>
\r\n\t\t\t\r\n\t\t\t
<template v-if=
\"
isInCount
\"
>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t
v-if=
\"
$slots.default || $slots.$default
\"\r\n\t\t\t\t
@tap=
\"
chooseFile
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<slot />
\r\n\t\t\t\t
</view>
\r\n\t\t\t\t
<view
\r\n\t\t\t\t
v-else
\r\n\t\t\t\t
class=
\"
u-upload__button
\"\r\n\t\t\t\t
:hover-class=
\"
!disabled ? 'u-upload__button--hover' : ''
\"\r\n\t\t\t\t
hover-stay-time=
\"
150
\"\r\n\t\t\t\t
@tap=
\"
chooseFile
\"\r\n\t\t\t\t
:class=
\"
[disabled && 'u-upload__button--disabled']
\"\r\n\t\t\t\t\t
:style=
\"
[{
\r\n\t\t\t\t\t\t
width: $u.addUnit(width),
\r\n\t\t\t\t\t\t
height: $u.addUnit(height)
\r\n\t\t\t\t\t
}]
\"\r\n\t\t\t\t
>
\r\n\t\t\t\t\t
<u-icon
\r\n\t\t\t\t\t
:name=
\"
uploadIcon
\"\r\n\t\t\t\t\t
size=
\"
26
\"\r\n\t\t\t\t\t
:color=
\"
uploadIconColor
\"\r\n\t\t\t\t\t
></u-icon>
\r\n\t\t\t\t\t
<text
\r\n\t\t\t\t\t
v-if=
\"
uploadText
\"\r\n\t\t\t\t\t
class=
\"
u-upload__button__text
\"\r\n\t\t\t\t\t
>{{ uploadText }}</text>
\r\n\t\t\t\t
</view>
\r\n\t\t\t
</template>
\r\n\t\t
</view>
\r\n\r\n\t
</view>
\r\n
</template>
\r\n\r\n
<script>
\r\n\t
import {
\r\n\t\t
chooseFile
\r\n\t
} from './utils';
\r\n\t
import mixin from './mixin.js';
\r\n\t
import props from './props.js';
\r\n\r\n\t
/**
\r\n\t
* upload 上传
\r\n\t
* @description 该组件用于上传图片场景
\r\n\t
* @tutorial https://uviewui.com/components/upload.html
\r\n\t
* @property {String}
\t\t\t
accept
\t\t\t\t
接受的文件类型, 可选值为all media image file video (默认 'image' )
\r\n\t
* @property {String | Array}
\t
capture
\t\t\t\t
图片或视频拾取模式,当accept为image类型时设置capture可选额外camera可以直接调起摄像头(默认 ['album', 'camera'] )
\r\n\t
* @property {Boolean}
\t\t\t
compressed
\t\t\t
当accept为video时生效,是否压缩视频,默认为true(默认 true )
\r\n\t
* @property {String}
\t\t\t
camera
\t\t\t\t
当accept为video时生效,可选值为back或front(默认 'back' )
\r\n\t
* @property {Number}
\t\t\t
maxDuration
\t\t\t
当accept为video时生效,拍摄视频最长拍摄时间,单位秒(默认 60 )
\r\n\t
* @property {String}
\t\t\t
uploadIcon
\t\t\t
上传区域的图标,只能内置图标(默认 'camera-fill' )
\r\n\t
* @property {String}
\t\t\t
uploadIconColor
\t\t
上传区域的图标的字体颜色,只能内置图标(默认 #D3D4D6 )
\r\n\t
* @property {Boolean}
\t\t\t
useBeforeRead
\t\t
是否开启文件读取前事件(默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
previewFullImage
\t
是否显示组件自带的图片预览功能(默认 true )
\r\n\t
* @property {String | Number}
\t
maxCount
\t\t\t
最大上传数量(默认 52 )
\r\n\t
* @property {Boolean}
\t\t\t
disabled
\t\t\t
是否启用(默认 false )
\r\n\t
* @property {String}
\t\t\t
imageMode
\t\t\t
预览上传的图片时的裁剪模式,和image组件mode属性一致(默认 'aspectFill' )
\r\n\t
* @property {String}
\t\t\t
name
\t\t\t\t
标识符,可以在回调函数的第二项参数中获取
\r\n\t
* @property {Array}
\t\t\t
sizeType
\t\t\t
所选的图片的尺寸, 可选值为original compressed(默认 ['original', 'compressed'] )
\r\n\t
* @property {Boolean}
\t\t\t
multiple
\t\t\t
是否开启图片多选,部分安卓机型不支持 (默认 false )
\r\n\t
* @property {Boolean}
\t\t\t
deletable
\t\t\t
是否展示删除按钮(默认 true )
\r\n\t
* @property {String | Number}
\t
maxSize
\t\t\t\t
文件大小限制,单位为byte (默认 Number.MAX_VALUE )
\r\n\t
* @property {Array}
\t\t\t
fileList
\t\t\t
显示已上传的文件列表
\r\n\t
* @property {String}
\t\t\t
uploadText
\t\t\t
上传区域的提示文字
\r\n\t
* @property {String | Number}
\t
width
\t\t\t\t
内部预览图片区域和选择图片按钮的区域宽度(默认 80 )
\r\n\t
* @property {String | Number}
\t
height
\t\t\t\t
内部预览图片区域和选择图片按钮的区域高度(默认 80 )
\r\n\t
* @property {Object}
\t\t\t
customStyle
\t\t\t
组件的样式,对象形式
\r\n\t
* @event {Function} afterRead
\t\t
读取后的处理函数
\r\n\t
* @event {Function} beforeRead
\t\t
读取前的处理函数
\r\n\t
* @event {Function} oversize
\t\t
文件超出大小限制
\r\n\t
* @event {Function} clickPreview
\t
点击预览图片
\r\n\t
* @event {Function} delete
\t\t
删除图片
\r\n\t
* @example <u-upload :action=
\"
action
\"
:fileList=
\"
fileList
\"
></u-upload>
\r\n\t
*/
\r\n\t
export default {
\r\n\t\t
name:
\"
u-upload
\"
,
\r\n\t\t
mixins: [uni.$u.mpMixin, uni.$u.mixin, mixin,props],
\r\n\t\t
data() {
\r\n\t\t\t
return {
\r\n\t\t\t\t
// #ifdef APP-NVUE
\r\n\t\t\t\t
successIcon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAACP0lEQVRYCc3YXygsURwH8K/dpcWyG3LF5u/6/+dKVylSypuUl6uUPMifKMWL8oKEB1EUT1KeUPdR3uTNUsSLxb2udG/cbvInNuvf2rVnazZ/ZndmZ87snjM1Z+Z3zpzfp9+Z5mEAhlvjRtZgCKs+gnPAOcAkkMOR4jEHfItjDvgRxxSQD8cM0BuOCaAvXNCBQrigAsXgggYUiwsK0B9cwIH+4gIKlIILGFAqLiBAOTjFgXJxigJp4BQD0sIpAqSJow6kjSNAFTnRaHJwLenD6Mud52VQAcrBfTd2oyq+HtGaGGWAcnAVcXWoM3bCZrdi+ncPfaAcXE5UKVpdW/vitGPqqAtn98d0gXJwX7Qp6MmegUYVhvmTIezdmHlxJCjpHRTCFerLkRRu4k0aqdajN3sWOo0BK//msHa+xDuPC/oNFMKRhTtM4xjIX0SCNpXL4+7VIaHuyiWEp2L7ahWLf8fejfPdqPmC3mJicORZUp1CQzm+GiphvljGk+PBvWRbxii+xVTj5M6CiZ/tsDufvaXyxEUDxeLIyvu3m0iOyEFWVAkydcVYdyFrE9tQk9iMq6f/GNlvwt3LjQfh60LUrw9/cFyyMJUW/XkLSNMV4Mi6C5ML+ui4x5ClAX9sB9w0wV6wglJwJCv5fOxcr6EstgbGiEw4XcfUry4cWrcEUW8n+ARKxXEJHhw2WG43UKSvwI/TSZgvl7kh0b3XLZaLEy0QmMgLZAVH7J+ALOE+AVnDvQOyiPMAWcW5gSzjCPAV+78S5WE0GrQAAAAASUVORK5CYII=',
\r\n\t\t\t\t
// #endif
\r\n\t\t\t\t
lists: [],
\r\n\t\t\t\t
isInCount: true,
\r\n\t\t\t
}
\r\n\t\t
},
\r\n\t\t
watch: {
\r\n\t\t\t
// 监听文件列表的变化,重新整理内部数据
\r\n\t\t\t
fileList: {
\r\n\t\t\t\t
immediate: true,
\r\n\t\t\t\t
handler() {
\r\n\t\t\t\t\t
this.formatFileList()
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t
},
\r\n\t\t
methods: {
\r\n\t\t\t
formatFileList() {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
fileList = [], maxCount
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
const lists = fileList.map((item) =>
\r\n\t\t\t\t\t
Object.assign(Object.assign({}, item), {
\r\n\t\t\t\t\t\t
// 如果item.url为本地选择的blob文件的话,无法判断其为video还是image,此处优先通过accept做判断处理
\r\n\t\t\t\t\t\t
isImage: this.accept === 'image' || uni.$u.test.image(item.url || item.thumb),
\r\n\t\t\t\t\t\t
isVideo: this.accept === 'video' || uni.$u.test.video(item.url || item.thumb),
\r\n\t\t\t\t\t\t
deletable: typeof(item.deletable) === 'boolean' ? item.deletable : this.deletable,
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
);
\r\n\t\t\t\t
this.lists = lists
\r\n\t\t\t\t
this.isInCount = lists.length < maxCount
\r\n\t\t\t
},
\r\n\t\t\t
chooseFile() {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
maxCount,
\r\n\t\t\t\t\t
multiple,
\r\n\t\t\t\t\t
lists,
\r\n\t\t\t\t\t
disabled
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
if (disabled) return;
\r\n\t\t\t\t
// 如果用户传入的是字符串,需要格式化成数组
\r\n\t\t\t\t
let capture;
\r\n\t\t\t\t
try {
\r\n\t\t\t\t\t
capture = uni.$u.test.array(this.capture) ? this.capture : this.capture.split(',');
\r\n\t\t\t\t
}catch(e) {
\r\n\t\t\t\t\t
capture = [];
\r\n\t\t\t\t
}
\r\n\t\t\t\t
chooseFile(
\r\n\t\t\t\t\t\t
Object.assign({
\r\n\t\t\t\t\t\t\t
accept: this.accept,
\r\n\t\t\t\t\t\t\t
multiple: this.multiple,
\r\n\t\t\t\t\t\t\t
capture: capture,
\r\n\t\t\t\t\t\t\t
compressed: this.compressed,
\r\n\t\t\t\t\t\t\t
maxDuration: this.maxDuration,
\r\n\t\t\t\t\t\t\t
sizeType: this.sizeType,
\r\n\t\t\t\t\t\t\t
camera: this.camera,
\r\n\t\t\t\t\t\t
}, {
\r\n\t\t\t\t\t\t\t
maxCount: maxCount - lists.length,
\r\n\t\t\t\t\t\t
})
\r\n\t\t\t\t\t
)
\r\n\t\t\t\t\t
.then((res) => {
\r\n\t\t\t\t\t\t
this.onBeforeRead(multiple ? res : res[0]);
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t\t
.catch((error) => {
\r\n\t\t\t\t\t\t
this.$emit('error', error);
\r\n\t\t\t\t\t
});
\r\n\t\t\t
},
\r\n\t\t\t
// 文件读取之前
\r\n\t\t\t
onBeforeRead(file) {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
beforeRead,
\r\n\t\t\t\t\t
useBeforeRead,
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
let res = true
\r\n\t\t\t\t
// beforeRead是否为一个方法
\r\n\t\t\t\t
if (uni.$u.test.func(beforeRead)) {
\r\n\t\t\t\t\t
// 如果用户定义了此方法,则去执行此方法,并传入读取的文件回调
\r\n\t\t\t\t\t
res = beforeRead(file, this.getDetail());
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (useBeforeRead) {
\r\n\t\t\t\t\t
res = new Promise((resolve, reject) => {
\r\n\t\t\t\t\t\t
this.$emit(
\r\n\t\t\t\t\t\t\t
'beforeRead',
\r\n\t\t\t\t\t\t\t
Object.assign(Object.assign({
\r\n\t\t\t\t\t\t\t\t
file
\r\n\t\t\t\t\t\t\t
}, this.getDetail()), {
\r\n\t\t\t\t\t\t\t\t
callback: (ok) => {
\r\n\t\t\t\t\t\t\t\t\t
ok ? resolve() : reject();
\r\n\t\t\t\t\t\t\t\t
},
\r\n\t\t\t\t\t\t\t
})
\r\n\t\t\t\t\t\t
);
\r\n\t\t\t\t\t
});
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (!res) {
\r\n\t\t\t\t\t
return;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (uni.$u.test.promise(res)) {
\r\n\t\t\t\t\t
res.then((data) => this.onAfterRead(data || file));
\r\n\t\t\t\t
} else {
\r\n\t\t\t\t\t
this.onAfterRead(file);
\r\n\t\t\t\t
}
\r\n\t\t\t
},
\r\n\t\t\t
getDetail(index) {
\r\n\t\t\t\t
return {
\r\n\t\t\t\t\t
name: this.name,
\r\n\t\t\t\t\t
index: index == null ? this.fileList.length : index,
\r\n\t\t\t\t
};
\r\n\t\t\t
},
\r\n\t\t\t
onAfterRead(file) {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
maxSize,
\r\n\t\t\t\t\t
afterRead
\r\n\t\t\t\t
} = this;
\r\n\t\t\t\t
const oversize = Array.isArray(file) ?
\r\n\t\t\t\t\t
file.some((item) => item.size > maxSize) :
\r\n\t\t\t\t\t
file.size > maxSize;
\r\n\t\t\t\t
if (oversize) {
\r\n\t\t\t\t\t
this.$emit('oversize', Object.assign({
\r\n\t\t\t\t\t\t
file
\r\n\t\t\t\t\t
}, this.getDetail()));
\r\n\t\t\t\t\t
return;
\r\n\t\t\t\t
}
\r\n\t\t\t\t
if (typeof afterRead === 'function') {
\r\n\t\t\t\t\t
afterRead(file, this.getDetail());
\r\n\t\t\t\t
}
\r\n\t\t\t\t
this.$emit('afterRead', Object.assign({
\r\n\t\t\t\t\t
file
\r\n\t\t\t\t
}, this.getDetail()));
\r\n\t\t\t
},
\r\n\t\t\t
deleteItem(index) {
\r\n\t\t\t\t
this.$emit(
\r\n\t\t\t\t\t
'delete',
\r\n\t\t\t\t\t
Object.assign(Object.assign({}, this.getDetail(index)), {
\r\n\t\t\t\t\t\t
file: this.fileList[index],
\r\n\t\t\t\t\t
})
\r\n\t\t\t\t
);
\r\n\t\t\t
},
\r\n\t\t\t
// 预览图片
\r\n\t\t\t
onPreviewImage(item) {
\r\n\t\t\t\t
if (!item.isImage || !this.previewFullImage) return
\r\n\t\t\t\t
uni.previewImage({
\r\n\t\t\t\t\t
// 先filter找出为图片的item,再返回filter结果中的图片url
\r\n\t\t\t\t\t
urls: this.lists.filter((item) => this.accept === 'image' || uni.$u.test.image(item.url || item.thumb)).map((item) => item.url || item.thumb),
\r\n\t\t\t\t\t
current: item.url || item.thumb,
\r\n\t\t\t\t\t
fail() {
\r\n\t\t\t\t\t\t
uni.$u.toast('预览图片失败')
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t
});
\r\n\t\t\t
},
\r\n\t\t\t
onPreviewVideo(event) {
\r\n\t\t\t\t
if (!this.data.previewFullImage) return;
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
} = event.currentTarget.dataset;
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
lists
\r\n\t\t\t\t
} = this.data;
\r\n\t\t\t\t
wx.previewMedia({
\r\n\t\t\t\t\t
sources: lists
\r\n\t\t\t\t\t\t
.filter((item) => isVideoFile(item))
\r\n\t\t\t\t\t\t
.map((item) =>
\r\n\t\t\t\t\t\t\t
Object.assign(Object.assign({}, item), {
\r\n\t\t\t\t\t\t\t\t
type: 'video'
\r\n\t\t\t\t\t\t\t
})
\r\n\t\t\t\t\t\t
),
\r\n\t\t\t\t\t
current: index,
\r\n\t\t\t\t\t
fail() {
\r\n\t\t\t\t\t\t
uni.$u.toast('预览视频失败')
\r\n\t\t\t\t\t
},
\r\n\t\t\t\t
});
\r\n\t\t\t
},
\r\n\t\t\t
onClickPreview(event) {
\r\n\t\t\t\t
const {
\r\n\t\t\t\t\t
index
\r\n\t\t\t\t
} = event.currentTarget.dataset;
\r\n\t\t\t\t
const item = this.data.lists[index];
\r\n\t\t\t\t
this.$emit(
\r\n\t\t\t\t\t
'clickPreview',
\r\n\t\t\t\t\t
Object.assign(Object.assign({}, item), this.getDetail(index))
\r\n\t\t\t\t
);
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</script>
\r\n\r\n
<style lang=
\"
scss
\"
scoped>
\r\n\t
@import '../../libs/css/components.scss';
\r\n\t
$u-upload-preview-border-radius: 2px !default;
\r\n\t
$u-upload-preview-margin: 0 8px 8px 0 !default;
\r\n\t
$u-upload-image-width:80px !default;
\r\n\t
$u-upload-image-height:$u-upload-image-width;
\r\n\t
$u-upload-other-bgColor: rgb(242, 242, 242) !default;
\r\n\t
$u-upload-other-flex:1 !default;
\r\n\t
$u-upload-text-font-size:11px !default;
\r\n\t
$u-upload-text-color:$u-tips-color !default;
\r\n\t
$u-upload-text-margin-top:2px !default;
\r\n\t
$u-upload-deletable-right:0 !default;
\r\n\t
$u-upload-deletable-top:0 !default;
\r\n\t
$u-upload-deletable-bgColor:rgb(55, 55, 55) !default;
\r\n\t
$u-upload-deletable-height:14px !default;
\r\n\t
$u-upload-deletable-width:$u-upload-deletable-height;
\r\n\t
$u-upload-deletable-boder-bottom-left-radius:100px !default;
\r\n\t
$u-upload-deletable-zIndex:3 !default;
\r\n\t
$u-upload-success-bottom:0 !default;
\r\n\t
$u-upload-success-right:0 !default;
\r\n\t
$u-upload-success-border-style:solid !default;
\r\n\t
$u-upload-success-border-top-color:transparent !default;
\r\n\t
$u-upload-success-border-left-color:transparent !default;
\r\n\t
$u-upload-success-border-bottom-color: $u-success !default;
\r\n\t
$u-upload-success-border-right-color:$u-upload-success-border-bottom-color;
\r\n\t
$u-upload-success-border-width:9px !default;
\r\n\t
$u-upload-icon-top:0px !default;
\r\n\t
$u-upload-icon-right:0px !default;
\r\n\t
$u-upload-icon-h5-top:1px !default;
\r\n\t
$u-upload-icon-h5-right:0 !default;
\r\n\t
$u-upload-icon-width:16px !default;
\r\n\t
$u-upload-icon-height:$u-upload-icon-width;
\r\n\t
$u-upload-success-icon-bottom:-10px !default;
\r\n\t
$u-upload-success-icon-right:-10px !default;
\r\n\t
$u-upload-status-right:0 !default;
\r\n\t
$u-upload-status-left:0 !default;
\r\n\t
$u-upload-status-bottom:0 !default;
\r\n\t
$u-upload-status-top:0 !default;
\r\n\t
$u-upload-status-bgColor:rgba(0, 0, 0, 0.5) !default;
\r\n\t
$u-upload-status-icon-Zindex:1 !default;
\r\n\t
$u-upload-message-font-size:12px !default;
\r\n\t
$u-upload-message-color:#FFFFFF !default;
\r\n\t
$u-upload-message-margin-top:5px !default;
\r\n\t
$u-upload-button-width:80px !default;
\r\n\t
$u-upload-button-height:$u-upload-button-width;
\r\n\t
$u-upload-button-bgColor:rgb(244, 245, 247) !default;
\r\n\t
$u-upload-button-border-radius:2px !default;
\r\n\t
$u-upload-botton-margin: 0 8px 8px 0 !default;
\r\n\t
$u-upload-text-font-size:11px !default;
\r\n\t
$u-upload-text-color:$u-tips-color !default;
\r\n\t
$u-upload-text-margin-top: 2px !default;
\r\n\t
$u-upload-hover-bgColor:rgb(230, 231, 233) !default;
\r\n\t
$u-upload-disabled-opacity:.5 !default;
\r\n\r\n\t
.u-upload {
\r\n\t\t
@include flex(column);
\r\n\t\t
flex: 1;
\r\n\r\n\t\t
&__wrap {
\r\n\t\t\t
@include flex;
\r\n\t\t\t
flex-wrap: wrap;
\r\n\t\t\t
flex: 1;
\r\n\r\n\t\t\t
&__preview {
\r\n\t\t\t\t
border-radius: $u-upload-preview-border-radius;
\r\n\t\t\t\t
margin: $u-upload-preview-margin;
\r\n\t\t\t\t
position: relative;
\r\n\t\t\t\t
overflow: hidden;
\r\n\t\t\t\t
@include flex;
\r\n\r\n\t\t\t\t
&__image {
\r\n\t\t\t\t\t
width: $u-upload-image-width;
\r\n\t\t\t\t\t
height: $u-upload-image-height;
\r\n\t\t\t\t
}
\r\n\r\n\t\t\t\t
&__other {
\r\n\t\t\t\t\t
width: $u-upload-image-width;
\r\n\t\t\t\t\t
height: $u-upload-image-height;
\r\n\t\t\t\t\t
background-color: $u-upload-other-bgColor;
\r\n\t\t\t\t\t
flex: $u-upload-other-flex;
\r\n\t\t\t\t\t
@include flex(column);
\r\n\t\t\t\t\t
justify-content: center;
\r\n\t\t\t\t\t
align-items: center;
\r\n\r\n\t\t\t\t\t
&__text {
\r\n\t\t\t\t\t\t
font-size: $u-upload-text-font-size;
\r\n\t\t\t\t\t\t
color: $u-upload-text-color;
\r\n\t\t\t\t\t\t
margin-top: $u-upload-text-margin-top;
\r\n\t\t\t\t\t
}
\r\n\t\t\t\t
}
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__deletable {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: $u-upload-deletable-top;
\r\n\t\t\t
right: $u-upload-deletable-right;
\r\n\t\t\t
background-color: $u-upload-deletable-bgColor;
\r\n\t\t\t
height: $u-upload-deletable-height;
\r\n\t\t\t
width: $u-upload-deletable-width;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
border-bottom-left-radius: $u-upload-deletable-boder-bottom-left-radius;
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
z-index: $u-upload-deletable-zIndex;
\r\n\r\n\t\t\t
&__icon {
\r\n\t\t\t\t
position: absolute;
\r\n\t\t\t\t
transform: scale(0.7);
\r\n\t\t\t\t
top: $u-upload-icon-top;
\r\n\t\t\t\t
right: $u-upload-icon-right;
\r\n\t\t\t\t
/* #ifdef H5 */
\r\n\t\t\t\t
top: $u-upload-icon-h5-top;
\r\n\t\t\t\t
right: $u-upload-icon-h5-right;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__success {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
bottom: $u-upload-success-bottom;
\r\n\t\t\t
right: $u-upload-success-right;
\r\n\t\t\t
@include flex;
\r\n\t\t\t
// 由于weex(nvue)为阿里巴巴的KPI(部门业绩考核)的laji产物,不支持css绘制三角形
\r\n\t\t\t
// 所以在nvue下使用图片,非nvue下使用css实现
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
border-style: $u-upload-success-border-style;
\r\n\t\t\t
border-top-color: $u-upload-success-border-top-color;
\r\n\t\t\t
border-left-color: $u-upload-success-border-left-color;
\r\n\t\t\t
border-bottom-color: $u-upload-success-border-bottom-color;
\r\n\t\t\t
border-right-color: $u-upload-success-border-right-color;
\r\n\t\t\t
border-width: $u-upload-success-border-width;
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
/* #endif */
\r\n\r\n\t\t\t
&__icon {
\r\n\t\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t\t
position: absolute;
\r\n\t\t\t\t
transform: scale(0.7);
\r\n\t\t\t\t
bottom: $u-upload-success-icon-bottom;
\r\n\t\t\t\t
right: $u-upload-success-icon-right;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t\t
/* #ifdef APP-NVUE */
\r\n\t\t\t\t
width: $u-upload-icon-width;
\r\n\t\t\t\t
height: $u-upload-icon-height;
\r\n\t\t\t\t
/* #endif */
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__status {
\r\n\t\t\t
position: absolute;
\r\n\t\t\t
top: $u-upload-status-top;
\r\n\t\t\t
bottom: $u-upload-status-bottom;
\r\n\t\t\t
left: $u-upload-status-left;
\r\n\t\t\t
right: $u-upload-status-right;
\r\n\t\t\t
background-color: $u-upload-status-bgColor;
\r\n\t\t\t
@include flex(column);
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\r\n\t\t\t
&__icon {
\r\n\t\t\t\t
position: relative;
\r\n\t\t\t\t
z-index: $u-upload-status-icon-Zindex;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&__message {
\r\n\t\t\t\t
font-size: $u-upload-message-font-size;
\r\n\t\t\t\t
color: $u-upload-message-color;
\r\n\t\t\t\t
margin-top: $u-upload-message-margin-top;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\r\n\t\t
&__button {
\r\n\t\t\t
@include flex(column);
\r\n\t\t\t
align-items: center;
\r\n\t\t\t
justify-content: center;
\r\n\t\t\t
width: $u-upload-button-width;
\r\n\t\t\t
height: $u-upload-button-height;
\r\n\t\t\t
background-color: $u-upload-button-bgColor;
\r\n\t\t\t
border-radius: $u-upload-button-border-radius;
\r\n\t\t\t
margin: $u-upload-botton-margin;
\r\n\t\t\t
/* #ifndef APP-NVUE */
\r\n\t\t\t
box-sizing: border-box;
\r\n\t\t\t
/* #endif */
\r\n\r\n\t\t\t
&__text {
\r\n\t\t\t\t
font-size: $u-upload-text-font-size;
\r\n\t\t\t\t
color: $u-upload-text-color;
\r\n\t\t\t\t
margin-top: $u-upload-text-margin-top;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--hover {
\r\n\t\t\t\t
background-color: $u-upload-hover-bgColor;
\r\n\t\t\t
}
\r\n\r\n\t\t\t
&--disabled {
\r\n\t\t\t\t
opacity: $u-upload-disabled-opacity;
\r\n\t\t\t
}
\r\n\t\t
}
\r\n\t
}
\r\n
</style>
\r\n
"
,
"import mod from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=style&index=0&id=49deb6f2&lang=scss&scoped=true&
\"
; export default mod; export * from
\"
-!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
mini-css-extract-plugin
\\\\
dist
\\\\
loader.js??ref--8-oneOf-1-0!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
css-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-1!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
loaders
\\\\
stylePostLoader.js!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-2!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
postcss-loader
\\\\
src
\\\\
index.js??ref--8-oneOf-1-3!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
sass-loader
\\\\
dist
\\\\
cjs.js??ref--8-oneOf-1-4!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
webpack-preprocess-loader
\\\\
index.js??ref--8-oneOf-1-5!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
vue-cli-plugin-uni
\\\\
packages
\\\\
vue-loader
\\\\
lib
\\\\
index.js??vue-loader-options!D:
\\\\
Bin
\\\\
HBuilderX
\\\\
plugins
\\\\
uniapp-cli
\\\\
node_modules
\\\\
@dcloudio
\\\\
webpack-uni-mp-loader
\\\\
lib
\\\\
style.js!./u-upload.vue?vue&type=style&index=0&id=49deb6f2&lang=scss&scoped=true&
\"
"
,
"// extracted by mini-css-extract-plugin
\n
if(module.hot) {
\n
// 1663029101813
\n
var cssReload = require(
\"
D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js
\"
)(module.id, {
\"
hmr
\"
:true,
\"
publicPath
\"
:
\"
../../
\"
,
\"
locals
\"
:false});
\n
module.hot.dispose(cssReload);
\n
module.hot.accept(undefined, cssReload);
\n
}
\n
"
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/auditPage.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?4f30"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?5af5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?6835"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?a6e7"
,
"uni-app:///pages/index/auditPage.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?3241"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?8a48"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,qG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/CA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiRhpB;AACA,MADA,kBACA;AACA;AACA,eADA;AAEA,mBAFA,EAEA;AACA,mBAHA,EAGA;AACA;AACA,mBALA,EAKA;AACA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CANA;;AAWA,aAXA;;AAaA,GAfA;AAgBA,QAhBA,kBAgBA,CAhBA,EAgBA;AACA;AACA;AACA;AACA,GApBA;AAqBA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,cANA,wBAMA;AACA;AACA,KARA;AASA;AACA,gBAVA,0BAUA;AACA;AACA,KAZA,EArBA,E;;;;;;;;;;;;;ACjRA;AAAA;AAAA;AAAA;AAA2rC,CAAgB,wpCAAG,EAAC,C;;;;;;;;;;;ACA/sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/auditPage.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/auditPage.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./auditPage.vue?vue&type=template&id=4e49f624&\"\nvar renderjs\nimport script from \"./auditPage.vue?vue&type=script&lang=js&\"\nexport * from \"./auditPage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./auditPage.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/auditPage.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=template&id=4e49f624&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.currentNum = e.current)\n }\n\n _vm.e1 = function(e) {\n return (_vm.currentNum = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<!-- 农作物 -->\r\n\t\t<view class=\"\" v-if=\"type==1\">\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<u-navbar title=\"卖家信息详情\" @rightClick=\"rightClick\" :autoBack=\"true\">\r\n\t\t\t\t</u-navbar>\r\n\t\t\t</view>\r\n\t\t\t<!-- 顶部轮播图 -->\r\n\t\t\t<view class=\"swiper\">\r\n\t\t\t\t<u-swiper :list=\"list6\" @change=\"e => currentNum = e.current\" :autoplay=\"true\"\r\n\t\t\t\t\tindicatorStyle=\"right: 20px\" height=\"375\" radius=\"0rpx\">\r\n\t\t\t\t\t<view slot=\"indicator\" class=\"indicator-num\">\r\n\t\t\t\t\t\t<text class=\"indicator-num__text\">{{ currentNum + 1 }}/{{ list6.length }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-swiper>\r\n\t\t\t</view>\r\n\t\t\t<!-- 页面内容 -->\r\n\t\t\t<view class=\"main\">\r\n\t\t\t\t<view class=\"content\">\r\n\t\t\t\t\t<view class=\"name\">玉米</view>\r\n\t\t\t\t\t<view class=\"numCard flexA\">\r\n\t\t\t\t\t\t<view class=\"yieldCard flexC\">\r\n\t\t\t\t\t\t\t<view class=\"yieldCardtitle\">预计作物产量</view>\r\n\t\t\t\t\t\t\t<view class=\"yieldCardnum\">100公斤/亩</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardB flexC\">\r\n\t\t\t\t\t\t\t<view class=\"yieldCardtitle\">种植面积</view>\r\n\t\t\t\t\t\t\t<view class=\"yieldCardnum\">100亩</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexJ\">\r\n\t\t\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t\t\t<view class=\"ftitle\">秸秆是否出售:</view>\r\n\t\t\t\t\t\t\t<view class=\"btitle\">是</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"flexA\" style=\"margin-right: 32rpx;\">\r\n\t\t\t\t\t\t\t<view class=\"ftitle\">秸秆状态:</view>\r\n\t\t\t\t\t\t\t<view class=\"btitle\">已打包</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA time\">\r\n\t\t\t\t\t\t<view class=\"ftitle\">收获时间:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">2022-09-21</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t\t<img src=\"/static/ic_10@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"ftitle\">手机:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">156****0180</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA address\">\r\n\t\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t\t<img src=\"/static/ic_12@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"ftitle\">地址:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">天津市西青区花苑鑫茂科技园C1座</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 按钮 1审核中 2 审核通过 3申请查看手机号 4申请未通过 -->\r\n\t\t\t<view class=\"but flexC\" @click=\"changeMask\" v-if=\"status==3\">\r\n\t\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t\t申请查看卖家手机号\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"but flexC\" v-if=\"status==1\">\r\n\t\t\t\t<view class=\"butImg\">\r\n\t\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t\t审核中\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"but flexC\" v-if=\"status==2\">\r\n\t\t\t\t<view class=\"butImg\">\r\n\t\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t\t审核通过\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flexA Submit\" v-if=\"status==4\">\r\n\t\t\t\t<view class=\"suBut flexC\">\r\n\t\t\t\t\t重新提交\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"suButt flexC\">\r\n\t\t\t\t\t<view class=\"suButtimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t审核未通过\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 遮罩 -->\r\n<!-- \t\t\t<view class=\"Mask\" v-if=\"isMask==true\">\r\n\t\t\t<view class=\"card\">\r\n\t\t\t\t<view class=\"cardName\">申请查看卖家手机号</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的姓名</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的年龄</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的年龄\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">身份证号</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t\t<view class=\"agreementImgt\" v-if=\"agShow==true\" @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementImg\" v-else @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementTitle\">\r\n\t\t\t\t\t\t同意<text>《用户协议》</text>和<text>《隐私协议》</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t<view class=\"butSubmit flexC\" @click=\"changeMask\">\r\n\t\t\t\t提交\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view> -->\r\n\t</view>\r\n\t\r\n\t<!-- 土地 -->\r\n\t<view class=\"\" v-else>\r\n\t\t<view class=\"\">\r\n\t\t\t<u-navbar title=\"卖家信息详情\" @rightClick=\"rightClick\" :autoBack=\"true\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<!-- 顶部轮播图 -->\r\n\t\t<view class=\"swiper\">\r\n\t\t\t<u-swiper :list=\"list6\" @change=\"e => currentNum = e.current\" :autoplay=\"true\" indicatorStyle=\"right: 20px\"\r\n\t\t\t\theight=\"375\" radius=\"0rpx\">\r\n\t\t\t\t<view slot=\"indicator\" class=\"indicator-num\">\r\n\t\t\t\t\t<text class=\"indicator-num__text\">{{ currentNum + 1 }}/{{ list6.length }}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</u-swiper>\r\n\t\t</view>\r\n\t\t<!-- 页面内容 -->\r\n\t\t<view class=\"main\">\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"cm\">\r\n\t\t\t\t\t<view class=\"name\">土地详情</view>\r\n\t\t\t\t\t<view class=\"numCard\">\r\n\t\t\t\t\t\t<view class=\"yieldCardnum\">100亩</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardtitle\">种植面积</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_10@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitles\">手机:</view>\r\n\t\t\t\t\t<view class=\"btitle\">156****0180</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view class=\"flexA addresss\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_12@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitle\">地址:</view>\r\n\t\t\t\t\t<view class=\"btitle\">天津市西青区花苑鑫茂科技园C1座</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"detailed\">\r\n\t\t\t\t详细地址详细地址详细地址详细地址详细地址详细地址\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"miaoshu \">\r\n\t\t\t<view class=\"bottom flexA\">\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view class=\"tudi\">土地描述</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"detaileda\">\r\n\t\t\t\t请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用\r\n\t\t\t\t未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用\r\n\t\t\t\t未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<!-- 按钮 1审核中 2 审核通过 3申请查看手机号 4申请未通过 -->\r\n\t\t<view class=\"but flexC\" @click=\"changeMask\" v-if=\"status==3\">\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t申请查看卖家手机号\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==1\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核中\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==2\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核通过\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"flexA Submit\" v-if=\"status==4\">\r\n\t\t\t<view class=\"suBut flexC\">\r\n\t\t\t\t重新提交\r\n\t\t\t</view>\r\n\t\t\t<view class=\"suButt flexC\">\r\n\t\t\t\t<view class=\"suButtimg\">\r\n\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t审核未通过\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 遮罩 -->\r\n<!-- \t\t<view class=\"Mask\" v-if=\"isMask==true\">\r\n\t\t\t<view class=\"card\">\r\n\t\t\t\t<view class=\"cardName\">申请查看卖家手机号</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的姓名</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的年龄</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的年龄\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">身份证号</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t\t<view class=\"agreementImgt\" v-if=\"agShow==true\" @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementImg\" v-else @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementTitle\">\r\n\t\t\t\t\t\t同意<text>《用户协议》</text>和<text>《隐私协议》</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"butSubmit flexC\" @click=\"changeMask\">\r\n\t\t\t\t\t提交\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatus: 1,\r\n\t\t\t\tisMask: false, // 遮罩判断\r\n\t\t\t\tagShow: false, //是否同意协议\r\n\t\t\t\t// current:1,\r\n\t\t\t\tcurrentNum: 1, //轮播图\r\n\t\t\t\tlist6: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t],\r\n\t\t\t\ttype: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tthis.status = e.status\r\n\t\t\tthis.type = e.type\r\n\t\t\tconsole.log(this.status);\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 返回上一页\r\n\t\t\trightClick() {\r\n\t\t\t\tuni.navigateBack({})\r\n\t\t\t},\r\n\t\t\t// 控制遮罩\r\n\t\t\tchangeMask() {\r\n\t\t\t\tthis.isMask = !this.isMask\r\n\t\t\t},\r\n\t\t\t// 控制同意协议显示\r\n\t\t\tchangeAgShow() {\r\n\t\t\t\tthis.agShow = !this.agShow\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground-color: #F2F3F7;\r\n\t}\r\n\r\n\t// 修改顶部nav背景颜色\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\tbackground-color: transparent !important;\r\n\t}\r\n\r\n\t.u-status-bar {\r\n\t\tbackground-color: transparent !important;\r\n\t}\r\n\r\n\t.u-navbar__content__title {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\r\n\t.u-icon__icon {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\r\n\t// 轮播图\r\n\t.indicator-num {\r\n\t\tpadding: 2px 0;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.35);\r\n\t\tborder-radius: 100px;\r\n\t\twidth: 35px;\r\n\t\t@include flex;\r\n\t\tjustify-content: center;\r\n\r\n\t\t&__text {\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tfont-size: 12px;\r\n\t\t}\r\n\t}\r\n\r\n\t.swiper {\r\n\t\t// z-index: 999;\r\n\t}\r\n\r\n\t.main {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 32rpx auto;\r\n\t}\r\n\r\n\t.mainTwo {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 32rpx auto;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tborder-radius: 16rpx;\r\n\t}\r\n\r\n\t.name {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 44rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t// .numCard {\r\n\t// \tmargin: 32rpx 0rpx;\r\n\t// }\r\n\t.yieldCard {\r\n\t\twidth: 336rpx;\r\n\t\t// height: 192rpx;\r\n\t\tpadding: 56rpx 0;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247, 255, 255, 1);\r\n\t\tmargin-right: 14rpx;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.yieldCardB {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(254, 248, 245, 1);\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.yieldCardtitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 24rpx;\r\n\t}\r\n\r\n\t.yieldCardnum {\r\n\t\tcolor: rgba(230, 61, 39, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-top: 4rpx;\r\n\t}\r\n\r\n\t.ftitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t// .ftitles {\r\n\t// \t color: rgba(0,0,0,0.4);\r\n\t// \t font-size: 28rpx;\r\n\t// \t margin-bottom: 24rpx;\r\n\t// }\r\n\t.btitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.time {\r\n\t\tmargin: 32rpx 0rpx;\r\n\t}\r\n\r\n\t.fimg>img {\r\n\t\twidth: 21.35rpx;\r\n\t\theight: 21.35rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.address {\r\n\t\tmargin-top: 32rpx;\r\n\t}\r\n\r\n\t.addresss {\r\n\t\tmargin-top: 24rpx;\r\n\t}\r\n\r\n\t.but {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t}\r\n\r\n\t.butImg>img {\r\n\t\twidth: 22.67rpx;\r\n\t\theight: 26.67rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.buttitle {\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-left: 4rpx;\r\n\t}\r\n\r\n\t.Mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 750rpx;\r\n\t\theight: 100vh;\r\n\t\tbackground: rgba(0, 0, 0, 0.5);\r\n\t\tz-index: 10;\r\n\t}\r\n\r\n\t.card {\r\n\t\tmargin: 432rpx auto;\r\n\t\twidth: 622rpx;\r\n\t\theight: 544rpx;\r\n\t\tborder-radius: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\t// padding: 48rpx 0 36rpx;\r\n\t}\r\n\r\n\t.cardName {\r\n\t\tpadding-top: 48rpx;\r\n\t\tmargin: 0rpx auto;\r\n\t\twidth: 294rpx;\r\n\t\t// height: 44rpx;\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.cardItem {\r\n\t\tmargin: 12rpx 48rpx;\r\n\t\tpadding-top: 24rpx;\r\n\t}\r\n\r\n\t.cardtitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.inp>input {\r\n\t\ttext-align: right;\r\n\t}\r\n\r\n\t.agreement {\r\n\t\tpadding: 38rpx 48rpx;\r\n\t}\r\n\r\n\t.agreementImg {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\r\n\t.agreementImgt {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\r\n\t.agreementImgt>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground-color: #62CDCE;\r\n\t\tborder-radius: 50%;\r\n\t}\r\n\r\n\t.agreementImg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.agreementTitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.6);\r\n\t\tfont-size: 24rpx;\r\n\t\tmargin-left: 12rpx;\r\n\t}\r\n\r\n\t.agreementTitle>text {\r\n\t\tcolor: rgba(33, 83, 213, 1);\r\n\t}\r\n\r\n\t.butSubmit {\r\n\t\twidth: 514rpx;\r\n\t\theight: 76rpx;\r\n\t\tborder-radius: 90rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tmargin: 0rpx auto;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.Submit {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t}\r\n\r\n\t.suBut {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.suButt {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tborder: 2rpx solid #62CDCE;\r\n\t\tcolor: rgba(98, 205, 206, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-left: 30rpx;\r\n\t}\r\n\r\n\t.suButtimg {\r\n\t\theight: 32rpx;\r\n\t}\r\n\r\n\t.suButtimg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 0.01);\r\n\t}\r\n\r\n\t.cm {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tmargin-bottom: 24rpx;\r\n\t}\r\n\r\n\t.detailed {\r\n\t\twidth: 556rpx;\r\n\t\theight: 80rpx;\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\t\toverflow: hidden;\r\n\t\tmargin-left: 100rpx;\r\n\t}\r\n\r\n\t.miaoshu {\r\n\t\t// width: 750rpx;\r\n\t\theight: 238rpx;\r\n\t\tpadding: 32rpx 28rpx 20rpx 36rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.bottom {\r\n\t\t\tmargin-bottom: 24rpx;\r\n\t\t}\r\n\r\n\t\t.line {\r\n\t\t\twidth: 4rpx;\r\n\t\t\theight: 24rpx;\r\n\t\t\tborder-radius: 4rpx;\r\n\t\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\t\t// margin-left: -4rpx;\r\n\t\t}\r\n\r\n\t\t.tudi {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t\tmargin-left: 16rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.detaileda {\r\n\t\theight: 238rpx;\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\t\toverflow: hidden;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658579\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?5af5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?6835"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?a6e7"
,
"uni-app:///pages/index/auditPage.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?3241"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/auditPage.vue?8a48"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,qG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/CA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgRhpB;AACA,MADA,kBACA;AACA;AACA,eADA;AAEA,mBAFA,EAEA;AACA,mBAHA,EAGA;AACA;AACA,oBALA,EAKA;AACA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CANA;;AAWA,aAXA;;AAaA,GAfA;AAgBA,QAhBA,kBAgBA,CAhBA,EAgBA;AACA;AACA;AACA;AACA,GApBA;AAqBA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,cANA,wBAMA;AACA;AACA,KARA;AASA;AACA,gBAVA,0BAUA;AACA;AACA,KAZA,EArBA,E;;;;;;;;;;;;;AChRA;AAAA;AAAA;AAAA;AAA2rC,CAAgB,wpCAAG,EAAC,C;;;;;;;;;;;ACA/sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/auditPage.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/auditPage.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./auditPage.vue?vue&type=template&id=4e49f624&\"\nvar renderjs\nimport script from \"./auditPage.vue?vue&type=script&lang=js&\"\nexport * from \"./auditPage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./auditPage.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/auditPage.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=template&id=4e49f624&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.currentNum = e.current)\n }\n\n _vm.e1 = function(e) {\n return (_vm.currentNum = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<!-- 农作物 -->\r\n\t\t<view class=\"\" v-if=\"type==1\">\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<u-navbar title=\"卖家信息详情\" @rightClick=\"rightClick\" :autoBack=\"true\">\r\n\t\t\t\t</u-navbar>\r\n\t\t\t</view>\r\n\t\t\t<!-- 顶部轮播图 -->\r\n\t\t\t<view class=\"swiper\">\r\n\t\t\t\t<u-swiper :list=\"list6\" @change=\"e => currentNum = e.current\" :autoplay=\"true\"\t\t\t\tindicatorStyle=\"right: 20px\" height=\"375\" radius=\"0rpx\">\r\n\t\t\t\t\t<view slot=\"indicator\" class=\"indicator-num\">\r\n\t\t\t\t\t\t<text class=\"indicator-num__text\">{{ currentNum + 1 }}/{{ list6.length }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-swiper>\r\n\t\t\t</view>\r\n\t\t\t<!-- 页面内容 -->\r\n\t\t\t<view class=\"main\">\r\n\t\t\t\t<view class=\"content\">\r\n\t\t\t\t\t<view class=\"name\">玉米</view>\r\n\t\t\t\t\t<view class=\"numCard flexA\">\r\n\t\t\t\t\t\t<view class=\"yieldCard flexC\">\r\n\t\t\t\t\t\t\t<view class=\"yieldCardtitle\">预计作物产量</view>\r\n\t\t\t\t\t\t\t<view class=\"yieldCardnum\">100公斤/亩</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardB flexC\">\r\n\t\t\t\t\t\t\t<view class=\"yieldCardtitle\">种植面积</view>\r\n\t\t\t\t\t\t\t<view class=\"yieldCardnum\">100亩</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexJ\">\r\n\t\t\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t\t\t<view class=\"ftitle\">秸秆是否出售:</view>\r\n\t\t\t\t\t\t\t<view class=\"btitle\">是</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"flexA\" style=\"margin-right: 32rpx;\">\r\n\t\t\t\t\t\t\t<view class=\"ftitle\">秸秆状态:</view>\r\n\t\t\t\t\t\t\t<view class=\"btitle\">已打包</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA time\">\r\n\t\t\t\t\t\t<view class=\"ftitle\">收获时间:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">2022-09-21</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t\t<img src=\"/static/ic_10@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"ftitle\">手机:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">156****0180</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA address\">\r\n\t\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t\t<img src=\"/static/ic_12@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"ftitle\">地址:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">天津市西青区花苑鑫茂科技园C1座</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 按钮 1审核中 2 审核通过 3申请查看手机号 4申请未通过 -->\r\n\t\t\t<view class=\"but flexC\" @click=\"changeMask\" v-if=\"status==3\">\r\n\t\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t\t申请查看卖家手机号\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"but flexC\" v-if=\"status==1\">\r\n\t\t\t\t<view class=\"butImg\">\r\n\t\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t\t审核中\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"but flexC\" v-if=\"status==2\">\r\n\t\t\t\t<view class=\"butImg\">\r\n\t\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t\t审核通过\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flexA Submit\" v-if=\"status==4\">\r\n\t\t\t\t<view class=\"suBut flexC\">\r\n\t\t\t\t\t重新提交\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"suButt flexC\">\r\n\t\t\t\t\t<view class=\"suButtimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t审核未通过\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 遮罩 -->\r\n<!-- \t\t\t<view class=\"Mask\" v-if=\"isMask==true\">\r\n\t\t\t<view class=\"card\">\r\n\t\t\t\t<view class=\"cardName\">申请查看卖家手机号</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的姓名</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的年龄</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的年龄\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">身份证号</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t\t<view class=\"agreementImgt\" v-if=\"agShow==true\" @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementImg\" v-else @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementTitle\">\r\n\t\t\t\t\t\t同意<text>《用户协议》</text>和<text>《隐私协议》</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t<view class=\"butSubmit flexC\" @click=\"changeMask\">\r\n\t\t\t\t提交\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view> -->\r\n\t</view>\r\n\t\r\n\t<!-- 土地 -->\r\n\t<view class=\"\" v-else>\r\n\t\t<view class=\"\">\r\n\t\t\t<u-navbar title=\"卖家信息详情\" @rightClick=\"rightClick\" :autoBack=\"true\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<!-- 顶部轮播图 -->\r\n\t\t<view class=\"swiper\">\r\n\t\t\t<u-swiper :list=\"list6\" @change=\"e => currentNum = e.current\" :autoplay=\"true\" indicatorStyle=\"right: 20px\"\r\n\t\t\t\theight=\"375\" radius=\"0rpx\">\r\n\t\t\t\t<view slot=\"indicator\" class=\"indicator-num\">\r\n\t\t\t\t\t<text class=\"indicator-num__text\">{{ currentNum + 1 }}/{{ list6.length }}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</u-swiper>\r\n\t\t</view>\r\n\t\t<!-- 页面内容 -->\r\n\t\t<view class=\"main\">\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"cm\">\r\n\t\t\t\t\t<view class=\"name\">土地详情</view>\r\n\t\t\t\t\t<view class=\"numCard\">\r\n\t\t\t\t\t\t<view class=\"yieldCardnum\">100亩</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardtitle\">种植面积</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_10@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitles\">手机:</view>\r\n\t\t\t\t\t<view class=\"btitle\">156****0180</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view class=\"flexA addresss\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_12@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitle\">地址:</view>\r\n\t\t\t\t\t<view class=\"btitle\">天津市西青区花苑鑫茂科技园C1座</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"detailed\">\r\n\t\t\t\t详细地址详细地址详细地址详细地址详细地址详细地址\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"miaoshu \">\r\n\t\t\t<view class=\"bottom flexA\">\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view class=\"tudi\">土地描述</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"detaileda\">\r\n\t\t\t\t请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用\r\n\t\t\t\t未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用\r\n\t\t\t\t未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<!-- 按钮 1审核中 2 审核通过 3申请查看手机号 4申请未通过 -->\r\n\t\t<view class=\"but flexC\" @click=\"changeMask\" v-if=\"status==3\">\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t申请查看卖家手机号\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==1\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核中\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==2\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核通过\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"flexA Submit\" v-if=\"status==4\">\r\n\t\t\t<view class=\"suBut flexC\">\r\n\t\t\t\t重新提交\r\n\t\t\t</view>\r\n\t\t\t<view class=\"suButt flexC\">\r\n\t\t\t\t<view class=\"suButtimg\">\r\n\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t审核未通过\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 遮罩 -->\r\n<!-- \t\t<view class=\"Mask\" v-if=\"isMask==true\">\r\n\t\t\t<view class=\"card\">\r\n\t\t\t\t<view class=\"cardName\">申请查看卖家手机号</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的姓名</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的年龄</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的年龄\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">身份证号</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t\t<view class=\"agreementImgt\" v-if=\"agShow==true\" @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementImg\" v-else @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementTitle\">\r\n\t\t\t\t\t\t同意<text>《用户协议》</text>和<text>《隐私协议》</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"butSubmit flexC\" @click=\"changeMask\">\r\n\t\t\t\t\t提交\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatus: 1,\r\n\t\t\t\tisMask: false, // 遮罩判断\r\n\t\t\t\tagShow: false, //是否同意协议\r\n\t\t\t\t// current:1,\r\n\t\t\t\tcurrentNum: '', //轮播图\r\n\t\t\t\tlist6: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t],\r\n\t\t\t\ttype: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tthis.status = e.status\r\n\t\t\tthis.type = e.type\r\n\t\t\tconsole.log(this.status);\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 返回上一页\r\n\t\t\trightClick() {\r\n\t\t\t\tuni.navigateBack({})\r\n\t\t\t},\r\n\t\t\t// 控制遮罩\r\n\t\t\tchangeMask() {\r\n\t\t\t\tthis.isMask = !this.isMask\r\n\t\t\t},\r\n\t\t\t// 控制同意协议显示\r\n\t\t\tchangeAgShow() {\r\n\t\t\t\tthis.agShow = !this.agShow\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground-color: #F2F3F7;\r\n\t}\r\n\r\n\t// 修改顶部nav背景颜色\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\tbackground-color: transparent !important;\r\n\t}\r\n\r\n\t.u-status-bar {\r\n\t\tbackground-color: transparent !important;\r\n\t}\r\n\r\n\t.u-navbar__content__title {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\r\n\t.u-icon__icon {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\r\n\t// 轮播图\r\n\t.indicator-num {\r\n\t\tpadding: 2px 0;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.35);\r\n\t\tborder-radius: 100px;\r\n\t\twidth: 35px;\r\n\t\t@include flex;\r\n\t\tjustify-content: center;\r\n\r\n\t\t&__text {\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tfont-size: 12px;\r\n\t\t}\r\n\t}\r\n\r\n\t.swiper {\r\n\t\t// z-index: 999;\r\n\t}\r\n\r\n\t.main {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 32rpx auto;\r\n\t}\r\n\r\n\t.mainTwo {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 32rpx auto;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tborder-radius: 16rpx;\r\n\t}\r\n\r\n\t.name {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 44rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t// .numCard {\r\n\t// \tmargin: 32rpx 0rpx;\r\n\t// }\r\n\t.yieldCard {\r\n\t\twidth: 336rpx;\r\n\t\t// height: 192rpx;\r\n\t\tpadding: 56rpx 0;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247, 255, 255, 1);\r\n\t\tmargin-right: 14rpx;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.yieldCardB {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(254, 248, 245, 1);\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.yieldCardtitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 24rpx;\r\n\t}\r\n\r\n\t.yieldCardnum {\r\n\t\tcolor: rgba(230, 61, 39, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-top: 4rpx;\r\n\t}\r\n\r\n\t.ftitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t// .ftitles {\r\n\t// \t color: rgba(0,0,0,0.4);\r\n\t// \t font-size: 28rpx;\r\n\t// \t margin-bottom: 24rpx;\r\n\t// }\r\n\t.btitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.time {\r\n\t\tmargin: 32rpx 0rpx;\r\n\t}\r\n\r\n\t.fimg>img {\r\n\t\twidth: 21.35rpx;\r\n\t\theight: 21.35rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.address {\r\n\t\tmargin-top: 32rpx;\r\n\t}\r\n\r\n\t.addresss {\r\n\t\tmargin-top: 24rpx;\r\n\t}\r\n\r\n\t.but {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t}\r\n\r\n\t.butImg>img {\r\n\t\twidth: 22.67rpx;\r\n\t\theight: 26.67rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.buttitle {\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-left: 4rpx;\r\n\t}\r\n\r\n\t.Mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 750rpx;\r\n\t\theight: 100vh;\r\n\t\tbackground: rgba(0, 0, 0, 0.5);\r\n\t\tz-index: 10;\r\n\t}\r\n\r\n\t.card {\r\n\t\tmargin: 432rpx auto;\r\n\t\twidth: 622rpx;\r\n\t\theight: 544rpx;\r\n\t\tborder-radius: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\t// padding: 48rpx 0 36rpx;\r\n\t}\r\n\r\n\t.cardName {\r\n\t\tpadding-top: 48rpx;\r\n\t\tmargin: 0rpx auto;\r\n\t\twidth: 294rpx;\r\n\t\t// height: 44rpx;\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.cardItem {\r\n\t\tmargin: 12rpx 48rpx;\r\n\t\tpadding-top: 24rpx;\r\n\t}\r\n\r\n\t.cardtitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.inp>input {\r\n\t\ttext-align: right;\r\n\t}\r\n\r\n\t.agreement {\r\n\t\tpadding: 38rpx 48rpx;\r\n\t}\r\n\r\n\t.agreementImg {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\r\n\t.agreementImgt {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\r\n\t.agreementImgt>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground-color: #62CDCE;\r\n\t\tborder-radius: 50%;\r\n\t}\r\n\r\n\t.agreementImg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.agreementTitle {\r\n\t\tcolor: rgba(0, 0, 0, 0.6);\r\n\t\tfont-size: 24rpx;\r\n\t\tmargin-left: 12rpx;\r\n\t}\r\n\r\n\t.agreementTitle>text {\r\n\t\tcolor: rgba(33, 83, 213, 1);\r\n\t}\r\n\r\n\t.butSubmit {\r\n\t\twidth: 514rpx;\r\n\t\theight: 76rpx;\r\n\t\tborder-radius: 90rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tmargin: 0rpx auto;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.Submit {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t}\r\n\r\n\t.suBut {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.suButt {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tborder: 2rpx solid #62CDCE;\r\n\t\tcolor: rgba(98, 205, 206, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-left: 30rpx;\r\n\t}\r\n\r\n\t.suButtimg {\r\n\t\theight: 32rpx;\r\n\t}\r\n\r\n\t.suButtimg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 0.01);\r\n\t}\r\n\r\n\t.cm {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tmargin-bottom: 24rpx;\r\n\t}\r\n\r\n\t.detailed {\r\n\t\twidth: 556rpx;\r\n\t\theight: 80rpx;\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\t\toverflow: hidden;\r\n\t\tmargin-left: 100rpx;\r\n\t}\r\n\r\n\t.miaoshu {\r\n\t\t// width: 750rpx;\r\n\t\theight: 238rpx;\r\n\t\tpadding: 32rpx 28rpx 20rpx 36rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.bottom {\r\n\t\t\tmargin-bottom: 24rpx;\r\n\t\t}\r\n\r\n\t\t.line {\r\n\t\t\twidth: 4rpx;\r\n\t\t\theight: 24rpx;\r\n\t\t\tborder-radius: 4rpx;\r\n\t\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\t\t// margin-left: -4rpx;\r\n\t\t}\r\n\r\n\t\t.tudi {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t\tmargin-left: 16rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.detaileda {\r\n\t\theight: 238rpx;\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\t\toverflow: hidden;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./auditPage.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663054793307\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/buyersRelease.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?b8bd"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?9bc3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?7b89"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?e205"
,
"uni-app:///pages/index/buyersRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?11fa"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?2d2f"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqDppB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,mBADA;AAEA,oBAFA;AAGA,2BAHA;AAIA,kBAJA;AAKA,eALA;AAMA,cANA;AAOA,uBAPA;;AASA,GAdA;AAeA,QAfA,oBAeA;AACA;AACA,GAjBA;AAkBA;AACA;AACA,WAFA,qBAEA;AACA;AACA;AACA;AACA,OAHA,EAGA,IAHA;AAIA,KAPA;AAQA;AACA,oBATA,8BASA;AACA;AACA;AACA,sEADA;;AAGA,KAdA;AAeA,WAfA,qBAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA;AAEA,oBAFA;AAGA;AACA,kCADA;AAEA,kCAFA;AAGA,kCAHA;AAIA,kCAJA;AAKA,kCALA;AAMA,kCANA,CAHA,EADA;;;AAaA;AACA,gBADA;AAEA,mBAFA;AAGA;AACA,kCADA;AAEA,kCAFA;AAGA,kCAHA;AAIA,kCAJA;AAKA,kCALA;AAMA,mCANA,CAHA,EAbA;;;;AA0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA;AAEA,uBAFA;AAGA;AACA;AACA,mBADA;AAEA,2BAFA;AAGA;AACA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EADA;;;AAUA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAVA;;;AAmBA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAnBA,CAHA,EADA;;;;;AAkCA;AACA,mBADA;AAEA,2BAFA;AAGA;AACA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EADA;;;AAUA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAVA,CAHA,EAlCA,CAHA,EADA;;;;;;;AAgEA;AACA,gBADA;AAEA,uBAFA;AAGA;AACA;AACA,mBADA;AAEA,2BAFA;AAGA;AACA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EADA;;;AAUA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAVA;;;AAmBA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAnBA,CAHA,EADA,CAHA,EAhEA;;;;;;;;AAwGA;AACA;AACA;AACA;AACA;AACA,KAjNA;AAkNA,cAlNA,wBAkNA;AACA;AACA,KApNA;AAqNA,WArNA,mBAqNA,CArNA,EAqNA;AACA;AACA;AACA,KAxNA,EAlBA;;AA4OA;AACA,QADA,gBACA,OADA,EACA,OADA,EACA;AACA;AACA;AACA;AACA;AACA,KANA,EA5OA,E;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAA+rC,CAAgB,4pCAAG,EAAC,C;;;;;;;;;;;ACAntC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/buyersRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/buyersRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./buyersRelease.vue?vue&type=template&id=49e0b861&\"\nvar renderjs\nimport script from \"./buyersRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./buyersRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./buyersRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/buyersRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=template&id=49e0b861&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<!-- 手机号 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t手机号码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<input type=\"text\" placeholder=\"请输入11位手机号码\" maxlength=\"11\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 验证码 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t验证码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"getVerification flexC\" @click=\"sendOut\">\r\n\t\t\t\t{{time==60?'获取验证码':`${time}秒后获取`}}\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 预购产品 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t预购产品\r\n\t\t\t</view>\r\n\t\t\t<view class=\"pleaseSelect flexC\" @click=\"showpicker\">\r\n\t\t\t\t请选择 <image src=\"/static/ic-arrow-more@2x.png\" mode=\"\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 预计数量 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t预计购买数量\r\n\t\t\t</view>\r\n\t\t\t<view class=\"quantity flexC\">\r\n\t\t\t\t<view class=\"enterQuantity\"><input type=\"text\" placeholder=\"请输入数量\"></view>\r\n\t\t\t\t<view class=\"company\">单位</view>\r\n\t\t\t\t<img src=\"/static/dropDown.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 选择器组件 -->\r\n\t\t<pxingPicker ref='pickerName' :deepLength='deepLength' :chooseList='chooseList'\r\n\t\t\t:defaultChooseList='defaultChooseList' @confirm='confirm'></pxingPicker>\r\n\t\t\t\r\n\t\t\t<!-- 发布按钮 -->\r\n\t\t\t<view class=\"releaseBtn flexC\" @click=\"toBuyersReleased\">\r\n\t\t\t\t发布\r\n\t\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport pxingPicker from '@/heYang/pxing-picker/pxing-picker.vue';\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tpxingPicker\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdeepLength: 0,\r\n\t\t\t\tchooseList: [],\r\n\t\t\t\tdefaultChooseList: [],\r\n\t\t\t\tareaList: [],\r\n\t\t\t\tstatus:1,\r\n\t\t\t\ttime:60,\r\n\t\t\t\tmonitorTime:null,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tthis.setData();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 发送验证码请求\r\n\t\t\tsendOut(){\r\n\t\t\t\tthis.monitorTime = setInterval(()=>{\r\n\t\t\t\t\tthis.time = this.time-1\r\n\t\t\t\t\tconsole.log(this.time)\r\n\t\t\t\t},1000)\r\n\t\t\t},\r\n\t\t\t//发布页\r\n\t\t\ttoBuyersReleased(){\r\n\t\t\t\t// console.log('1')\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:`/pages/index/buyersReleased?status=${this.status}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsetData(){\r\n\t\t\t\t// var tempone = [\r\n\t\t\t\t// \t{value:1,label:'苹果'},\r\n\t\t\t\t// \t{value:2,label:'香蕉'},\r\n\t\t\t\t// \t{value:3,label:'梨子'},\r\n\t\t\t\t// \t{value:4,label:'菠萝'}\r\n\t\t\t\t// ];\r\n\t\t\t\t// var defaultone = [0];\r\n\t\t\t\t// var lenone = 1;\r\n\t\t\t\tvar temptwo = [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:1,\r\n\t\t\t\t\t\tlabel:'农作物',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{value:11,label:'大豆'},\r\n\t\t\t\t\t\t\t{value:12,label:'麦子'},\r\n\t\t\t\t\t\t\t{value:12,label:'水稻'},\r\n\t\t\t\t\t\t\t{value:12,label:'玉米'},\r\n\t\t\t\t\t\t\t{value:12,label:'土豆'},\r\n\t\t\t\t\t\t\t{value:12,label:'西米'}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:2,\r\n\t\t\t\t\t\tlabel:'水果',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{value:21,label:'葡萄'},\r\n\t\t\t\t\t\t\t{value:22,label:'榴莲'},\r\n\t\t\t\t\t\t\t{value:22,label:'西瓜'},\r\n\t\t\t\t\t\t\t{value:22,label:'冬瓜'},\r\n\t\t\t\t\t\t\t{value:22,label:'南瓜'},\r\n\t\t\t\t\t\t\t{value:22,label:'猕猴桃'}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t\tvar defaulttwo = [0,0];\r\n\t\t\t\tvar lentwo = 2;\r\n\t\t\t\t// var tempthree = [\r\n\t\t\t\t// \t{\r\n\t\t\t\t// \t\tvalue:1,\r\n\t\t\t\t// \t\tlabel:'江苏省',\r\n\t\t\t\t// \t\tchildren:[\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:11,\r\n\t\t\t\t// \t\t\t\tlabel:'南京市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:111,label:'江宁区'},\r\n\t\t\t\t// \t\t\t\t\t{value:112,label:'浦口区'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t},\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:12,\r\n\t\t\t\t// \t\t\t\tlabel:'扬州市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:121,label:'邗江区'},\r\n\t\t\t\t// \t\t\t\t\t{value:122,label:'仪征市'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t}\r\n\t\t\t\t// \t\t]\r\n\t\t\t\t// \t},\r\n\t\t\t\t// \t{\r\n\t\t\t\t// \t\tvalue:2,\r\n\t\t\t\t// \t\tlabel:'安徽省',\r\n\t\t\t\t// \t\tchildren:[\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:21,\r\n\t\t\t\t// \t\t\t\tlabel:'合肥市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:211,label:'庐阳区'},\r\n\t\t\t\t// \t\t\t\t\t{value:212,label:'瑶海区'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t},\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:22,\r\n\t\t\t\t// \t\t\t\tlabel:'芜湖市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:221,label:'镜湖区'},\r\n\t\t\t\t// \t\t\t\t\t{value:222,label:'弋江区'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t}\r\n\t\t\t\t// \t\t]\r\n\t\t\t\t// \t}\r\n\t\t\t\t// ]\r\n\t\t\t\tvar defaultthree = [0,0,0];\r\n\t\t\t\tvar lenthree = 3;\r\n\t\t\t\tvar tempfour = [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:1,\r\n\t\t\t\t\t\tlabel:'type_A',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tvalue:11,\r\n\t\t\t\t\t\t\t\tlabel:'type_A_a',\r\n\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:111,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_a_1',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1111,label:'tAa1_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1112,label:'tAa1_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1113,label:'tAa1_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:112,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_a_2',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1121,label:'tAa2_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1122,label:'tAa2_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1123,label:'tAa2_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:113,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_a_3',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1131,label:'tAa3_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1132,label:'tAa3_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1133,label:'tAa3_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tvalue:21,\r\n\t\t\t\t\t\t\t\tlabel:'type_A_b',\r\n\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:211,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_b_1',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2111,label:'tAb1_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2112,label:'tAb1_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2113,label:'tAb1_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:212,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_b_2',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2121,label:'tAb2_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2122,label:'tAb2_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2123,label:'tAb2_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:2,\r\n\t\t\t\t\t\tlabel:'type_B',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tvalue:21,\r\n\t\t\t\t\t\t\t\tlabel:'type_B_a',\r\n\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:211,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_B_a_1',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2111,label:'tBa1_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2112,label:'tBa1_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2113,label:'tBa1_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:212,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_B_a_2',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2121,label:'tBa2_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2122,label:'tBa2_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2123,label:'tBa2_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:213,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_B_a_3',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2131,label:'tBa3_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2132,label:'tBa3_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2133,label:'tBa3_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t];\r\n\t\t\t\tvar defaultfour = [0,0,0,0];\r\n\t\t\t\tvar lenfour = 4;\r\n\t\t\t\tthis.chooseList = temptwo;\r\n\t\t\t\tthis.defaultChooseList = defaulttwo;\r\n\t\t\t\tthis.deepLength = lentwo;\r\n\t\t\t},\r\n\t\t\tshowpicker() {\r\n\t\t\t\tthis.$refs.pickerName.show();\r\n\t\t\t},\r\n\t\t\tconfirm(e) {\r\n\t\t\t\tconsole.log(e)\r\n\t\t\t\tthis.select = e[this.deepLength - 1].label;\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch:{\r\n\t\t\ttime(oldTime,newTime){\r\n\t\t\t\tif(newTime==1){\r\n\t\t\t\t\tclearInterval(this.monitorTime)\r\n\t\t\t\t\tthis.time = 60\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.box {\r\n\t\twidth: 750rpx;\r\n\t\theight: 104rpx;\r\n\t\topacity: 1;\r\n\t\tborder: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\tpadding: 0rpx 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tletter-spacing: 1rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\t\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.getVerification {\r\n\t\twidth: 144rpx;\r\n\t\theight: 56rpx;\r\n\t\tborder-radius: 12rpx;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.pleaseSelect {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\r\n\t\timage {\r\n\t\t\twidth: 16rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t\tmargin-left: 4rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.quantity {\r\n\t\tdisplay: flex;\r\n\r\n\t\t.enterQuantity {\r\n\t\t\tinput {\r\n\t\t\t\twidth: 144rpx;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.company {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-left: 16rpx;\r\n\t\t}\r\n\r\n\t\timg {\r\n\t\t\twidth: 16rpx;\r\n\t\t\theight: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.zhujian {\r\n\t\theight: 200rpx;\r\n\t\twidth: 100%;\r\n\t\t// background-color: red;\r\n\t\tmargin-top: 300rpx;\r\n\t}\r\n\t.releaseBtn{\r\n\t\tposition: fixed;\r\n\t\tleft: 32rpx;\r\n\t\tbottom: 46rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(255,255,255,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t\tbackground: linear-gradient(90deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658774\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?9bc3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?7b89"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?e205"
,
"uni-app:///pages/index/buyersRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?11fa"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersRelease.vue?2d2f"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqDppB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,mBADA;AAEA,oBAFA;AAGA,2BAHA;AAIA,kBAJA;AAKA,eALA;AAMA,cANA;AAOA,uBAPA;;AASA,GAdA;AAeA,QAfA,oBAeA;AACA;AACA,GAjBA;AAkBA;AACA;AACA,WAFA,qBAEA;AACA;AACA;AACA;AACA,OAHA,EAGA,IAHA;AAIA,KAPA;AAQA;AACA,oBATA,8BASA;AACA;AACA;AACA,sEADA;;AAGA,KAdA;AAeA,WAfA,qBAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA;AAEA,oBAFA;AAGA;AACA,kCADA;AAEA,kCAFA;AAGA,kCAHA;AAIA,kCAJA;AAKA,kCALA;AAMA,kCANA,CAHA,EADA;;;AAaA;AACA,gBADA;AAEA,mBAFA;AAGA;AACA,kCADA;AAEA,kCAFA;AAGA,kCAHA;AAIA,kCAJA;AAKA,kCALA;AAMA,mCANA,CAHA,EAbA;;;;AA0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA;AAEA,uBAFA;AAGA;AACA;AACA,mBADA;AAEA,2BAFA;AAGA;AACA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EADA;;;AAUA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAVA;;;AAmBA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAnBA,CAHA,EADA;;;;;AAkCA;AACA,mBADA;AAEA,2BAFA;AAGA;AACA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EADA;;;AAUA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAVA,CAHA,EAlCA,CAHA,EADA;;;;;;;AAgEA;AACA,gBADA;AAEA,uBAFA;AAGA;AACA;AACA,mBADA;AAEA,2BAFA;AAGA;AACA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EADA;;;AAUA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAVA;;;AAmBA;AACA,sBADA;AAEA,+BAFA;AAGA;AACA,4CADA;AAEA,4CAFA;AAGA,4CAHA,CAHA,EAnBA,CAHA,EADA,CAHA,EAhEA;;;;;;;;AAwGA;AACA;AACA;AACA;AACA;AACA,KAjNA;AAkNA,cAlNA,wBAkNA;AACA;AACA,KApNA;AAqNA,WArNA,mBAqNA,CArNA,EAqNA;AACA;AACA;AACA,KAxNA,EAlBA;;AA4OA;AACA,QADA,gBACA,OADA,EACA,OADA,EACA;AACA;AACA;AACA;AACA;AACA,KANA,EA5OA,E;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAA+rC,CAAgB,4pCAAG,EAAC,C;;;;;;;;;;;ACAntC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/buyersRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/buyersRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./buyersRelease.vue?vue&type=template&id=49e0b861&\"\nvar renderjs\nimport script from \"./buyersRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./buyersRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./buyersRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/buyersRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=template&id=49e0b861&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<!-- 手机号 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t手机号码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<input type=\"text\" placeholder=\"请输入11位手机号码\" maxlength=\"11\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 验证码 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t验证码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"getVerification flexC\" @click=\"sendOut\">\r\n\t\t\t\t{{time==60?'获取验证码':`${time}秒后获取`}}\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 预购产品 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t预购产品\r\n\t\t\t</view>\r\n\t\t\t<view class=\"pleaseSelect flexC\" @click=\"showpicker\">\r\n\t\t\t\t请选择 <image src=\"/static/ic-arrow-more@2x.png\" mode=\"\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 预计数量 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t预计购买数量\r\n\t\t\t</view>\r\n\t\t\t<view class=\"quantity flexC\">\r\n\t\t\t\t<view class=\"enterQuantity\"><input type=\"text\" placeholder=\"请输入数量\"></view>\r\n\t\t\t\t<view class=\"company\">单位</view>\r\n\t\t\t\t<img src=\"/static/dropDown.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 选择器组件 -->\r\n\t\t<pxingPicker ref='pickerName' :deepLength='deepLength' :chooseList='chooseList'\r\n\t\t\t:defaultChooseList='defaultChooseList' @confirm='confirm'></pxingPicker>\r\n\t\t\t\r\n\t\t\t<!-- 发布按钮 -->\r\n\t\t\t<view class=\"releaseBtn flexC\" @click=\"toBuyersReleased\">\r\n\t\t\t\t发布\r\n\t\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport pxingPicker from '@/heYang/pxing-picker/pxing-picker.vue';\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tpxingPicker\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdeepLength: 0,\r\n\t\t\t\tchooseList: [],\r\n\t\t\t\tdefaultChooseList: [],\r\n\t\t\t\tareaList: [],\r\n\t\t\t\tstatus:1,\r\n\t\t\t\ttime:60,\r\n\t\t\t\tmonitorTime:null,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tthis.setData();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 发送验证码请求\r\n\t\t\tsendOut(){\r\n\t\t\t\tthis.monitorTime = setInterval(()=>{\r\n\t\t\t\t\tthis.time = this.time-1\r\n\t\t\t\t\tconsole.log(this.time)\r\n\t\t\t\t},1000)\r\n\t\t\t},\r\n\t\t\t//发布页\r\n\t\t\ttoBuyersReleased(){\r\n\t\t\t\t// console.log('1')\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:`/pages/index/buyersReleased?status=${this.status}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsetData(){\r\n\t\t\t\t// var tempone = [\r\n\t\t\t\t// \t{value:1,label:'苹果'},\r\n\t\t\t\t// \t{value:2,label:'香蕉'},\r\n\t\t\t\t// \t{value:3,label:'梨子'},\r\n\t\t\t\t// \t{value:4,label:'菠萝'}\r\n\t\t\t\t// ];\r\n\t\t\t\t// var defaultone = [0];\r\n\t\t\t\t// var lenone = 1;\r\n\t\t\t\tvar temptwo = [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:1,\r\n\t\t\t\t\t\tlabel:'农作物',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{value:11,label:'大豆'},\r\n\t\t\t\t\t\t\t{value:12,label:'麦子'},\r\n\t\t\t\t\t\t\t{value:12,label:'水稻'},\r\n\t\t\t\t\t\t\t{value:12,label:'玉米'},\r\n\t\t\t\t\t\t\t{value:12,label:'土豆'},\r\n\t\t\t\t\t\t\t{value:12,label:'西米'}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:2,\r\n\t\t\t\t\t\tlabel:'水果',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{value:21,label:'葡萄'},\r\n\t\t\t\t\t\t\t{value:22,label:'榴莲'},\r\n\t\t\t\t\t\t\t{value:22,label:'西瓜'},\r\n\t\t\t\t\t\t\t{value:22,label:'冬瓜'},\r\n\t\t\t\t\t\t\t{value:22,label:'南瓜'},\r\n\t\t\t\t\t\t\t{value:22,label:'猕猴桃'}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t\tvar defaulttwo = [0,0];\r\n\t\t\t\tvar lentwo = 2;\r\n\t\t\t\t// var tempthree = [\r\n\t\t\t\t// \t{\r\n\t\t\t\t// \t\tvalue:1,\r\n\t\t\t\t// \t\tlabel:'江苏省',\r\n\t\t\t\t// \t\tchildren:[\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:11,\r\n\t\t\t\t// \t\t\t\tlabel:'南京市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:111,label:'江宁区'},\r\n\t\t\t\t// \t\t\t\t\t{value:112,label:'浦口区'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t},\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:12,\r\n\t\t\t\t// \t\t\t\tlabel:'扬州市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:121,label:'邗江区'},\r\n\t\t\t\t// \t\t\t\t\t{value:122,label:'仪征市'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t}\r\n\t\t\t\t// \t\t]\r\n\t\t\t\t// \t},\r\n\t\t\t\t// \t{\r\n\t\t\t\t// \t\tvalue:2,\r\n\t\t\t\t// \t\tlabel:'安徽省',\r\n\t\t\t\t// \t\tchildren:[\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:21,\r\n\t\t\t\t// \t\t\t\tlabel:'合肥市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:211,label:'庐阳区'},\r\n\t\t\t\t// \t\t\t\t\t{value:212,label:'瑶海区'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t},\r\n\t\t\t\t// \t\t\t{\r\n\t\t\t\t// \t\t\t\tvalue:22,\r\n\t\t\t\t// \t\t\t\tlabel:'芜湖市',\r\n\t\t\t\t// \t\t\t\tchildren:[\r\n\t\t\t\t// \t\t\t\t\t{value:221,label:'镜湖区'},\r\n\t\t\t\t// \t\t\t\t\t{value:222,label:'弋江区'}\r\n\t\t\t\t// \t\t\t\t]\r\n\t\t\t\t// \t\t\t}\r\n\t\t\t\t// \t\t]\r\n\t\t\t\t// \t}\r\n\t\t\t\t// ]\r\n\t\t\t\tvar defaultthree = [0,0,0];\r\n\t\t\t\tvar lenthree = 3;\r\n\t\t\t\tvar tempfour = [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:1,\r\n\t\t\t\t\t\tlabel:'type_A',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tvalue:11,\r\n\t\t\t\t\t\t\t\tlabel:'type_A_a',\r\n\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:111,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_a_1',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1111,label:'tAa1_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1112,label:'tAa1_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1113,label:'tAa1_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:112,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_a_2',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1121,label:'tAa2_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1122,label:'tAa2_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1123,label:'tAa2_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:113,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_a_3',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1131,label:'tAa3_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1132,label:'tAa3_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:1133,label:'tAa3_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tvalue:21,\r\n\t\t\t\t\t\t\t\tlabel:'type_A_b',\r\n\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:211,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_b_1',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2111,label:'tAb1_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2112,label:'tAb1_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2113,label:'tAb1_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:212,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_A_b_2',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2121,label:'tAb2_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2122,label:'tAb2_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2123,label:'tAb2_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue:2,\r\n\t\t\t\t\t\tlabel:'type_B',\r\n\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tvalue:21,\r\n\t\t\t\t\t\t\t\tlabel:'type_B_a',\r\n\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:211,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_B_a_1',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2111,label:'tBa1_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2112,label:'tBa1_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2113,label:'tBa1_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:212,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_B_a_2',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2121,label:'tBa2_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2122,label:'tBa2_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2123,label:'tBa2_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvalue:213,\r\n\t\t\t\t\t\t\t\t\t\tlabel:'type_B_a_3',\r\n\t\t\t\t\t\t\t\t\t\tchildren:[\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2131,label:'tBa3_a'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2132,label:'tBa3_b'},\r\n\t\t\t\t\t\t\t\t\t\t\t{value:2133,label:'tBa3_c'}\r\n\t\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t];\r\n\t\t\t\tvar defaultfour = [0,0,0,0];\r\n\t\t\t\tvar lenfour = 4;\r\n\t\t\t\tthis.chooseList = temptwo;\r\n\t\t\t\tthis.defaultChooseList = defaulttwo;\r\n\t\t\t\tthis.deepLength = lentwo;\r\n\t\t\t},\r\n\t\t\tshowpicker() {\r\n\t\t\t\tthis.$refs.pickerName.show();\r\n\t\t\t},\r\n\t\t\tconfirm(e) {\r\n\t\t\t\tconsole.log(e)\r\n\t\t\t\tthis.select = e[this.deepLength - 1].label;\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch:{\r\n\t\t\ttime(oldTime,newTime){\r\n\t\t\t\tif(newTime==1){\r\n\t\t\t\t\tclearInterval(this.monitorTime)\r\n\t\t\t\t\tthis.time = 60\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.box {\r\n\t\twidth: 750rpx;\r\n\t\theight: 104rpx;\r\n\t\topacity: 1;\r\n\t\tborder: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\tpadding: 0rpx 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tletter-spacing: 1rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\t\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.getVerification {\r\n\t\twidth: 144rpx;\r\n\t\theight: 56rpx;\r\n\t\tborder-radius: 12rpx;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.pleaseSelect {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 28rpx;\r\n\r\n\t\timage {\r\n\t\t\twidth: 16rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t\tmargin-left: 4rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.quantity {\r\n\t\tdisplay: flex;\r\n\r\n\t\t.enterQuantity {\r\n\t\t\tinput {\r\n\t\t\t\twidth: 144rpx;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.company {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-left: 16rpx;\r\n\t\t}\r\n\r\n\t\timg {\r\n\t\t\twidth: 16rpx;\r\n\t\t\theight: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.zhujian {\r\n\t\theight: 200rpx;\r\n\t\twidth: 100%;\r\n\t\t// background-color: red;\r\n\t\tmargin-top: 300rpx;\r\n\t}\r\n\t.releaseBtn{\r\n\t\tposition: fixed;\r\n\t\tleft: 32rpx;\r\n\t\tbottom: 46rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(255,255,255,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t\tbackground: linear-gradient(90deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663054782175\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/buyersReleased.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?1460"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?e8c9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?8e6f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?30e5"
,
"uni-app:///pages/index/buyersReleased.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?7456"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?e7bb"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,+G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2H;AAC3H;AACkE;AACL;AACc;;;AAG3E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,yFAAM;AACR,EAAE,kGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAioB,CAAgB,spBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiFrpB;AACA,MADA,kBACA;AACA;AACA,eADA,EACA;AACA,qBAFA;AAGA,iBAHA;AAIA,eAJA;AAKA,oBALA;AAMA,aANA;AAOA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CAPA;;;AAaA,GAfA;AAgBA,QAhBA,kBAgBA,CAhBA,EAgBA;AACA;AACA;AACA,GAnBA;AAoBA;AACA;AACA,SAFA,mBAEA;AACA;AACA;AACA,KALA;AAMA;AACA,SAPA,mBAOA;AACA;AACA,4BADA;AAEA,oBAFA;;AAIA;AACA;AACA,KAdA;AAeA,UAfA,oBAeA;AACA;AACA,KAjBA;AAkBA,mBAlBA,6BAkBA;AACA;AACA,yDADA;;AAGA,KAtBA;AAuBA,sBAvBA,gCAuBA;AACA;AACA,iCADA;;AAGA,KA3BA,EApBA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAgsC,CAAgB,6pCAAG,EAAC,C;;;;;;;;;;;ACAptC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/buyersReleased.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/buyersReleased.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./buyersReleased.vue?vue&type=template&id=15e2d75a&\"\nvar renderjs\nimport script from \"./buyersReleased.vue?vue&type=script&lang=js&\"\nexport * from \"./buyersReleased.vue?vue&type=script&lang=js&\"\nimport style0 from \"./buyersReleased.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/buyersReleased.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=template&id=15e2d75a&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\r\n\t<view class=\"minBox\">\r\n\t\t<!-- 农谷作物名称 -->\r\n\t\t<view class=\"title\">\r\n\t\t\t玉米\r\n\t\t</view>\r\n\t\t<!-- 重量和联系电话 -->\r\n\t\t<view class=\"flexJ\">\r\n\t\t\t<view class=\"leftBox\">\r\n\t\t\t\t<view class=\"\">预计购买数量</view>\r\n\t\t\t\t<view class=\"\">100公斤</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"rightBox\">\r\n\t\t\t\t<view class=\"\">手机号码</view>\r\n\t\t\t\t<view class=\"\">156****0180</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\r\n\t\t<!-- 审核状态 -->\r\n\t\t<view class=\"btn flexC\" v-if=\"status==1\"><img src=\"/static/hourglass.png\" alt=\"\"\r\n\t\t\t\tstyle=\"width: 32rpx;height: 32rpx; \">审核中</view>\r\n\t\t<view class=\"btn flexC\" v-if=\"status==2\"> <img src=\"/static/correct.png\" alt=\"\"\r\n\t\t\t\tstyle=\"width: 25rpx;height: 27rpx;\">审核通过</view>\r\n\t\t<view class=\"btn flexC\" v-if=\"status==3 || status==0\" @click=\"apply\">申请查看买家手机号</view>\r\n\t\t<view class=\"flexJ fixed\" v-if=\"status==4\">\r\n\t\t\t<view class=\"resubmitBtn flexC\">重新提交</view>\r\n\t\t\t<view class=\"failBtn flexC\"><img src=\"/static/choice.png\" alt=\"\">审核未通过</view>\r\n\t\t</view>\r\n\t\r\n\t\t<!-- 遮罩 -->\r\n\t\t<view class=\"mask\" v-show=\"showMask\"></view>\r\n\t\r\n\t\t<!-- 申请查看买家手机号弹窗 -->\r\n\t\t<view class=\"eject\" v-show=\"show\">\r\n\t\t\t<view class=\"titleTwo flexC\">申请查看买家手机号</view>\r\n\t\t\t<view class=\"box flexJ\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t您的姓名\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\" v-model=\"name\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\r\n\t\t\t<view class=\"box flexJ\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t您的年龄\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入您的年龄\" v-model=\"age\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\r\n\t\t\t<view class=\"box flexJ\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t身份证号\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\" v-model=\"idCar\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t<view class=\"select\" @click=\"select\">\r\n\t\t\t\t\t<img src=\"/static/error.png\" alt=\"\" v-if=\"isSelect\">\r\n\t\t\t\t\t<img src=\"/static/select.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"grey\">同意</view>\r\n\t\t\t\t<view class=\"blue\" @click=\"toUserAgreement\">《用户协议》</view>\r\n\t\t\t\t<view class=\"grey\">和</view>\r\n\t\t\t\t<view class=\"blue\" @click=\"toPrivacyAgreement\">《隐私协议》</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 提交按钮 -->\r\n\t\t\t<view class=\"submitBtn flexC\" @click=\"close\">\r\n\t\t\t\t提交\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatus: 0, //1是审核中 2是审核通过 3是申请查看手机号 4是审核未通过\r\n\t\t\t\tshowMask: false,\r\n\t\t\t\tshow: false,\r\n\t\t\t\tidCar: 18,\r\n\t\t\t\tisSelect: true,\r\n\t\t\t\ttype: 1,\r\n\t\t\t\tlist6: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tconsole.log(e)\r\n\t\t\tthis.status = e.status\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 打开遮罩和申请查看页面\r\n\t\t\tapply() {\r\n\t\t\t\tthis.showMask = true\r\n\t\t\t\tthis.show = true\r\n\t\t\t},\r\n\t\t\t// 关闭遮罩和申请查看页面\r\n\t\t\tclose() {\r\n\t\t\t\tif (this.idCar.length !== 18) return uni.showToast({\r\n\t\t\t\t\ttitle: '请确认身份证号是否正确',\r\n\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t})\r\n\t\t\t\tthis.showMask = false\r\n\t\t\t\tthis.show = false\r\n\t\t\t},\r\n\t\t\tselect() {\r\n\t\t\t\tthis.isSelect = !this.isSelect\r\n\t\t\t},\r\n\t\t\ttoUserAgreement() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: `/pages/mine/detail?type=${this.type}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttoPrivacyAgreement() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/mine/detail'\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.minBox {\r\n\t\tmargin: 32rpx 32rpx;\r\n\t}\r\n\r\n\t.title {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 44rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-bottom: 32rpx;\r\n\t\tmargin-top: 32rpx;\r\n\t}\r\n\r\n\t.leftBox {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247, 255, 255, 1);\r\n\t\tpadding: 56rpx 104rpx 56rpx 84rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tbackground: url('@/static/bgOne.png');\r\n\t\tbackground-size: 336rpx 192rpx;\r\n\r\n\t\t// background-color: red;\r\n\t\t:nth-child(1) {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tmargin-bottom: 4rpx;\r\n\r\n\t\t}\r\n\r\n\t\t:nth-child(2) {\r\n\t\t\tcolor: rgba(230, 61, 39, 1);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t}\r\n\t}\r\n\r\n\t.rightBox {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247, 255, 255, 1);\r\n\t\tpadding: 56rpx 104rpx 56rpx 84rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tbackground: url('@/static/bgTwo.png');\r\n\t\tbackground-size: 336rpx 192rpx;\r\n\r\n\t\t:nth-child(1) {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tmargin-bottom: 4rpx;\r\n\t\t}\r\n\r\n\t\t:nth-child(2) {\r\n\t\t\tcolor: rgba(230, 61, 39, 1);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t}\r\n\t}\r\n\r\n\t.btn {\r\n\t\tposition: fixed;\r\n\t\tbottom: 46rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\r\n\t\timg {\r\n\t\t\twidth: 32rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.failBtn {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(98, 205, 206, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tborder: 2rpx solid #62CDCE;\r\n\r\n\t\timg {\r\n\t\t\twidth: 32rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t\tmargin-right: 8rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.fixed {\r\n\t\tposition: fixed;\r\n\t\tbottom: 46rpx;\r\n\t\tleft: 32rpx;\r\n\r\n\t\t.resubmitBtn {\r\n\t\t\twidth: 328rpx;\r\n\t\t\theight: 88rpx;\r\n\t\t\tborder-radius: 28rpx;\r\n\t\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t\tmargin-right: 30rpx;\r\n\t\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t\t}\r\n\t}\r\n\r\n\t.mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tbackground: rgba(0, 0, 0, 0.5);\r\n\t}\r\n\r\n\t.eject {\r\n\t\tposition: absolute;\r\n\t\twidth: 622rpx;\r\n\t\theight: 544rpx;\r\n\t\tborder-radius: 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tmargin-left: 32rpx;\r\n\t\tmargin-top: 100rpx;\r\n\t\tpadding: 48rpx 48rpx 36rpx 48rpx;\r\n\t\tborder: 0 solid rgba(151, 151, 151, 1);\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t}\r\n\r\n\t.titleTwo {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.box {\r\n\t\tmargin-top: 32rpx;\r\n\t\tborder: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\t// padding: 0rpx 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.agreement {\r\n\t\tmargin-top: 68rpx;\r\n\r\n\t\timg {\r\n\t\t\twidth: 32rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t\tmargin-right: 12rpx;\r\n\t\t}\r\n\r\n\t\t.grey {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.6);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t}\r\n\r\n\t\t.blue {\r\n\t\t\tcolor: rgba(33, 83, 213, 1);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.select {\r\n\t\tmargin-top: 6rpx;\r\n\t}\r\n\r\n\t.submitBtn {\r\n\t\twidth: 514rpx;\r\n\t\theight: 76rpx;\r\n\t\tmargin-top: 24rpx;\r\n\t\tborder-radius: 90rpx;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658789\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?1460"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?e8c9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?8e6f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?30e5"
,
"uni-app:///pages/index/buyersReleased.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?7456"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/buyersReleased.vue?e7bb"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,+G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2H;AAC3H;AACkE;AACL;AACc;;;AAG3E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,yFAAM;AACR,EAAE,kGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAioB,CAAgB,spBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiFrpB;AACA,MADA,kBACA;AACA;AACA,eADA,EACA;AACA,qBAFA;AAGA,iBAHA;AAIA,eAJA;AAKA,oBALA;AAMA,aANA;AAOA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CAPA;;;AAaA,GAfA;AAgBA,QAhBA,kBAgBA,CAhBA,EAgBA;AACA;AACA;AACA,GAnBA;AAoBA;AACA;AACA,SAFA,mBAEA;AACA;AACA;AACA,KALA;AAMA;AACA,SAPA,mBAOA;AACA;AACA,4BADA;AAEA,oBAFA;;AAIA;AACA;AACA,KAdA;AAeA,UAfA,oBAeA;AACA;AACA,KAjBA;AAkBA,mBAlBA,6BAkBA;AACA;AACA,yDADA;;AAGA,KAtBA;AAuBA,sBAvBA,gCAuBA;AACA;AACA,iCADA;;AAGA,KA3BA,EApBA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAgsC,CAAgB,6pCAAG,EAAC,C;;;;;;;;;;;ACAptC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/buyersReleased.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/buyersReleased.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./buyersReleased.vue?vue&type=template&id=15e2d75a&\"\nvar renderjs\nimport script from \"./buyersReleased.vue?vue&type=script&lang=js&\"\nexport * from \"./buyersReleased.vue?vue&type=script&lang=js&\"\nimport style0 from \"./buyersReleased.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/buyersReleased.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=template&id=15e2d75a&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\r\n\t<view class=\"minBox\">\r\n\t\t<!-- 农谷作物名称 -->\r\n\t\t<view class=\"title\">\r\n\t\t\t玉米\r\n\t\t</view>\r\n\t\t<!-- 重量和联系电话 -->\r\n\t\t<view class=\"flexJ\">\r\n\t\t\t<view class=\"leftBox\">\r\n\t\t\t\t<view class=\"\">预计购买数量</view>\r\n\t\t\t\t<view class=\"\">100公斤</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"rightBox\">\r\n\t\t\t\t<view class=\"\">手机号码</view>\r\n\t\t\t\t<view class=\"\">156****0180</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\r\n\t\t<!-- 审核状态 -->\r\n\t\t<view class=\"btn flexC\" v-if=\"status==1\"><img src=\"/static/hourglass.png\" alt=\"\"\r\n\t\t\t\tstyle=\"width: 32rpx;height: 32rpx; \">审核中</view>\r\n\t\t<view class=\"btn flexC\" v-if=\"status==2\"> <img src=\"/static/correct.png\" alt=\"\"\r\n\t\t\t\tstyle=\"width: 25rpx;height: 27rpx;\">审核通过</view>\r\n\t\t<view class=\"btn flexC\" v-if=\"status==3 || status==0\" @click=\"apply\">申请查看买家手机号</view>\r\n\t\t<view class=\"flexJ fixed\" v-if=\"status==4\">\r\n\t\t\t<view class=\"resubmitBtn flexC\">重新提交</view>\r\n\t\t\t<view class=\"failBtn flexC\"><img src=\"/static/choice.png\" alt=\"\">审核未通过</view>\r\n\t\t</view>\r\n\t\r\n\t\t<!-- 遮罩 -->\r\n\t\t<view class=\"mask\" v-show=\"showMask\"></view>\r\n\t\r\n\t\t<!-- 申请查看买家手机号弹窗 -->\r\n\t\t<view class=\"eject\" v-show=\"show\">\r\n\t\t\t<view class=\"titleTwo flexC\">申请查看买家手机号</view>\r\n\t\t\t<view class=\"box flexJ\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t您的姓名\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\" v-model=\"name\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\r\n\t\t\t<view class=\"box flexJ\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t您的年龄\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入您的年龄\" v-model=\"age\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\r\n\t\t\t<view class=\"box flexJ\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t身份证号\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\" v-model=\"idCar\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t<view class=\"select\" @click=\"select\">\r\n\t\t\t\t\t<img src=\"/static/error.png\" alt=\"\" v-if=\"isSelect\">\r\n\t\t\t\t\t<img src=\"/static/select.png\" alt=\"\" v-else>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"grey\">同意</view>\r\n\t\t\t\t<view class=\"blue\" @click=\"toUserAgreement\">《用户协议》</view>\r\n\t\t\t\t<view class=\"grey\">和</view>\r\n\t\t\t\t<view class=\"blue\" @click=\"toPrivacyAgreement\">《隐私协议》</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 提交按钮 -->\r\n\t\t\t<view class=\"submitBtn flexC\" @click=\"close\">\r\n\t\t\t\t提交\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatus: 0, //1是审核中 2是审核通过 3是申请查看手机号 4是审核未通过\r\n\t\t\t\tshowMask: false,\r\n\t\t\t\tshow: false,\r\n\t\t\t\tidCar: 18,\r\n\t\t\t\tisSelect: true,\r\n\t\t\t\ttype: 1,\r\n\t\t\t\tlist6: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tconsole.log(e)\r\n\t\t\tthis.status = e.status\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 打开遮罩和申请查看页面\r\n\t\t\tapply() {\r\n\t\t\t\tthis.showMask = true\r\n\t\t\t\tthis.show = true\r\n\t\t\t},\r\n\t\t\t// 关闭遮罩和申请查看页面\r\n\t\t\tclose() {\r\n\t\t\t\tif (this.idCar.length !== 18) return uni.showToast({\r\n\t\t\t\t\ttitle: '请确认身份证号是否正确',\r\n\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t})\r\n\t\t\t\tthis.showMask = false\r\n\t\t\t\tthis.show = false\r\n\t\t\t},\r\n\t\t\tselect() {\r\n\t\t\t\tthis.isSelect = !this.isSelect\r\n\t\t\t},\r\n\t\t\ttoUserAgreement() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: `/pages/mine/detail?type=${this.type}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttoPrivacyAgreement() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/mine/detail'\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.minBox {\r\n\t\tmargin: 32rpx 32rpx;\r\n\t}\r\n\r\n\t.title {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 44rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-bottom: 32rpx;\r\n\t\tmargin-top: 32rpx;\r\n\t}\r\n\r\n\t.leftBox {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247, 255, 255, 1);\r\n\t\tpadding: 56rpx 104rpx 56rpx 84rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tbackground: url('@/static/bgOne.png');\r\n\t\tbackground-size: 336rpx 192rpx;\r\n\r\n\t\t// background-color: red;\r\n\t\t:nth-child(1) {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tmargin-bottom: 4rpx;\r\n\r\n\t\t}\r\n\r\n\t\t:nth-child(2) {\r\n\t\t\tcolor: rgba(230, 61, 39, 1);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t}\r\n\t}\r\n\r\n\t.rightBox {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247, 255, 255, 1);\r\n\t\tpadding: 56rpx 104rpx 56rpx 84rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tbackground: url('@/static/bgTwo.png');\r\n\t\tbackground-size: 336rpx 192rpx;\r\n\r\n\t\t:nth-child(1) {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tmargin-bottom: 4rpx;\r\n\t\t}\r\n\r\n\t\t:nth-child(2) {\r\n\t\t\tcolor: rgba(230, 61, 39, 1);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t}\r\n\t}\r\n\r\n\t.btn {\r\n\t\tposition: fixed;\r\n\t\tbottom: 46rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\r\n\t\timg {\r\n\t\t\twidth: 32rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.failBtn {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(98, 205, 206, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tborder: 2rpx solid #62CDCE;\r\n\r\n\t\timg {\r\n\t\t\twidth: 32rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t\tmargin-right: 8rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.fixed {\r\n\t\tposition: fixed;\r\n\t\tbottom: 46rpx;\r\n\t\tleft: 32rpx;\r\n\r\n\t\t.resubmitBtn {\r\n\t\t\twidth: 328rpx;\r\n\t\t\theight: 88rpx;\r\n\t\t\tborder-radius: 28rpx;\r\n\t\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: 700;\r\n\t\t\tmargin-right: 30rpx;\r\n\t\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t\t}\r\n\t}\r\n\r\n\t.mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tbackground: rgba(0, 0, 0, 0.5);\r\n\t}\r\n\r\n\t.eject {\r\n\t\tposition: absolute;\r\n\t\twidth: 622rpx;\r\n\t\theight: 544rpx;\r\n\t\tborder-radius: 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tmargin-left: 32rpx;\r\n\t\tmargin-top: 100rpx;\r\n\t\tpadding: 48rpx 48rpx 36rpx 48rpx;\r\n\t\tborder: 0 solid rgba(151, 151, 151, 1);\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t}\r\n\r\n\t.titleTwo {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.box {\r\n\t\tmargin-top: 32rpx;\r\n\t\tborder: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\t// padding: 0rpx 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.agreement {\r\n\t\tmargin-top: 68rpx;\r\n\r\n\t\timg {\r\n\t\t\twidth: 32rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t\tmargin-right: 12rpx;\r\n\t\t}\r\n\r\n\t\t.grey {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.6);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t}\r\n\r\n\t\t.blue {\r\n\t\t\tcolor: rgba(33, 83, 213, 1);\r\n\t\t\tfont-size: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.select {\r\n\t\tmargin-top: 6rpx;\r\n\t}\r\n\r\n\t.submitBtn {\r\n\t\twidth: 514rpx;\r\n\t\theight: 76rpx;\r\n\t\tmargin-top: 24rpx;\r\n\t\tborder-radius: 90rpx;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./buyersReleased.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029097849\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?2f2c"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?d1cd"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?95ca"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?41bd"
,
"uni-app:///pages/index/index.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?0a2e"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?8e22"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,0PAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiJ5oB;AACA,gBADA;AAEA,MAFA,kBAEA;AACA;AACA,iBADA;AAEA,eAFA;AAGA,gBAHA;AAIA,YAJA;AAKA;AACA;AACA,oBADA;AAEA,iBAFA;AAGA;AACA,qBADA;AAEA,gBAFA,EAHA;AAMA;AACA,qBADA;AAEA,gBAFA,EANA;AASA;AACA,qBADA;AAEA,gBAFA,EATA,CADA;;AAcA;AACA,oBADA;AAEA,iBAFA;AAGA;AACA,mBADA;AAEA,gBAFA,EAHA;AAMA;AACA,mBADA;AAEA,gBAFA,EANA;AASA;AACA,mBADA;AAEA,gBAFA,EATA,CAdA;;AA2BA;AACA,kBADA;AAEA,iBAFA;AAGA;AACA,mBADA;AAEA,gBAFA,EAHA;AAMA;AACA,mBADA;AAEA,gBAFA,EANA;AASA;AACA,mBADA;AAEA,gBAFA,EATA,CA3BA,CALA;;;AA8CA,6BA9CA;AA+CA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CA/CA;;AAoDA;AACA,sBADA;AAEA;AACA,sBADA,EAFA;AAIA;AACA,sBADA,EAJA,CApDA;;AA2DA;AACA,oBADA;AAEA;AACA,oBADA,EAFA;AAIA;AACA,kBADA,EAJA,CA3DA;;AAkEA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA;AASA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA,EATA;AAkBA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA,EAlBA;AA2BA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA,EA3BA,CAlEA;;;AAwGA,GA3GA;AA4GA,QA5GA,oBA4GA;;AAEA,GA9GA;AA+GA,QA/GA,oBA+GA;AACA;AACA,GAjHA;AAkHA;AACA,aADA,qBACA,CADA,EACA;AACA;AACA;AACA,KAJA;AAKA,yBALA,iCAKA,IALA,EAKA;AACA;AACA,2EADA;;AAGA,KATA;AAUA,gBAVA,wBAUA,IAVA,EAUA;AACA;AACA,sCADA;;AAGA,KAdA;AAeA,mBAfA,6BAeA;AACA;AACA,yCADA;;AAGA,KAnBA;AAoBA,QApBA,kBAoBA;AACA;AACA;;AAEA,KAxBA;AAyBA,SAzBA,mBAyBA;AACA;AACA;AACA,KA5BA,EAlHA,E;;;;;;;;;;;;;ACjJA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/index.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=57280228&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n renDropdownFilter: function() {\n return import(\n /* webpackChunkName: \"components/ren-dropdown-filter/ren-dropdown-filter\" */ \"@/components/ren-dropdown-filter/ren-dropdown-filter.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-popup/u-popup\" */ \"uview-ui/components/u-popup/u-popup.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.current = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<view class=\"head\" style=\"font-weight:700\">\r\n\t\t\t<u-navbar title=\"首页\" :autoBack=\"true\" leftIconSize=\"0rpx\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<view class=\"main\">\r\n\t\t\t<!-- 轮播图 -->\r\n\t\t\t<view class=\"swiper\">\r\n\t\t\t\t<u-swiper :list=\"list5\" @change=\"e => current = e.current\" height=\"320rpx\" radius=\"24rpx\">\r\n\t\t\t\t\t<view slot=\"indicator\" class=\"indicator\">\r\n\t\t\t\t\t\t<view class=\"indicator__dot\" v-for=\"(item, index) in list5\" :key=\"index\"\r\n\t\t\t\t\t\t\t:class=\"[index === current && 'indicator__dot--active']\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-swiper>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"mainList\">\r\n\t\t\t\t<view class=\"listName\">\r\n\t\t\t\t\t生物质列表\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<u-tabs @click=\"switchTAb\" :list=\"list1\"\r\n\t\t\t\t\t\t:activeStyle=\"{color: 'rgba(0,0,0,0.9)', fontWeight: 'bold', transform: 'scale(1.05)'}\"\r\n\t\t\t\t\t\t:scrollable=\"false\" :lineWidth=\"43\" :lineHeight=\"4\"></u-tabs>\r\n\t\t\t\t\t<!-- 卖家信息列表 -->\r\n\t\t\t\t\t<view class=\"sellerList\" v-if=\"cur==0\">\r\n\t\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"sellerListhead\">\r\n\t\t\t\t\t\t\t\t<ren-dropdown-filter :filterData='filterData' :defaultIndex='defaultIndex' @ed='ed'\r\n\t\t\t\t\t\t\t\t\t:height=\"24\"></ren-dropdown-filter>\r\n\t\t\t\t\t\t\t\t\t<!-- 我页不知道这个下拉框具体啥样式的,没调整,到时候自己改一下吧 -->\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"listCard flexA\" v-for=\"(item,index) in sellerList\" :key=\"index\"\r\n\t\t\t\t\t\t\t@click=\"tosellerMessageDetail(item)\">\r\n\t\t\t\t\t\t\t<view class=\"cardImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_4@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"cardTitle\">\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitlename\">{{item.name}}</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleadress flexA\">\r\n\t\t\t\t\t\t\t\t\t<img src=\"/static/ic-loc@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t<text>{{item.address}}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleP flexJ\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitlePimg flexA\">\r\n\t\t\t\t\t\t\t\t\t\t<img src=\"/static/ic_6@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t\t{{item.title}}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitletime\">\r\n\t\t\t\t\t\t\t\t\t\t{{item.time}}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 买家信息列表 -->\r\n\t\t\t\t\t<view class=\"buyerList\" v-if=\"cur==1\">\r\n\t\t\t\t\t\t<view class=\"buyerCard flexJ\" v-for=\"(item,index) in 4\">\r\n\t\t\t\t\t\t\t<view class=\"cardLeft\">\r\n\t\t\t\t\t\t\t\t<view class=\"cardLeftname\">作物-玉米</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitletime\">2022-05-28 15:30</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"cardTitlePimg flexA\" style=\"margin-right: 24rpx;\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_6@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t张小曼\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 土地信息列表 -->\r\n\t\t\t\t\t<view class=\"sellerList\" v-if=\"cur==2\">\r\n\t\t\t\t\t\t<view class=\"listCard flexA\" v-for=\"(item,index) in 4\" @click=\"tolandDetail\">\r\n\t\t\t\t\t\t\t<view class=\"cardImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_4@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"cardTitle\">\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitlename\">土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleadress flexA\">\r\n\t\t\t\t\t\t\t\t\t<img src=\"/static/ic-loc@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t<text>天津市南开区鑫茂科技园C1座</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleP flexJ\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitlePimg flexA\">\r\n\t\t\t\t\t\t\t\t\t\t<img src=\"/static/ic_6@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t\t张小曼\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitletime\">\r\n\t\t\t\t\t\t\t\t\t\t2022-05-28 15:30\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 发布 -->\r\n\t\t<view class=\"release\" @click=\"open\">\r\n\t\t\t<img src=\"/static/ic_7@2x.png\" alt=\"\">\r\n\t\t</view>\r\n\t\t<!-- <navigator hover-class=\"none\" url=\"/pages/popup/popup\">领券</navigator> -->\r\n\t\t<!-- 弹出层 -->\r\n\t\t<!-- <view class=\"popup\"> -->\r\n\t\t<view class=\"\">\r\n\t\t\t<u-popup :show=\"show\" mode=\"bottom\" @close=\"close\" @open=\"open\">\r\n\t\t\t\t<view class=\"wraper\">\r\n\t\t\t\t\t<view class=\"flexC popup\">\r\n\t\t\t\t\t\t<view class=\"popItem\">\r\n\t\t\t\t\t\t\t<view class=\"popImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_13@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"popName\">我是卖家</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"popItemT\" @click=\"tobuyersRelease\">\r\n\t\t\t\t\t\t\t<view class=\"popImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_14@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"popName\">我是买家</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"popItem\">\r\n\t\t\t\t\t\t\t<view class=\"popImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_15@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"popName\">土地信息发布</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tui\" @click=\"close\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</u-popup>\r\n\t\t</view>\r\n\t\t<!-- </view> -->\r\n\t\t<!-- 底部导航栏 -->\r\n\t\t<view class=\"\" style=\"height: 200rpx;\"></view>\r\n\t\t<view class=\"\">\r\n\t\t\t<Tabbar :idx=\"0\"></Tabbar>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tcomponents: {},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshow: false,\r\n\t\t\t\tstatus: 0,\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tcur: 0,\r\n\t\t\t\tfilterData: [\r\n\t\t\t\t\t[{\r\n\t\t\t\t\t\ttext: '默认排序',\r\n\t\t\t\t\t\tvalue: ''\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '默认排序1',\r\n\t\t\t\t\t\tvalue: 1\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '默认排序2',\r\n\t\t\t\t\t\tvalue: 2\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '默认排序3',\r\n\t\t\t\t\t\tvalue: 3\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t[{\r\n\t\t\t\t\t\ttext: '距离优先',\r\n\t\t\t\t\t\tvalue: ''\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '类型1',\r\n\t\t\t\t\t\tvalue: 1\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '类型2',\r\n\t\t\t\t\t\tvalue: 2\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '类型3',\r\n\t\t\t\t\t\tvalue: 3\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t[{\r\n\t\t\t\t\t\ttext: '类型',\r\n\t\t\t\t\t\tvalue: ''\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '玉米1',\r\n\t\t\t\t\t\tvalue: 1\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '大豆2',\r\n\t\t\t\t\t\tvalue: 2\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '高粱3',\r\n\t\t\t\t\t\tvalue: 3\r\n\t\t\t\t\t}],\r\n\t\t\t\t],\r\n\t\t\t\tdefaultIndex: [0, 0, 0],\r\n\t\t\t\tlist5: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t],\r\n\t\t\t\tlist1: [{\r\n\t\t\t\t\tname: '卖家信息列表',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '买家信息列表',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '土地信息列表'\r\n\t\t\t\t}],\r\n\t\t\t\tsellerListhead: [{\r\n\t\t\t\t\tname: '默认排序',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '距离优先',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '玉米'\r\n\t\t\t\t}],\r\n\t\t\t\tsellerList: [{\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\tstatus: 1,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 2,\r\n\t\t\t\t\tstatus: 2,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 3,\r\n\t\t\t\t\tstatus: 3,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 4,\r\n\t\t\t\t\tstatus: 4,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, ]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tuni.hideTabBar()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tswitchTAb(e) {\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t\tthis.cur = e.index\r\n\t\t\t},\r\n\t\t\ttosellerMessageDetail(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: `/pages/index/sellerMessageDetail?status=${item.status}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttolandDetail(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/index/landDetail'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttobuyersRelease() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/index/buyersRelease'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\topen() {\r\n\t\t\t\t// console.log('open');\r\n\t\t\t\tthis.show = true\r\n\r\n\t\t\t},\r\n\t\t\tclose() {\r\n\t\t\t\tthis.show = false\r\n\t\t\t\t// console.log('close');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\twidth: 100%;\r\n\t\t// height: 100%;\r\n\t\tbackground-image: linear-gradient(to right, #fff, #dff4ff);\r\n\t}\r\n\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\t// background-color: #fff !important;\r\n\t\tbackground-image: linear-gradient(to right, #fff, #dff4ff) !important;\r\n\t}\r\n\r\n\t.u-status-bar {\r\n\t\tbackground-image: linear-gradient(to right, #fff, #dff4ff) !important;\r\n\t}\r\n\r\n\t.head {\r\n\t\twidth: 100%;\r\n\t\theight: 176rpx;\r\n\t}\r\n\r\n\t.main {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 0rpx auto;\r\n\r\n\t}\r\n\r\n\t// 轮播图\r\n\t.indicator {\r\n\t\t@include flex(row);\r\n\t\tjustify-content: center;\r\n\r\n\t\t&__dot {\r\n\t\t\theight: 6px;\r\n\t\t\twidth: 6px;\r\n\t\t\tborder-radius: 100px;\r\n\t\t\tbackground-color: rgba(255, 255, 255, 0.35);\r\n\t\t\tmargin: 0 5px;\r\n\t\t\ttransition: background-color 0.3s;\r\n\r\n\t\t\t&--active {\r\n\t\t\t\tbackground-color: #ffffff;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\r\n\t.u-tabs__wrapper__nav {\r\n\t\t// justify-content: space-around;\r\n\t}\r\n\r\n\t.u-tabs__wrapper__nav__item__text {\r\n\t\t// margin-right: 64rpx;\r\n\t}\r\n\r\n\t.u-tabs__wrapper__nav__line {\r\n\t\tbackground: linear-gradient(90deg, rgba(99, 217, 218, 1) 0%, rgba(99, 217, 218, 0) 100%) !important;\r\n\t}\r\n\r\n\t.sellerList {\r\n\t\tmargin-top: 24rpx;\r\n\t}\r\n\t.sellerListhead {\r\n\t\tfont-size: 24rpx !important;\r\n\t\theight: 48rpx !important;\r\n\t\tbackground-color:transparent!important;\r\n\t\t\r\n\t}\r\n\r\n\t.sellerListheaditem {\r\n\t\twidth: 222rpx;\r\n\t\t// padding: 8rpx 62rpx;\r\n\t\tpadding: 8rpx 0;\r\n\t\tborder-radius: 52rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tcolor: rgba(65, 171, 172, 1);\r\n\t\tfont-size: 24rpx;\r\n\t\tmargin-right: 26rpx;\r\n\t}\r\n\r\n\t.sellerListheaditem:last-child {\r\n\t\tmargin-right: 0rpx;\r\n\t}\r\n\r\n\t.listCard {\r\n\t\twidth: 686rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tmargin-bottom: 24rpx;\r\n\t\tmargin-top: 16rpx;\r\n\t}\r\n\r\n\t.cardImg {}\r\n\r\n\t.cardImg>img {\r\n\t\twidth: 200rpx;\r\n\t\theight: 200rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.cardTitle {\r\n\t\twidth: 100%;\r\n\t\tmargin-left: 16rpx;\r\n\t\t// padding-right: 16rpx;\r\n\t\tpadding: 28rpx 16rpx 28rpx 0rpx;\r\n\t}\r\n\r\n\t.cardTitlename {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 700;\r\n\t\t// margin-top: 28rpx;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-line-clamp: 2; // 控制多行的行数\r\n\t\t-webkit-box-orient: vertical;\r\n\r\n\t}\r\n\r\n\t.cardTitleadress {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 24rpx;\r\n\t\tmargin: 16rpx 0 24rpx;\r\n\t}\r\n\r\n\t.cardTitleadress>text {\r\n\t\twidth: 324rpx;\r\n\t\twhite-space: nowrap;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t}\r\n\r\n\t.cardTitleadress>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tmargin-right: 8rpx;\r\n\t}\r\n\r\n\t.cardTitleP {}\r\n\r\n\t.cardTitlePimg {\r\n\t\tcolor: rgba(0, 0, 0, 0.26);\r\n\t\tfont-size: 22rpx;\r\n\t}\r\n\r\n\t.cardTitlePimg>img {\r\n\t\twidth: 40rpx;\r\n\t\theight: 40rpx;\r\n\t\topacity: 1;\r\n\t\tmargin-right: 8rpx;\r\n\t}\r\n\r\n\t.cardTitletime {\r\n\t\tcolor: rgba(0, 0, 0, 0.26);\r\n\t\tfont-size: 22rpx;\r\n\t}\r\n\r\n\t.release {\r\n\t\tposition: fixed;\r\n\t\tright: 0;\r\n\t\tbottom: 196rpx;\r\n\t}\r\n\r\n\t.release>img {\r\n\t\twidth: 112rpx;\r\n\t\theight: 112rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.buyerList {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\r\n\t.buyerCard {\r\n\t\twidth: 686rpx;\r\n\t\theight: 160rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tbox-shadow: 0 4rpx 24rpx 0 rgba(101, 101, 101, 0.03);\r\n\t\tmargin-bottom: 16rpx;\r\n\t}\r\n\r\n\t.cardLeft {\r\n\t\tmargin-left: 24rpx;\r\n\t}\r\n\r\n\t.cardLeftname {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-bottom: 24rpx;\r\n\t}\r\n\r\n\t.popup {\r\n\t\tjustify-content: space-between;\r\n\t\tpadding: 64rpx 240rpx 0 240rpx;\r\n\t}\r\n\r\n\t.wraper {\r\n\t\tposition: fixed;\r\n\t\tbottom: -193rpx;\r\n\t\tleft: -171rpx;\r\n\t\twidth: 1096rpx;\r\n\t\theight: 622rpx;\r\n\t\tz-index: 10;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tborder-radius: 50%;\r\n\t\tpadding-top: 40rpx;\r\n\t\ttext-align: center;\r\n\t}\r\n\r\n\t.popItem {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.popItemT {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tmargin-top: -56rpx;\r\n\t}\r\n\r\n\t.popImg {}\r\n\r\n\t.popImg>img {\r\n\t\twidth: 128rpx;\r\n\t\theight: 128rpx;\r\n\t\t// margin-bottom: 24rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.popName {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.tui {\r\n\t\tmargin: 64rpx auto;\r\n\t}\r\n\r\n\t.tui>img {\r\n\t\twidth: 48rpx;\r\n\t\theight: 48rpx;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658129\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?d1cd"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?95ca"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?41bd"
,
"uni-app:///pages/index/index.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?0a2e"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/index.vue?8e22"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,0PAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8I5oB;AACA,gBADA;AAEA,MAFA,kBAEA;AACA;AACA,iBADA;AAEA,eAFA;AAGA,gBAHA;AAIA,YAJA;AAKA,aALA;AAMA;AACA;AACA,oBADA;AAEA,iBAFA;AAGA;AACA,qBADA;AAEA,gBAFA,EAHA;AAMA;AACA,qBADA;AAEA,gBAFA,EANA;AASA;AACA,qBADA;AAEA,gBAFA,EATA,CADA;;AAcA;AACA,oBADA;AAEA,iBAFA;AAGA;AACA,mBADA;AAEA,gBAFA,EAHA;AAMA;AACA,mBADA;AAEA,gBAFA,EANA;AASA;AACA,mBADA;AAEA,gBAFA,EATA,CAdA;;AA2BA;AACA,kBADA;AAEA,iBAFA;AAGA;AACA,mBADA;AAEA,gBAFA,EAHA;AAMA;AACA,mBADA;AAEA,gBAFA,EANA;AASA;AACA,mBADA;AAEA,gBAFA,EATA,CA3BA,CANA;;;AA+CA,6BA/CA;AAgDA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CAhDA;;AAqDA;AACA,sBADA;AAEA;AACA,sBADA,EAFA;AAIA;AACA,sBADA,EAJA,CArDA;;AA4DA;AACA,oBADA;AAEA;AACA,oBADA,EAFA;AAIA;AACA,kBADA,EAJA,CA5DA;;AAmEA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA;AASA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA,EATA;AAkBA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA,EAlBA;AA2BA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,yBAJA;AAKA,iCALA;AAMA,+BANA;AAOA,oBAPA;AAQA,gCARA,EA3BA,CAnEA;;AAwGA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,iDAJA;AAKA,iCALA;AAMA,oBANA;AAOA,gCAPA;AAQA,eARA;AASA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,iDAJA;AAKA,iCALA;AAMA,oBANA;AAOA,gCAPA;AAQA,eARA,EATA;AAkBA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,iDAJA;AAKA,iCALA;AAMA,oBANA;AAOA,gCAPA;AAQA,eARA,EAlBA;AA2BA;AACA,aADA;AAEA,iBAFA;AAGA,eAHA;AAIA,iDAJA;AAKA,iCALA;AAMA,oBANA;AAOA,gCAPA;AAQA,eARA,EA3BA,CAxGA;;;AA8IA,GAjJA;AAkJA,QAlJA,oBAkJA;;AAEA,GApJA;AAqJA,QArJA,oBAqJA;AACA;AACA,GAvJA;AAwJA;AACA,mBADA,2BACA,CADA,EACA;AACA;AACA,4EADA;;AAGA,KALA;AAMA,WANA,qBAMA;AACA;AACA,iCADA;;AAGA,KAVA;AAWA,iBAXA,2BAWA;AACA;AACA,uCADA;;AAGA,KAfA;AAgBA,mBAhBA,6BAgBA;AACA;AACA,yCADA;;AAGA,KApBA;AAqBA,aArBA,qBAqBA,CArBA,EAqBA;AACA;AACA;AACA,KAxBA;AAyBA,yBAzBA,iCAyBA,IAzBA,EAyBA;AACA;AACA,2EADA;;AAGA,KA7BA;AA8BA,gBA9BA,wBA8BA,IA9BA,EA8BA;AACA;AACA,6FADA;;AAGA,KAlCA;AAmCA,mBAnCA,6BAmCA;AACA;AACA,yCADA;;AAGA,KAvCA;AAwCA,QAxCA,kBAwCA;AACA;AACA;;AAEA,KA5CA;AA6CA,SA7CA,mBA6CA;AACA;AACA;AACA,KAhDA,EAxJA,E;;;;;;;;;;;;;AC9IA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/index.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=57280228&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n renDropdownFilter: function() {\n return import(\n /* webpackChunkName: \"components/ren-dropdown-filter/ren-dropdown-filter\" */ \"@/components/ren-dropdown-filter/ren-dropdown-filter.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-popup/u-popup\" */ \"uview-ui/components/u-popup/u-popup.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.current = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<view class=\"head\" style=\"font-weight:700\">\r\n\t\t\t<u-navbar title=\"首页\" :autoBack=\"true\" leftIconSize=\"0rpx\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<view class=\"main\">\r\n\t\t\t<!-- 轮播图 -->\r\n\t\t\t<view class=\"swiper\" @click=\"tologin\">\r\n\t\t\t\t<u-swiper :list=\"list5\" @change=\"e => current = e.current\" height=\"320rpx\" radius=\"24rpx\">\r\n\t\t\t\t\t<view slot=\"indicator\" class=\"indicator\">\r\n\t\t\t\t\t\t<view class=\"indicator__dot\" v-for=\"(item, index) in list5\" :key=\"index\"\r\n\t\t\t\t\t\t\t:class=\"[index === current && 'indicator__dot--active']\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-swiper>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"mainList\">\r\n\t\t\t\t<view class=\"listName\">\r\n\t\t\t\t\t生物质列表\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t<u-tabs @click=\"switchTAb\" :list=\"list1\"\r\n\t\t\t\t\t\t:activeStyle=\"{color: 'rgba(0,0,0,0.9)', fontWeight: 'bold', transform: 'scale(1.05)'}\"\r\n\t\t\t\t\t\t:scrollable=\"false\" :lineWidth=\"43\" :lineHeight=\"4\"></u-tabs>\r\n\t\t\t\t\t<!-- 卖家信息列表 -->\r\n\t\t\t\t\t<view class=\"sellerList\" v-if=\"cur==0\">\r\n\t\t\t\t\t\t<view class=\"sellerListhead\">\r\n\t\t\t\t\t\t\t\t<ren-dropdown-filter :filterData='filterData' :defaultIndex='defaultIndex' @ed='ed'\r\n\t\t\t\t\t\t\t\t\t:height=\"24\"></ren-dropdown-filter>\r\n\t\t\t\t\t\t\t\t\t<!-- 我页不知道这个下拉框具体啥样式的,没调整,到时候自己改一下吧 -->\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"listCard flexA\" v-for=\"(item,index) in sellerList\" :key=\"index\"\r\n\t\t\t\t\t\t\t@click=\"tosellerMessageDetail(item)\">\r\n\t\t\t\t\t\t\t<view class=\"cardImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_4@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"cardTitle\">\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitlename\">{{item.name}}</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleadress flexA\">\r\n\t\t\t\t\t\t\t\t\t<img src=\"/static/ic-loc@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t<text>{{item.address}}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleP flexJ\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitlePimg flexA\">\r\n\t\t\t\t\t\t\t\t\t\t<img src=\"/static/ic_6@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t\t{{item.title}}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitletime\">\r\n\t\t\t\t\t\t\t\t\t\t{{item.time}}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 买家信息列表 -->\r\n\t\t\t\t\t<view class=\"buyerList\" v-if=\"cur==1\">\r\n\t\t\t\t\t\t<view class=\"buyerCard flexJ\" v-for=\"(item,index) in 4\" :key=\"index\" @click=\"toauditPagetype\">\r\n\t\t\t\t\t\t\t<view class=\"cardLeft\">\r\n\t\t\t\t\t\t\t\t<view class=\"cardLeftname\">作物-玉米</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitletime\">2022-05-28 15:30</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"cardTitlePimg flexA\" style=\"margin-right: 24rpx;\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_6@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t张小曼\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 土地信息列表 -->\r\n\t\t\t\t\t<view class=\"sellerList\" v-if=\"cur==2\">\r\n\t\t\t\t\t\t<view class=\"listCard flexA\" v-for=\"(item,index) in landList\" :key=\"index\" @click=\"tolandDetail\">\r\n\t\t\t\t\t\t\t<view class=\"cardImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_4@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"cardTitle\">\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitlename\">{{item.name}}</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleadress flexA\">\r\n\t\t\t\t\t\t\t\t\t<img src=\"/static/ic-loc@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t<text>{{item.address}}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"cardTitleP flexJ\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitlePimg flexA\">\r\n\t\t\t\t\t\t\t\t\t\t<img src=\"/static/ic_6@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t\t\t\t{{item.title}}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t\t\t\t<view class=\"cardTitletime\">\r\n\t\t\t\t\t\t\t\t\t\t{{item.time}}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 发布 -->\r\n\t\t<view class=\"release\" @click=\"open\">\r\n\t\t\t<img src=\"/static/ic_7@2x.png\" alt=\"\">\r\n\t\t</view>\r\n\t\t<!-- <navigator hover-class=\"none\" url=\"/pages/popup/popup\">领券</navigator> -->\r\n\t\t<!-- 弹出层 -->\r\n\t\t<!-- <view class=\"popup\"> -->\r\n\t\t<view class=\"\">\r\n\t\t\t<u-popup :show=\"show\" mode=\"bottom\" @close=\"close\" @open=\"open\">\r\n\t\t\t\t<view class=\"wraper\">\r\n\t\t\t\t\t<view class=\"flexC popup1\">\r\n\t\t\t\t\t\t<view class=\"popItem\" @click=\"tosellerRelease\">\r\n\t\t\t\t\t\t\t<view class=\"popImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_13@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"popName\">我是卖家</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"popItemT\" @click=\"tobuyersRelease\">\r\n\t\t\t\t\t\t\t<view class=\"popImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_14@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"popName\">我是买家</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"popItem\" @click=\"tolandRelease\">\r\n\t\t\t\t\t\t\t<view class=\"popImg\">\r\n\t\t\t\t\t\t\t\t<img src=\"/static/ic_15@2x.png\" alt=\"\">\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"popName\">土地信息发布</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tui\" @click=\"close\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</u-popup>\r\n\t\t</view>\r\n\t\t<!-- </view> -->\r\n\t\t<!-- 底部导航栏 -->\r\n\t\t<view class=\"\" style=\"height: 200rpx;\"></view>\r\n\t\t<view class=\"\">\r\n\t\t\t<Tabbar :idx=\"0\"></Tabbar>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tcomponents: {},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshow: false,\r\n\t\t\t\tstatus: 0,\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tcur: 0,\r\n\t\t\t\ttype:1,\r\n\t\t\t\tfilterData: [\r\n\t\t\t\t\t[{\r\n\t\t\t\t\t\ttext: '默认排序',\r\n\t\t\t\t\t\tvalue: ''\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '默认排序1',\r\n\t\t\t\t\t\tvalue: 1\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '默认排序2',\r\n\t\t\t\t\t\tvalue: 2\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '默认排序3',\r\n\t\t\t\t\t\tvalue: 3\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t[{\r\n\t\t\t\t\t\ttext: '距离优先',\r\n\t\t\t\t\t\tvalue: ''\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '类型1',\r\n\t\t\t\t\t\tvalue: 1\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '类型2',\r\n\t\t\t\t\t\tvalue: 2\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '类型3',\r\n\t\t\t\t\t\tvalue: 3\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t[{\r\n\t\t\t\t\t\ttext: '类型',\r\n\t\t\t\t\t\tvalue: ''\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '玉米1',\r\n\t\t\t\t\t\tvalue: 1\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '大豆2',\r\n\t\t\t\t\t\tvalue: 2\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '高粱3',\r\n\t\t\t\t\t\tvalue: 3\r\n\t\t\t\t\t}],\r\n\t\t\t\t],\r\n\t\t\t\tdefaultIndex: [0, 0, 0],\r\n\t\t\t\tlist5: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t],\r\n\t\t\t\tlist1: [{\r\n\t\t\t\t\tname: '卖家信息列表',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '买家信息列表',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '土地信息列表'\r\n\t\t\t\t}],\r\n\t\t\t\tsellerListhead: [{\r\n\t\t\t\t\tname: '默认排序',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '距离优先',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '玉米'\r\n\t\t\t\t}],\r\n\t\t\t\tsellerList: [{\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\tstatus: 1,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 2,\r\n\t\t\t\t\tstatus: 2,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 3,\r\n\t\t\t\t\tstatus: 3,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 4,\r\n\t\t\t\t\tstatus: 4,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"海南妃子笑荔枝5斤\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\texpertise: \"擅长领域:小鼠银杏病\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t}, ],\r\n\t\t\t\tlandList: [{\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\tstatus: 1,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t\ttype:2\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 2,\r\n\t\t\t\t\tstatus: 2,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t\ttype:2\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 3,\r\n\t\t\t\t\tstatus: 3,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t\ttype:2\r\n\t\t\t\t}, {\r\n\t\t\t\t\tid: 4,\r\n\t\t\t\t\tstatus: 4,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t\tname: \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦\",\r\n\t\t\t\t\taddress: \"天津市南开区鑫茂科技园C1座\",\r\n\t\t\t\t\ttitle: \"张小曼\",\r\n\t\t\t\t\ttime: \"2022-05-28 15:30\",\r\n\t\t\t\t\ttype:2\r\n\t\t\t\t}, ]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tuni.hideTabBar()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttoauditPagetype(e){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: `/pages/index/auditPage?type=${this.type}&status=${2}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttologin() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/login/login'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttolandRelease() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/index/landRelease'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttosellerRelease() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/index/sellerRelease'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tswitchTAb(e) {\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t\tthis.cur = e.index\r\n\t\t\t},\r\n\t\t\ttosellerMessageDetail(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: `/pages/index/sellerMessageDetail?status=${item.status}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttolandDetail(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: `/pages/index/auditPage?status=${item.status}&type=${item.type}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttobuyersRelease() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/index/buyersRelease'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\topen() {\r\n\t\t\t\t// console.log('open');\r\n\t\t\t\tthis.show = true\r\n\r\n\t\t\t},\r\n\t\t\tclose() {\r\n\t\t\t\tthis.show = false\r\n\t\t\t\t// console.log('close');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\twidth: 100%;\r\n\t\t// height: 100%;\r\n\t\tbackground-image: linear-gradient(to right, #fff, #dff4ff);\r\n\t}\r\n\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\t// background-color: #fff !important;\r\n\t\tbackground-image: linear-gradient(to right, #fff, #dff4ff) !important;\r\n\t}\r\n\r\n\t.u-status-bar {\r\n\t\tbackground-image: linear-gradient(to right, #fff, #dff4ff) !important;\r\n\t}\r\n\r\n\t.head {\r\n\t\twidth: 100%;\r\n\t\theight: 176rpx;\r\n\t}\r\n\r\n\t.main {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 0rpx auto;\r\n\r\n\t}\r\n\r\n\t// 轮播图\r\n\t.indicator {\r\n\t\t@include flex(row);\r\n\t\tjustify-content: center;\r\n\r\n\t\t&__dot {\r\n\t\t\theight: 6px;\r\n\t\t\twidth: 6px;\r\n\t\t\tborder-radius: 100px;\r\n\t\t\tbackground-color: rgba(255, 255, 255, 0.35);\r\n\t\t\tmargin: 0 5px;\r\n\t\t\ttransition: background-color 0.3s;\r\n\r\n\t\t\t&--active {\r\n\t\t\t\tbackground-color: #ffffff;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\r\n\t.u-tabs__wrapper__nav {\r\n\t\t// justify-content: space-around;\r\n\t}\r\n\r\n\t.u-tabs__wrapper__nav__item__text {\r\n\t\t// margin-right: 64rpx;\r\n\t}\r\n\r\n\t.u-tabs__wrapper__nav__line {\r\n\t\tbackground: linear-gradient(90deg, rgba(99, 217, 218, 1) 0%, rgba(99, 217, 218, 0) 100%) !important;\r\n\t\tleft: -50rpx;\r\n\t}\r\n\t.listName {\r\n\t\tmargin-top: 32rpx;\r\n\t\tmargin-bottom: 24rpx;\r\n\t\tcolor: rgba(0,0,0,0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.sellerList {\r\n\t\tmargin-top: 24rpx;\r\n\t}\r\n\t.sellerListhead {\r\n\t\tfont-size: 24rpx !important;\r\n\t\theight: 48rpx !important;\r\n\t\tbackground-color:transparent!important;\r\n\t\tz-index: 999;\r\n\t}\r\n\r\n\t.sellerListheaditem {\r\n\t\twidth: 222rpx;\r\n\t\t// padding: 8rpx 62rpx;\r\n\t\tpadding: 8rpx 0;\r\n\t\tborder-radius: 52rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tcolor: rgba(65, 171, 172, 1);\r\n\t\tfont-size: 24rpx;\r\n\t\tmargin-right: 26rpx;\r\n\t}\r\n\r\n\t.sellerListheaditem:last-child {\r\n\t\tmargin-right: 0rpx;\r\n\t}\r\n\r\n\t.listCard {\r\n\t\twidth: 686rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tmargin-bottom: 24rpx;\r\n\t\tmargin-top: 16rpx;\r\n\t}\r\n\r\n\t.cardImg {}\r\n\r\n\t.cardImg>img {\r\n\t\twidth: 200rpx;\r\n\t\theight: 200rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.cardTitle {\r\n\t\twidth: 100%;\r\n\t\tmargin-left: 16rpx;\r\n\t\t// padding-right: 16rpx;\r\n\t\tpadding: 28rpx 16rpx 28rpx 0rpx;\r\n\t}\r\n\r\n\t.cardTitlename {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 700;\r\n\t\t// margin-top: 28rpx;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-line-clamp: 2; // 控制多行的行数\r\n\t\t-webkit-box-orient: vertical;\r\n\r\n\t}\r\n\r\n\t.cardTitleadress {\r\n\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\tfont-size: 24rpx;\r\n\t\tmargin: 16rpx 0 24rpx;\r\n\t}\r\n\r\n\t.cardTitleadress>text {\r\n\t\twidth: 324rpx;\r\n\t\twhite-space: nowrap;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t}\r\n\r\n\t.cardTitleadress>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tmargin-right: 8rpx;\r\n\t}\r\n\r\n\t.cardTitleP {}\r\n\r\n\t.cardTitlePimg {\r\n\t\tcolor: rgba(0, 0, 0, 0.26);\r\n\t\tfont-size: 22rpx;\r\n\t}\r\n\r\n\t.cardTitlePimg>img {\r\n\t\twidth: 40rpx;\r\n\t\theight: 40rpx;\r\n\t\topacity: 1;\r\n\t\tmargin-right: 8rpx;\r\n\t}\r\n\r\n\t.cardTitletime {\r\n\t\tcolor: rgba(0, 0, 0, 0.26);\r\n\t\tfont-size: 22rpx;\r\n\t}\r\n\r\n\t.release {\r\n\t\tposition: fixed;\r\n\t\tright: 0;\r\n\t\tbottom: 196rpx;\r\n\t}\r\n\r\n\t.release>img {\r\n\t\twidth: 112rpx;\r\n\t\theight: 112rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.buyerList {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\r\n\t.buyerCard {\r\n\t\twidth: 686rpx;\r\n\t\theight: 160rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tbox-shadow: 0 4rpx 24rpx 0 rgba(101, 101, 101, 0.03);\r\n\t\tmargin-bottom: 16rpx;\r\n\t}\r\n\r\n\t.cardLeft {\r\n\t\tmargin-left: 24rpx;\r\n\t}\r\n\r\n\t.cardLeftname {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-bottom: 24rpx;\r\n\t}\r\n\r\n\t.popup1 {\r\n\t\tjustify-content: space-between;\r\n\t\tpadding: 64rpx 240rpx 0 240rpx;\r\n\t}\r\n\r\n\t.wraper {\r\n\t\tposition: fixed;\r\n\t\tbottom: -193rpx;\r\n\t\tleft: -171rpx;\r\n\t\twidth: 1096rpx;\r\n\t\theight: 622rpx;\r\n\t\tz-index: 10;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tborder-radius: 50%;\r\n\t\tpadding-top: 40rpx;\r\n\t\ttext-align: center;\r\n\t}\r\n\r\n\t.popItem {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.popItemT {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tmargin-top: -56rpx;\r\n\t}\r\n\r\n\t.popImg {}\r\n\r\n\t.popImg>img {\r\n\t\twidth: 128rpx;\r\n\t\theight: 128rpx;\r\n\t\t// margin-bottom: 24rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.popName {\r\n\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.tui {\r\n\t\tmargin: 64rpx auto;\r\n\t}\r\n\r\n\t.tui>img {\r\n\t\twidth: 48rpx;\r\n\t\theight: 48rpx;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663053102304\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/landRelease.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?3cf0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?7aed"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?1c16"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?6c02"
,
"uni-app:///pages/index/landRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?498f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?0892"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,yG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,mTAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAA8nB,CAAgB,mpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyElpB;AACA,MADA,kBACA;AACA;AACA,6IADA;AAEA;AACA,yDADA,GAFA;;AAKA,cALA;AAMA,uBANA;;AAQA,GAVA;AAWA,QAXA,oBAWA;;AAEA,GAbA;;AAeA;AACA;AACA,oBAFA,8BAEA;AACA;AACA,eADA;;AAGA,KANA;AAOA;AACA,WARA,qBAQA;AACA;AACA,qBADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BADA;AAEA,gCAFA;AAGA;AACA;AACA,aALA;AAMA;AACA;AACA,aARA;;AAUA,SAjBA;AAkBA,YAlBA,gBAkBA,GAlBA,EAkBA;AACA;AACA,SApBA;;AAsBA,KA/BA;AAgCA;AACA,WAjCA,qBAiCA;AACA;AACA;AACA;AACA,OAHA,EAGA,IAHA;AAIA,KAtCA,EAfA;;;AAwDA;AACA,QADA,gBACA,OADA,EACA,OADA,EACA;AACA;AACA;AACA;AACA;AACA,KANA,EAxDA,E;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAA6rC,CAAgB,0pCAAG,EAAC,C;;;;;;;;;;;ACAjtC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/landRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/landRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./landRelease.vue?vue&type=template&id=8d609194&\"\nvar renderjs\nimport script from \"./landRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./landRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./landRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/landRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=template&id=8d609194&\""
,
"var components\ntry {\n components = {\n \"u-Textarea\": function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u--textarea/u--textarea\" */ \"uview-ui/components/u--textarea/u--textarea.vue\"\n )\n },\n uUpload: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-upload/u-upload\" */ \"uview-ui/components/u-upload/u-upload.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<!-- 手机号 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t手机号码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<input type=\"text\" placeholder=\"请输入11位手机号码\" maxlength=\"11\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 验证码 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t验证码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"getVerification flexC\" @click=\"sendOut\">\r\n\t\t\t\t{{time==60?'获取验证码':`${time}秒后获取`}}\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 土地详细地址 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t土地详细地址\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<input type=\"text\" placeholder=\"请输入详细地址\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 土地面积 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t土地面积\r\n\t\t\t</view>\r\n\t\t\t<view class=\"quantity flexC\">\r\n\t\t\t\t<view class=\"enterQuantity\"><input type=\"text\" placeholder=\"请输入土地面积\"></view>\r\n\t\t\t\t<view class=\"company\">单位</view>\r\n\t\t\t\t<img src=\"/static/dropDown.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 土地描述 -->\r\n\t\t<view class=\"describe\">\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t土地描述\r\n\t\t\t</view>\r\n\t\t\t<u--textarea height=112 v-model=\"value2\" placeholder=\"请输入内容\" count maxlength=200 border='none'>\r\n\t\t\t</u--textarea>\r\n\t\t</view>\r\n\t\t<!-- 上传图品 -->\r\n\t\t<view class=\"uploadPictures\">\r\n\t\t\t<view class=\"titleOne\">\r\n\t\t\t\t上传图品\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<!-- maxCount规定上传图片数量,超出数量隐藏上传按钮 -->\r\n\t\t\t\t<u-upload :fileList=\"fileList3\" @afterRead=\"afterRead\" @delete=\"deletePic\" name=\"3\" multiple\r\n\t\t\t\t\t:maxCount=\"5\" :previewFullImage=\"true\"></u-upload>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"position flexA\" @click=\"openMap\">\r\n\t\t\t\t<img src=\"/static/loc.png\" alt=\"\">\r\n\t\t\t\t<view class=\"flexC\">天津市西青区鑫茂科技园C1</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 空盒子 -->\r\n\t\t<view class=\"nullBox\"></view>\r\n\t\t<!-- 发布按钮 -->\r\n\t\t<view class=\"releaseBtn flexC\" @click=\"toBuyersReleased\">\r\n\t\t\t发布\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tvalue2: '请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用 未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚其他作物等)',\r\n\t\t\t\tfileList3: [{\r\n\t\t\t\t\turl: 'https://cdn.uviewui.com/uview/swiper/1.jpg',\r\n\t\t\t\t}],\r\n\t\t\t\ttime:60,\r\n\t\t\t\tmonitorTime:null,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\t\r\n\t\tmethods: {\r\n\t\t\t// 跳转到\r\n\t\t\ttoBuyersReleased(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:``\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 打开地图\r\n\t\t\topenMap(){\r\n\t\t\t\tuni.getLocation({\r\n\t\t\t\t\ttype: 'gcj02', //返回可以用于uni.openLocation的经纬度\r\n\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\t\tconst latitude = res.latitude;\r\n\t\t\t\t\t\tconst longitude = res.longitude;\r\n\t\t\t\t\t\t// sconsole.log(11)\r\n\t\t\t\t\t\tuni.openLocation({\r\n\t\t\t\t\t\t\tlatitude: latitude,\r\n\t\t\t\t\t\t\tlongitude: longitude,\r\n\t\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\t\tconsole.log('success');\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tfail: function() {\r\n\t\t\t\t\t\t\t\tconsole.log('fail');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail(err) {\r\n\t\t\t\t\t\tconsole.log('获取经纬度失败1', err);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 发送验证码请求\r\n\t\t\tsendOut(){\r\n\t\t\t\tthis.monitorTime = setInterval(()=>{\r\n\t\t\t\t\tthis.time = this.time-1\r\n\t\t\t\t\tconsole.log(this.time)\r\n\t\t\t\t},1000)\r\n\t\t\t},\r\n\t\t},\r\n\t\t\r\n\t\twatch:{\r\n\t\t\ttime(oldTime,newTime){\r\n\t\t\t\tif(newTime==1){\r\n\t\t\t\t\tclearInterval(this.monitorTime)\r\n\t\t\t\t\tthis.time = 60\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.box {\r\n\t\twidth: 750rpx;\r\n\t\theight: 104rpx;\r\n\t\tborder-bottom: solid #F2F2F2;\r\n\t\t// border: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\tpadding: 0rpx 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tletter-spacing: 1rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\t\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.getVerification {\r\n\t\twidth: 144rpx;\r\n\t\theight: 56rpx;\r\n\t\tborder-radius: 12rpx;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.quantity {\r\n\t\tdisplay: flex;\r\n\r\n\t\t.enterQuantity {\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.company {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-left: 16rpx;\r\n\t\t\tmargin-right: 4rpx;\r\n\t\t}\r\n\r\n\t\timg {\r\n\t\t\twidth: 16rpx;\r\n\t\t\theight: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.describe {\r\n\t\theight: 386rpx;\r\n\t\tpadding: 32rpx 32rpx 0rpx;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tborder-bottom: solid #F2F2F2;\r\n\r\n\t\t.title {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-bottom: 16rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.uploadPictures {\r\n\t\tborder: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\tpadding: 32rpx 32rpx 32rpx;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\r\n\t\t.titleOne {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-bottom: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.position {\r\n\t\tmargin-top: 24rpx;\r\n\t\timg {\r\n\t\t\twidth: 40rpx;\r\n\t\t\theight: 40rpx;\r\n\t\t\tmargin-right: 8rpx;\r\n\t\t}\r\n\r\n\t\t:nth-child(2) {\r\n\t\t\tcolor: rgba(33, 83, 212, 1);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.nullBox {\r\n\t\twidth: 100%;\r\n\t\theight: 100rpx;\r\n\t\tbackground-color: #F5F7FB;\r\n\t}\r\n\r\n\t.releaseBtn {\r\n\t\tposition: fixed;\r\n\t\tleft: 32rpx;\r\n\t\tbottom: 46rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658639\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?3cf0"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?7aed"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?1c16"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?6c02"
,
"uni-app:///pages/index/landRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?498f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/landRelease.vue?0892"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,yG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,mTAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAA8nB,CAAgB,mpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyElpB;AACA,MADA,kBACA;AACA;AACA,6IADA;AAEA;AACA,yDADA,GAFA;;AAKA,cALA;AAMA,uBANA;;AAQA,GAVA;AAWA,QAXA,oBAWA;;AAEA,GAbA;;AAeA;AACA;AACA,oBAFA,8BAEA;AACA;AACA,eADA;;AAGA,KANA;AAOA;AACA,WARA,qBAQA;AACA;AACA,qBADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BADA;AAEA,gCAFA;AAGA;AACA;AACA,aALA;AAMA;AACA;AACA,aARA;;AAUA,SAjBA;AAkBA,YAlBA,gBAkBA,GAlBA,EAkBA;AACA;AACA,SApBA;;AAsBA,KA/BA;AAgCA;AACA,WAjCA,qBAiCA;AACA;AACA;AACA;AACA,OAHA,EAGA,IAHA;AAIA,KAtCA,EAfA;;;AAwDA;AACA,QADA,gBACA,OADA,EACA,OADA,EACA;AACA;AACA;AACA;AACA;AACA,KANA,EAxDA,E;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAA6rC,CAAgB,0pCAAG,EAAC,C;;;;;;;;;;;ACAjtC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/landRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/landRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./landRelease.vue?vue&type=template&id=8d609194&\"\nvar renderjs\nimport script from \"./landRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./landRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./landRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/landRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=template&id=8d609194&\""
,
"var components\ntry {\n components = {\n \"u-Textarea\": function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u--textarea/u--textarea\" */ \"uview-ui/components/u--textarea/u--textarea.vue\"\n )\n },\n uUpload: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-upload/u-upload\" */ \"uview-ui/components/u-upload/u-upload.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<!-- 手机号 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t手机号码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<input type=\"text\" placeholder=\"请输入11位手机号码\" maxlength=\"11\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 验证码 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t验证码\r\n\t\t\t</view>\r\n\t\t\t<view class=\"getVerification flexC\" @click=\"sendOut\">\r\n\t\t\t\t{{time==60?'获取验证码':`${time}秒后获取`}}\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 土地详细地址 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t土地详细地址\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<input type=\"text\" placeholder=\"请输入详细地址\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 土地面积 -->\r\n\t\t<view class=\"box flexJ\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t土地面积\r\n\t\t\t</view>\r\n\t\t\t<view class=\"quantity flexC\">\r\n\t\t\t\t<view class=\"enterQuantity\"><input type=\"text\" placeholder=\"请输入土地面积\"></view>\r\n\t\t\t\t<view class=\"company\">单位</view>\r\n\t\t\t\t<img src=\"/static/dropDown.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 土地描述 -->\r\n\t\t<view class=\"describe\">\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t土地描述\r\n\t\t\t</view>\r\n\t\t\t<u--textarea height=112 v-model=\"value2\" placeholder=\"请输入内容\" count maxlength=200 border='none'>\r\n\t\t\t</u--textarea>\r\n\t\t</view>\r\n\t\t<!-- 上传图品 -->\r\n\t\t<view class=\"uploadPictures\">\r\n\t\t\t<view class=\"titleOne\">\r\n\t\t\t\t上传图品\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<!-- maxCount规定上传图片数量,超出数量隐藏上传按钮 -->\r\n\t\t\t\t<u-upload :fileList=\"fileList3\" @afterRead=\"afterRead\" @delete=\"deletePic\" name=\"3\" multiple\r\n\t\t\t\t\t:maxCount=\"5\" :previewFullImage=\"true\"></u-upload>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"position flexA\" @click=\"openMap\">\r\n\t\t\t\t<img src=\"/static/loc.png\" alt=\"\">\r\n\t\t\t\t<view class=\"flexC\">天津市西青区鑫茂科技园C1</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 空盒子 -->\r\n\t\t<view class=\"nullBox\"></view>\r\n\t\t<!-- 发布按钮 -->\r\n\t\t<view class=\"releaseBtn flexC\" @click=\"toBuyersReleased\">\r\n\t\t\t发布\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tvalue2: '请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用 未用),交通是否便利,地上物信息(是否有房屋、大棚、其他作物等)请填写您的土地信息,土地附近是否有水源,土地目前的状态(在用、未用),交通是否便利,地上物信息(是否有房屋、大棚其他作物等)',\r\n\t\t\t\tfileList3: [{\r\n\t\t\t\t\turl: 'https://cdn.uviewui.com/uview/swiper/1.jpg',\r\n\t\t\t\t}],\r\n\t\t\t\ttime:60,\r\n\t\t\t\tmonitorTime:null,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\t\r\n\t\tmethods: {\r\n\t\t\t// 跳转到\r\n\t\t\ttoBuyersReleased(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:``\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 打开地图\r\n\t\t\topenMap(){\r\n\t\t\t\tuni.getLocation({\r\n\t\t\t\t\ttype: 'gcj02', //返回可以用于uni.openLocation的经纬度\r\n\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\t\tconst latitude = res.latitude;\r\n\t\t\t\t\t\tconst longitude = res.longitude;\r\n\t\t\t\t\t\t// sconsole.log(11)\r\n\t\t\t\t\t\tuni.openLocation({\r\n\t\t\t\t\t\t\tlatitude: latitude,\r\n\t\t\t\t\t\t\tlongitude: longitude,\r\n\t\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\t\tconsole.log('success');\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tfail: function() {\r\n\t\t\t\t\t\t\t\tconsole.log('fail');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail(err) {\r\n\t\t\t\t\t\tconsole.log('获取经纬度失败1', err);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 发送验证码请求\r\n\t\t\tsendOut(){\r\n\t\t\t\tthis.monitorTime = setInterval(()=>{\r\n\t\t\t\t\tthis.time = this.time-1\r\n\t\t\t\t\tconsole.log(this.time)\r\n\t\t\t\t},1000)\r\n\t\t\t},\r\n\t\t},\r\n\t\t\r\n\t\twatch:{\r\n\t\t\ttime(oldTime,newTime){\r\n\t\t\t\tif(newTime==1){\r\n\t\t\t\t\tclearInterval(this.monitorTime)\r\n\t\t\t\t\tthis.time = 60\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.box {\r\n\t\twidth: 750rpx;\r\n\t\theight: 104rpx;\r\n\t\tborder-bottom: solid #F2F2F2;\r\n\t\t// border: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\tpadding: 0rpx 32rpx;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\t.left {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tletter-spacing: 1rpx;\r\n\t\t}\r\n\r\n\t\t.right {\r\n\t\t\t\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.getVerification {\r\n\t\twidth: 144rpx;\r\n\t\theight: 56rpx;\r\n\t\tborder-radius: 12rpx;\r\n\t\tbackground: rgba(98, 205, 206, 1);\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.quantity {\r\n\t\tdisplay: flex;\r\n\r\n\t\t.enterQuantity {\r\n\t\t\tinput {\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.4);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\ttext-align: right;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.company {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-left: 16rpx;\r\n\t\t\tmargin-right: 4rpx;\r\n\t\t}\r\n\r\n\t\timg {\r\n\t\t\twidth: 16rpx;\r\n\t\t\theight: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.describe {\r\n\t\theight: 386rpx;\r\n\t\tpadding: 32rpx 32rpx 0rpx;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\tborder-bottom: solid #F2F2F2;\r\n\r\n\t\t.title {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-bottom: 16rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.uploadPictures {\r\n\t\tborder: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);\r\n\t\tpadding: 32rpx 32rpx 32rpx;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\r\n\t\t.titleOne {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin-bottom: 24rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.position {\r\n\t\tmargin-top: 24rpx;\r\n\t\timg {\r\n\t\t\twidth: 40rpx;\r\n\t\t\theight: 40rpx;\r\n\t\t\tmargin-right: 8rpx;\r\n\t\t}\r\n\r\n\t\t:nth-child(2) {\r\n\t\t\tcolor: rgba(33, 83, 212, 1);\r\n\t\t\tfont-size: 28rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.nullBox {\r\n\t\twidth: 100%;\r\n\t\theight: 100rpx;\r\n\t\tbackground-color: #F5F7FB;\r\n\t}\r\n\r\n\t.releaseBtn {\r\n\t\tposition: fixed;\r\n\t\tleft: 32rpx;\r\n\t\tbottom: 46rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tbackground: linear-gradient(90deg, rgba(25, 204, 205, 1) 0%, rgba(99, 217, 218, 1) 100%);\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./landRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029090254\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/sellerMessageDetail.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?8d2a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?fc3e"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?6c8f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?dbcd"
,
"uni-app:///pages/index/sellerMessageDetail.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?3ff4"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?4981"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,yH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,4BAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AACuE;AACL;AACc;;;AAGhF;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAsoB,CAAgB,2pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwI1pB;AACA,MADA,kBACA;AACA;AACA,eADA;AAEA,mBAFA,EAEA;AACA,mBAHA,EAGA;AACA;AACA,mBALA,EAKA;AACA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CANA;;;AAYA,GAdA;AAeA,QAfA,kBAeA,CAfA,EAeA;AACA;AACA;AACA,GAlBA;AAmBA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,cANA,wBAMA;AACA;AACA,KARA;AASA;AACA,gBAVA,0BAUA;AACA;AACA,KAZA,EAnBA,E;;;;;;;;;;;;;ACxIA;AAAA;AAAA;AAAA;AAAqsC,CAAgB,kqCAAG,EAAC,C;;;;;;;;;;;ACAztC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/sellerMessageDetail.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/sellerMessageDetail.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./sellerMessageDetail.vue?vue&type=template&id=6b0dc913&\"\nvar renderjs\nimport script from \"./sellerMessageDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./sellerMessageDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./sellerMessageDetail.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/sellerMessageDetail.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=template&id=6b0dc913&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.currentNum = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<view class=\"\">\r\n\t\t\t<u-navbar title=\"卖家信息详情\" @rightClick=\"rightClick\" :autoBack=\"true\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<!-- 顶部轮播图 -->\r\n\t\t<view class=\"swiper\">\r\n\t\t\t<u-swiper :list=\"list6\" @change=\"e => currentNum = e.current\" :autoplay=\"true\"\r\n\t\t\t\tindicatorStyle=\"right: 20px\" height=\"375\" radius=\"0rpx\">\r\n\t\t\t\t<view slot=\"indicator\" class=\"indicator-num\">\r\n\t\t\t\t\t<text class=\"indicator-num__text\">{{ currentNum + 1 }}/{{ list6.length }}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</u-swiper>\r\n\t\t</view>\r\n\t\t<!-- 页面内容 -->\r\n\t\t<view class=\"main\">\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"name\">玉米</view>\r\n\t\t\t\t<view class=\"numCard flexA\">\r\n\t\t\t\t\t<view class=\"yieldCard flexC\">\r\n\t\t\t\t\t\t<view class=\"yieldCardtitle\">预计作物产量</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardnum\">100公斤/亩</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"yieldCardB flexC\">\r\n\t\t\t\t\t\t<view class=\"yieldCardtitle\">种植面积</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardnum\">100亩</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ\">\r\n\t\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t\t<view class=\"ftitle\">秸秆是否出售:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">是</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA\" style=\"margin-right: 32rpx;\">\r\n\t\t\t\t\t\t<view class=\"ftitle\">秸秆状态:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">已打包</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexA time\">\r\n\t\t\t\t\t<view class=\"ftitle\">收获时间:</view>\r\n\t\t\t\t\t<view class=\"btitle\">2022-09-21</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_10@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitle\">手机:</view>\r\n\t\t\t\t\t<view class=\"btitle\">156****0180</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexA address\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_12@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitle\">地址:</view>\r\n\t\t\t\t\t<view class=\"btitle\">天津市西青区花苑鑫茂科技园C1座</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t\t<!-- 按钮 1审核中 2 审核通过 3申请查看手机号 4申请未通过 -->\r\n\t\t<view class=\"but flexC\" @click=\"changeMask\" v-if=\"status==3\">\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t申请查看卖家手机号\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==1\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核中\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==2\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核通过\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"flexA Submit\" v-if=\"status==4\">\r\n\t\t\t<view class=\"suBut flexC\">\r\n\t\t\t\t重新提交\r\n\t\t\t</view>\r\n\t\t\t<view class=\"suButt flexC\">\r\n\t\t\t\t<view class=\"suButtimg\">\r\n\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t审核未通过\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 遮罩 -->\r\n\t\t<view class=\"Mask\" v-if=\"isMask==true\">\r\n\t\t\t<view class=\"card\">\r\n\t\t\t\t<view class=\"cardName\">申请查看卖家手机号</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的姓名</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的年龄</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的年龄\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">身份证号</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t\t<view class=\"agreementImgt\" v-if=\"agShow==true\" @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementImg\" v-else @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementTitle\">\r\n\t\t\t\t\t\t同意<text>《用户协议》</text>和<text>《隐私协议》</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"butSubmit flexC\" @click=\"changeMask\">\r\n\t\t\t\t\t提交\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatus:1,\r\n\t\t\t\tisMask:false, // 遮罩判断\r\n\t\t\t\tagShow:false, //是否同意协议\r\n\t\t\t\t// current:1,\r\n\t\t\t\tcurrentNum:1, //轮播图\r\n\t\t\t\tlist6: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tthis.status = e.status\r\n\t\t\tconsole.log(this.status);\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 返回上一页\r\n\t\t\trightClick() {\r\n\t\t\t\tuni.navigateBack({})\r\n\t\t\t},\r\n\t\t\t// 控制遮罩\r\n\t\t\tchangeMask () {\r\n\t\t\t\tthis.isMask = !this.isMask\r\n\t\t\t},\r\n\t\t\t// 控制同意协议显示\r\n\t\t\tchangeAgShow(){\r\n\t\t\t\tthis.agShow = !this.agShow\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground-color: #FFFFFF;\r\n\t}\r\n\t// 修改顶部nav背景颜色\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\tbackground-color:transparent!important;\r\n\t}\r\n\t.u-status-bar {\r\n\t\tbackground-color:transparent!important;\r\n\t}\r\n\t.u-navbar__content__title {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\t.u-icon__icon {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\t// 轮播图\r\n\t .indicator-num {\r\n\t padding: 2px 0;\r\n\t background-color: rgba(0, 0, 0, 0.35);\r\n\t border-radius: 100px;\r\n\t width: 35px;\r\n\t @include flex;\r\n\t justify-content: center;\r\n\t\r\n\t &__text {\r\n\t color: #FFFFFF;\r\n\t font-size: 12px;\r\n\t }\r\n\t }\r\n\t.swiper {\r\n\t\t// z-index: 999;\r\n\t}\r\n\t.main {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 32rpx auto;\r\n\t}\r\n\t.name {\r\n\t\t color: rgba(0,0,0,0.9);\r\n\t\t font-size: 44rpx;\r\n\t\t font-weight: 700;\r\n\t}\r\n\t.numCard {\r\n\t\tmargin: 32rpx 0rpx;\r\n\t}\r\n\t.yieldCard {\r\n\t\twidth: 336rpx;\r\n\t\t// height: 192rpx;\r\n\t\tpadding: 56rpx 0;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247,255,255,1);\r\n\t\tmargin-right: 14rpx;\r\n\t\tflex-direction: column;\r\n\t}\r\n\t.yieldCardB {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(254,248,245,1);\r\n\t\tflex-direction: column;\r\n\t}\r\n\t.yieldCardtitle {\r\n\t\t color: rgba(0,0,0,0.4);\r\n\t\t font-size: 24rpx;\r\n\t}\r\n\t.yieldCardnum {\r\n\t\t color: rgba(230,61,39,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t\t margin-top: 4rpx;\r\n\t}\r\n\t.ftitle {\r\n\t\t color: rgba(0,0,0,0.4);\r\n\t\t font-size: 28rpx;\r\n\t}\r\n\t.btitle {\r\n\t\t color: rgba(0,0,0,0.9);\r\n\t\t font-size: 28rpx;\r\n\t}\r\n\t.time {\r\n\t\tmargin: 32rpx 0rpx;\r\n\t\t\r\n\t}\r\n\t.fimg>img{\r\n\t\twidth: 21.35rpx;\r\n\t\theight: 21.35rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\t.address {\r\n\t\tmargin-top: 32rpx;\r\n\t}\r\n\t.but {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t}\r\n\t.butImg>img{\r\n\t\twidth: 22.67rpx;\r\n\t\theight: 26.67rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\t.buttitle {\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t\t margin-left: 4rpx;\r\n\t}\r\n\t.Mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft:0;\r\n\t\twidth: 750rpx;\r\n\t\theight: 100vh;\r\n\t\tbackground: rgba(0,0,0,0.5);\r\n\t\tz-index: 10;\r\n\t}\r\n\t.card {\r\n\t\tmargin: 432rpx auto;\r\n\t\twidth: 622rpx;\r\n\t\theight: 544rpx;\r\n\t\tborder-radius: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255,255,255,1);\r\n\t\t// padding: 48rpx 0 36rpx;\r\n\t}\r\n\t.cardName {\r\n\t\tpadding-top: 48rpx;\r\n\t\tmargin: 0rpx auto;\r\n\t\twidth: 294rpx;\r\n\t\t// height: 44rpx;\r\n\t\tcolor: rgba(0,0,0,0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}.cardItem {\r\n\t\tmargin: 12rpx 48rpx;\r\n\t\tpadding-top: 24rpx;\r\n\t}\r\n\t.cardtitle {\r\n\t\t color: rgba(0,0,0,0.9);\r\n\t\t font-size: 28rpx;\r\n\t}\r\n\t.inp>input{\r\n\t\ttext-align: right;\r\n\t}\r\n\t.agreement {\r\n\t\tpadding: 38rpx 48rpx;\r\n\t}\r\n\t.agreementImg {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\t.agreementImgt {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\t.agreementImgt>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground-color: #62CDCE;\r\n\t\tborder-radius: 50%;\r\n\t}\r\n\t.agreementImg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\t.agreementTitle {\r\n\t\t color: rgba(0,0,0,0.6);\r\n\t\t font-size: 24rpx;\r\n\t\t margin-left: 12rpx;\r\n\t}\r\n\t.agreementTitle>text {\r\n\t\tcolor: rgba(33,83,213,1);\r\n\t}\r\n\t.butSubmit {\r\n\t\twidth: 514rpx;\r\n\t\theight: 76rpx;\r\n\t\tborder-radius: 90rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(98,205,206,1);\r\n\t\tmargin: 0rpx auto;\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 28rpx;\r\n\t\t font-weight: 700;\r\n\t}\r\n\t.Submit {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t}\r\n\t.suBut {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t}\r\n\t.suButt {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tborder: 2rpx solid #62CDCE;\r\n\t\tcolor: rgba(98,205,206,1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-left: 30rpx;\r\n\t}\r\n\t.suButtimg{\r\n\t\theight: 32rpx;\r\n\t}\r\n\t.suButtimg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255,255,255,0.01);\r\n\t}\r\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658249\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?fc3e"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?6c8f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?dbcd"
,
"uni-app:///pages/index/sellerMessageDetail.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?3ff4"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerMessageDetail.vue?4981"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,yH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,4BAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AACuE;AACL;AACc;;;AAGhF;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAsoB,CAAgB,2pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwI1pB;AACA,MADA,kBACA;AACA;AACA,aADA;AAEA,eAFA;AAGA,mBAHA,EAGA;AACA,mBAJA,EAIA;AACA;AACA,oBANA,EAMA;AACA;AACA,wDADA;AAEA,wDAFA;AAGA,wDAHA,CAPA;;;AAaA,GAfA;AAgBA,QAhBA,kBAgBA,CAhBA,EAgBA;AACA;AACA;AACA,GAnBA;AAoBA;AACA,YADA,sBACA;AACA;AACA,yDADA;;AAGA,KALA;AAMA,aANA,uBAMA;AACA;AACA,iCADA;;AAGA,KAVA;AAWA;AACA,cAZA,wBAYA;AACA;AACA,KAdA;AAeA;AACA,cAhBA,wBAgBA;AACA;AACA,KAlBA;AAmBA;AACA,gBApBA,0BAoBA;AACA;AACA,KAtBA,EApBA,E;;;;;;;;;;;;;ACxIA;AAAA;AAAA;AAAA;AAAqsC,CAAgB,kqCAAG,EAAC,C;;;;;;;;;;;ACAztC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/sellerMessageDetail.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/sellerMessageDetail.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./sellerMessageDetail.vue?vue&type=template&id=6b0dc913&\"\nvar renderjs\nimport script from \"./sellerMessageDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./sellerMessageDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./sellerMessageDetail.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/sellerMessageDetail.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=template&id=6b0dc913&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swiper/u-swiper\" */ \"uview-ui/components/u-swiper/u-swiper.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.currentNum = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<view class=\"\">\r\n\t\t\t<u-navbar title=\"卖家信息详情\" @rightClick=\"rightClick\" :autoBack=\"true\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<!-- 顶部轮播图 -->\r\n\t\t<view class=\"swiper\">\r\n\t\t\t<u-swiper :list=\"list6\" @change=\"e => currentNum = e.current\" :autoplay=\"true\"\r\n\t\t\t\tindicatorStyle=\"right: 20px\" height=\"375\" radius=\"0rpx\">\r\n\t\t\t\t<view slot=\"indicator\" class=\"indicator-num\">\r\n\t\t\t\t\t<text class=\"indicator-num__text\">{{ currentNum + 1 }}/{{ list6.length }}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</u-swiper>\r\n\t\t</view>\r\n\t\t<!-- 页面内容 -->\r\n\t\t<view class=\"main\">\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"name\">玉米</view>\r\n\t\t\t\t<view class=\"numCard flexA\">\r\n\t\t\t\t\t<view class=\"yieldCard flexC\">\r\n\t\t\t\t\t\t<view class=\"yieldCardtitle\">预计作物产量</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardnum\">100公斤/亩</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"yieldCardB flexC\">\r\n\t\t\t\t\t\t<view class=\"yieldCardtitle\">种植面积</view>\r\n\t\t\t\t\t\t<view class=\"yieldCardnum\">100亩</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ\">\r\n\t\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t\t<view class=\"ftitle\">秸秆是否出售:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">是</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flexA\" style=\"margin-right: 32rpx;\">\r\n\t\t\t\t\t\t<view class=\"ftitle\">秸秆状态:</view>\r\n\t\t\t\t\t\t<view class=\"btitle\">已打包</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexA time\">\r\n\t\t\t\t\t<view class=\"ftitle\">收获时间:</view>\r\n\t\t\t\t\t<view class=\"btitle\">2022-09-21</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexA\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_10@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitle\">手机:</view>\r\n\t\t\t\t\t<view class=\"btitle\">156****0180</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexA address\">\r\n\t\t\t\t\t<view class=\"fimg\">\r\n\t\t\t\t\t\t<img src=\"/static/ic_12@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"ftitle\">地址:</view>\r\n\t\t\t\t\t<view class=\"btitle\">天津市西青区花苑鑫茂科技园C1座</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t\t<!-- 按钮 1审核中 2 审核通过 3申请查看手机号 4申请未通过 -->\r\n\t\t<view class=\"but flexC\" @click=\"changeMask\" v-if=\"status==3\">\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t申请查看卖家手机号\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==1\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核中\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"but flexC\" v-if=\"status==2\">\r\n\t\t\t<view class=\"butImg\">\r\n\t\t\t\t<img src=\"/static/312312@2x.png\" alt=\"\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"buttitle\">\r\n\t\t\t\t审核通过\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"flexA Submit\" v-if=\"status==4\">\r\n\t\t\t<view class=\"suBut flexC\">\r\n\t\t\t\t重新提交\r\n\t\t\t</view>\r\n\t\t\t<view class=\"suButt flexC\">\r\n\t\t\t\t<view class=\"suButtimg\">\r\n\t\t\t\t\t<img src=\"/static/ic-close@2x.png\" alt=\"\">\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t审核未通过\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 遮罩 -->\r\n\t\t<view class=\"Mask\" v-if=\"isMask==true\">\r\n\t\t\t<view class=\"card\">\r\n\t\t\t\t<view class=\"cardName\">申请查看卖家手机号</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的姓名</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"text\" placeholder=\"请输入2-6位汉字\" maxlength=\"6\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">您的年龄</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的年龄\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flexJ cardItem\">\r\n\t\t\t\t\t<view class=\"cardtitle\">身份证号</view>\r\n\t\t\t\t\t<view class=\"inp\">\r\n\t\t\t\t\t\t<input type=\"number\" placeholder=\"请输入您的18位身份证号码\" maxlength=\"18\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"agreement flexA\">\r\n\t\t\t\t\t<view class=\"agreementImgt\" v-if=\"agShow==true\" @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementImg\" v-else @click=\"changeAgShow\">\r\n\t\t\t\t\t\t<img src=\"/static/ic-error@2x.png\" alt=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"agreementTitle\">\r\n\t\t\t\t\t\t同意<text @click=\"toDetail\">《用户协议》</text>和<text @click=\"toDetailB\">《隐私协议》</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"butSubmit flexC\" @click=\"changeMask\">\r\n\t\t\t\t\t提交\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttype:1,\r\n\t\t\t\tstatus:1,\r\n\t\t\t\tisMask:false, // 遮罩判断\r\n\t\t\t\tagShow:false, //是否同意协议\r\n\t\t\t\t// current:1,\r\n\t\t\t\tcurrentNum:'', //轮播图\r\n\t\t\t\tlist6: [\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper2.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper3.png',\r\n\t\t\t\t\t'https://cdn.uviewui.com/uview/swiper/swiper1.png',\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tthis.status = e.status\r\n\t\t\tconsole.log(this.status);\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttoDetail(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:`/pages/mine/detail?type=${this.type}`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttoDetailB() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/mine/detail'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 返回上一页\r\n\t\t\trightClick() {\r\n\t\t\t\tuni.navigateBack({})\r\n\t\t\t},\r\n\t\t\t// 控制遮罩\r\n\t\t\tchangeMask () {\r\n\t\t\t\tthis.isMask = !this.isMask\r\n\t\t\t},\r\n\t\t\t// 控制同意协议显示\r\n\t\t\tchangeAgShow(){\r\n\t\t\t\tthis.agShow = !this.agShow\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground-color: #FFFFFF;\r\n\t}\r\n\t// 修改顶部nav背景颜色\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\tbackground-color:transparent!important;\r\n\t}\r\n\t.u-status-bar {\r\n\t\tbackground-color:transparent!important;\r\n\t}\r\n\t.u-navbar__content__title {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\t.u-icon__icon {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\t// 轮播图\r\n\t .indicator-num {\r\n\t padding: 2px 0;\r\n\t background-color: rgba(0, 0, 0, 0.35);\r\n\t border-radius: 100px;\r\n\t width: 35px;\r\n\t @include flex;\r\n\t justify-content: center;\r\n\t\r\n\t &__text {\r\n\t color: #FFFFFF;\r\n\t font-size: 12px;\r\n\t }\r\n\t }\r\n\t.swiper {\r\n\t\t// z-index: 999;\r\n\t}\r\n\t.main {\r\n\t\twidth: 686rpx;\r\n\t\tmargin: 32rpx auto;\r\n\t}\r\n\t.name {\r\n\t\t color: rgba(0,0,0,0.9);\r\n\t\t font-size: 44rpx;\r\n\t\t font-weight: 700;\r\n\t}\r\n\t.numCard {\r\n\t\tmargin: 32rpx 0rpx;\r\n\t}\r\n\t.yieldCard {\r\n\t\twidth: 336rpx;\r\n\t\t// height: 192rpx;\r\n\t\tpadding: 56rpx 0;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(247,255,255,1);\r\n\t\tmargin-right: 14rpx;\r\n\t\tflex-direction: column;\r\n\t}\r\n\t.yieldCardB {\r\n\t\twidth: 336rpx;\r\n\t\theight: 192rpx;\r\n\t\tborder-radius: 16rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(254,248,245,1);\r\n\t\tflex-direction: column;\r\n\t}\r\n\t.yieldCardtitle {\r\n\t\t color: rgba(0,0,0,0.4);\r\n\t\t font-size: 24rpx;\r\n\t}\r\n\t.yieldCardnum {\r\n\t\t color: rgba(230,61,39,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t\t margin-top: 4rpx;\r\n\t}\r\n\t.ftitle {\r\n\t\t color: rgba(0,0,0,0.4);\r\n\t\t font-size: 28rpx;\r\n\t}\r\n\t.btitle {\r\n\t\t color: rgba(0,0,0,0.9);\r\n\t\t font-size: 28rpx;\r\n\t}\r\n\t.time {\r\n\t\tmargin: 32rpx 0rpx;\r\n\t\t\r\n\t}\r\n\t.fimg>img{\r\n\t\twidth: 21.35rpx;\r\n\t\theight: 21.35rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\t.address {\r\n\t\tmargin-top: 32rpx;\r\n\t}\r\n\t.but {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t}\r\n\t.butImg>img{\r\n\t\twidth: 22.67rpx;\r\n\t\theight: 26.67rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\t.buttitle {\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t\t margin-left: 4rpx;\r\n\t}\r\n\t.Mask {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft:0;\r\n\t\twidth: 750rpx;\r\n\t\theight: 100vh;\r\n\t\tbackground: rgba(0,0,0,0.5);\r\n\t\tz-index: 10;\r\n\t}\r\n\t.card {\r\n\t\tmargin: 432rpx auto;\r\n\t\twidth: 622rpx;\r\n\t\theight: 544rpx;\r\n\t\tborder-radius: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255,255,255,1);\r\n\t\t// padding: 48rpx 0 36rpx;\r\n\t}\r\n\t.cardName {\r\n\t\tpadding-top: 48rpx;\r\n\t\tmargin: 0rpx auto;\r\n\t\twidth: 294rpx;\r\n\t\t// height: 44rpx;\r\n\t\tcolor: rgba(0,0,0,0.9);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t}.cardItem {\r\n\t\tmargin: 12rpx 48rpx;\r\n\t\tpadding-top: 24rpx;\r\n\t}\r\n\t.cardtitle {\r\n\t\t color: rgba(0,0,0,0.9);\r\n\t\t font-size: 28rpx;\r\n\t}\r\n\t.inp>input{\r\n\t\ttext-align: right;\r\n\t}\r\n\t.agreement {\r\n\t\tpadding: 38rpx 48rpx;\r\n\t}\r\n\t.agreementImg {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\t.agreementImgt {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t}\r\n\t.agreementImgt>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground-color: #62CDCE;\r\n\t\tborder-radius: 50%;\r\n\t}\r\n\t.agreementImg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t}\r\n\t.agreementTitle {\r\n\t\t color: rgba(0,0,0,0.6);\r\n\t\t font-size: 24rpx;\r\n\t\t margin-left: 12rpx;\r\n\t}\r\n\t.agreementTitle>text {\r\n\t\tcolor: rgba(33,83,213,1);\r\n\t}\r\n\t.butSubmit {\r\n\t\twidth: 514rpx;\r\n\t\theight: 76rpx;\r\n\t\tborder-radius: 90rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(98,205,206,1);\r\n\t\tmargin: 0rpx auto;\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 28rpx;\r\n\t\t font-weight: 700;\r\n\t}\r\n\t.Submit {\r\n\t\tposition: fixed;\r\n\t\tbottom: 68rpx;\r\n\t\tleft: 32rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 88rpx;\r\n\t}\r\n\t.suBut {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(90deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 32rpx;\r\n\t\t font-weight: 700;\r\n\t}\r\n\t.suButt {\r\n\t\twidth: 328rpx;\r\n\t\theight: 88rpx;\r\n\t\tborder-radius: 28rpx;\r\n\t\topacity: 1;\r\n\t\tborder: 2rpx solid #62CDCE;\r\n\t\tcolor: rgba(98,205,206,1);\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 700;\r\n\t\tmargin-left: 30rpx;\r\n\t}\r\n\t.suButtimg{\r\n\t\theight: 32rpx;\r\n\t}\r\n\t.suButtimg>img {\r\n\t\twidth: 32rpx;\r\n\t\theight: 32rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: rgba(255,255,255,0.01);\r\n\t}\r\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerMessageDetail.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663054102504\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/sellerRelease.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?e27f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?2695"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?0280"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?73ec"
,
"uni-app:///pages/index/sellerRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?5f3c"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?725e"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,uVAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,mBAAO,CAAC,4CAAmC;AACxE;AACA,6BAA6B,mBAAO,CAAC,4CAAmC;AACxE,uBAAuB,mBAAO,CAAC,4CAAmC;AAClE,uBAAuB,mBAAO,CAAC,4CAAmC;;AAElE,WAAW,mBAAO,CAAC,4CAAmC;;AAEtD,WAAW,mBAAO,CAAC,oCAA2B;;AAE9C;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+GppB;eACA;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,iBAFA;AAGA,mBAHA;AAIA,mBAJA;AAKA,sBALA;AAMA;AACA,yDADA,GANA;;AASA,mBATA;AAUA,iBAVA;AAWA,gCAXA;AAYA,mBAZA;AAaA,kBAbA;AAcA,kBAdA;AAeA,cAfA;AAgBA,mBAhBA;AAiBA,cAjBA;AAkBA;AACA,wBADA,CAlBA;;AAqBA,oBArBA,EAqBA;AACA,8BAtBA;AAuBA,8BAvBA;;AAyBA,GA3BA;AA4BA,QA5BA,oBA4BA;;AAEA,GA9BA;AA+BA,SA/BA,qBA+BA;AACA;AACA;AACA,GAlCA;AAmCA;AACA;AACA,gBAFA,0BAEA;AACA;AACA,qCADA;;AAGA,KANA;AAOA;AACA,WARA,mBAQA,IARA,EAQA;AACA;AACA;AACA;AACA;AACA,KAbA;AAcA;AACA,QAfA,gBAeA,IAfA,EAeA;AACA;AACA;AACA;AACA,KAnBA;AAoBA;AACA,MArBA,gBAqBA;AACA;AACA,KAvBA;AAwBA;AACA,SAzBA,mBAyBA;AACA;AACA,KA3BA;AA4BA;AACA,iBA7BA,yBA6BA,CA7BA,EA6BA;;AAEA,iBAFA;;;;;;AAQA,OARA,CAEA,WAFA,CAGA,KAHA,GAQA,CARA,CAGA,KAHA,CAIA,MAJA,GAQA,CARA,CAIA,MAJA,CAKA,KALA,GAQA,CARA,CAKA,KALA,aAQA,CARA,CAOA,MAPA,CAOA,MAPA,0BAOA,kBAPA;AASA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,aA7CA,qBA6CA,IA7CA,EA6CA,KA7CA,EA6CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAzDA;AA0DA;AACA,YA3DA,sBA2DA;AACA;AACA,KA7DA;AA8DA;AACA,SA/DA,mBA+DA;AACA;AACA,KAjEA;AAkEA;AACA,YAnEA,oBAmEA,CAnEA,EAmEA;AACA;AACA;AACA;AACA;;AAEA,KAzEA;AA0EA;AACA,WA3EA,qBA2EA;AACA;AACA,KA7EA;AA8EA;AACA,WA/EA,mBA+EA,CA/EA,EA+EA;AACA;AACA;AACA;;AAEA,KApFA;AAqFA;AACA,UAtFA,oBAsFA;AACA;AACA,KAxFA;AAyFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KArGA,EAnCA;;;AA2IA,aA3IA,E;;;;;;;;;;;;;AChHA;AAAA;AAAA;AAAA;AAA+rC,CAAgB,4pCAAG,EAAC,C;;;;;;;;;;;ACAntC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/sellerRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/sellerRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./sellerRelease.vue?vue&type=template&id=049dbca2&\"\nvar renderjs\nimport script from \"./sellerRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./sellerRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./sellerRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/sellerRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=template&id=049dbca2&\""
,
"var components\ntry {\n components = {\n uUpload: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-upload/u-upload\" */ \"uview-ui/components/u-upload/u-upload.vue\"\n )\n },\n uDatetimePicker: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker\" */ \"uview-ui/components/u-datetime-picker/u-datetime-picker.vue\"\n )\n },\n uPicker: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-picker/u-picker\" */ \"uview-ui/components/u-picker/u-picker.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 =\n _vm.exhibition == true ? require(\"../../static/ic-arrow-more@2x.png\") : null\n var m1 =\n _vm.exhibition == true ? require(\"../../static/ic-arrow-more@2x.png\") : null\n var m2 = !_vm.danw ? require(\"../../static/ic-arrow-more@2x.png\") : null\n var m3 = !_vm.danm ? require(\"../../static/ic-arrow-more@2x.png\") : null\n\n var m4 = require(\"../../static/ic-arrow-more@2x.png\")\n\n var m5 = require(\"../../static/ic_18@2x.png\")\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n m2: m2,\n m3: m3,\n m4: m4,\n m5: m5\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=script&lang=js&\""
,
"<template>\n\t<view class=\"\">\n\t\t<!-- 版心 -->\n\t\t<view class=\"mainBox\">\n\t\t\t<!-- 手机号码 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">手机号码</view>\n\t\t\t\t<view class=\"\"><input type=\"text\" placeholder=\"请输入11位手机号码\" style='text-align:right'></view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 验证码 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">验证码</view>\n\t\t\t\t<view class=\"flexA\">\n\t\t\t\t\t<view class=\"verificationCode\"><input type=\"text\" placeholder=\"请输入验证码\" style='text-align:right'>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"obTain flexA\">获取验证码</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 农作物 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">农作物</view>\n\t\t\t\t<view class=\"flexA\" @click=\"NShow\">{{choiceN}}<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\"\n\t\t\t\t\t\tstyle=\"width: 16rpx; height: 32rpx;\" v-if=\"exhibition==true\"></view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 收获时间 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">收获时间</view>\n\t\t\t\t<view class=\"flexA\" @click=\"timeShow\">\n\t\t\t\t\t{{value2}}\n\t\t\t\t\t<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\" style=\"width: 16rpx; height: 32rpx;\"\n\t\t\t\t\t\tv-if=\"exhibition==true\">\n\t\t\t\t</view>\n\t\t\t\t<!-- uview引入-时间 -->\n\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 种植面积 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">种植面积</view>\n\t\t\t\t<view class=\"flexA\">\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入种植面积\" style='text-align:right'>\n\t\t\t\t\t<view class=\"comPany flexA\" @click=\"qs\">\n\t\t\t\t\t\t{{value3}}<img src=\"/static/1.png\" alt=\"\" style=\"width: 30rpx; height: 32rpx;\" v-if=\"danw\">\n\t\t\t\t\t\t<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\" style=\"width: 16rpx; height: 32rpx;\" v-else>\n\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 预计作物产量 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">预计作物产量</view>\n\t\t\t\t<view class=\"flexA\"> <input type=\"text\" placeholder=\"请输入产量\" style='text-align:right'>\n\t\t\t\t\t<view class=\"comPany flexA\" @click=\"qstwo\">\n\t\t\t\t\t\t{{value4}}<img src=\"/static/1.png\" alt=\"\" style=\"width: 30rpx; height: 32rpx;\" v-if=\"danm\">\n\t\t\t\t\t\t<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\" style=\"width: 16rpx; height: 32rpx;\" v-else>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 秸秆是否出售 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">秸秆是否出售</view>\n\t\t\t\t<view class=\"flexA\">是<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\"\n\t\t\t\t\t\tstyle=\"width: 16rpx; height: 32rpx;\"></view>\n\t\t\t</view>\n\t\t\t<!-- 上传照片 -->\n\t\t\t<view class=\"uploadPhotos\">\n\t\t\t\t<u-upload :fileList=\"fileList3\" @afterRead=\"afterRead\" @delete=\"deletePic\" name=\"3\" multiple\n\t\t\t\t\t:maxCount=\"10\" :previewFullImage=\"true\"></u-upload>\n\t\t\t</view>\n\t\t\t<!-- 地址 -->\n\t\t\t<view class=\"addressBox flexA\">\n\t\t\t\t<view class=\"\"><img src=\"../../static/ic_18@2x.png\" alt=\"\"></view>\n\t\t\t\t<view class=\"addressOne\">天津市西青区鑫茂科技园C1</view>\n\t\t\t</view>\n\t\t\t<!-- 获取验证码 -->\n\t\t\t<view class=\"getVerificationcode\"></view>\n\t\t\t<!-- 发布 -->\n\t\t\t<view class=\"releaseBox1 flexC\" >\n\t\t\t\t<view class=\"releaseBox flexC\" @click=\"releaseClick\">发布</view>\n\t\t\t</view>\n\t\t</view>\n\n\t\t<u-datetime-picker ref=\"datetimePicker\" :show=\"show\" v-model=\"value1\" mode=\"date\" @confirm=\"confirm\"\n\t\t\t@cancel=\"cancel\" :formatter=\"formatter\" title='选择日期'></u-datetime-picker>\n\t\t<!-- 农作物 -->\n\t\t<u-picker :show=\"isshow\" ref=\"uPicker\" :columns=\"columns\" @confirm=\"confirmN\" @cancel=\"cancelN\"></u-picker>\n\t\t<!-- 单位的选择 -->\n\t\t<view class=\"mask\" v-if=\"isMask==true\">\n\t\t\t<view class=\"Company\">\n\t\t\t\t<view class=\"item flexA\" @click=\"replace(item)\" v-for=\"(item,index) in companyList\">{{item}}</view>\n\t\t\t\t<view class=\"lineOne\"></view>\n\t\t\t\t<view class=\"item flexA\" @click=\"qs\">取消</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 单位的选择2 -->\n\t\t<view class=\"mask\" v-if=\"onMask==true\">\n\t\t\t<view class=\"Company\">\n\t\t\t\t<view class=\"item flexA\" @click=\"comm(item)\" v-for=\"(item,index) in comList\">{{item}}</view>\n\t\t\t\t<view class=\"lineOne\"></view>\n\t\t\t\t<view class=\"item flexA\" @click=\"qstwo\">取消</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t// import Actionsheet from '@/uni_modules/bluestar-Actionsheet/components/bluestar-Actionsheet/bluestar-Actionsheet.vue'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdanw: false,\n\t\t\t\tdanm: false,\n\t\t\t\tisMask: false,\n\t\t\t\tonMask: false,\n\t\t\t\texhibition: true,\n\t\t\t\tfileList3: [{\n\t\t\t\t\turl: 'https://cdn.uviewui.com/uview/swiper/1.jpg',\n\t\t\t\t}],\n\t\t\t\tisshow: false,\n\t\t\t\tshow: false,\n\t\t\t\tvalue1: Number(new Date()),\n\t\t\t\tvalue2: '请选择',\n\t\t\t\tvalue3: '单位',\n\t\t\t\tvalue4: '单位',\n\t\t\t\tarea: '',\n\t\t\t\ttimeArray: [],\n\t\t\t\ttime: '',\n\t\t\t\tcolumns: [\n\t\t\t\t\t['大豆', '玉米', '黄瓜']\n\t\t\t\t],\n\t\t\t\tchoiceN: '请选择', // 农作物\n\t\t\t\tcompanyList: ['公顷', '亩'],\n\t\t\t\tcomList: ['公顷/斤', '亩/斤']\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\n\t\t},\n\t\tonReady() {\n\t\t\t// 微信小程序需要用此写法\n\t\t\tthis.$refs.datetimePicker.setFormatter(this.formatter)\n\t\t},\n\t\tmethods: {\n\t\t\t// 跳转到审核中页面\n\t\t\treleaseClick() {\n\t\t\t\tuni.navigateTo({\n\t\t\t\t\turl: '/pages/index/auditPage'\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 替换单位\n\t\t\treplace(item) {\n\t\t\t\tconsole.log(item, '1111');\n\t\t\t\tthis.value3 = item\n\t\t\t\tthis.isMask = false\n\t\t\t\tthis.danw = true\n\t\t\t},\n\t\t\t// 替换单位2\n\t\t\tcomm(item) {\n\t\t\t\tthis.value4 = item\n\t\t\t\tthis.onMask = false\n\t\t\t\tthis.danm = true\n\t\t\t},\n\t\t\t// 遮罩控制\n\t\t\tqs() {\n\t\t\t\tthis.isMask = !this.isMask\n\t\t\t},\n\t\t\t// 遮罩控制\n\t\t\tqstwo() {\n\t\t\t\tthis.onMask = !this.onMask\n\t\t\t},\n\t\t\t// 农作物\n\t\t\tchangeHandler(e) {\n\t\t\t\tconst {\n\t\t\t\t\tcolumnIndex,\n\t\t\t\t\tvalue,\n\t\t\t\t\tvalues, // values为当前变化列的数组内容\n\t\t\t\t\tindex,\n\t\t\t\t\t// 微信小程序无法将picker实例传出来,只能通过ref操作\n\t\t\t\t\tpicker = this.$refs.uPicker\n\t\t\t\t} = e\n\t\t\t\t// 当第一列值发生变化时,变化第二列(后一列)对应的选项\n\t\t\t\tif (columnIndex === 0) {\n\t\t\t\t\t// picker为选择器this实例,变化第二列对应的选项\n\t\t\t\t\tpicker.setColumnValues(1, this.columnData[index])\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 时间\n\t\t\tformatter(type, value) {\n\t\t\t\tif (type === 'year') {\n\t\t\t\t\treturn `${value}年`\n\t\t\t\t}\n\t\t\t\tif (type === 'month') {\n\t\t\t\t\treturn `${value}月`\n\t\t\t\t}\n\t\t\t\tif (type === 'day') {\n\t\t\t\t\treturn `${value}日`\n\t\t\t\t}\n\t\t\t\treturn value\n\n\t\t\t},\n\t\t\t// 控制时间选择\n\t\t\ttimeShow() {\n\t\t\t\tthis.show = true\n\t\t\t},\n\t\t\t// 控制农作物显示\n\t\t\tNShow() {\n\t\t\t\tthis.isshow = true\n\t\t\t},\n\t\t\t// 农作物的确定\n\t\t\tconfirmN(e) {\n\t\t\t\tconsole.log(e)\n\t\t\t\tthis.isshow = false\n\t\t\t\tthis.choiceN = e.value\n\t\t\t\tthis.exhibition = false\n\n\t\t\t},\n\t\t\t// 农作物的取消\n\t\t\tcancelN() {\n\t\t\t\tthis.isshow = false\n\t\t\t},\n\t\t\t//时间确定\n\t\t\tconfirm(e) {\n\t\t\t\tconsole.log(e)\n\t\t\t\tthis.formatDate(e.value)\n\t\t\t\tthis.show = false\n\n\t\t\t},\n\t\t\t//时间取消\n\t\t\tcancel() {\n\t\t\t\tthis.show = false\n\t\t\t},\n\t\t\tformatDate: function(value) {\n\t\t\t\tvar date = new Date(value);\n\t\t\t\t//date.setTime(value);\n\t\t\t\tvar month = date.getMonth() + 1;\n\t\t\t\tvar hours = date.getHours();\n\t\t\t\tif (hours < 10)\n\t\t\t\t\thours = \"0\" + hours;\n\t\t\t\tvar minutes = date.getMinutes();\n\t\t\t\tif (minutes < 10)\n\t\t\t\t\tminutes = \"0\" + minutes;\n\t\t\t\tvar time = date.getFullYear() + \"-\" + month + \"-\" + date.getDate();\n\t\t\t\tthis.value2 = time\n\t\t\t}\n\t\t},\n\n\t\tfilters: {},\n\n\t}\n</script>\n\n<style lang=\"scss\">\n\tpage {\n\t\tbackground: #f5f7fb;\n\t}\n\n\t.mainBox {\n\t\twidth: 686rpx;\n\t\tmargin: 0 auto;\n\t}\n\n\t.lineBox {\n\t\twidth: 686rpx;\n\t\theight: 2rpx;\n\t\tbackground-color: #fafafa;\n\t}\n\n\t.fixedFont {\n\t\tpadding: 32rpx 0;\n\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\tfont-size: 28rpx;\n\t\tfont-weight: 700;\n\t}\n\n\t.obTain {\n\t\tbackground-color: #62CDCE;\n\t\tpadding: 0rpx 10rpx;\n\t\t// width: 144rpx;\n\t\theight: 56rpx;\n\t\tborder-radius: 12rpx;\n\t\tcolor: rgba(255, 255, 255, 1);\n\t\tfont-size: 24rpx;\n\t\tfont-weight: 500;\n\t}\n\n\t.verificationCode {\n\t\tmargin-right: 16rpx;\n\t}\n\n\t.comPany {\n\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\tfont-size: 28rpx;\n\t\tfont-weight: 700;\n\t\tpadding-left: 16rpx;\n\t}\n\n\t.uploadPhotos {\n\t\tpadding-top: 32rpx;\n\t}\n\n\t.addressBox {\n\t\tpadding-top: 32rpx;\n\n\t\timg {\n\t\t\twidth: 40rpx;\n\t\t\theight: 40rpx;\n\t\t\tpadding-right: 8rpx;\n\t\t}\n\n\t\t.addressOne {\n\t\t\tcolor: rgba(33, 83, 212, 1);\n\t\t\tfont-size: 28rpx;\n\t\t\tfont-weight: 400;\n\t\t}\n\t}\n\n\t.getVerificationcode {\n\t\theight: 100rpx;\n\t\twidth: 686rpx;\n\t\tbackground-color: rgba(245, 247, 251, 1);\n\t}\n\n\t.releaseBox1 {\n\t\twidth: 100vw;\n\t\theight: 120rpx;\n\t\tbackground: #fff;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tleft: 0;\n\n\t\t.releaseBox {\n\t\t\t// margin-top: 32rpx;\n\t\t\twidth: 686rpx;\n\t\t\theight: 88rpx;\n\t\t\tborder-radius: 28rpx;\n\t\t\tbackground-color: #19CCCD;\n\t\t\tcolor: rgba(255, 255, 255, 1);\n\t\t\tfont-size: 32rpx;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t}\n\n\t.mask {\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\theight: 100vh;\n\t\twidth: 100%;\n\t\tbackground-color: rgba(0, 0, 0, 0.5);\n\t\tz-index: 10;\n\t}\n\n\t.Company {\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tright: 0;\n\t\twidth: 100%;\n\t\theight: 368rpx;\n\t\tborder-radius: 30rpx 30rpx 0 0;\n\t\tbackground-color: #fff;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tflex-direction: column;\n\t}\n\n\t.item {\n\t\theight: 116rpx;\n\t}\n\n\t.lineOne {\n\t\twidth: 750rpx;\n\t\theight: 20rpx;\n\t\topacity: 1;\n\t\tbackground: rgba(245, 246, 250, 1);\n\t}\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991672250\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?e27f"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?2695"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?0280"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?73ec"
,
"uni-app:///pages/index/sellerRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?5f3c"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/index/sellerRelease.vue?725e"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,uVAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,mBAAO,CAAC,4CAAmC;AACxE;AACA,6BAA6B,mBAAO,CAAC,4CAAmC;AACxE,uBAAuB,mBAAO,CAAC,4CAAmC;AAClE,uBAAuB,mBAAO,CAAC,4CAAmC;;AAElE,WAAW,mBAAO,CAAC,4CAAmC;;AAEtD,WAAW,mBAAO,CAAC,oCAA2B;;AAE9C;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+GppB;eACA;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,iBAFA;AAGA,mBAHA;AAIA,mBAJA;AAKA,sBALA;AAMA;AACA,yDADA,GANA;;AASA,mBATA;AAUA,iBAVA;AAWA,gCAXA;AAYA,mBAZA;AAaA,kBAbA;AAcA,kBAdA;AAeA,cAfA;AAgBA,mBAhBA;AAiBA,cAjBA;AAkBA;AACA,wBADA,CAlBA;;AAqBA,oBArBA,EAqBA;AACA,8BAtBA;AAuBA,8BAvBA;;AAyBA,GA3BA;AA4BA,QA5BA,oBA4BA;;AAEA,GA9BA;AA+BA,SA/BA,qBA+BA;AACA;AACA;AACA,GAlCA;AAmCA;AACA;AACA,gBAFA,0BAEA;AACA;AACA,qCADA;;AAGA,KANA;AAOA;AACA,WARA,mBAQA,IARA,EAQA;AACA;AACA;AACA;AACA;AACA,KAbA;AAcA;AACA,QAfA,gBAeA,IAfA,EAeA;AACA;AACA;AACA;AACA,KAnBA;AAoBA;AACA,MArBA,gBAqBA;AACA;AACA,KAvBA;AAwBA;AACA,SAzBA,mBAyBA;AACA;AACA,KA3BA;AA4BA;AACA,iBA7BA,yBA6BA,CA7BA,EA6BA;;AAEA,iBAFA;;;;;;AAQA,OARA,CAEA,WAFA,CAGA,KAHA,GAQA,CARA,CAGA,KAHA,CAIA,MAJA,GAQA,CARA,CAIA,MAJA,CAKA,KALA,GAQA,CARA,CAKA,KALA,aAQA,CARA,CAOA,MAPA,CAOA,MAPA,0BAOA,kBAPA;AASA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,aA7CA,qBA6CA,IA7CA,EA6CA,KA7CA,EA6CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAzDA;AA0DA;AACA,YA3DA,sBA2DA;AACA;AACA,KA7DA;AA8DA;AACA,SA/DA,mBA+DA;AACA;AACA,KAjEA;AAkEA;AACA,YAnEA,oBAmEA,CAnEA,EAmEA;AACA;AACA;AACA;AACA;;AAEA,KAzEA;AA0EA;AACA,WA3EA,qBA2EA;AACA;AACA,KA7EA;AA8EA;AACA,WA/EA,mBA+EA,CA/EA,EA+EA;AACA;AACA;AACA;;AAEA,KApFA;AAqFA;AACA,UAtFA,oBAsFA;AACA;AACA,KAxFA;AAyFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KArGA,EAnCA;;;AA2IA,aA3IA,E;;;;;;;;;;;;;AChHA;AAAA;AAAA;AAAA;AAA+rC,CAAgB,4pCAAG,EAAC,C;;;;;;;;;;;ACAntC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/index/sellerRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/sellerRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./sellerRelease.vue?vue&type=template&id=049dbca2&\"\nvar renderjs\nimport script from \"./sellerRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./sellerRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./sellerRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/sellerRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=template&id=049dbca2&\""
,
"var components\ntry {\n components = {\n uUpload: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-upload/u-upload\" */ \"uview-ui/components/u-upload/u-upload.vue\"\n )\n },\n uDatetimePicker: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker\" */ \"uview-ui/components/u-datetime-picker/u-datetime-picker.vue\"\n )\n },\n uPicker: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-picker/u-picker\" */ \"uview-ui/components/u-picker/u-picker.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 =\n _vm.exhibition == true ? require(\"../../static/ic-arrow-more@2x.png\") : null\n var m1 =\n _vm.exhibition == true ? require(\"../../static/ic-arrow-more@2x.png\") : null\n var m2 = !_vm.danw ? require(\"../../static/ic-arrow-more@2x.png\") : null\n var m3 = !_vm.danm ? require(\"../../static/ic-arrow-more@2x.png\") : null\n\n var m4 = require(\"../../static/ic-arrow-more@2x.png\")\n\n var m5 = require(\"../../static/ic_18@2x.png\")\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n m2: m2,\n m3: m3,\n m4: m4,\n m5: m5\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=script&lang=js&\""
,
"<template>\n\t<view class=\"\">\n\t\t<!-- 版心 -->\n\t\t<view class=\"mainBox\">\n\t\t\t<!-- 手机号码 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">手机号码</view>\n\t\t\t\t<view class=\"\"><input type=\"text\" placeholder=\"请输入11位手机号码\" style='text-align:right'></view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 验证码 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">验证码</view>\n\t\t\t\t<view class=\"flexA\">\n\t\t\t\t\t<view class=\"verificationCode\"><input type=\"text\" placeholder=\"请输入验证码\" style='text-align:right'>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"obTain flexA\">获取验证码</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 农作物 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">农作物</view>\n\t\t\t\t<view class=\"flexA\" @click=\"NShow\">{{choiceN}}<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\"\n\t\t\t\t\t\tstyle=\"width: 16rpx; height: 32rpx;\" v-if=\"exhibition==true\"></view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 收获时间 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">收获时间</view>\n\t\t\t\t<view class=\"flexA\" @click=\"timeShow\">\n\t\t\t\t\t{{value2}}\n\t\t\t\t\t<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\" style=\"width: 16rpx; height: 32rpx;\"\n\t\t\t\t\t\tv-if=\"exhibition==true\">\n\t\t\t\t</view>\n\t\t\t\t<!-- uview引入-时间 -->\n\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 种植面积 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">种植面积</view>\n\t\t\t\t<view class=\"flexA\">\n\t\t\t\t\t<input type=\"text\" placeholder=\"请输入种植面积\" style='text-align:right'>\n\t\t\t\t\t<view class=\"comPany flexA\" @click=\"qs\">\n\t\t\t\t\t\t{{value3}}<img src=\"/static/1.png\" alt=\"\" style=\"width: 30rpx; height: 32rpx;\" v-if=\"danw\">\n\t\t\t\t\t\t<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\" style=\"width: 16rpx; height: 32rpx;\" v-else>\n\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 预计作物产量 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">预计作物产量</view>\n\t\t\t\t<view class=\"flexA\"> <input type=\"text\" placeholder=\"请输入产量\" style='text-align:right'>\n\t\t\t\t\t<view class=\"comPany flexA\" @click=\"qstwo\">\n\t\t\t\t\t\t{{value4}}<img src=\"/static/1.png\" alt=\"\" style=\"width: 30rpx; height: 32rpx;\" v-if=\"danm\">\n\t\t\t\t\t\t<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\" style=\"width: 16rpx; height: 32rpx;\" v-else>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"lineBox\"></view>\n\t\t\t<!-- 秸秆是否出售 -->\n\t\t\t<view class=\"flexJ\">\n\t\t\t\t<view class=\"fixedFont\">秸秆是否出售</view>\n\t\t\t\t<view class=\"flexA\">是<img src=\"../../static/ic-arrow-more@2x.png\" alt=\"\"\n\t\t\t\t\t\tstyle=\"width: 16rpx; height: 32rpx;\"></view>\n\t\t\t</view>\n\t\t\t<!-- 上传照片 -->\n\t\t\t<view class=\"uploadPhotos\">\n\t\t\t\t<u-upload :fileList=\"fileList3\" @afterRead=\"afterRead\" @delete=\"deletePic\" name=\"3\" multiple\n\t\t\t\t\t:maxCount=\"10\" :previewFullImage=\"true\"></u-upload>\n\t\t\t</view>\n\t\t\t<!-- 地址 -->\n\t\t\t<view class=\"addressBox flexA\">\n\t\t\t\t<view class=\"\"><img src=\"../../static/ic_18@2x.png\" alt=\"\"></view>\n\t\t\t\t<view class=\"addressOne\">天津市西青区鑫茂科技园C1</view>\n\t\t\t</view>\n\t\t\t<!-- 获取验证码 -->\n\t\t\t<view class=\"getVerificationcode\"></view>\n\t\t\t<!-- 发布 -->\n\t\t\t<view class=\"releaseBox1 flexC\" >\n\t\t\t\t<view class=\"releaseBox flexC\" @click=\"releaseClick\">发布</view>\n\t\t\t</view>\n\t\t</view>\n\n\t\t<u-datetime-picker ref=\"datetimePicker\" :show=\"show\" v-model=\"value1\" mode=\"date\" @confirm=\"confirm\"\n\t\t\t@cancel=\"cancel\" :formatter=\"formatter\" title='选择日期'></u-datetime-picker>\n\t\t<!-- 农作物 -->\n\t\t<u-picker :show=\"isshow\" ref=\"uPicker\" :columns=\"columns\" @confirm=\"confirmN\" @cancel=\"cancelN\"></u-picker>\n\t\t<!-- 单位的选择 -->\n\t\t<view class=\"mask\" v-if=\"isMask==true\">\n\t\t\t<view class=\"Company\">\n\t\t\t\t<view class=\"item flexA\" @click=\"replace(item)\" v-for=\"(item,index) in companyList\">{{item}}</view>\n\t\t\t\t<view class=\"lineOne\"></view>\n\t\t\t\t<view class=\"item flexA\" @click=\"qs\">取消</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 单位的选择2 -->\n\t\t<view class=\"mask\" v-if=\"onMask==true\">\n\t\t\t<view class=\"Company\">\n\t\t\t\t<view class=\"item flexA\" @click=\"comm(item)\" v-for=\"(item,index) in comList\">{{item}}</view>\n\t\t\t\t<view class=\"lineOne\"></view>\n\t\t\t\t<view class=\"item flexA\" @click=\"qstwo\">取消</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t// import Actionsheet from '@/uni_modules/bluestar-Actionsheet/components/bluestar-Actionsheet/bluestar-Actionsheet.vue'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdanw: false,\n\t\t\t\tdanm: false,\n\t\t\t\tisMask: false,\n\t\t\t\tonMask: false,\n\t\t\t\texhibition: true,\n\t\t\t\tfileList3: [{\n\t\t\t\t\turl: 'https://cdn.uviewui.com/uview/swiper/1.jpg',\n\t\t\t\t}],\n\t\t\t\tisshow: false,\n\t\t\t\tshow: false,\n\t\t\t\tvalue1: Number(new Date()),\n\t\t\t\tvalue2: '请选择',\n\t\t\t\tvalue3: '单位',\n\t\t\t\tvalue4: '单位',\n\t\t\t\tarea: '',\n\t\t\t\ttimeArray: [],\n\t\t\t\ttime: '',\n\t\t\t\tcolumns: [\n\t\t\t\t\t['大豆', '玉米', '黄瓜']\n\t\t\t\t],\n\t\t\t\tchoiceN: '请选择', // 农作物\n\t\t\t\tcompanyList: ['公顷', '亩'],\n\t\t\t\tcomList: ['公顷/斤', '亩/斤']\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\n\t\t},\n\t\tonReady() {\n\t\t\t// 微信小程序需要用此写法\n\t\t\tthis.$refs.datetimePicker.setFormatter(this.formatter)\n\t\t},\n\t\tmethods: {\n\t\t\t// 跳转到审核中页面\n\t\t\treleaseClick() {\n\t\t\t\tuni.navigateTo({\n\t\t\t\t\turl: '/pages/index/auditPage'\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 替换单位\n\t\t\treplace(item) {\n\t\t\t\tconsole.log(item, '1111');\n\t\t\t\tthis.value3 = item\n\t\t\t\tthis.isMask = false\n\t\t\t\tthis.danw = true\n\t\t\t},\n\t\t\t// 替换单位2\n\t\t\tcomm(item) {\n\t\t\t\tthis.value4 = item\n\t\t\t\tthis.onMask = false\n\t\t\t\tthis.danm = true\n\t\t\t},\n\t\t\t// 遮罩控制\n\t\t\tqs() {\n\t\t\t\tthis.isMask = !this.isMask\n\t\t\t},\n\t\t\t// 遮罩控制\n\t\t\tqstwo() {\n\t\t\t\tthis.onMask = !this.onMask\n\t\t\t},\n\t\t\t// 农作物\n\t\t\tchangeHandler(e) {\n\t\t\t\tconst {\n\t\t\t\t\tcolumnIndex,\n\t\t\t\t\tvalue,\n\t\t\t\t\tvalues, // values为当前变化列的数组内容\n\t\t\t\t\tindex,\n\t\t\t\t\t// 微信小程序无法将picker实例传出来,只能通过ref操作\n\t\t\t\t\tpicker = this.$refs.uPicker\n\t\t\t\t} = e\n\t\t\t\t// 当第一列值发生变化时,变化第二列(后一列)对应的选项\n\t\t\t\tif (columnIndex === 0) {\n\t\t\t\t\t// picker为选择器this实例,变化第二列对应的选项\n\t\t\t\t\tpicker.setColumnValues(1, this.columnData[index])\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 时间\n\t\t\tformatter(type, value) {\n\t\t\t\tif (type === 'year') {\n\t\t\t\t\treturn `${value}年`\n\t\t\t\t}\n\t\t\t\tif (type === 'month') {\n\t\t\t\t\treturn `${value}月`\n\t\t\t\t}\n\t\t\t\tif (type === 'day') {\n\t\t\t\t\treturn `${value}日`\n\t\t\t\t}\n\t\t\t\treturn value\n\n\t\t\t},\n\t\t\t// 控制时间选择\n\t\t\ttimeShow() {\n\t\t\t\tthis.show = true\n\t\t\t},\n\t\t\t// 控制农作物显示\n\t\t\tNShow() {\n\t\t\t\tthis.isshow = true\n\t\t\t},\n\t\t\t// 农作物的确定\n\t\t\tconfirmN(e) {\n\t\t\t\tconsole.log(e)\n\t\t\t\tthis.isshow = false\n\t\t\t\tthis.choiceN = e.value\n\t\t\t\tthis.exhibition = false\n\n\t\t\t},\n\t\t\t// 农作物的取消\n\t\t\tcancelN() {\n\t\t\t\tthis.isshow = false\n\t\t\t},\n\t\t\t//时间确定\n\t\t\tconfirm(e) {\n\t\t\t\tconsole.log(e)\n\t\t\t\tthis.formatDate(e.value)\n\t\t\t\tthis.show = false\n\n\t\t\t},\n\t\t\t//时间取消\n\t\t\tcancel() {\n\t\t\t\tthis.show = false\n\t\t\t},\n\t\t\tformatDate: function(value) {\n\t\t\t\tvar date = new Date(value);\n\t\t\t\t//date.setTime(value);\n\t\t\t\tvar month = date.getMonth() + 1;\n\t\t\t\tvar hours = date.getHours();\n\t\t\t\tif (hours < 10)\n\t\t\t\t\thours = \"0\" + hours;\n\t\t\t\tvar minutes = date.getMinutes();\n\t\t\t\tif (minutes < 10)\n\t\t\t\t\tminutes = \"0\" + minutes;\n\t\t\t\tvar time = date.getFullYear() + \"-\" + month + \"-\" + date.getDate();\n\t\t\t\tthis.value2 = time\n\t\t\t}\n\t\t},\n\n\t\tfilters: {},\n\n\t}\n</script>\n\n<style lang=\"scss\">\n\tpage {\n\t\tbackground: #f5f7fb;\n\t}\n\n\t.mainBox {\n\t\twidth: 686rpx;\n\t\tmargin: 0 auto;\n\t}\n\n\t.lineBox {\n\t\twidth: 686rpx;\n\t\theight: 2rpx;\n\t\tbackground-color: #fafafa;\n\t}\n\n\t.fixedFont {\n\t\tpadding: 32rpx 0;\n\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\tfont-size: 28rpx;\n\t\tfont-weight: 700;\n\t}\n\n\t.obTain {\n\t\tbackground-color: #62CDCE;\n\t\tpadding: 0rpx 10rpx;\n\t\t// width: 144rpx;\n\t\theight: 56rpx;\n\t\tborder-radius: 12rpx;\n\t\tcolor: rgba(255, 255, 255, 1);\n\t\tfont-size: 24rpx;\n\t\tfont-weight: 500;\n\t}\n\n\t.verificationCode {\n\t\tmargin-right: 16rpx;\n\t}\n\n\t.comPany {\n\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\tfont-size: 28rpx;\n\t\tfont-weight: 700;\n\t\tpadding-left: 16rpx;\n\t}\n\n\t.uploadPhotos {\n\t\tpadding-top: 32rpx;\n\t}\n\n\t.addressBox {\n\t\tpadding-top: 32rpx;\n\n\t\timg {\n\t\t\twidth: 40rpx;\n\t\t\theight: 40rpx;\n\t\t\tpadding-right: 8rpx;\n\t\t}\n\n\t\t.addressOne {\n\t\t\tcolor: rgba(33, 83, 212, 1);\n\t\t\tfont-size: 28rpx;\n\t\t\tfont-weight: 400;\n\t\t}\n\t}\n\n\t.getVerificationcode {\n\t\theight: 100rpx;\n\t\twidth: 686rpx;\n\t\tbackground-color: rgba(245, 247, 251, 1);\n\t}\n\n\t.releaseBox1 {\n\t\twidth: 100vw;\n\t\theight: 120rpx;\n\t\tbackground: #fff;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tleft: 0;\n\n\t\t.releaseBox {\n\t\t\t// margin-top: 32rpx;\n\t\t\twidth: 686rpx;\n\t\t\theight: 88rpx;\n\t\t\tborder-radius: 28rpx;\n\t\t\tbackground-color: #19CCCD;\n\t\t\tcolor: rgba(255, 255, 255, 1);\n\t\t\tfont-size: 32rpx;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t}\n\n\t.mask {\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\theight: 100vh;\n\t\twidth: 100%;\n\t\tbackground-color: rgba(0, 0, 0, 0.5);\n\t\tz-index: 10;\n\t}\n\n\t.Company {\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tright: 0;\n\t\twidth: 100%;\n\t\theight: 368rpx;\n\t\tborder-radius: 30rpx 30rpx 0 0;\n\t\tbackground-color: #fff;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tflex-direction: column;\n\t}\n\n\t.item {\n\t\theight: 116rpx;\n\t}\n\n\t.lineOne {\n\t\twidth: 750rpx;\n\t\theight: 20rpx;\n\t\topacity: 1;\n\t\tbackground: rgba(245, 246, 250, 1);\n\t}\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./sellerRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029089526\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?63af"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?74f2"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?ee84"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?c575"
,
"uni-app:///pages/login/login.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?b66d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?7ed9"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0B5oB;AACA,MADA,kBACA;AACA;;;AAGA,GALA;AAMA,QANA,oBAMA;;AAEA,GARA;AASA,aATA,E;;;;;;;;;;;;AC1BA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/login/login.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/login/login.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./login.vue?vue&type=template&id=b237504c&\"\nvar renderjs\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/login/login.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=template&id=b237504c&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<view class=\"head\">\r\n\t\t\t<u-navbar title=\"首页\" :autoBack=\"true\" leftIconSize=\"0rpx\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<view class=\"name\">\r\n\t\t\t村镇生物质资源\r\n\t\t\t数字化服务平台\r\n\t\t</view>\r\n\t\t<view class=\"img\">\r\n\t\t\t<img src=\"/static/ic_1@2x.png\" alt=\"\">\r\n\t\t</view>\r\n\t\t<view class=\"login flexC\">\r\n\t\t\t登录\r\n\t\t</view>\r\n\t\t<view class=\"noLogin\">\r\n\t\t\t暂不登录\r\n\t\t</view>\r\n\t\t<view class=\"title\">\r\n\t\t\t登录代表您已同意同意 《用户协议》《隐私政策》\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground: linear-gradient(-44.6deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t}\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\tbackground: linear-gradient(-44.6deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%) !important;\r\n\t}\r\n\t.u-status-bar {\r\n\t\tbackground: linear-gradient(-44.6deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%) !important;\r\n\t}\r\n\t.u-navbar__content__title {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\t.name {\r\n\t\t width: 364rpx;\r\n\t\t height: 128rpx;\r\n\t\t opacity: 1;\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 52rpx;\r\n\t\t font-weight: 700;\r\n\t\t margin: 384rpx auto;\r\n\t}\r\n\t.img {\r\n\t\tposition: absolute;\r\n\t\ttop: 200rpx;\r\n\t\tleft: -104rpx;\r\n\t\twidth: 592.2rpx;\r\n\t\theight: 534.66rpx;\r\n\t}\r\n\t.login {\r\n\t\twidth: 306rpx;\r\n\t\theight: 92rpx;\r\n\t\tborder-radius: 172rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(270deg, rgba(207,255,255,1) 0%, rgba(255,255,255,1) 100%);\r\n\t\tcolor: rgba(98,205,206,1);\r\n\t\tfont-size: 32rpx;\r\n\t\t// font-weight: 700;\r\n\t\tmargin: 0 auto;\r\n\t}\r\n\t.noLogin {\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 28rpx;\r\n\t\t text-align: center;\r\n\t\t margin-top: 24rpx;\r\n\t}\r\n\t.title {\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 24rpx;\r\n\t\t margin-top: 144rpx;\r\n\t\t text-align: center;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658759\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
null
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?74f2"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?ee84"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?c575"
,
"uni-app:///pages/login/login.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?b66d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/login/login.vue?7ed9"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,6F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0B5oB;AACA,MADA,kBACA;AACA;;;AAGA,GALA;AAMA,QANA,oBAMA;;AAEA,GARA;AASA;AACA,YADA,sBACA;AACA;AACA,KAHA,EATA,E;;;;;;;;;;;;;AC1BA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/login/login.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/login/login.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./login.vue?vue&type=template&id=b237504c&\"\nvar renderjs\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/login/login.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=template&id=b237504c&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=script&lang=js&\""
,
"<template>\r\n\t<view class=\"\">\r\n\t\t<view class=\"head\">\r\n\t\t\t<u-navbar title=\"首页\" :autoBack=\"true\" leftIconSize=\"0rpx\">\r\n\t\t\t</u-navbar>\r\n\t\t</view>\r\n\t\t<view class=\"name\">\r\n\t\t\t村镇生物质资源\r\n\t\t\t数字化服务平台\r\n\t\t</view>\r\n\t\t<view class=\"img\">\r\n\t\t\t<img src=\"/static/ic_1@2x.png\" alt=\"\">\r\n\t\t</view>\r\n\t\t<view class=\"login flexC\">\r\n\t\t\t登录\r\n\t\t</view>\r\n\t\t<view class=\"noLogin\" @click=\"toreturn\">\r\n\t\t\t暂不登录\r\n\t\t</view>\r\n\t\t<view class=\"title\">\r\n\t\t\t登录代表您已同意同意 《用户协议》《隐私政策》\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttoreturn() {\r\n\t\t\t\tuni.navigateBack()\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground: linear-gradient(-44.6deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%);\r\n\t}\r\n\t.u-navbar__content.data-v-75dad532 {\r\n\t\tbackground: linear-gradient(-44.6deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%) !important;\r\n\t}\r\n\t.u-status-bar {\r\n\t\tbackground: linear-gradient(-44.6deg, rgba(25,204,205,1) 0%, rgba(99,217,218,1) 100%) !important;\r\n\t}\r\n\t.u-navbar__content__title {\r\n\t\tcolor: #fff !important;\r\n\t}\r\n\t.name {\r\n\t\t width: 364rpx;\r\n\t\t height: 128rpx;\r\n\t\t opacity: 1;\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 52rpx;\r\n\t\t font-weight: 700;\r\n\t\t margin: 384rpx auto;\r\n\t}\r\n\t.img {\r\n\t\tposition: absolute;\r\n\t\ttop: 200rpx;\r\n\t\tleft: -104rpx;\r\n\t\twidth: 592.2rpx;\r\n\t\theight: 534.66rpx;\r\n\t}\r\n\t.login {\r\n\t\twidth: 306rpx;\r\n\t\theight: 92rpx;\r\n\t\tborder-radius: 172rpx;\r\n\t\topacity: 1;\r\n\t\tbackground: linear-gradient(270deg, rgba(207,255,255,1) 0%, rgba(255,255,255,1) 100%);\r\n\t\tcolor: rgba(98,205,206,1);\r\n\t\tfont-size: 32rpx;\r\n\t\t// font-weight: 700;\r\n\t\tmargin: 0 auto;\r\n\t}\r\n\t.noLogin {\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 28rpx;\r\n\t\t text-align: center;\r\n\t\t margin-top: 24rpx;\r\n\t}\r\n\t.title {\r\n\t\t color: rgba(255,255,255,1);\r\n\t\t font-size: 24rpx;\r\n\t\t margin-top: 144rpx;\r\n\t\t text-align: center;\r\n\t}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./login.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663050261398\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/message/index.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?6637"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?d9a9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?54c5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?e81e"
,
"uni-app:///pages/message/index.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?0664"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?0e6a"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,+F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,mBAAO,CAAC,oCAA2B;;AAE9C;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2B5oB;AACA,MADA,kBACA;AACA;AACA;AACA,oBADA;AAEA;AACA,oBADA,EAFA,CADA;;AAMA,0BANA;AAOA,wBAPA;AAQA;AACA,wBADA;AAEA,yBAFA;AAGA,yBAHA;AAIA,uBAJA;AAKA,uBALA,EARA;;;AAgBA,GAlBA;AAmBA,QAnBA,oBAmBA;;AAEA,GArBA;AAsBA,aAtBA,E;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/message/index.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/message/index.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=191297be&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/message/index.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=191297be&\""
,
"var components\ntry {\n components = {\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 = require(\"../../static/ic_29@2x.png\")\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\""
,
"<template>\n\t<view class=\"\">\n\t\t<!-- 顶部标签 -->\n\t\t<u-tabs :list=\"list1\" :lineColor=\"lineColor\" :lineWidth=\"lineWidth\" :itemStyle=\"itemStyle\"></u-tabs>\n\t\t<!-- 版心 -->\n\t\t<view class=\"mainBox\">\n\t\t\t<!-- 卖家信息 -->\n\t\t\t<view class=\"sellerBox flexA\" v-for=\"item in 5\">\n\t\t\t\t<view class=\"rightBox\">\n\t\t\t\t\t<view class=\"nameBox\">村镇资源标题如何高效快速的提高农作物的产量的方...</view>\n\t\t\t\t\t<view class=\"timeBox\">\n\t\t\t\t\t\t2022-05-08\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"leftBox\">\n\t\t\t\t\t<img src=\"../../static/ic_29@2x.png\" alt=\"\">\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"emptyBox\"></view>\n\t\t<view class=\"\">\n\t\t\t<Tabbar :idx=\"1\"></Tabbar>\n\t\t</view>\n\t</view>\r\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlist1: [{\n\t\t\t\t\tname: '村镇资源',\n\t\t\t\t}, {\n\t\t\t\t\tname: '资源科普',\n\t\t\t\t}],\n\t\t\t\tlineColor: \"#62CDCE\",\n\t\t\t\tlineWidth: \"80rpx\",\n\t\t\t\titemStyle: {\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t\tfontSize: \"28rpx\",\n\t\t\t\t\tfontWeight: \"700\",\n\t\t\t\t\twidth: \"325rpx\",\n\t\t\t\t\theight: \"88rpx\",\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\n\t\t},\n\t\tmethods: {\n\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\tpage {\n\t\tbackground-color: #FAFAFA;\n\t}\n\n\t.mainBox {\n\t\twidth: 686rpx;\n\t\tmargin: 0 auto;\n\t}\n\n\t.minBox {\n\t\twidth: 686rpx;\n\t\tmargin: 0 auto;\n\t}\n\n\t.sellerBox {\n\t\tpadding: 16rpx 57rpx 16rpx 49rpx;\n\t\tmargin-top: 30rpx;\n\t\twidth: 586rpx;\n\t\t// height: 232rpx;\n\t\tborder-radius: 16rpx;\n\t\tbackground: #fff;\n\t}\n\n\t.leftBox {\n\t\timg {\n\t\t\twidth: 240rpx;\n\t\t\theight: 180rpx;\n\t\t}\n\t}\n\n\t.rightBox {\n\t\tpadding-right: 16rpx;\n\n\t\t.nameBox {\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\t\tfont-size: 28rpx;\n\t\t\tfont-weight: 400;\n\t\t\tpadding-top: 20rpx;\n\t\t}\n\n\t\t.addressBox {\n\t\t\tpadding-top: 16rpx;\n\t\t\tcolor: rgba(0, 0, 0, 0.4);\n\t\t\tfont-size: 24rpx;\n\t\t\tfont-weight: 400;\n\t\t}\n\n\t\t.addressBox>img {\n\t\t\twidth: 32rpx;\n\t\t\theight: 32rpx;\n\t\t}\n\t}\n\n\t.emptyBox {\n\t\theight: 150rpx;\n\t}\n\n\t.timeBox {\n\t\tpadding-top: 24rpx;\n\t\tcolor: rgba(0, 0, 0, 0.26);\n\t\tfont-size: 22rpx;\n\t\tfont-weight: 400;\n\t}\n\n\t.detailsBox {\n\t\timg {\n\t\t\twidth: 750rpx;\n\t\t\theight: 421rpx;\n\t\t}\n\t}\n\n\t.titleBox {\n\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\tfont-size: 32rpx;\n\t\tfont-weight: 500;\n\t}\n\n\t.timeBoxone {\n\t\tcolor: rgba(0, 0, 0, 0.4);\n\t\tfont-size: 24rpx;\n\t\tfont-weight: 400;\n\t}\n\n\t.richText {\n\t\tcolor: rgba(0, 0, 0, 0.6);\n\t\tfont-size: 28rpx;\n\t\tfont-weight: 400;\n\t}\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658144\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?6637"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?d9a9"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?54c5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?e81e"
,
"uni-app:///pages/message/index.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?0664"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/message/index.vue?0e6a"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,+F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,mBAAO,CAAC,oCAA2B;;AAE9C;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2B5oB;AACA,MADA,kBACA;AACA;AACA;AACA,oBADA;AAEA;AACA,oBADA,EAFA,CADA;;AAMA,0BANA;AAOA,wBAPA;AAQA;AACA,wBADA;AAEA,yBAFA;AAGA,yBAHA;AAIA,uBAJA;AAKA,uBALA,EARA;;;AAgBA,GAlBA;AAmBA,QAnBA,oBAmBA;;AAEA,GArBA;AAsBA,aAtBA,E;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/message/index.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/message/index.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=191297be&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/message/index.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=191297be&\""
,
"var components\ntry {\n components = {\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 = require(\"../../static/ic_29@2x.png\")\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\""
,
"<template>\n\t<view class=\"\">\n\t\t<!-- 顶部标签 -->\n\t\t<u-tabs :list=\"list1\" :lineColor=\"lineColor\" :lineWidth=\"lineWidth\" :itemStyle=\"itemStyle\"></u-tabs>\n\t\t<!-- 版心 -->\n\t\t<view class=\"mainBox\">\n\t\t\t<!-- 卖家信息 -->\n\t\t\t<view class=\"sellerBox flexA\" v-for=\"item in 5\">\n\t\t\t\t<view class=\"rightBox\">\n\t\t\t\t\t<view class=\"nameBox\">村镇资源标题如何高效快速的提高农作物的产量的方...</view>\n\t\t\t\t\t<view class=\"timeBox\">\n\t\t\t\t\t\t2022-05-08\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"leftBox\">\n\t\t\t\t\t<img src=\"../../static/ic_29@2x.png\" alt=\"\">\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"emptyBox\"></view>\n\t\t<view class=\"\">\n\t\t\t<Tabbar :idx=\"1\"></Tabbar>\n\t\t</view>\n\t</view>\r\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlist1: [{\n\t\t\t\t\tname: '村镇资源',\n\t\t\t\t}, {\n\t\t\t\t\tname: '资源科普',\n\t\t\t\t}],\n\t\t\t\tlineColor: \"#62CDCE\",\n\t\t\t\tlineWidth: \"80rpx\",\n\t\t\t\titemStyle: {\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t\tfontSize: \"28rpx\",\n\t\t\t\t\tfontWeight: \"700\",\n\t\t\t\t\twidth: \"325rpx\",\n\t\t\t\t\theight: \"88rpx\",\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\n\t\t},\n\t\tmethods: {\n\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\tpage {\n\t\tbackground-color: #FAFAFA;\n\t}\n\n\t.mainBox {\n\t\twidth: 686rpx;\n\t\tmargin: 0 auto;\n\t}\n\n\t.minBox {\n\t\twidth: 686rpx;\n\t\tmargin: 0 auto;\n\t}\n\n\t.sellerBox {\n\t\tpadding: 16rpx 57rpx 16rpx 49rpx;\n\t\tmargin-top: 30rpx;\n\t\twidth: 586rpx;\n\t\t// height: 232rpx;\n\t\tborder-radius: 16rpx;\n\t\tbackground: #fff;\n\t}\n\n\t.leftBox {\n\t\timg {\n\t\t\twidth: 240rpx;\n\t\t\theight: 180rpx;\n\t\t}\n\t}\n\n\t.rightBox {\n\t\tpadding-right: 16rpx;\n\n\t\t.nameBox {\n\t\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\t\tfont-size: 28rpx;\n\t\t\tfont-weight: 400;\n\t\t\tpadding-top: 20rpx;\n\t\t}\n\n\t\t.addressBox {\n\t\t\tpadding-top: 16rpx;\n\t\t\tcolor: rgba(0, 0, 0, 0.4);\n\t\t\tfont-size: 24rpx;\n\t\t\tfont-weight: 400;\n\t\t}\n\n\t\t.addressBox>img {\n\t\t\twidth: 32rpx;\n\t\t\theight: 32rpx;\n\t\t}\n\t}\n\n\t.emptyBox {\n\t\theight: 150rpx;\n\t}\n\n\t.timeBox {\n\t\tpadding-top: 24rpx;\n\t\tcolor: rgba(0, 0, 0, 0.26);\n\t\tfont-size: 22rpx;\n\t\tfont-weight: 400;\n\t}\n\n\t.detailsBox {\n\t\timg {\n\t\t\twidth: 750rpx;\n\t\t\theight: 421rpx;\n\t\t}\n\t}\n\n\t.titleBox {\n\t\tcolor: rgba(0, 0, 0, 0.9);\n\t\tfont-size: 32rpx;\n\t\tfont-weight: 500;\n\t}\n\n\t.timeBoxone {\n\t\tcolor: rgba(0, 0, 0, 0.4);\n\t\tfont-size: 24rpx;\n\t\tfont-weight: 400;\n\t}\n\n\t.richText {\n\t\tcolor: rgba(0, 0, 0, 0.6);\n\t\tfont-size: 28rpx;\n\t\tfont-weight: 400;\n\t}\n</style>\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029098014\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/index.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?4dd3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?bd8b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?fdfa"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?10df"
,
"uni-app:///pages/mine/index.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?8ca5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?48f1"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,4F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6D5oB;AACA,MADA,kBACA;AACA;AACA;AACA;AACA,mCADA;AAEA,yBAFA;AAGA,uBAHA,EAFA;;AAOA,wEAPA;;AASA,GAXA;AAYA,QAZA,oBAYA,EAZA;AAaA,QAbA,oBAaA;AACA;AACA,GAfA;AAgBA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,eANA,yBAMA;AACA;AACA,KARA;AASA;AACA,cAVA,wBAUA;AACA;AACA,KAZA;AAaA;AACA,WAdA,qBAcA;AACA;AACA,KAhBA,EAhBA,E;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/index.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/index.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=4bd6864f&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/index.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=4bd6864f&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 上半部分 -->\r\n <view class=\"topBg\">\r\n <u-navbar\r\n title=\"我的\"\r\n :autoBack=\"true\"\r\n bgColor=\"transparent\"\r\n :safeAreaInsetTop=\"true\"\r\n :placeholder=\"true\"\r\n leftIconColor=\"transparent\"\r\n :titleStyle=\"titleStyle\"\r\n >\r\n </u-navbar>\r\n <!-- 未登录 -->\r\n <view class=\"myInfo flexA\" v-if=\"!userInfo.id\" @click=\"goLogin\">\r\n <view>\r\n <image src=\"/static/ic_35@2x.png\" />\r\n </view>\r\n <view>未登录</view>\r\n </view>\r\n <!-- 已登录 -->\r\n <view class=\"myInfo flexA\" v-else>\r\n <view>\r\n <image :src=\"userInfo.avatar\" />\r\n </view>\r\n <view>{{ userInfo.userName }}</view>\r\n </view>\r\n </view>\r\n\r\n <!-- 下半部分 -->\r\n <view class=\"bottom\">\r\n <view class=\"box flexJ\" @click=\"goMyWallet\">\r\n <view class=\"left flexA\">\r\n <image src=\"/static/ic_32@2x.png\" />\r\n <view>我的钱包</view>\r\n </view>\r\n <image src=\"/static/ic-arrow-more@2x.png\" />\r\n </view>\r\n\r\n <view class=\"box flexJ\" @click=\"goMyRelease\">\r\n <view class=\"left flexA\">\r\n <image src=\"/static/ic_33@2x.png\" />\r\n <view>我的发布</view>\r\n </view>\r\n <image src=\"/static/ic-arrow-more@2x.png\" />\r\n </view>\r\n\r\n <view class=\"box flexJ\" @click=\"goMyExpect\">\r\n <view class=\"left flexA\">\r\n <image src=\"/static/ic_34@2x.png\" />\r\n <view>我的想看</view>\r\n </view>\r\n <image src=\"/static/ic-arrow-more@2x.png\" />\r\n </view>\r\n </view>\r\n <Tabbar :idx=\"2\"></Tabbar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n // 顶部导航栏样式\r\n titleStyle: {\r\n color: \"rgba(0, 0, 0, 0.9)\",\r\n fontSize: \"32rpx\",\r\n fontWeight: 700\r\n },\r\n userInfo: { id: 1, userName: \"大吉\", avatar: \"/static/headImg.png\" },\r\n };\r\n },\r\n onLoad() {},\r\n onShow() {\r\n uni.hideTabBar()\r\n },\r\n methods: {\r\n // 跳转我的钱包\r\n goMyWallet() {\r\n uni.navigateTo({ url: \"/pages/mine/wallet\" })\r\n },\r\n // 跳转我的发布\r\n goMyRelease() {\r\n uni.navigateTo({ url: \"/pages/mine/myRelease\" })\r\n },\r\n // 跳转我的想看\r\n goMyExpect() {\r\n uni.navigateTo({ url: \"/pages/mine/myExpect\" })\r\n },\r\n // 跳转登录\r\n goLogin() {\r\n uni.navigateTo({ url: \"/pages/login/login\" })\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.topBg {\r\n width: 100vw;\r\n height: 33vh;\r\n background: linear-gradient(\r\n 116.9deg,\r\n rgb(232, 250, 250) 0%,\r\n rgba(221, 243, 255, 1) 100%\r\n );\r\n > .myInfo {\r\n margin-top: 40rpx;\r\n view:nth-child(1) {\r\n width: 128rpx;\r\n height: 128rpx;\r\n margin-right: 32rpx;\r\n margin-left: 48rpx;\r\n image {\r\n width: 100%;\r\n height: 100%;\r\n border-radius: 50%;\r\n }\r\n }\r\n view:nth-child(2) {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 32rpx;\r\n font-weight: 700;\r\n }\r\n }\r\n}\r\n.bottom {\r\n width: 100vw;\r\n height: 67vh;\r\n background: #fff;\r\n border-radius: 46rpx;\r\n margin-top: -40rpx;\r\n > .box {\r\n box-sizing: border-box;\r\n padding: 44rpx 32rpx 28rpx 36rpx;\r\n image {\r\n width: 16rpx;\r\n height: 32rpx;\r\n }\r\n > .left {\r\n view {\r\n margin-left: 20rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n }\r\n image {\r\n width: 48rpx;\r\n height: 48rpx;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658804\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?4dd3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?bd8b"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?fdfa"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?10df"
,
"uni-app:///pages/mine/index.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?8ca5"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/index.vue?48f1"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,4F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAwnB,CAAgB,6oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6D5oB;AACA,MADA,kBACA;AACA;AACA;AACA;AACA,mCADA;AAEA,yBAFA;AAGA,uBAHA,EAFA;;AAOA,wEAPA;;AASA,GAXA;AAYA,QAZA,oBAYA,EAZA;AAaA,QAbA,oBAaA;AACA;AACA,GAfA;AAgBA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,eANA,yBAMA;AACA;AACA,KARA;AASA;AACA,cAVA,wBAUA;AACA;AACA,KAZA;AAaA;AACA,WAdA,qBAcA;AACA;AACA,KAhBA,EAhBA,E;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAAurC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACA3sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/index.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/index.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=4bd6864f&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/index.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=4bd6864f&\""
,
"var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 上半部分 -->\r\n <view class=\"topBg\">\r\n <u-navbar\r\n title=\"我的\"\r\n :autoBack=\"true\"\r\n bgColor=\"transparent\"\r\n :safeAreaInsetTop=\"true\"\r\n :placeholder=\"true\"\r\n leftIconColor=\"transparent\"\r\n :titleStyle=\"titleStyle\"\r\n >\r\n </u-navbar>\r\n <!-- 未登录 -->\r\n <view class=\"myInfo flexA\" v-if=\"!userInfo.id\" @click=\"goLogin\">\r\n <view>\r\n <image src=\"/static/ic_35@2x.png\" />\r\n </view>\r\n <view>未登录</view>\r\n </view>\r\n <!-- 已登录 -->\r\n <view class=\"myInfo flexA\" v-else>\r\n <view>\r\n <image :src=\"userInfo.avatar\" />\r\n </view>\r\n <view>{{ userInfo.userName }}</view>\r\n </view>\r\n </view>\r\n\r\n <!-- 下半部分 -->\r\n <view class=\"bottom\">\r\n <view class=\"box flexJ\" @click=\"goMyWallet\">\r\n <view class=\"left flexA\">\r\n <image src=\"/static/ic_32@2x.png\" />\r\n <view>我的钱包</view>\r\n </view>\r\n <image src=\"/static/ic-arrow-more@2x.png\" />\r\n </view>\r\n\r\n <view class=\"box flexJ\" @click=\"goMyRelease\">\r\n <view class=\"left flexA\">\r\n <image src=\"/static/ic_33@2x.png\" />\r\n <view>我的发布</view>\r\n </view>\r\n <image src=\"/static/ic-arrow-more@2x.png\" />\r\n </view>\r\n\r\n <view class=\"box flexJ\" @click=\"goMyExpect\">\r\n <view class=\"left flexA\">\r\n <image src=\"/static/ic_34@2x.png\" />\r\n <view>我的想看</view>\r\n </view>\r\n <image src=\"/static/ic-arrow-more@2x.png\" />\r\n </view>\r\n </view>\r\n <Tabbar :idx=\"2\"></Tabbar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n // 顶部导航栏样式\r\n titleStyle: {\r\n color: \"rgba(0, 0, 0, 0.9)\",\r\n fontSize: \"32rpx\",\r\n fontWeight: 700\r\n },\r\n userInfo: { id: 1, userName: \"大吉\", avatar: \"/static/headImg.png\" },\r\n };\r\n },\r\n onLoad() {},\r\n onShow() {\r\n uni.hideTabBar()\r\n },\r\n methods: {\r\n // 跳转我的钱包\r\n goMyWallet() {\r\n uni.navigateTo({ url: \"/pages/mine/wallet\" })\r\n },\r\n // 跳转我的发布\r\n goMyRelease() {\r\n uni.navigateTo({ url: \"/pages/mine/myRelease\" })\r\n },\r\n // 跳转我的想看\r\n goMyExpect() {\r\n uni.navigateTo({ url: \"/pages/mine/myExpect\" })\r\n },\r\n // 跳转登录\r\n goLogin() {\r\n uni.navigateTo({ url: \"/pages/login/login\" })\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.topBg {\r\n width: 100vw;\r\n height: 33vh;\r\n background: linear-gradient(\r\n 116.9deg,\r\n rgb(232, 250, 250) 0%,\r\n rgba(221, 243, 255, 1) 100%\r\n );\r\n > .myInfo {\r\n margin-top: 40rpx;\r\n view:nth-child(1) {\r\n width: 128rpx;\r\n height: 128rpx;\r\n margin-right: 32rpx;\r\n margin-left: 48rpx;\r\n image {\r\n width: 100%;\r\n height: 100%;\r\n border-radius: 50%;\r\n }\r\n }\r\n view:nth-child(2) {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 32rpx;\r\n font-weight: 700;\r\n }\r\n }\r\n}\r\n.bottom {\r\n width: 100vw;\r\n height: 67vh;\r\n background: #fff;\r\n border-radius: 46rpx;\r\n margin-top: -40rpx;\r\n > .box {\r\n box-sizing: border-box;\r\n padding: 44rpx 32rpx 28rpx 36rpx;\r\n image {\r\n width: 16rpx;\r\n height: 32rpx;\r\n }\r\n > .left {\r\n view {\r\n margin-left: 20rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n }\r\n image {\r\n width: 48rpx;\r\n height: 48rpx;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029098267\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mineInfo.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?81e7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?8099"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?3b21"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?4e49"
,
"uni-app:///pages/mine/mineInfo.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?4059"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?c46f"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,kG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,EAAE,IAAI,EAAE;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsD/oB,S;AACA;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,mBAFA;AAGA,+BAHA;AAIA;AACA,qCADA;AAEA,sBAFA;AAGA,6BAHA,EAJA;;;AAUA,GAZA;AAaA,QAbA,oBAaA;AACA;AACA,GAfA;AAgBA;AACA,cADA,wBACA;AACA;AACA,KAHA;AAIA;AACA,gBALA,0BAKA;AACA;AACA,gBADA,EACA;AACA,4CAFA,EAEA;AACA,wCAHA,EAGA;AACA;AACA;AACA;AACA,SAPA;;AASA,KAfA;AAgBA;AACA,QAjBA,kBAiBA;AACA;AACA,qBADA;AAEA,sBAFA;;AAIA,KAtBA,EAhBA,E;;;;;;;;;;;;;ACvDA;AAAA;AAAA;AAAA;AAA0rC,CAAgB,upCAAG,EAAC,C;;;;;;;;;;;ACA9sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/mineInfo.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/mineInfo.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./mineInfo.vue?vue&type=template&id=26236bb4&\"\nvar renderjs\nimport script from \"./mineInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./mineInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./mineInfo.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/mineInfo.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=template&id=26236bb4&\""
,
"var components\ntry {\n components = {\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-input/u-input\" */ \"uview-ui/components/u-input/u-input.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.userInfoList.mobile.replace(/^(\\d{3})\\d{4}(\\d+)/, \"$1****$2\")\n\n if (!_vm._isMounted) {\n _vm.e0 = function() {\n return (this$1.show = true)\n }\n\n _vm.e1 = function() {\n return (this$1.userInfoList.userName = \"\")\n }\n\n _vm.e2 = function() {\n return (this$1.show = false)\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <view class=\"userInfoBox\">\r\n <view class=\"avatarBox flexJ\">\r\n <view>头像</view>\r\n <image :src=\"userInfoList.avatar\" @click=\"chooseAvatar\" />\r\n </view>\r\n <view class=\"nickName flexJ\">\r\n <view>昵称</view>\r\n <view @click=\"() => (this.show = true)\">\r\n {{ userInfoList.userName }}\r\n </view>\r\n </view>\r\n <view class=\"mobile flexJ\">\r\n <view>手机号</view>\r\n <view class=\"flexA\">\r\n <view>{{\r\n userInfoList.mobile.replace(/^(\\d{3})\\d{4}(\\d+)/, \"$1****$2\")\r\n }}</view>\r\n <view class=\"change\">修改</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"botBtn flexC\" @click=\"save\">保存</view>\r\n\r\n <!-- 修改昵称模态框 -->\r\n <u-modal\r\n :show=\"show\"\r\n :showConfirmButton=\"false\"\r\n :title=\"title\"\r\n @close=\"closeModal\"\r\n :closeOnClickOverlay=\"closeOnClickOverlay\"\r\n >\r\n <view class=\"slot-content\">\r\n <view class=\"slot-content1\">\r\n <u-input v-model=\"userInfoList.userName\" placeholder=\"请输入新昵称\">\r\n <template slot=\"suffix\">\r\n <u-icon\r\n @click=\"() => (this.userInfoList.userName = '')\"\r\n name=\"close\"\r\n ></u-icon>\r\n </template>\r\n </u-input>\r\n </view>\r\n <view class=\"modalBtn flexJ\">\r\n <view class=\"flexC aaa\" @click=\"() => (this.show = false)\">取消</view>\r\n <view class=\"flexC\">确认</view>\r\n </view>\r\n </view>\r\n </u-modal>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nvar that;\r\nexport default {\r\n data() {\r\n return {\r\n show: false,\r\n title: \"修改昵称\",\r\n closeOnClickOverlay: true,\r\n userInfoList: {\r\n avatar: \"/static/headImg.png\",\r\n userName: \"张三\",\r\n mobile: \"15600000180\",\r\n },\r\n };\r\n },\r\n onLoad() {\r\n that = this;\r\n },\r\n methods: {\r\n closeModal() {\r\n this.show = false;\r\n },\r\n // 获取头像\r\n chooseAvatar() {\r\n uni.chooseImage({\r\n count: 1, //默认9\r\n sizeType: [\"original\", \"compressed\"], //可以指定是原图还是压缩图,默认二者都有\r\n sourceType: [\"album\", \"camera \"], //从相册选择\r\n success: function (res) {\r\n // console.log(JSON.stringify(res.tempFilePaths));\r\n that.userInfoList.avatar = res.tempFilePaths;\r\n },\r\n });\r\n },\r\n // 保存\r\n save() {\r\n uni.showToast({\r\n title: \"保存成功\",\r\n duration: 1000,\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #f5f6fa;\r\n}\r\n.userInfoBox {\r\n background: #fff;\r\n > .avatarBox {\r\n padding: 16rpx 32rpx;\r\n box-sizing: border-box;\r\n image {\r\n width: 72rpx;\r\n height: 72rpx;\r\n border-radius: 50%;\r\n }\r\n }\r\n > .nickName,\r\n .mobile {\r\n padding: 32rpx;\r\n box-sizing: border-box;\r\n border-top: 2rpx solid #ededed;\r\n }\r\n}\r\n.change {\r\n color: rgba(33, 83, 212, 1);\r\n font-size: 28rpx;\r\n margin-left: 16rpx;\r\n}\r\n.botBtn {\r\n width: 686rpx;\r\n height: 88rpx;\r\n border-radius: 28rpx;\r\n background: rgba(98, 205, 206, 1);\r\n margin: 0 auto;\r\n margin-top: 64rpx;\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 32rpx;\r\n font-weight: 700;\r\n}\r\n.slot-content1 {\r\n margin-top: 48rpx;\r\n}\r\n.modalBtn {\r\n margin-top: 68rpx;\r\n > .aaa {\r\n margin-right: 20rpx;\r\n }\r\n view {\r\n width: 264rpx;\r\n height: 76rpx;\r\n border-radius: 84rpx;\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n background: rgba(245, 246, 250, 1);\r\n }\r\n view:nth-child(2) {\r\n color: rgba(255, 255, 255, 1);\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658819\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?81e7"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?8099"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?3b21"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?4e49"
,
"uni-app:///pages/mine/mineInfo.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?4059"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?c46f"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,kG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,EAAE,IAAI,EAAE;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsD/oB,S;AACA;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,mBAFA;AAGA,+BAHA;AAIA;AACA,qCADA;AAEA,sBAFA;AAGA,6BAHA,EAJA;;;AAUA,GAZA;AAaA,QAbA,oBAaA;AACA;AACA,GAfA;AAgBA;AACA,cADA,wBACA;AACA;AACA,KAHA;AAIA;AACA,gBALA,0BAKA;AACA;AACA,gBADA,EACA;AACA,4CAFA,EAEA;AACA,wCAHA,EAGA;AACA;AACA;AACA;AACA,SAPA;;AASA,KAfA;AAgBA;AACA,QAjBA,kBAiBA;AACA;AACA,qBADA;AAEA,sBAFA;;AAIA,KAtBA,EAhBA,E;;;;;;;;;;;;;ACvDA;AAAA;AAAA;AAAA;AAA0rC,CAAgB,upCAAG,EAAC,C;;;;;;;;;;;ACA9sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/mineInfo.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/mineInfo.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./mineInfo.vue?vue&type=template&id=26236bb4&\"\nvar renderjs\nimport script from \"./mineInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./mineInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./mineInfo.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/mineInfo.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=template&id=26236bb4&\""
,
"var components\ntry {\n components = {\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-input/u-input\" */ \"uview-ui/components/u-input/u-input.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.userInfoList.mobile.replace(/^(\\d{3})\\d{4}(\\d+)/, \"$1****$2\")\n\n if (!_vm._isMounted) {\n _vm.e0 = function() {\n return (this$1.show = true)\n }\n\n _vm.e1 = function() {\n return (this$1.userInfoList.userName = \"\")\n }\n\n _vm.e2 = function() {\n return (this$1.show = false)\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <view class=\"userInfoBox\">\r\n <view class=\"avatarBox flexJ\">\r\n <view>头像</view>\r\n <image :src=\"userInfoList.avatar\" @click=\"chooseAvatar\" />\r\n </view>\r\n <view class=\"nickName flexJ\">\r\n <view>昵称</view>\r\n <view @click=\"() => (this.show = true)\">\r\n {{ userInfoList.userName }}\r\n </view>\r\n </view>\r\n <view class=\"mobile flexJ\">\r\n <view>手机号</view>\r\n <view class=\"flexA\">\r\n <view>{{\r\n userInfoList.mobile.replace(/^(\\d{3})\\d{4}(\\d+)/, \"$1****$2\")\r\n }}</view>\r\n <view class=\"change\">修改</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"botBtn flexC\" @click=\"save\">保存</view>\r\n\r\n <!-- 修改昵称模态框 -->\r\n <u-modal\r\n :show=\"show\"\r\n :showConfirmButton=\"false\"\r\n :title=\"title\"\r\n @close=\"closeModal\"\r\n :closeOnClickOverlay=\"closeOnClickOverlay\"\r\n >\r\n <view class=\"slot-content\">\r\n <view class=\"slot-content1\">\r\n <u-input v-model=\"userInfoList.userName\" placeholder=\"请输入新昵称\">\r\n <template slot=\"suffix\">\r\n <u-icon\r\n @click=\"() => (this.userInfoList.userName = '')\"\r\n name=\"close\"\r\n ></u-icon>\r\n </template>\r\n </u-input>\r\n </view>\r\n <view class=\"modalBtn flexJ\">\r\n <view class=\"flexC aaa\" @click=\"() => (this.show = false)\">取消</view>\r\n <view class=\"flexC\">确认</view>\r\n </view>\r\n </view>\r\n </u-modal>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nvar that;\r\nexport default {\r\n data() {\r\n return {\r\n show: false,\r\n title: \"修改昵称\",\r\n closeOnClickOverlay: true,\r\n userInfoList: {\r\n avatar: \"/static/headImg.png\",\r\n userName: \"张三\",\r\n mobile: \"15600000180\",\r\n },\r\n };\r\n },\r\n onLoad() {\r\n that = this;\r\n },\r\n methods: {\r\n closeModal() {\r\n this.show = false;\r\n },\r\n // 获取头像\r\n chooseAvatar() {\r\n uni.chooseImage({\r\n count: 1, //默认9\r\n sizeType: [\"original\", \"compressed\"], //可以指定是原图还是压缩图,默认二者都有\r\n sourceType: [\"album\", \"camera \"], //从相册选择\r\n success: function (res) {\r\n // console.log(JSON.stringify(res.tempFilePaths));\r\n that.userInfoList.avatar = res.tempFilePaths;\r\n },\r\n });\r\n },\r\n // 保存\r\n save() {\r\n uni.showToast({\r\n title: \"保存成功\",\r\n duration: 1000,\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #f5f6fa;\r\n}\r\n.userInfoBox {\r\n background: #fff;\r\n > .avatarBox {\r\n padding: 16rpx 32rpx;\r\n box-sizing: border-box;\r\n image {\r\n width: 72rpx;\r\n height: 72rpx;\r\n border-radius: 50%;\r\n }\r\n }\r\n > .nickName,\r\n .mobile {\r\n padding: 32rpx;\r\n box-sizing: border-box;\r\n border-top: 2rpx solid #ededed;\r\n }\r\n}\r\n.change {\r\n color: rgba(33, 83, 212, 1);\r\n font-size: 28rpx;\r\n margin-left: 16rpx;\r\n}\r\n.botBtn {\r\n width: 686rpx;\r\n height: 88rpx;\r\n border-radius: 28rpx;\r\n background: rgba(98, 205, 206, 1);\r\n margin: 0 auto;\r\n margin-top: 64rpx;\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 32rpx;\r\n font-weight: 700;\r\n}\r\n.slot-content1 {\r\n margin-top: 48rpx;\r\n}\r\n.modalBtn {\r\n margin-top: 68rpx;\r\n > .aaa {\r\n margin-right: 20rpx;\r\n }\r\n view {\r\n width: 264rpx;\r\n height: 76rpx;\r\n border-radius: 84rpx;\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n background: rgba(245, 246, 250, 1);\r\n }\r\n view:nth-child(2) {\r\n color: rgba(255, 255, 255, 1);\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029098585\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/myExpect.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?9032"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?5869"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?33d3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?96ab"
,
"uni-app:///pages/mine/myExpect.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?c5e8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?64ef"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,kG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP,KAAK;AACL;AACA,aAAa,mWAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsH/oB;AACA,MADA,kBACA;AACA;AACA;AACA,YAFA;AAGA;AACA;AACA,iCADA;AAEA,yBAFA;AAGA,yBAHA,EAJA;;AASA;AACA;AACA,gCADA;AAEA,yBAFA,EAVA;;AAcA;AACA;AACA,wBADA;AAEA,wBAFA;AAGA,wBAHA,CAfA;;AAoBA;AACA;AACA;AACA,kBADA;AAEA;AACA,4BADA;AAEA,6BAFA;AAGA,oCAHA;AAIA,+BAJA,EAFA,EADA,CArBA;;;;AAgCA;AACA;AACA,kBADA;AAEA;AACA,yBADA;AAEA,0BAFA;AAGA,oCAHA;AAIA,+BAJA,EAFA,EADA,CAhCA;;;;;AA4CA,GA9CA;AA+CA,QA/CA,oBA+CA,EA/CA;AAgDA;AACA,cADA,sBACA,CADA,EACA;AACA;AACA;AACA,KAJA;AAKA;AACA,cANA,sBAMA,KANA,EAMA;AACA;AACA,KARA;AASA;AACA,yBAVA,mCAUA;AACA;AACA,KAZA,EAhDA,E;;;;;;;;;;;;;ACtHA;AAAA;AAAA;AAAA;AAA0rC,CAAgB,upCAAG,EAAC,C;;;;;;;;;;;ACA9sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/myExpect.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/myExpect.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./myExpect.vue?vue&type=template&id=481d6338&\"\nvar renderjs\nimport script from \"./myExpect.vue?vue&type=script&lang=js&\"\nexport * from \"./myExpect.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myExpect.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/myExpect.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=template&id=481d6338&\""
,
"var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uSwipeAction: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swipe-action/u-swipe-action\" */ \"uview-ui/components/u-swipe-action/u-swipe-action.vue\"\n )\n },\n uSwipeActionItem: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item\" */ \"uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 顶部 tags -->\r\n <view style=\"margin-bottom: 24rpx\">\r\n <u-sticky bgColor=\"#fff\">\r\n <u-tabs\r\n :list=\"list1\"\r\n :lineWidth=\"40\"\r\n :activeStyle=\"activeStyle\"\r\n :inactiveStyle=\"inactiveStyle\"\r\n lineColor=\"#62CDCE\"\r\n :scrollable=\"false\"\r\n @change=\"switchTabs\"\r\n :current=\"cur\"\r\n />\r\n </u-sticky>\r\n </view>\r\n <!-- 内容 -->\r\n <view class=\"mainBox\">\r\n <!-- 卖家信息列表 -->\r\n <template v-if=\"cur === 0\">\r\n <u-swipe-action>\r\n <view\r\n style=\"margin-bottom: 24rpx\"\r\n v-for=\"(item, index) in 4\"\r\n :key=\"index\"\r\n >\r\n <u-swipe-action-item @click=\"deleteItem(index)\" :options=\"options1\">\r\n <view\r\n class=\"swipe-action u-border-top u-border-bottom\"\r\n @click=\"goSellerMessageDetail\"\r\n >\r\n <view class=\"swipe-action__content flexA\">\r\n <image src=\"/static/ic_4@2x.png\" />\r\n <view class=\"box\">\r\n <view class=\"name\">海南妃子笑荔枝5斤</view>\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>天津市南开区鑫茂科技园C1座</view>\r\n </view>\r\n <view class=\"flexJ avatar\">\r\n <view class=\"flexA nameText\">\r\n <image src=\"/static/ic_6@2x.png\" />\r\n <view>张小曼</view>\r\n </view>\r\n <view>2002-09-05</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </u-swipe-action-item>\r\n </view>\r\n </u-swipe-action>\r\n </template>\r\n\r\n <!-- 买家信息列表 -->\r\n <template v-if=\"cur === 1\">\r\n <u-swipe-action>\r\n <view style=\"margin-bottom: 24rpx\" v-for=\"item in 4\" :key=\"item\">\r\n <u-swipe-action-item :options=\"options2\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view\r\n class=\"swipe-action__content\"\r\n :class=\"cur === 0 ? 'flexJ' : ''\"\r\n >\r\n <view class=\"line\"></view>\r\n <view class=\"pad flexJ\">\r\n <view class=\"titleBox\">\r\n <view>作物-玉米</view>\r\n <view>2022-05-28 15:30</view>\r\n </view>\r\n <view class=\"avatarBox flexA\">\r\n <image src=\"/static/ic_6@2x.png\" />\r\n <view style=\"margin-left: 8rpx\">张小曼</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </u-swipe-action-item>\r\n </view>\r\n </u-swipe-action>\r\n </template>\r\n\r\n <!-- 土地信息列表 -->\r\n <template v-if=\"cur === 2\">\r\n <u-swipe-action>\r\n <view style=\"margin-bottom: 24rpx\" v-for=\"item in 4\" :key=\"item\">\r\n <u-swipe-action-item :options=\"options1\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view class=\"swipe-action__content flexA\">\r\n <image src=\"/static/ic_29@2x.png\" />\r\n <view class=\"box\">\r\n <view class=\"name\"\r\n >土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113</view\r\n >\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>天津市南开区鑫茂科技园C1座</view>\r\n </view>\r\n <view class=\"flexJ avatar\">\r\n <view class=\"flexA nameText\">\r\n <image src=\"/static/ic_6@2x.png\" />\r\n <view>张小曼</view>\r\n </view>\r\n <view>2002-09-05</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </u-swipe-action-item>\r\n </view>\r\n </u-swipe-action>\r\n </template>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n // 选项卡当前项\r\n cur: 0,\r\n // tags 选中时候的样式\r\n activeStyle: {\r\n color: \"rgba(50,50,51,1)\",\r\n fontSize: \"28rpx\",\r\n fontWeight: \"700\",\r\n },\r\n // 非选中时的样式\r\n inactiveStyle: {\r\n color: \"rgba(0,0,0,0.4)\",\r\n fontSize: \"28rpx\",\r\n },\r\n // tabs 内容\r\n list1: [\r\n { name: \"卖家信息列表\" },\r\n { name: \"买家信息列表\" },\r\n { name: \"土地信息列表\" },\r\n ],\r\n // 滑块样式\r\n options1: [\r\n {\r\n text: \"删除\",\r\n style: {\r\n minWidth: \"186rpx\",\r\n minHeight: \"232rpx\",\r\n backgroundColor: \"#FC4338\",\r\n borderRadius: \"24rpx\",\r\n },\r\n },\r\n ],\r\n options2: [\r\n {\r\n text: \"删除\",\r\n style: {\r\n width: \"166rpx\",\r\n height: \"140rpx\",\r\n backgroundColor: \"#FC4338\",\r\n borderRadius: \"26rpx\",\r\n },\r\n },\r\n ],\r\n };\r\n },\r\n onLoad() {},\r\n methods: {\r\n switchTabs(e) {\r\n // console.log(e)\r\n this.cur = e.index;\r\n },\r\n // 删除每一项\r\n deleteItem(index) {\r\n console.log(index);\r\n },\r\n // 跳转卖家详情\r\n goSellerMessageDetail() {\r\n uni.navigateTo({ url: \"/pages/index/sellerMessageDetail\" });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #fafafa;\r\n}\r\n\r\n.mainBox {\r\n width: 686rpx;\r\n margin: 0 auto;\r\n}\r\n\r\n.swipe-action {\r\n &__content {\r\n padding: 25rpx 0;\r\n\r\n &__text {\r\n font-size: 15px;\r\n color: $u-main-color;\r\n padding-left: 30rpx;\r\n }\r\n }\r\n}\r\n.swipe-action__content {\r\n position: relative;\r\n image {\r\n width: 200rpx;\r\n height: 200rpx;\r\n }\r\n // 索引为 0 样式\r\n > .box {\r\n margin-left: 16rpx;\r\n > .name {\r\n margin-bottom: 16rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n max-width: 430rpx;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n -webkit-box-orient: vertical;\r\n }\r\n > .address {\r\n margin-bottom: 24rpx;\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 24rpx;\r\n width: 430rpx;\r\n }\r\n > .avatar {\r\n image {\r\n width: 40rpx;\r\n height: 40rpx;\r\n }\r\n view {\r\n color: rgba(0, 0, 0, 0.26);\r\n font-size: 22rpx;\r\n margin-left: 8rpx;\r\n }\r\n }\r\n }\r\n\r\n // 为 1\r\n > .line {\r\n position: absolute;\r\n left: 0;\r\n top: 30rpx;\r\n width: 6rpx;\r\n height: 40rpx;\r\n border-radius: undefine0rpxx undefine0rpxx undefine0rpxx undefine0rpxx;\r\n opacity: 1;\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n > .pad {\r\n padding: 0 24rpx;\r\n box-sizing: border-box;\r\n > .titleBox {\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 32rpx;\r\n font-weight: 500;\r\n margin-bottom: 24rpx;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n > .avatarBox {\r\n image {\r\n width: 48rpx;\r\n height: 48rpx;\r\n }\r\n view {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658834\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?9032"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?5869"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?33d3"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?96ab"
,
"uni-app:///pages/mine/myExpect.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?c5e8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myExpect.vue?64ef"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,kG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qUAEN;AACP,KAAK;AACL;AACA,aAAa,mWAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsH/oB;AACA,MADA,kBACA;AACA;AACA;AACA,YAFA;AAGA;AACA;AACA,iCADA;AAEA,yBAFA;AAGA,yBAHA,EAJA;;AASA;AACA;AACA,gCADA;AAEA,yBAFA,EAVA;;AAcA;AACA;AACA,wBADA;AAEA,wBAFA;AAGA,wBAHA,CAfA;;AAoBA;AACA;AACA;AACA,kBADA;AAEA;AACA,4BADA;AAEA,6BAFA;AAGA,oCAHA;AAIA,+BAJA,EAFA,EADA,CArBA;;;;AAgCA;AACA;AACA,kBADA;AAEA;AACA,yBADA;AAEA,0BAFA;AAGA,oCAHA;AAIA,+BAJA,EAFA,EADA,CAhCA;;;;;AA4CA,GA9CA;AA+CA,QA/CA,oBA+CA,EA/CA;AAgDA;AACA,cADA,sBACA,CADA,EACA;AACA;AACA;AACA,KAJA;AAKA;AACA,cANA,sBAMA,KANA,EAMA;AACA;AACA,KARA;AASA;AACA,yBAVA,mCAUA;AACA;AACA,KAZA,EAhDA,E;;;;;;;;;;;;;ACtHA;AAAA;AAAA;AAAA;AAA0rC,CAAgB,upCAAG,EAAC,C;;;;;;;;;;;ACA9sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/myExpect.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/myExpect.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./myExpect.vue?vue&type=template&id=481d6338&\"\nvar renderjs\nimport script from \"./myExpect.vue?vue&type=script&lang=js&\"\nexport * from \"./myExpect.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myExpect.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/myExpect.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=template&id=481d6338&\""
,
"var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uSwipeAction: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swipe-action/u-swipe-action\" */ \"uview-ui/components/u-swipe-action/u-swipe-action.vue\"\n )\n },\n uSwipeActionItem: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-swipe-action-item/u-swipe-action-item\" */ \"uview-ui/components/u-swipe-action-item/u-swipe-action-item.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 顶部 tags -->\r\n <view style=\"margin-bottom: 24rpx\">\r\n <u-sticky bgColor=\"#fff\">\r\n <u-tabs\r\n :list=\"list1\"\r\n :lineWidth=\"40\"\r\n :activeStyle=\"activeStyle\"\r\n :inactiveStyle=\"inactiveStyle\"\r\n lineColor=\"#62CDCE\"\r\n :scrollable=\"false\"\r\n @change=\"switchTabs\"\r\n :current=\"cur\"\r\n />\r\n </u-sticky>\r\n </view>\r\n <!-- 内容 -->\r\n <view class=\"mainBox\">\r\n <!-- 卖家信息列表 -->\r\n <template v-if=\"cur === 0\">\r\n <u-swipe-action>\r\n <view\r\n style=\"margin-bottom: 24rpx\"\r\n v-for=\"(item, index) in 4\"\r\n :key=\"index\"\r\n >\r\n <u-swipe-action-item @click=\"deleteItem(index)\" :options=\"options1\">\r\n <view\r\n class=\"swipe-action u-border-top u-border-bottom\"\r\n @click=\"goSellerMessageDetail\"\r\n >\r\n <view class=\"swipe-action__content flexA\">\r\n <image src=\"/static/ic_4@2x.png\" />\r\n <view class=\"box\">\r\n <view class=\"name\">海南妃子笑荔枝5斤</view>\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>天津市南开区鑫茂科技园C1座</view>\r\n </view>\r\n <view class=\"flexJ avatar\">\r\n <view class=\"flexA nameText\">\r\n <image src=\"/static/ic_6@2x.png\" />\r\n <view>张小曼</view>\r\n </view>\r\n <view>2002-09-05</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </u-swipe-action-item>\r\n </view>\r\n </u-swipe-action>\r\n </template>\r\n\r\n <!-- 买家信息列表 -->\r\n <template v-if=\"cur === 1\">\r\n <u-swipe-action>\r\n <view style=\"margin-bottom: 24rpx\" v-for=\"item in 4\" :key=\"item\">\r\n <u-swipe-action-item :options=\"options2\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view\r\n class=\"swipe-action__content\"\r\n :class=\"cur === 0 ? 'flexJ' : ''\"\r\n >\r\n <view class=\"line\"></view>\r\n <view class=\"pad flexJ\">\r\n <view class=\"titleBox\">\r\n <view>作物-玉米</view>\r\n <view>2022-05-28 15:30</view>\r\n </view>\r\n <view class=\"avatarBox flexA\">\r\n <image src=\"/static/ic_6@2x.png\" />\r\n <view style=\"margin-left: 8rpx\">张小曼</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </u-swipe-action-item>\r\n </view>\r\n </u-swipe-action>\r\n </template>\r\n\r\n <!-- 土地信息列表 -->\r\n <template v-if=\"cur === 2\">\r\n <u-swipe-action>\r\n <view style=\"margin-bottom: 24rpx\" v-for=\"item in 4\" :key=\"item\">\r\n <u-swipe-action-item :options=\"options1\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view class=\"swipe-action__content flexA\">\r\n <image src=\"/static/ic_29@2x.png\" />\r\n <view class=\"box\">\r\n <view class=\"name\"\r\n >土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113</view\r\n >\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>天津市南开区鑫茂科技园C1座</view>\r\n </view>\r\n <view class=\"flexJ avatar\">\r\n <view class=\"flexA nameText\">\r\n <image src=\"/static/ic_6@2x.png\" />\r\n <view>张小曼</view>\r\n </view>\r\n <view>2002-09-05</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </u-swipe-action-item>\r\n </view>\r\n </u-swipe-action>\r\n </template>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n // 选项卡当前项\r\n cur: 0,\r\n // tags 选中时候的样式\r\n activeStyle: {\r\n color: \"rgba(50,50,51,1)\",\r\n fontSize: \"28rpx\",\r\n fontWeight: \"700\",\r\n },\r\n // 非选中时的样式\r\n inactiveStyle: {\r\n color: \"rgba(0,0,0,0.4)\",\r\n fontSize: \"28rpx\",\r\n },\r\n // tabs 内容\r\n list1: [\r\n { name: \"卖家信息列表\" },\r\n { name: \"买家信息列表\" },\r\n { name: \"土地信息列表\" },\r\n ],\r\n // 滑块样式\r\n options1: [\r\n {\r\n text: \"删除\",\r\n style: {\r\n minWidth: \"186rpx\",\r\n minHeight: \"232rpx\",\r\n backgroundColor: \"#FC4338\",\r\n borderRadius: \"24rpx\",\r\n },\r\n },\r\n ],\r\n options2: [\r\n {\r\n text: \"删除\",\r\n style: {\r\n width: \"166rpx\",\r\n height: \"140rpx\",\r\n backgroundColor: \"#FC4338\",\r\n borderRadius: \"26rpx\",\r\n },\r\n },\r\n ],\r\n };\r\n },\r\n onLoad() {},\r\n methods: {\r\n switchTabs(e) {\r\n // console.log(e)\r\n this.cur = e.index;\r\n },\r\n // 删除每一项\r\n deleteItem(index) {\r\n console.log(index);\r\n },\r\n // 跳转卖家详情\r\n goSellerMessageDetail() {\r\n uni.navigateTo({ url: \"/pages/index/sellerMessageDetail\" });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #fafafa;\r\n}\r\n\r\n.mainBox {\r\n width: 686rpx;\r\n margin: 0 auto;\r\n}\r\n\r\n.swipe-action {\r\n &__content {\r\n padding: 25rpx 0;\r\n\r\n &__text {\r\n font-size: 15px;\r\n color: $u-main-color;\r\n padding-left: 30rpx;\r\n }\r\n }\r\n}\r\n.swipe-action__content {\r\n position: relative;\r\n image {\r\n width: 200rpx;\r\n height: 200rpx;\r\n }\r\n // 索引为 0 样式\r\n > .box {\r\n margin-left: 16rpx;\r\n > .name {\r\n margin-bottom: 16rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n max-width: 430rpx;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n -webkit-box-orient: vertical;\r\n }\r\n > .address {\r\n margin-bottom: 24rpx;\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 24rpx;\r\n width: 430rpx;\r\n }\r\n > .avatar {\r\n image {\r\n width: 40rpx;\r\n height: 40rpx;\r\n }\r\n view {\r\n color: rgba(0, 0, 0, 0.26);\r\n font-size: 22rpx;\r\n margin-left: 8rpx;\r\n }\r\n }\r\n }\r\n\r\n // 为 1\r\n > .line {\r\n position: absolute;\r\n left: 0;\r\n top: 30rpx;\r\n width: 6rpx;\r\n height: 40rpx;\r\n border-radius: undefine0rpxx undefine0rpxx undefine0rpxx undefine0rpxx;\r\n opacity: 1;\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n > .pad {\r\n padding: 0 24rpx;\r\n box-sizing: border-box;\r\n > .titleBox {\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 32rpx;\r\n font-weight: 500;\r\n margin-bottom: 24rpx;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n > .avatarBox {\r\n image {\r\n width: 48rpx;\r\n height: 48rpx;\r\n }\r\n view {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myExpect.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029099931\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/myRelease.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?1260"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?560d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?8996"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?ed2c"
,
"uni-app:///pages/mine/myRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?7e64"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?1a1a"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,oG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmIhpB;AACA,MADA,kBACA;AACA;AACA;AACA,aAFA;AAGA,YAHA;AAIA;AACA;AACA,iCADA;AAEA,yBAFA;AAGA,yBAHA,EALA;;AAUA;AACA;AACA,gCADA;AAEA,yBAFA,EAXA;;AAeA;AACA;AACA,oBADA,EADA;;AAIA;AACA,oBADA,EAJA;;AAOA;AACA,oBADA,EAPA,CAfA;;;AA0BA;AACA;AACA;AACA,aADA;AAEA;AACA,6CAHA;AAIA,iBAJA;AAKA,iCALA;AAMA,0BANA;AAOA,sCAPA,EADA;;AAUA;AACA,aADA;AAEA;AACA,6CAHA;AAIA,iBAJA;AAKA,iCALA;AAMA,0BANA;AAOA,sCAPA;AAQA;AACA,yCATA,EAVA;;AAqBA;AACA,aADA;AAEA;AACA,6CAHA;AAIA,iBAJA;AAKA,iCALA;AAMA,0BANA;AAOA,sCAPA,EArBA,CA3BA;;;;AA2DA,GA7DA;AA8DA,QA9DA,oBA8DA,EA9DA;AA+DA;AACA,cADA,sBACA,CADA,EACA;AACA;AACA;AACA,KAJA;AAKA,UALA,oBAKA;AACA;AACA,KAPA;AAQA;AACA,eATA,yBASA;AACA;AACA;AACA,KAZA,EA/DA,E;;;;;;;;;;;;;ACnIA;AAAA;AAAA;AAAA;AAA2rC,CAAgB,wpCAAG,EAAC,C;;;;;;;;;;;ACA/sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/myRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/myRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./myRelease.vue?vue&type=template&id=700bff38&\"\nvar renderjs\nimport script from \"./myRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./myRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/myRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=template&id=700bff38&\""
,
"var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 顶部 tags -->\r\n <view>\r\n <u-sticky bgColor=\"#fff\">\r\n <u-tabs\r\n :list=\"list1\"\r\n :lineWidth=\"40\"\r\n :activeStyle=\"activeStyle\"\r\n :inactiveStyle=\"inactiveStyle\"\r\n lineColor=\"#62CDCE\"\r\n :scrollable=\"false\"\r\n @change=\"switchTabs\"\r\n ></u-tabs>\r\n </u-sticky>\r\n </view>\r\n <!-- 内容 -->\r\n <view class=\"mainBox\">\r\n <!-- 我是卖家 -->\r\n <template v-if=\"cur === 0\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view\r\n class=\"swipe-action__content flexA\"\r\n v-for=\"item in 4\"\r\n :key=\"item\"\r\n >\r\n <view class=\"cardBox flexA\" :class=\"cur === 0 ? 'padding' : ''\">\r\n <image src=\"/static/ic_4@2x.png\" />\r\n <view class=\"box\">\r\n <view class=\"bbb\">\r\n <view class=\"name\">上海青小油菜种子苏州青菜</view>\r\n </view>\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>天津市南开区鑫茂科技园C1座</view>\r\n </view>\r\n <view class=\"avatar\">\r\n <view>2002-09-05</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </template>\r\n\r\n <!-- 我是买家 -->\r\n <template v-if=\"cur === 1\">\r\n <view style=\"margin-bottom: 24rpx\" v-for=\"item in 4\" :key=\"item\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view\r\n class=\"swipe-action__content\"\r\n :class=\"cur === 0 ? 'flexJ' : ''\"\r\n >\r\n <view class=\"aaa\">\r\n <view class=\"line\"></view>\r\n <view class=\"pad flexJ\">\r\n <view class=\"titleBox\">\r\n <view>作物-玉米</view>\r\n <view>2022-05-28 15:30</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </template>\r\n\r\n <!-- 土地信息 -->\r\n <template v-if=\"cur === 2\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\" @click=\"goAuditPage\">\r\n <view\r\n class=\"swipe-action__content\"\r\n v-for=\"item in landList\"\r\n :key=\"item.id\"\r\n >\r\n <view class=\"cardBox flexA\" :class=\"cur === 2 ? 'padding1' : ''\">\r\n <image\r\n :style=\"{ width: cur === 2 ? '200rpx' : '' }\"\r\n :src=\"item.imgUrl\"\r\n />\r\n <view class=\"box\">\r\n <view class=\"bbb\">\r\n <view class=\"name\" :class=\"cur === 2 ? 'name1' : ''\">\r\n {{ item.title }}\r\n </view>\r\n <view\r\n class=\"audit\"\r\n :style=\"{\r\n color:\r\n item.status === 1\r\n ? '#FF7832'\r\n : item.status === 2\r\n ? '#18D18E'\r\n : item.status === 4\r\n ? '#FC4338'\r\n : '',\r\n }\"\r\n >\r\n {{\r\n item.status === 1\r\n ? \"审核中\"\r\n : item.status === 2\r\n ? \"审核通过\"\r\n : item.status === 4\r\n ? \"审核未通过\"\r\n : \"\"\r\n }}\r\n </view>\r\n </view>\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>{{ item.address }}</view>\r\n </view>\r\n <view class=\"avatar\">\r\n <view>{{ item.date }}</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view v-if=\"item.status === 4\" class=\"flexA reason\">\r\n <view>{{ item.reason }}</view>\r\n <view class=\"flexC\" @click=\"modify\">修改</view>\r\n </view>\r\n </view>\r\n </view>\r\n </template>\r\n\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n // 1 是农作物 else 土地\r\n type:1,\r\n cur: 0,\r\n // tags 选中时候的样式\r\n activeStyle: {\r\n color: \"rgba(50,50,51,1)\",\r\n fontSize: \"28rpx\",\r\n fontWeight: \"700\",\r\n },\r\n // 非选中时的样式\r\n inactiveStyle: {\r\n color: \"rgba(0,0,0,0.4)\",\r\n fontSize: \"28rpx\",\r\n },\r\n list1: [\r\n {\r\n name: \"我是卖家\",\r\n },\r\n {\r\n name: \"我是买家\",\r\n },\r\n {\r\n name: \"土地信息\",\r\n },\r\n ],\r\n // 土地信息数据 status 1 -- 审核中 2 -- 审核通过 4 -- 审核未通过 \r\n landList: [\r\n {\r\n id: 1,\r\n title:\r\n \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113\",\r\n status: 2,\r\n address: \"天津市南开区鑫茂科技园C1座\",\r\n date: \"2002-09-05\",\r\n imgUrl: \"/static/ic_29@2x.png\",\r\n },\r\n {\r\n id: 2,\r\n title:\r\n \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113\",\r\n status: 4,\r\n address: \"天津市南开区鑫茂科技园C1座\",\r\n date: \"2002-09-05\",\r\n imgUrl: \"/static/ic_29@2x.png\",\r\n reason:\r\n \"审核未通过的原因是后台写的,是的就是没有通过,你再重新看看吧。\",\r\n },\r\n {\r\n id: 3,\r\n title:\r\n \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113\",\r\n status: 1,\r\n address: \"天津市南开区鑫茂科技园C1座\",\r\n date: \"2002-09-05\",\r\n imgUrl: \"/static/ic_29@2x.png\",\r\n },\r\n ],\r\n };\r\n },\r\n onLoad() {},\r\n methods: {\r\n switchTabs(e) {\r\n // console.log(e)\r\n this.cur = e.index;\r\n },\r\n modify() {\r\n uni.navigateTo({ url: '/pages/index/landRelease' })\r\n },\r\n // 跳转土地审核\r\n goAuditPage() {\r\n // uni.navigateTo({ url: '/pages/index/landRelease' })\r\n uni.navigateTo({ url:`/pages/index/auditPage?type=${this.type}`})\r\n }\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #fafafa;\r\n}\r\n.mainBox {\r\n width: 686rpx;\r\n margin: 0 auto;\r\n}\r\n.padding {\r\n padding: 16rpx 49rpx;\r\n box-sizing: border-box;\r\n width: 686rpx;\r\n height: 232rpx;\r\n border-radius: 16rpx;\r\n}\r\n.padding1 {\r\n padding: 16rpx;\r\n box-sizing: border-box;\r\n}\r\n.swipe-action__content {\r\n margin-top: 24rpx;\r\n background: #fff;\r\n position: relative;\r\n image {\r\n min-width: 200rpx;\r\n height: 200rpx;\r\n }\r\n // 索引为 0 样式\r\n > .cardBox {\r\n > .box {\r\n margin-left: 16rpx;\r\n .bbb {\r\n > .name {\r\n margin-bottom: 16rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n max-width: 390rpx;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n -webkit-box-orient: vertical;\r\n }\r\n\r\n > .name1 {\r\n max-width: 320rpx;\r\n }\r\n }\r\n > .address {\r\n margin-bottom: 24rpx;\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 24rpx;\r\n width: 430rpx;\r\n }\r\n > .avatar {\r\n image {\r\n width: 40rpx;\r\n height: 40rpx;\r\n }\r\n view {\r\n color: rgba(0, 0, 0, 0.26);\r\n font-size: 22rpx;\r\n margin-left: 8rpx;\r\n }\r\n }\r\n }\r\n }\r\n\r\n // 为 1\r\n > .aaa {\r\n padding: 32rpx;\r\n box-sizing: border-box;\r\n border-radius: 16rpx;\r\n > .line {\r\n position: absolute;\r\n left: 0;\r\n top: 36rpx;\r\n width: 6rpx;\r\n height: 40rpx;\r\n opacity: 1;\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n > .pad {\r\n padding: 0 24rpx;\r\n box-sizing: border-box;\r\n > .titleBox {\r\n view:nth-child(1) {\r\n margin-bottom: 24rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 32rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n > .avatarBox {\r\n view {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n// 审核状态\r\n.audit {\r\n font-size: 24rpx;\r\n position: absolute;\r\n right: 0;\r\n top: 14%;\r\n}\r\n// 失败原因\r\n.reason {\r\n box-sizing: border-box;\r\n padding: 16rpx;\r\n border-top: 2rpx solid #ededed;\r\n view:nth-child(1) {\r\n color: rgba(252, 67, 56, 1);\r\n font-size: 24rpx;\r\n max-width: 482rpx;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 4;\r\n -webkit-box-orient: vertical;\r\n margin-right: 24rpx;\r\n }\r\n view:nth-child(2) {\r\n width: 144rpx;\r\n height: 56rpx;\r\n border-radius: 12rpx;\r\n background: rgba(98, 205, 206, 1);\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 24rpx;\r\n font-weight: 700;\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658864\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?1260"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?560d"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?8996"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?ed2c"
,
"uni-app:///pages/mine/myRelease.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?7e64"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/myRelease.vue?1a1a"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,oG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAA4nB,CAAgB,ipBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmIhpB;AACA,MADA,kBACA;AACA;AACA;AACA,aAFA;AAGA,YAHA;AAIA;AACA;AACA,iCADA;AAEA,yBAFA;AAGA,yBAHA,EALA;;AAUA;AACA;AACA,gCADA;AAEA,yBAFA,EAXA;;AAeA;AACA;AACA,oBADA,EADA;;AAIA;AACA,oBADA,EAJA;;AAOA;AACA,oBADA,EAPA,CAfA;;;AA0BA;AACA;AACA;AACA,aADA;AAEA;AACA,6CAHA;AAIA,iBAJA;AAKA,iCALA;AAMA,0BANA;AAOA,sCAPA,EADA;;AAUA;AACA,aADA;AAEA;AACA,6CAHA;AAIA,iBAJA;AAKA,iCALA;AAMA,0BANA;AAOA,sCAPA;AAQA;AACA,yCATA,EAVA;;AAqBA;AACA,aADA;AAEA;AACA,6CAHA;AAIA,iBAJA;AAKA,iCALA;AAMA,0BANA;AAOA,sCAPA,EArBA,CA3BA;;;;AA2DA,GA7DA;AA8DA,QA9DA,oBA8DA,EA9DA;AA+DA;AACA,cADA,sBACA,CADA,EACA;AACA;AACA;AACA,KAJA;AAKA,UALA,oBAKA;AACA;AACA,KAPA;AAQA;AACA,eATA,yBASA;AACA;AACA;AACA,KAZA,EA/DA,E;;;;;;;;;;;;;ACnIA;AAAA;AAAA;AAAA;AAA2rC,CAAgB,wpCAAG,EAAC,C;;;;;;;;;;;ACA/sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/myRelease.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/myRelease.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./myRelease.vue?vue&type=template&id=700bff38&\"\nvar renderjs\nimport script from \"./myRelease.vue?vue&type=script&lang=js&\"\nexport * from \"./myRelease.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myRelease.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/myRelease.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=template&id=700bff38&\""
,
"var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 顶部 tags -->\r\n <view>\r\n <u-sticky bgColor=\"#fff\">\r\n <u-tabs\r\n :list=\"list1\"\r\n :lineWidth=\"40\"\r\n :activeStyle=\"activeStyle\"\r\n :inactiveStyle=\"inactiveStyle\"\r\n lineColor=\"#62CDCE\"\r\n :scrollable=\"false\"\r\n @change=\"switchTabs\"\r\n ></u-tabs>\r\n </u-sticky>\r\n </view>\r\n <!-- 内容 -->\r\n <view class=\"mainBox\">\r\n <!-- 我是卖家 -->\r\n <template v-if=\"cur === 0\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view\r\n class=\"swipe-action__content flexA\"\r\n v-for=\"item in 4\"\r\n :key=\"item\"\r\n >\r\n <view class=\"cardBox flexA\" :class=\"cur === 0 ? 'padding' : ''\">\r\n <image src=\"/static/ic_4@2x.png\" />\r\n <view class=\"box\">\r\n <view class=\"bbb\">\r\n <view class=\"name\">上海青小油菜种子苏州青菜</view>\r\n </view>\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>天津市南开区鑫茂科技园C1座</view>\r\n </view>\r\n <view class=\"avatar\">\r\n <view>2002-09-05</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </template>\r\n\r\n <!-- 我是买家 -->\r\n <template v-if=\"cur === 1\">\r\n <view style=\"margin-bottom: 24rpx\" v-for=\"item in 4\" :key=\"item\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\">\r\n <view\r\n class=\"swipe-action__content\"\r\n :class=\"cur === 0 ? 'flexJ' : ''\"\r\n >\r\n <view class=\"aaa\">\r\n <view class=\"line\"></view>\r\n <view class=\"pad flexJ\">\r\n <view class=\"titleBox\">\r\n <view>作物-玉米</view>\r\n <view>2022-05-28 15:30</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </template>\r\n\r\n <!-- 土地信息 -->\r\n <template v-if=\"cur === 2\">\r\n <view class=\"swipe-action u-border-top u-border-bottom\" @click=\"goAuditPage\">\r\n <view\r\n class=\"swipe-action__content\"\r\n v-for=\"item in landList\"\r\n :key=\"item.id\"\r\n >\r\n <view class=\"cardBox flexA\" :class=\"cur === 2 ? 'padding1' : ''\">\r\n <image\r\n :style=\"{ width: cur === 2 ? '200rpx' : '' }\"\r\n :src=\"item.imgUrl\"\r\n />\r\n <view class=\"box\">\r\n <view class=\"bbb\">\r\n <view class=\"name\" :class=\"cur === 2 ? 'name1' : ''\">\r\n {{ item.title }}\r\n </view>\r\n <view\r\n class=\"audit\"\r\n :style=\"{\r\n color:\r\n item.status === 1\r\n ? '#FF7832'\r\n : item.status === 2\r\n ? '#18D18E'\r\n : item.status === 4\r\n ? '#FC4338'\r\n : '',\r\n }\"\r\n >\r\n {{\r\n item.status === 1\r\n ? \"审核中\"\r\n : item.status === 2\r\n ? \"审核通过\"\r\n : item.status === 4\r\n ? \"审核未通过\"\r\n : \"\"\r\n }}\r\n </view>\r\n </view>\r\n <view class=\"flexA address\">\r\n <u-icon name=\"map\" size=\"14\"></u-icon>\r\n <view>{{ item.address }}</view>\r\n </view>\r\n <view class=\"avatar\">\r\n <view>{{ item.date }}</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view v-if=\"item.status === 4\" class=\"flexA reason\">\r\n <view>{{ item.reason }}</view>\r\n <view class=\"flexC\" @click=\"modify\">修改</view>\r\n </view>\r\n </view>\r\n </view>\r\n </template>\r\n\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n // 1 是农作物 else 土地\r\n type:1,\r\n cur: 0,\r\n // tags 选中时候的样式\r\n activeStyle: {\r\n color: \"rgba(50,50,51,1)\",\r\n fontSize: \"28rpx\",\r\n fontWeight: \"700\",\r\n },\r\n // 非选中时的样式\r\n inactiveStyle: {\r\n color: \"rgba(0,0,0,0.4)\",\r\n fontSize: \"28rpx\",\r\n },\r\n list1: [\r\n {\r\n name: \"我是卖家\",\r\n },\r\n {\r\n name: \"我是买家\",\r\n },\r\n {\r\n name: \"土地信息\",\r\n },\r\n ],\r\n // 土地信息数据 status 1 -- 审核中 2 -- 审核通过 4 -- 审核未通过 \r\n landList: [\r\n {\r\n id: 1,\r\n title:\r\n \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113\",\r\n status: 2,\r\n address: \"天津市南开区鑫茂科技园C1座\",\r\n date: \"2002-09-05\",\r\n imgUrl: \"/static/ic_29@2x.png\",\r\n },\r\n {\r\n id: 2,\r\n title:\r\n \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113\",\r\n status: 4,\r\n address: \"天津市南开区鑫茂科技园C1座\",\r\n date: \"2002-09-05\",\r\n imgUrl: \"/static/ic_29@2x.png\",\r\n reason:\r\n \"审核未通过的原因是后台写的,是的就是没有通过,你再重新看看吧。\",\r\n },\r\n {\r\n id: 3,\r\n title:\r\n \"土地是包含地球特定地域表面及其以上和以下的大气、水源充足2132113\",\r\n status: 1,\r\n address: \"天津市南开区鑫茂科技园C1座\",\r\n date: \"2002-09-05\",\r\n imgUrl: \"/static/ic_29@2x.png\",\r\n },\r\n ],\r\n };\r\n },\r\n onLoad() {},\r\n methods: {\r\n switchTabs(e) {\r\n // console.log(e)\r\n this.cur = e.index;\r\n },\r\n modify() {\r\n uni.navigateTo({ url: '/pages/index/landRelease' })\r\n },\r\n // 跳转土地审核\r\n goAuditPage() {\r\n // uni.navigateTo({ url: '/pages/index/landRelease' })\r\n uni.navigateTo({ url:`/pages/index/auditPage?type=${this.type}`})\r\n }\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #fafafa;\r\n}\r\n.mainBox {\r\n width: 686rpx;\r\n margin: 0 auto;\r\n}\r\n.padding {\r\n padding: 16rpx 49rpx;\r\n box-sizing: border-box;\r\n width: 686rpx;\r\n height: 232rpx;\r\n border-radius: 16rpx;\r\n}\r\n.padding1 {\r\n padding: 16rpx;\r\n box-sizing: border-box;\r\n}\r\n.swipe-action__content {\r\n margin-top: 24rpx;\r\n background: #fff;\r\n position: relative;\r\n image {\r\n min-width: 200rpx;\r\n height: 200rpx;\r\n }\r\n // 索引为 0 样式\r\n > .cardBox {\r\n > .box {\r\n margin-left: 16rpx;\r\n .bbb {\r\n > .name {\r\n margin-bottom: 16rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n max-width: 390rpx;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n -webkit-box-orient: vertical;\r\n }\r\n\r\n > .name1 {\r\n max-width: 320rpx;\r\n }\r\n }\r\n > .address {\r\n margin-bottom: 24rpx;\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 24rpx;\r\n width: 430rpx;\r\n }\r\n > .avatar {\r\n image {\r\n width: 40rpx;\r\n height: 40rpx;\r\n }\r\n view {\r\n color: rgba(0, 0, 0, 0.26);\r\n font-size: 22rpx;\r\n margin-left: 8rpx;\r\n }\r\n }\r\n }\r\n }\r\n\r\n // 为 1\r\n > .aaa {\r\n padding: 32rpx;\r\n box-sizing: border-box;\r\n border-radius: 16rpx;\r\n > .line {\r\n position: absolute;\r\n left: 0;\r\n top: 36rpx;\r\n width: 6rpx;\r\n height: 40rpx;\r\n opacity: 1;\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n > .pad {\r\n padding: 0 24rpx;\r\n box-sizing: border-box;\r\n > .titleBox {\r\n view:nth-child(1) {\r\n margin-bottom: 24rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 32rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n > .avatarBox {\r\n view {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 22rpx;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n// 审核状态\r\n.audit {\r\n font-size: 24rpx;\r\n position: absolute;\r\n right: 0;\r\n top: 14%;\r\n}\r\n// 失败原因\r\n.reason {\r\n box-sizing: border-box;\r\n padding: 16rpx;\r\n border-top: 2rpx solid #ededed;\r\n view:nth-child(1) {\r\n color: rgba(252, 67, 56, 1);\r\n font-size: 24rpx;\r\n max-width: 482rpx;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 4;\r\n -webkit-box-orient: vertical;\r\n margin-right: 24rpx;\r\n }\r\n view:nth-child(2) {\r\n width: 144rpx;\r\n height: 56rpx;\r\n border-radius: 12rpx;\r\n background: rgba(98, 205, 206, 1);\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 24rpx;\r\n font-weight: 700;\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myRelease.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029099204\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/residueWallet.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?8e55"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?8a9a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?8337"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?a7a6"
,
"uni-app:///pages/mine/residueWallet.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?c033"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?4d8c"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,4G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgCppB;AACA,MADA,kBACA;AACA;AACA,GAHA;AAIA,QAJA,oBAIA,EAJA;AAKA,aALA,E;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAA+rC,CAAgB,4pCAAG,EAAC,C;;;;;;;;;;;ACAntC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/residueWallet.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/residueWallet.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./residueWallet.vue?vue&type=template&id=4351363e&\"\nvar renderjs\nimport script from \"./residueWallet.vue?vue&type=script&lang=js&\"\nexport * from \"./residueWallet.vue?vue&type=script&lang=js&\"\nimport style0 from \"./residueWallet.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/residueWallet.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=template&id=4351363e&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 顶部金额 -->\r\n <view class=\"topBg flexJ\">\r\n <view class=\"leftBox\">\r\n <view>当前余额</view>\r\n <view>200</view>\r\n </view>\r\n <image src=\"/static/ic_36@2x.png\" />\r\n </view>\r\n\r\n <!-- 底部金额明细 -->\r\n <view class=\"bottomWalletDetail\">\r\n <!-- 版心 -->\r\n <view class=\"mainBox\">\r\n <view class=\"title\">余额明细</view>\r\n <view class=\"detail\" v-for=\"item in 4\" :key=\"item\">\r\n <view class=\"flexJ info\">\r\n <view>新用户发布</view>\r\n <view>+5元</view>\r\n </view>\r\n <view class=\"flexJ info1\">\r\n <view>2022-05-15 17:00</view>\r\n <view>余额:20元</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {};\r\n },\r\n onLoad() {},\r\n methods: {},\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.topBg {\r\n width: 100%;\r\n height: 344rpx;\r\n background: #62cdce;\r\n box-sizing: border-box;\r\n padding: 18rpx 48rpx;\r\n image {\r\n position: relative;\r\n width: 268rpx;\r\n height: 308rpx;\r\n z-index: 1;\r\n }\r\n > .leftBox {\r\n view:nth-child(1) {\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 28rpx;\r\n margin-bottom: 26rpx;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 64rpx;\r\n font-weight: 700;\r\n }\r\n }\r\n}\r\n.bottomWalletDetail {\r\n z-index: 999;\r\n margin-top: -68rpx;\r\n border-radius: 32rpx;\r\n background: #fff;\r\n position: relative;\r\n > .mainBox {\r\n width: 686rpx;\r\n margin: 0 auto;\r\n > .title {\r\n padding-top: 32rpx;\r\n box-sizing: border-box;\r\n height: 100rpx;\r\n border-bottom: 2rpx solid #ededed;\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 30rpx;\r\n font-weight: 700;\r\n }\r\n > .detail {\r\n padding: 30rpx 0;\r\n box-sizing: border-box;\r\n border-top: 2rpx solid #ededed;\r\n > .info {\r\n margin-bottom: 8rpx;\r\n view:nth-child(1) {\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 28rpx;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(230, 61, 39, 1);\r\n font-size: 28rpx;\r\n font-weight: 500;\r\n }\r\n }\r\n > .info1 {\r\n color: rgba(200, 201, 204, 1);\r\n font-size: 24rpx;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658894\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?8e55"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?8a9a"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?8337"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?a7a6"
,
"uni-app:///pages/mine/residueWallet.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?c033"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/residueWallet.vue?4d8c"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,4G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgCppB;AACA,MADA,kBACA;AACA;AACA,GAHA;AAIA,QAJA,oBAIA,EAJA;AAKA,aALA,E;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAA+rC,CAAgB,4pCAAG,EAAC,C;;;;;;;;;;;ACAntC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/residueWallet.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/residueWallet.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./residueWallet.vue?vue&type=template&id=4351363e&\"\nvar renderjs\nimport script from \"./residueWallet.vue?vue&type=script&lang=js&\"\nexport * from \"./residueWallet.vue?vue&type=script&lang=js&\"\nimport style0 from \"./residueWallet.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/residueWallet.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=template&id=4351363e&\""
,
"var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view>\r\n <!-- 顶部金额 -->\r\n <view class=\"topBg flexJ\">\r\n <view class=\"leftBox\">\r\n <view>当前余额</view>\r\n <view>200</view>\r\n </view>\r\n <image src=\"/static/ic_36@2x.png\" />\r\n </view>\r\n\r\n <!-- 底部金额明细 -->\r\n <view class=\"bottomWalletDetail\">\r\n <!-- 版心 -->\r\n <view class=\"mainBox\">\r\n <view class=\"title\">余额明细</view>\r\n <view class=\"detail\" v-for=\"item in 4\" :key=\"item\">\r\n <view class=\"flexJ info\">\r\n <view>新用户发布</view>\r\n <view>+5元</view>\r\n </view>\r\n <view class=\"flexJ info1\">\r\n <view>2022-05-15 17:00</view>\r\n <view>余额:20元</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {};\r\n },\r\n onLoad() {},\r\n methods: {},\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.topBg {\r\n width: 100%;\r\n height: 344rpx;\r\n background: #62cdce;\r\n box-sizing: border-box;\r\n padding: 18rpx 48rpx;\r\n image {\r\n position: relative;\r\n width: 268rpx;\r\n height: 308rpx;\r\n z-index: 1;\r\n }\r\n > .leftBox {\r\n view:nth-child(1) {\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 28rpx;\r\n margin-bottom: 26rpx;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 64rpx;\r\n font-weight: 700;\r\n }\r\n }\r\n}\r\n.bottomWalletDetail {\r\n z-index: 999;\r\n margin-top: -68rpx;\r\n border-radius: 32rpx;\r\n background: #fff;\r\n position: relative;\r\n > .mainBox {\r\n width: 686rpx;\r\n margin: 0 auto;\r\n > .title {\r\n padding-top: 32rpx;\r\n box-sizing: border-box;\r\n height: 100rpx;\r\n border-bottom: 2rpx solid #ededed;\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 30rpx;\r\n font-weight: 700;\r\n }\r\n > .detail {\r\n padding: 30rpx 0;\r\n box-sizing: border-box;\r\n border-top: 2rpx solid #ededed;\r\n > .info {\r\n margin-bottom: 8rpx;\r\n view:nth-child(1) {\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 28rpx;\r\n }\r\n view:nth-child(2) {\r\n color: rgba(230, 61, 39, 1);\r\n font-size: 28rpx;\r\n font-weight: 500;\r\n }\r\n }\r\n > .info1 {\r\n color: rgba(200, 201, 204, 1);\r\n font-size: 24rpx;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./residueWallet.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029098870\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/wallet.js.map
查看文件 @
2ab60be
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?ea83"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?354e"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?2cf8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?2573"
,
"uni-app:///pages/mine/wallet.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?8875"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?f0c7"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,8F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,eAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACc;;;AAGnE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvCA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2C7oB;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,iBAFA;AAGA,+BAHA;AAIA;AACA,0BALA;AAMA;AACA,eAPA;;AASA,GAXA;AAYA,QAZA,oBAYA,EAZA;AAaA;AACA,cADA,wBACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA,KANA;AAOA;AACA,qBARA,+BAQA;AACA;AACA,KAVA;AAWA;AACA,mBAZA,6BAYA;AACA;AACA,KAdA,EAbA,E;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAwrC,CAAgB,qpCAAG,EAAC,C;;;;;;;;;;;ACA5sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/wallet.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/wallet.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./wallet.vue?vue&type=template&id=cfb10a68&\"\nvar renderjs\nimport script from \"./wallet.vue?vue&type=script&lang=js&\"\nexport * from \"./wallet.vue?vue&type=script&lang=js&\"\nimport style0 from \"./wallet.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/wallet.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=template&id=cfb10a68&\""
,
"var components\ntry {\n components = {\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function() {\n return (this$1.show = false)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view class=\"box flexC\">\r\n <view class=\"topBg\" />\r\n <view class=\"mainBox\">\r\n <view\r\n style=\"\r\n background-image: url(/static/ic_315@2x.png);\r\n background-size: 100% 100%;\r\n \"\r\n class=\"moneyBox\"\r\n >\r\n <view class=\"flexJ title\">\r\n <view>可提现金 (元)</view>\r\n <view class=\"flexA\" @click=\"goMyWalletResidue\">\r\n <view>余额明细</view>\r\n <image\r\n style=\"width: 16rpx; height: 24rpx\"\r\n src=\"/static/ic-arrow-more@2x.png\"\r\n />\r\n </view>\r\n </view>\r\n <view class=\"flexJ bot\">\r\n <view>{{existingMoney}}</view>\r\n <view class=\"flexC\" @click=\"openWallet\">提现</view>\r\n </view>\r\n </view>\r\n </view>\r\n <u-modal :show=\"show\" :showConfirmButton=\"false\" :title=\"title\" @close=\"closeModal\" :closeOnClickOverlay=\"closeOnClickOverlay\">\r\n <view class=\"slot-content\">\r\n <view class=\"slot-content1\">\r\n <input type=\"text\" v-model=\"money\" placeholder=\"请输入提现金额,最高可提现666元\" />\r\n </view>\r\n <view class=\"all\" @click=\"allMoneyHandler\">全部</view>\r\n <view class=\"flexJ modalBtn\">\r\n <view class=\"flexC\" @click=\"() => this.show = false\">取消</view>\r\n <view class=\"flexC\">确认</view>\r\n </view>\r\n </view>\r\n </u-modal>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n show: false,\r\n title: \"提现\",\r\n\t\t\tcloseOnClickOverlay: true,\r\n\t\t\t// 现有的钱\r\n\t\t\texistingMoney:'666',\r\n\t\t\t// 提现多少钱\r\n\t\t\tmoney:''\r\n };\r\n },\r\n onLoad() {},\r\n methods: {\r\n openWallet() {\r\n this.show = true;\r\n },\r\n\t\tcloseModal() {\r\n\t\t\tthis.show = false\r\n\t\t},\r\n\t\t// 跳转余额明细\r\n\t\tgoMyWalletResidue() {\r\n\t\t\tuni.navigateTo({ url: '/pages/mine/residueWallet' })\r\n\t\t},\r\n\t\t// 全部提现\r\n\t\tallMoneyHandler() {\r\n\t\t\tthis.money = this.existingMoney\r\n\t\t}\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n\tbackground: #F5F6FA;\r\n}\r\n.box {\r\n > .topBg {\r\n z-index: -1;\r\n position: fixed;\r\n top: -26%;\r\n width: 1360rpx;\r\n height: 526rpx;\r\n background: #62cdce;\r\n border-radius: 50%;\r\n }\r\n}\r\n.mainBox {\r\n width: 732rpx;\r\n\tpadding: 0 24rpx;\r\n\tbox-sizing: border-box;\r\n > .moneyBox {\r\n box-sizing: border-box;\r\n padding: 60rpx;\r\n margin-top: 24rpx;\r\n z-index: 1;\r\n height: 288rpx;\r\n width: 702rpx;\r\n > .title {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 28rpx;\r\n margin-bottom: 40rpx;\r\n }\r\n > .bot {\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 72rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(2) {\r\n width: 144rpx;\r\n height: 56rpx;\r\n border-radius: 12rpx;\r\n background: rgba(98, 205, 206, 1);\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 24rpx;\r\n font-weight: 700;\r\n }\r\n }\r\n }\r\n}\r\n.slot-content1 {\r\n width: 526rpx;\r\n height: 92rpx;\r\n border-radius: 16rpx;\r\n border: 2rpx solid #EDEDED;\r\n input {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n.all {\r\n margin-top: 16rpx;\r\n color: rgba(33, 83, 212, 1);\r\n font-size: 28rpx;\r\n}\r\n.modalBtn {\r\n\tmargin-top: 68rpx;\r\n view {\r\n width: 234rpx;\r\n height: 76rpx;\r\n border-radius: 84rpx;\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n background: rgba(245, 246, 250, 1);\r\n }\r\n view:nth-child(2) {\r\n color: rgba(255, 255, 255, 1);\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662991658909\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
{
"version"
:
3
,
"sources"
:[
"uni-app:///main.js"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?ea83"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?354e"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?2cf8"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?2573"
,
"uni-app:///pages/mine/wallet.vue"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?8875"
,
"webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/wallet.vue?f0c7"
],
"names"
:[
"wx"
,
"__webpack_require_UNI_MP_PLUGIN__"
,
"__webpack_require__"
,
"createPage"
,
"Page"
],
"mappings"
:
";;;;;;;;;;kDAAA;;;AAGA;AACA,8F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,eAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACc;;;AAGnE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvCA;AAAA;AAAA;AAAA;AAAynB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2C7oB;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,iBAFA;AAGA,+BAHA;AAIA;AACA,0BALA;AAMA;AACA,eAPA;;AASA,GAXA;AAYA,QAZA,oBAYA,EAZA;AAaA;AACA,cADA,wBACA;AACA;AACA,KAHA;AAIA,cAJA,wBAIA;AACA;AACA,KANA;AAOA;AACA,qBARA,+BAQA;AACA;AACA,KAVA;AAWA;AACA,mBAZA,6BAYA;AACA;AACA,KAdA,EAbA,E;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAwrC,CAAgB,qpCAAG,EAAC,C;;;;;;;;;;;ACA5sC;AACA,OAAO,KAAU,EAAE,kBAKd"
,
"file"
:
"pages/mine/wallet.js"
,
"sourcesContent"
:[
"import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/wallet.vue'\ncreatePage(Page)"
,
"import { render, staticRenderFns, recyclableRender, components } from \"./wallet.vue?vue&type=template&id=cfb10a68&\"\nvar renderjs\nimport script from \"./wallet.vue?vue&type=script&lang=js&\"\nexport * from \"./wallet.vue?vue&type=script&lang=js&\"\nimport style0 from \"./wallet.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/wallet.vue\"\nexport default component.exports"
,
"export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=template&id=cfb10a68&\""
,
"var components\ntry {\n components = {\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function() {\n return (this$1.show = false)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=script&lang=js&\""
,
"<template>\r\n <view class=\"box flexC\">\r\n <view class=\"topBg\" />\r\n <view class=\"mainBox\">\r\n <view\r\n style=\"\r\n background-image: url(/static/ic_315@2x.png);\r\n background-size: 100% 100%;\r\n \"\r\n class=\"moneyBox\"\r\n >\r\n <view class=\"flexJ title\">\r\n <view>可提现金 (元)</view>\r\n <view class=\"flexA\" @click=\"goMyWalletResidue\">\r\n <view>余额明细</view>\r\n <image\r\n style=\"width: 16rpx; height: 24rpx\"\r\n src=\"/static/ic-arrow-more@2x.png\"\r\n />\r\n </view>\r\n </view>\r\n <view class=\"flexJ bot\">\r\n <view>{{existingMoney}}</view>\r\n <view class=\"flexC\" @click=\"openWallet\">提现</view>\r\n </view>\r\n </view>\r\n </view>\r\n <u-modal :show=\"show\" :showConfirmButton=\"false\" :title=\"title\" @close=\"closeModal\" :closeOnClickOverlay=\"closeOnClickOverlay\">\r\n <view class=\"slot-content\">\r\n <view class=\"slot-content1\">\r\n <input type=\"text\" v-model=\"money\" placeholder=\"请输入提现金额,最高可提现666元\" />\r\n </view>\r\n <view class=\"all\" @click=\"allMoneyHandler\">全部</view>\r\n <view class=\"flexJ modalBtn\">\r\n <view class=\"flexC\" @click=\"() => this.show = false\">取消</view>\r\n <view class=\"flexC\">确认</view>\r\n </view>\r\n </view>\r\n </u-modal>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n show: false,\r\n title: \"提现\",\r\n\t\t\tcloseOnClickOverlay: true,\r\n\t\t\t// 现有的钱\r\n\t\t\texistingMoney:'666',\r\n\t\t\t// 提现多少钱\r\n\t\t\tmoney:''\r\n };\r\n },\r\n onLoad() {},\r\n methods: {\r\n openWallet() {\r\n this.show = true;\r\n },\r\n\t\tcloseModal() {\r\n\t\t\tthis.show = false\r\n\t\t},\r\n\t\t// 跳转余额明细\r\n\t\tgoMyWalletResidue() {\r\n\t\t\tuni.navigateTo({ url: '/pages/mine/residueWallet' })\r\n\t\t},\r\n\t\t// 全部提现\r\n\t\tallMoneyHandler() {\r\n\t\t\tthis.money = this.existingMoney\r\n\t\t}\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n\tbackground: #F5F6FA;\r\n}\r\n.box {\r\n > .topBg {\r\n z-index: -1;\r\n position: fixed;\r\n top: -26%;\r\n width: 1360rpx;\r\n height: 526rpx;\r\n background: #62cdce;\r\n border-radius: 50%;\r\n }\r\n}\r\n.mainBox {\r\n width: 732rpx;\r\n\tpadding: 0 24rpx;\r\n\tbox-sizing: border-box;\r\n > .moneyBox {\r\n box-sizing: border-box;\r\n padding: 60rpx;\r\n margin-top: 24rpx;\r\n z-index: 1;\r\n height: 288rpx;\r\n width: 702rpx;\r\n > .title {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 28rpx;\r\n margin-bottom: 40rpx;\r\n }\r\n > .bot {\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 72rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(2) {\r\n width: 144rpx;\r\n height: 56rpx;\r\n border-radius: 12rpx;\r\n background: rgba(98, 205, 206, 1);\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 24rpx;\r\n font-weight: 700;\r\n }\r\n }\r\n }\r\n}\r\n.slot-content1 {\r\n width: 526rpx;\r\n height: 92rpx;\r\n border-radius: 16rpx;\r\n border: 2rpx solid #EDEDED;\r\n input {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n.all {\r\n margin-top: 16rpx;\r\n color: rgba(33, 83, 212, 1);\r\n font-size: 28rpx;\r\n}\r\n.modalBtn {\r\n\tmargin-top: 68rpx;\r\n view {\r\n width: 234rpx;\r\n height: 76rpx;\r\n border-radius: 84rpx;\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n background: rgba(245, 246, 250, 1);\r\n }\r\n view:nth-child(2) {\r\n color: rgba(255, 255, 255, 1);\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n}\r\n</style>\r\n"
,
"import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./wallet.vue?vue&type=style&index=0&lang=scss&\""
,
"// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029100110\n var cssReload = require(\"D:/Bin/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "
],
"sourceRoot"
:
""
}
\ No newline at end of file
...
...
unpackage/dist/dev/mp-weixin/app.json
查看文件 @
2ab60be
...
...
@@ -54,6 +54,5 @@
],
"usingComponents"
:
{
"tabbar"
:
"/components/Tabbar"
},
"sitemapLocation"
:
"sitemap.json"
}
}
\ No newline at end of file
...
...
unpackage/dist/dev/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.js
查看文件 @
2ab60be
...
...
@@ -143,6 +143,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
//
//
//
//
//
//
// import { getCurDateTime } from '@/libs/utils.js';
var
_default2
=
{
...
...
@@ -212,6 +215,7 @@ var _default2 = {
}
},
navClick
:
function
navClick
(
index
)
{
console
.
log
(
index
);
if
(
index
===
this
.
actNav
)
{
this
.
tapMask
();
return
;
...
...
unpackage/dist/dev/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.wxml
查看文件 @
2ab60be
<view data-event-opts="{{[['touchmove',[['discard',['$event']]]]]}}" class="filter-wrapper data-v-c53c40ec" style="{{'height:'+(height+'rpx')+';'+('top:'+(top)+';')+('border-top:'+(border?'1rpx solid #f2f2f2':'none')+';')}}" catchtouchmove="__e"><view class="inner-wrapper data-v-c53c40ec"><view data-event-opts="{{[['tap',[['tapMask',['$event']]]]]}}" class="{{['mask','data-v-c53c40ec',showMask?'show':'hide']}}" bindtap="__e"></view><view class="navs data-v-c53c40ec"><block wx:for="{{navData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navClick',[index]]]]]}}" class="{{['c-flex-align','data-v-c53c40ec',(index>0)?'c-flex-center':'',(index===actNav)?'actNav':'']}}" bindtap="__e"><block wx:for="{{item}}" wx:for-item="child" wx:for-index="childx" wx:key="childx"><block wx:if="{{child.select}}"><view class="data-v-c53c40ec">{{child.text}}</view></block></block><block wx:if="{{index===actNav}}"><image class="icon-triangle data-v-c53c40ec" src="https://i.loli.net/2020/07/15/QsHxlr1gbSImvWt.png" mode></image></block><block wx:else><image class="icon-triangle data-v-c53c40ec" src="https://i.loli.net/2020/07/15/xjVSvzWcH9NO7al.png" mode></image></block></view></block></view><scroll-view class="{{['popup','data-v-c53c40ec',popupShow?'popupShow':'']}}" scroll-y="true"><block wx:for="{{navData[actNav]}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleOpt',[index]]]]]}}" class="{{['item-opt','c-flex-align','data-v-c53c40ec',item.select?'actOpt':'']}}" bindtap="__e">{{''+item.text+''}}</view></block></scroll-view></view></view>
\ No newline at end of file
<view data-event-opts="{{[['touchmove',[['discard',['$event']]]]]}}" class="filter-wrapper data-v-c53c40ec" style="{{'height:'+(height+'rpx')+';'+('top:'+(top)+';')+('border-top:'+(border?'1rpx solid #f2f2f2':'none')+';')}}" catchtouchmove="__e"><view class="inner-wrapper data-v-c53c40ec"><view data-event-opts="{{[['tap',[['tapMask',['$event']]]]]}}" class="{{['mask','data-v-c53c40ec',showMask?'show':'hide']}}" bindtap="__e"></view><view class="navs data-v-c53c40ec"><block wx:for="{{navData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navClick',[index]]]]]}}" class="{{['c-flex-align','data-v-c53c40ec',(index>0)?'c-flex-center':'',(index===actNav)?'actNav':'']}}" bindtap="__e"><block wx:for="{{item}}" wx:for-item="child" wx:for-index="childx" wx:key="childx"><block wx:if="{{child.select}}"><view class="data-v-c53c40ec">{{child.text}}</view></block></block><block wx:if="{{index==2}}"><view class="data-v-c53c40ec"><block wx:if="{{index===actNav}}"><image class="icon-triangle data-v-c53c40ec" src="https://i.loli.net/2020/07/15/QsHxlr1gbSImvWt.png" mode></image></block><block wx:else><image class="icon-triangle data-v-c53c40ec" src="https://i.loli.net/2020/07/15/xjVSvzWcH9NO7al.png" mode></image></block></view></block></view></block></view><scroll-view class="{{['popup','data-v-c53c40ec',popupShow?'popupShow':'']}}" scroll-y="true"><block wx:for="{{navData[actNav]}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleOpt',[index]]]]]}}" class="{{['item-opt','c-flex-align','data-v-c53c40ec',item.select?'actOpt':'']}}" bindtap="__e">{{''+item.text+''}}</view></block></scroll-view></view></view>
\ No newline at end of file
...
...
unpackage/dist/dev/mp-weixin/components/ren-dropdown-filter/ren-dropdown-filter.wxss
查看文件 @
2ab60be
...
...
@@ -79,12 +79,7 @@ page.data-v-c53c40ec {
font-weight: bold;
}
.filter-wrapper .inner-wrapper .mask.data-v-c53c40ec {
z-index: 666;
position: fixed;
top: calc(25px + 44px);
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0);
transition: background-color 0.15s linear;
}
...
...
@@ -95,6 +90,9 @@ page.data-v-c53c40ec {
display: none;
}
.filter-wrapper .inner-wrapper .popup.data-v-c53c40ec {
width: 300rpx;
padding-top: 10rpx;
padding-left: 40rpx;
position: relative;
height: 100%;
background-color: #fff;
...
...
@@ -128,8 +126,8 @@ page.data-v-c53c40ec {
opacity: 1;
}
.filter-wrapper .icon-triangle.data-v-c53c40ec {
width: 0rpx;
height: 0rpx;
width: 12rpx;
height: 12rpx;
margin-left: 10rpx;
}
...
...
unpackage/dist/dev/mp-weixin/pages/index/auditPage.js
查看文件 @
2ab60be
...
...
@@ -438,7 +438,6 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
var
_default
=
{
data
:
function
data
()
{
...
...
@@ -447,7 +446,7 @@ var _default =
isMask
:
false
,
// 遮罩判断
agShow
:
false
,
//是否同意协议
// current:1,
currentNum
:
1
,
//轮播图
currentNum
:
''
,
//轮播图
list6
:
[
'https://cdn.uviewui.com/uview/swiper/swiper2.png'
,
'https://cdn.uviewui.com/uview/swiper/swiper3.png'
,
...
...
unpackage/dist/dev/mp-weixin/pages/index/index.js
查看文件 @
2ab60be
...
...
@@ -313,9 +313,6 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
//
//
var
_default
=
{
components
:
{},
...
...
@@ -325,6 +322,7 @@ var _default =
status
:
0
,
current
:
0
,
cur
:
0
,
type
:
1
,
filterData
:
[
[{
text
:
'默认排序'
,
...
...
@@ -421,7 +419,44 @@ var _default =
address
:
"天津市南开区鑫茂科技园C1座"
,
expertise
:
"擅长领域:小鼠银杏病"
,
title
:
"张小曼"
,
time
:
"2022-05-28 15:30"
}]
};
time
:
"2022-05-28 15:30"
}],
landList
:
[{
id
:
1
,
status
:
1
,
url
:
""
,
name
:
"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦"
,
address
:
"天津市南开区鑫茂科技园C1座"
,
title
:
"张小曼"
,
time
:
"2022-05-28 15:30"
,
type
:
2
},
{
id
:
2
,
status
:
2
,
url
:
""
,
name
:
"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦"
,
address
:
"天津市南开区鑫茂科技园C1座"
,
title
:
"张小曼"
,
time
:
"2022-05-28 15:30"
,
type
:
2
},
{
id
:
3
,
status
:
3
,
url
:
""
,
name
:
"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦"
,
address
:
"天津市南开区鑫茂科技园C1座"
,
title
:
"张小曼"
,
time
:
"2022-05-28 15:30"
,
type
:
2
},
{
id
:
4
,
status
:
4
,
url
:
""
,
name
:
"土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦"
,
address
:
"天津市南开区鑫茂科技园C1座"
,
title
:
"张小曼"
,
time
:
"2022-05-28 15:30"
,
type
:
2
}]
};
},
...
...
@@ -432,6 +467,26 @@ var _default =
uni
.
hideTabBar
();
},
methods
:
{
toauditPagetype
:
function
toauditPagetype
(
e
)
{
uni
.
navigateTo
({
url
:
"/pages/index/auditPage?type="
.
concat
(
this
.
type
,
"&status="
,
2
)
});
},
tologin
:
function
tologin
()
{
uni
.
navigateTo
({
url
:
'/pages/login/login'
});
},
tolandRelease
:
function
tolandRelease
()
{
uni
.
navigateTo
({
url
:
'/pages/index/landRelease'
});
},
tosellerRelease
:
function
tosellerRelease
()
{
uni
.
navigateTo
({
url
:
'/pages/index/sellerRelease'
});
},
switchTAb
:
function
switchTAb
(
e
)
{
console
.
log
(
e
);
this
.
cur
=
e
.
index
;
...
...
@@ -443,7 +498,7 @@ var _default =
},
tolandDetail
:
function
tolandDetail
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/index/landDetail'
});
url
:
"/pages/index/auditPage?status="
.
concat
(
item
.
status
,
"&type="
).
concat
(
item
.
type
)
});
},
tobuyersRelease
:
function
tobuyersRelease
()
{
...
...
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
查看文件 @
2ab60be
<view><view class="head" style="font-weight:700;"><u-navbar vue-id="8dd740cc-1" title="首页" autoBack="{{true}}" leftIconSize="0rpx" bind:__l="__l"></u-navbar></view><view class="main"><view class="swiper"><u-swiper vue-id="8dd740cc-2" list="{{list5}}" height="320rpx" radius="24rpx" data-event-opts="{{[['^change',[['e0']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['indicator']}}"><view class="indicator" slot="indicator"><block wx:for="{{list5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['indicator__dot',index===current&&'indicator__dot--active']}}"></view></block></view></u-swiper></view><view class="mainList"><view class="listName">生物质列表</view><view><u-tabs vue-id="8dd740cc-3" list="{{list1}}" activeStyle="{{({color:'rgba(0,0,0,0.9)',fontWeight:'bold',transform:'scale(1.05)'})}}" scrollable="{{false}}" lineWidth="{{43}}" lineHeight="{{4}}" data-event-opts="{{[['^click',[['switchTAb']]]]}}" bind:click="__e" bind:__l="__l"></u-tabs><block wx:if="{{cur==0}}"><view class="sellerList"><view></view><view class="sellerListhead"><ren-dropdown-filter vue-id="8dd740cc-4" filterData="{{filterData}}" defaultIndex="{{defaultIndex}}" height="{{24}}" data-event-opts="{{[['^ed',[['ed']]]]}}" bind:ed="__e" bind:__l="__l"></ren-dropdown-filter></view><block wx:for="{{sellerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tosellerMessageDetail',['$0'],[[['sellerList','',index]]]]]]]}}" class="listCard flexA" bindtap="__e"><view class="cardImg"><image src="/static/ic_4@2x.png" alt class="_img"></image></view><view class="cardTitle"><view class="cardTitlename">{{item.name}}</view><view class="cardTitleadress flexA"><image src="/static/ic-loc@2x.png" alt class="_img"></image><text>{{item.address}}</text></view><view class="cardTitleP flexJ"><view class="cardTitlePimg flexA"><image src="/static/ic_6@2x.png" alt class="_img"></image>{{''+item.title+''}}</view><view class="cardTitletime">{{''+item.time+''}}</view></view></view></view></block></view></block><block wx:if="{{cur==1}}"><view class="buyerList"><block wx:for="{{4}}" wx:for-item="item" wx:for-index="index"><view class="buyerCard flexJ"><view class="cardLeft"><view class="cardLeftname">作物-玉米</view><view class="cardTitletime">2022-05-28 15:30</view></view><view class="cardTitlePimg flexA" style="margin-right:24rpx;"><image src="/static/ic_6@2x.png" alt class="_img"></image>张小曼</view></view></block></view></block><block wx:if="{{cur==2}}"><view class="sellerList"><block wx:for="{{4}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['tolandDetail',['$event']]]]]}}" class="listCard flexA" bindtap="__e"><view class="cardImg"><image src="/static/ic_4@2x.png" alt class="_img"></image></view><view class="cardTitle"><view class="cardTitlename">土地是包含地球特定地域表面及其以上和以下的大气、水源充足啦啦啦啦啦</view><view class="cardTitleadress flexA"><image src="/static/ic-loc@2x.png" alt class="_img"></image><text>天津市南开区鑫茂科技园C1座</text></view><view class="cardTitleP flexJ"><view class="cardTitlePimg flexA"><image src="/static/ic_6@2x.png" alt class="_img"></image>张小曼</view><view class="cardTitletime">2022-05-28 15:30</view></view></view></view></block></view></block></view></view></view><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="release" bindtap="__e"><image src="/static/ic_7@2x.png" alt class="_img"></image></view><view><u-popup vue-id="8dd740cc-5" show="{{show}}" mode="bottom" data-event-opts="{{[['^close',[['close']]],['^open',[['open']]]]}}" bind:close="__e" bind:open="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="wraper"><view class="flexC popup"><view class="popItem"><view class="popImg"><image src="/static/ic_13@2x.png" alt class="_img"></image></view><view class="popName">我是卖家</view></view><view data-event-opts="{{[['tap',[['tobuyersRelease',['$event']]]]]}}" class="popItemT" bindtap="__e"><view class="popImg"><image src="/static/ic_14@2x.png" alt class="_img"></image></view><view class="popName">我是买家</view></view><view class="popItem"><view class="popImg"><image src="/static/ic_15@2x.png" alt class="_img"></image></view><view class="popName">土地信息发布</view></view></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="tui" bindtap="__e"><image src="/static/ic-close@2x.png" alt class="_img"></image></view></view></u-popup></view><view style="height:200rpx;"></view><view><tabbar vue-id="8dd740cc-6" idx="{{0}}" bind:__l="__l"></tabbar></view></view>
\ No newline at end of file
<view><view class="head" style="font-weight:700;"><u-navbar vue-id="8dd740cc-1" title="首页" autoBack="{{true}}" leftIconSize="0rpx" bind:__l="__l"></u-navbar></view><view class="main"><view data-event-opts="{{[['tap',[['tologin',['$event']]]]]}}" class="swiper" bindtap="__e"><u-swiper vue-id="8dd740cc-2" list="{{list5}}" height="320rpx" radius="24rpx" data-event-opts="{{[['^change',[['e0']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['indicator']}}"><view class="indicator" slot="indicator"><block wx:for="{{list5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['indicator__dot',index===current&&'indicator__dot--active']}}"></view></block></view></u-swiper></view><view class="mainList"><view class="listName">生物质列表</view><view><u-tabs vue-id="8dd740cc-3" list="{{list1}}" activeStyle="{{({color:'rgba(0,0,0,0.9)',fontWeight:'bold',transform:'scale(1.05)'})}}" scrollable="{{false}}" lineWidth="{{43}}" lineHeight="{{4}}" data-event-opts="{{[['^click',[['switchTAb']]]]}}" bind:click="__e" bind:__l="__l"></u-tabs><block wx:if="{{cur==0}}"><view class="sellerList"><view class="sellerListhead"><ren-dropdown-filter vue-id="8dd740cc-4" filterData="{{filterData}}" defaultIndex="{{defaultIndex}}" height="{{24}}" data-event-opts="{{[['^ed',[['ed']]]]}}" bind:ed="__e" bind:__l="__l"></ren-dropdown-filter></view><block wx:for="{{sellerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tosellerMessageDetail',['$0'],[[['sellerList','',index]]]]]]]}}" class="listCard flexA" bindtap="__e"><view class="cardImg"><image src="/static/ic_4@2x.png" alt class="_img"></image></view><view class="cardTitle"><view class="cardTitlename">{{item.name}}</view><view class="cardTitleadress flexA"><image src="/static/ic-loc@2x.png" alt class="_img"></image><text>{{item.address}}</text></view><view class="cardTitleP flexJ"><view class="cardTitlePimg flexA"><image src="/static/ic_6@2x.png" alt class="_img"></image>{{''+item.title+''}}</view><view class="cardTitletime">{{''+item.time+''}}</view></view></view></view></block></view></block><block wx:if="{{cur==1}}"><view class="buyerList"><block wx:for="{{4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toauditPagetype',['$event']]]]]}}" class="buyerCard flexJ" bindtap="__e"><view class="cardLeft"><view class="cardLeftname">作物-玉米</view><view class="cardTitletime">2022-05-28 15:30</view></view><view class="cardTitlePimg flexA" style="margin-right:24rpx;"><image src="/static/ic_6@2x.png" alt class="_img"></image>张小曼</view></view></block></view></block><block wx:if="{{cur==2}}"><view class="sellerList"><block wx:for="{{landList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tolandDetail',['$event']]]]]}}" class="listCard flexA" bindtap="__e"><view class="cardImg"><image src="/static/ic_4@2x.png" alt class="_img"></image></view><view class="cardTitle"><view class="cardTitlename">{{item.name}}</view><view class="cardTitleadress flexA"><image src="/static/ic-loc@2x.png" alt class="_img"></image><text>{{item.address}}</text></view><view class="cardTitleP flexJ"><view class="cardTitlePimg flexA"><image src="/static/ic_6@2x.png" alt class="_img"></image>{{''+item.title+''}}</view><view class="cardTitletime">{{''+item.time+''}}</view></view></view></view></block></view></block></view></view></view><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="release" bindtap="__e"><image src="/static/ic_7@2x.png" alt class="_img"></image></view><view><u-popup vue-id="8dd740cc-5" show="{{show}}" mode="bottom" data-event-opts="{{[['^close',[['close']]],['^open',[['open']]]]}}" bind:close="__e" bind:open="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="wraper"><view class="flexC popup1"><view data-event-opts="{{[['tap',[['tosellerRelease',['$event']]]]]}}" class="popItem" bindtap="__e"><view class="popImg"><image src="/static/ic_13@2x.png" alt class="_img"></image></view><view class="popName">我是卖家</view></view><view data-event-opts="{{[['tap',[['tobuyersRelease',['$event']]]]]}}" class="popItemT" bindtap="__e"><view class="popImg"><image src="/static/ic_14@2x.png" alt class="_img"></image></view><view class="popName">我是买家</view></view><view data-event-opts="{{[['tap',[['tolandRelease',['$event']]]]]}}" class="popItem" bindtap="__e"><view class="popImg"><image src="/static/ic_15@2x.png" alt class="_img"></image></view><view class="popName">土地信息发布</view></view></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="tui" bindtap="__e"><image src="/static/ic-close@2x.png" alt class="_img"></image></view></view></u-popup></view><view style="height:200rpx;"></view><view><tabbar vue-id="8dd740cc-6" idx="{{0}}" bind:__l="__l"></tabbar></view></view>
\ No newline at end of file
...
...
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
查看文件 @
2ab60be
...
...
@@ -60,6 +60,14 @@ page {
}
.u-tabs__wrapper__nav__line {
background: linear-gradient(90deg, #63d9da 0%, rgba(99, 217, 218, 0) 100%) !important;
left: -50rpx;
}
.listName {
margin-top: 32rpx;
margin-bottom: 24rpx;
color: rgba(0, 0, 0, 0.9);
font-size: 32rpx;
font-weight: 700;
}
.sellerList {
margin-top: 24rpx;
...
...
@@ -68,6 +76,7 @@ page {
font-size: 24rpx !important;
height: 48rpx !important;
background-color: transparent !important;
z-index: 999;
}
.sellerListheaditem {
width: 222rpx;
...
...
@@ -173,7 +182,7 @@ page {
font-weight: 700;
margin-bottom: 24rpx;
}
.popup {
.popup
1
{
justify-content: space-between;
padding: 64rpx 240rpx 0 240rpx;
}
...
...
unpackage/dist/dev/mp-weixin/pages/index/sellerMessageDetail.js
查看文件 @
2ab60be
...
...
@@ -302,11 +302,12 @@ var _default =
{
data
:
function
data
()
{
return
{
type
:
1
,
status
:
1
,
isMask
:
false
,
// 遮罩判断
agShow
:
false
,
//是否同意协议
// current:1,
currentNum
:
1
,
//轮播图
currentNum
:
''
,
//轮播图
list6
:
[
'https://cdn.uviewui.com/uview/swiper/swiper2.png'
,
'https://cdn.uviewui.com/uview/swiper/swiper3.png'
,
...
...
@@ -319,6 +320,16 @@ var _default =
console
.
log
(
this
.
status
);
},
methods
:
{
toDetail
:
function
toDetail
()
{
uni
.
navigateTo
({
url
:
"/pages/mine/detail?type="
.
concat
(
this
.
type
)
});
},
toDetailB
:
function
toDetailB
()
{
uni
.
navigateTo
({
url
:
'/pages/mine/detail'
});
},
// 返回上一页
rightClick
:
function
rightClick
()
{
uni
.
navigateBack
({});
...
...
unpackage/dist/dev/mp-weixin/pages/index/sellerMessageDetail.wxml
查看文件 @
2ab60be
<view><view><u-navbar vue-id="12a84b5a-1" title="卖家信息详情" autoBack="{{true}}" data-event-opts="{{[['^rightClick',[['rightClick']]]]}}" bind:rightClick="__e" bind:__l="__l"></u-navbar></view><view class="swiper"><u-swiper vue-id="12a84b5a-2" list="{{list6}}" autoplay="{{true}}" indicatorStyle="right: 20px" height="375" radius="0rpx" data-event-opts="{{[['^change',[['e0']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['indicator']}}"><view class="indicator-num" slot="indicator"><text class="indicator-num__text">{{currentNum+1+"/"+list6.length}}</text></view></u-swiper></view><view class="main"><view class="content"><view class="name">玉米</view><view class="numCard flexA"><view class="yieldCard flexC"><view class="yieldCardtitle">预计作物产量</view><view class="yieldCardnum">100公斤/亩</view></view><view class="yieldCardB flexC"><view class="yieldCardtitle">种植面积</view><view class="yieldCardnum">100亩</view></view></view><view class="flexJ"><view class="flexA"><view class="ftitle">秸秆是否出售:</view><view class="btitle">是</view></view><view class="flexA" style="margin-right:32rpx;"><view class="ftitle">秸秆状态:</view><view class="btitle">已打包</view></view></view><view class="flexA time"><view class="ftitle">收获时间:</view><view class="btitle">2022-09-21</view></view><view class="flexA"><view class="fimg"><image src="/static/ic_10@2x.png" alt class="_img"></image></view><view class="ftitle">手机:</view><view class="btitle">156****0180</view></view><view class="flexA address"><view class="fimg"><image src="/static/ic_12@2x.png" alt class="_img"></image></view><view class="ftitle">地址:</view><view class="btitle">天津市西青区花苑鑫茂科技园C1座</view></view></view></view><block wx:if="{{status==3}}"><view data-event-opts="{{[['tap',[['changeMask',['$event']]]]]}}" class="but flexC" bindtap="__e"><view class="buttitle">申请查看卖家手机号</view></view></block><block wx:if="{{status==1}}"><view class="but flexC"><view class="butImg"><image src="/static/312312@2x.png" alt class="_img"></image></view><view class="buttitle">审核中</view></view></block><block wx:if="{{status==2}}"><view class="but flexC"><view class="butImg"><image src="/static/312312@2x.png" alt class="_img"></image></view><view class="buttitle">审核通过</view></view></block><block wx:if="{{status==4}}"><view class="flexA Submit"><view class="suBut flexC">重新提交</view><view class="suButt flexC"><view class="suButtimg"><image src="/static/ic-close@2x.png" alt class="_img"></image></view><view>审核未通过</view></view></view></block><block wx:if="{{isMask==true}}"><view class="Mask"><view class="card"><view class="cardName">申请查看卖家手机号</view><view class="flexJ cardItem"><view class="cardtitle">您的姓名</view><view class="inp"><input type="text" placeholder="请输入2-6位汉字" maxlength="6"/></view></view><view class="flexJ cardItem"><view class="cardtitle">您的年龄</view><view class="inp"><input type="number" placeholder="请输入您的年龄"/></view></view><view class="flexJ cardItem"><view class="cardtitle">身份证号</view><view class="inp"><input type="number" placeholder="请输入您的18位身份证号码" maxlength="18"/></view></view><view class="agreement flexA"><block wx:if="{{agShow==true}}"><view data-event-opts="{{[['tap',[['changeAgShow',['$event']]]]]}}" class="agreementImgt" bindtap="__e"><image src="/static/ic-error@2x.png" alt class="_img"></image></view></block><block wx:else><view data-event-opts="{{[['tap',[['changeAgShow',['$event']]]]]}}" class="agreementImg" bindtap="__e"><image src="/static/ic-error@2x.png" alt class="_img"></image></view></block><view class="agreementTitle">同意<text>《用户协议》</text>和<text>《隐私协议》</text></view></view><view data-event-opts="{{[['tap',[['changeMask',['$event']]]]]}}" class="butSubmit flexC" bindtap="__e">提交</view></view></view></block></view>
\ No newline at end of file
<view><view><u-navbar vue-id="12a84b5a-1" title="卖家信息详情" autoBack="{{true}}" data-event-opts="{{[['^rightClick',[['rightClick']]]]}}" bind:rightClick="__e" bind:__l="__l"></u-navbar></view><view class="swiper"><u-swiper vue-id="12a84b5a-2" list="{{list6}}" autoplay="{{true}}" indicatorStyle="right: 20px" height="375" radius="0rpx" data-event-opts="{{[['^change',[['e0']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['indicator']}}"><view class="indicator-num" slot="indicator"><text class="indicator-num__text">{{currentNum+1+"/"+list6.length}}</text></view></u-swiper></view><view class="main"><view class="content"><view class="name">玉米</view><view class="numCard flexA"><view class="yieldCard flexC"><view class="yieldCardtitle">预计作物产量</view><view class="yieldCardnum">100公斤/亩</view></view><view class="yieldCardB flexC"><view class="yieldCardtitle">种植面积</view><view class="yieldCardnum">100亩</view></view></view><view class="flexJ"><view class="flexA"><view class="ftitle">秸秆是否出售:</view><view class="btitle">是</view></view><view class="flexA" style="margin-right:32rpx;"><view class="ftitle">秸秆状态:</view><view class="btitle">已打包</view></view></view><view class="flexA time"><view class="ftitle">收获时间:</view><view class="btitle">2022-09-21</view></view><view class="flexA"><view class="fimg"><image src="/static/ic_10@2x.png" alt class="_img"></image></view><view class="ftitle">手机:</view><view class="btitle">156****0180</view></view><view class="flexA address"><view class="fimg"><image src="/static/ic_12@2x.png" alt class="_img"></image></view><view class="ftitle">地址:</view><view class="btitle">天津市西青区花苑鑫茂科技园C1座</view></view></view></view><block wx:if="{{status==3}}"><view data-event-opts="{{[['tap',[['changeMask',['$event']]]]]}}" class="but flexC" bindtap="__e"><view class="buttitle">申请查看卖家手机号</view></view></block><block wx:if="{{status==1}}"><view class="but flexC"><view class="butImg"><image src="/static/312312@2x.png" alt class="_img"></image></view><view class="buttitle">审核中</view></view></block><block wx:if="{{status==2}}"><view class="but flexC"><view class="butImg"><image src="/static/312312@2x.png" alt class="_img"></image></view><view class="buttitle">审核通过</view></view></block><block wx:if="{{status==4}}"><view class="flexA Submit"><view class="suBut flexC">重新提交</view><view class="suButt flexC"><view class="suButtimg"><image src="/static/ic-close@2x.png" alt class="_img"></image></view><view>审核未通过</view></view></view></block><block wx:if="{{isMask==true}}"><view class="Mask"><view class="card"><view class="cardName">申请查看卖家手机号</view><view class="flexJ cardItem"><view class="cardtitle">您的姓名</view><view class="inp"><input type="text" placeholder="请输入2-6位汉字" maxlength="6"/></view></view><view class="flexJ cardItem"><view class="cardtitle">您的年龄</view><view class="inp"><input type="number" placeholder="请输入您的年龄"/></view></view><view class="flexJ cardItem"><view class="cardtitle">身份证号</view><view class="inp"><input type="number" placeholder="请输入您的18位身份证号码" maxlength="18"/></view></view><view class="agreement flexA"><block wx:if="{{agShow==true}}"><view data-event-opts="{{[['tap',[['changeAgShow',['$event']]]]]}}" class="agreementImgt" bindtap="__e"><image src="/static/ic-error@2x.png" alt class="_img"></image></view></block><block wx:else><view data-event-opts="{{[['tap',[['changeAgShow',['$event']]]]]}}" class="agreementImg" bindtap="__e"><image src="/static/ic-error@2x.png" alt class="_img"></image></view></block><view class="agreementTitle">同意<text data-event-opts="{{[['tap',[['toDetail',['$event']]]]]}}" bindtap="__e">《用户协议》</text>和<text data-event-opts="{{[['tap',[['toDetailB',['$event']]]]]}}" bindtap="__e">《隐私协议》</text></view></view><view data-event-opts="{{[['tap',[['changeMask',['$event']]]]]}}" class="butSubmit flexC" bindtap="__e">提交</view></view></view></block></view>
\ No newline at end of file
...
...
unpackage/dist/dev/mp-weixin/pages/login/login.js
查看文件 @
2ab60be
...
...
@@ -155,7 +155,7 @@ __webpack_require__.r(__webpack_exports__);
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
default
=
void
0
;
//
/* WEBPACK VAR INJECTION */
(
function
(
uni
)
{
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
default
=
void
0
;
//
//
//
//
...
...
@@ -190,7 +190,11 @@ var _default =
onLoad
:
function
onLoad
()
{
},
methods
:
{}
};
exports
.
default
=
_default
;
methods
:
{
toreturn
:
function
toreturn
()
{
uni
.
navigateBack
();
}
}
};
exports
.
default
=
_default
;
/* WEBPACK VAR INJECTION */
}.
call
(
this
,
__webpack_require__
(
/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */
1
)[
"default"
]))
/***/
}),
...
...
unpackage/dist/dev/mp-weixin/pages/login/login.wxml
查看文件 @
2ab60be
<view><view class="head"><u-navbar vue-id="35a7246c-1" title="首页" autoBack="{{true}}" leftIconSize="0rpx" bind:__l="__l"></u-navbar></view><view class="name">村镇生物质资源
数字化服务平台</view><view class="img"><image src="/static/ic_1@2x.png" alt class="_img"></image></view><view class="login flexC">登录</view><view class="noLogin">暂不登录</view><view class="title">登录代表您已同意同意 《用户协议》《隐私政策》</view></view>
\ No newline at end of file
数字化服务平台</view><view class="img"><image src="/static/ic_1@2x.png" alt class="_img"></image></view><view class="login flexC">登录</view><view data-event-opts="{{[['tap',[['toreturn',['$event']]]]]}}" class="noLogin" bindtap="__e">暂不登录</view><view class="title">登录代表您已同意同意 《用户协议》《隐私政策》</view></view>
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论