暂存代码
This commit is contained in:
@@ -1 +1 @@
|
||||
{"version":3,"file":"address.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2FkZHJlc3MudnVl"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/address.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"address.js","sources":["components/address.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2FkZHJlc3MudnVl"],"sourcesContent":["<template>\n\t<view class=\"mine_address_warp\">\n\t\t<view \r\n\t\t\tv-for=\"item in addressList\" \r\n\t\t\t:key=\"item.id\" \r\n\t\t\t:class=\"selectAddress && selectAddress.id === item.id?'address_item address_item_sel':'address_item'\" \r\n\t\t\tv-if=\"addressList && addressList.length !==0\"\r\n\t\t\t@click=\"checkAddress(item)\"\r\n\t\t>\r\n\t\t\t<view class=\"address_item_country_name\">\r\n\t\t\t\t{{item.countryName}} {{item.provinceName}} {{item.cityName}} {{item.areaName}} \r\n\t\t\t</view>\r\n\t\t\t<view class=\"address_item_address\">\r\n\t\t\t\t{{item.address}} \r\n\t\t\t</view>\r\n\t\t\t<view class=\"address_item_info\">\r\n\t\t\t\t<view>{{item.name}}</view>\r\n\t\t\t\t<view style=\"margin-left: 20rpx;\">{{item.phone}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-else class=\"not_order_warp\">\r\n\t\t\t<view class=\"not_order_warp_img\"><up-image src=\"/static/common/not_search.png\" width=\"100\" height=\"100\" bgColor=\"#f1f6ff00\"></up-image></view>\r\n\t\t\t<view class=\"not_order_msg_warp\">暂时地址,快去地址管理添加吧~</view>\r\n\t\t</view>\r\n\t</view>\n</template>\n\n<script>\r\n\timport { getAddress,setAddressDefault,deleteAddress } from '@/api/address.js';\r\n\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\taddressList:[],\r\n\t\t\t\tselectAddress:{},\n\t\t\t}\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getAddressList();\r\n\t\t},\n\t\tmethods: {\r\n\t\t\t// 添加地址\r\n\t\t\tjumpAddAddress(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/mine_address_add/mine_address_add',\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 查询地址\r\n\t\t\tasync getAddressList(){\r\n\t\t\t\tconst res = await getAddress();\r\n\t\t\t\tif(res && res.bizcode === 100){\r\n\t\t\t\t\tthis.addressList = res.data;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcheckAddress(item){\r\n\t\t\t\tthis.selectAddress = item;\r\n\t\t\t\tthis.$emit(\"valueFunc\", item);\r\n\t\t\t},\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\t\n\t.mine_address_warp{\r\n\t}\r\n\t.address_item{\r\n\t\tbackground: #FFFFFF;\r\n\t\tpadding: 30rpx;\r\n\t\tborder-bottom: 1rpx solid #9e9e9e26;\r\n\t}\r\n\t.address_item_sel{\r\n\t\tcolor: $app-bt-bj !important;\r\n\t\tbackground-color: #ff57220d;\r\n\t}\r\n\t.address_item_info{\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: #868383;\r\n\t\tdisplay: flex;\r\n\t}\r\n\t.address_item_address{\r\n\t\tfont-weight: bold;\r\n\t\tfont-size: 32rpx;\r\n\t\tcolor: #666666;\r\n\t\tmargin: 10rpx 0;\r\n\t}\r\n\t.address_item_country_name{\r\n\t\tcolor: #9E9E9E;\r\n\t\tfont-size: 22rpx;\r\n\t}\r\n</style>\n","import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/address.vue'\nwx.createComponent(Component)"],"names":["uni","getAddress"],"mappings":";;;AA8BC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,aAAY,CAAE;AAAA,MACd,eAAc,CAAE;AAAA,IACjB;AAAA,EACA;AAAA,EACD,UAAU;AACT,SAAK,eAAc;AAAA,EACnB;AAAA,EACD,SAAS;AAAA;AAAA,IAER,iBAAgB;AACfA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAI;AAAA,OACJ;AAAA,IACD;AAAA;AAAA,IAED,MAAM,iBAAgB;AACrB,YAAM,MAAM,MAAMC,YAAAA;AAClB,UAAG,OAAO,IAAI,YAAY,KAAI;AAC7B,aAAK,cAAc,IAAI;AAAA,MACxB;AAAA,IACA;AAAA,IACD,aAAa,MAAK;AACjB,WAAK,gBAAgB;AACrB,WAAK,MAAM,aAAa,IAAI;AAAA,IAC5B;AAAA,EACF;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1DD,GAAG,gBAAgB,SAAS;"}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"choiceness.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2Nob2ljZW5lc3MvY2hvaWNlbmVzcy52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/choiceness/choiceness.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"choiceness.js","sources":["components/choiceness/choiceness.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2Nob2ljZW5lc3MvY2hvaWNlbmVzcy52dWU"],"sourcesContent":["<template>\r\n\t<view class=\"choiceness_warp\">\r\n\t\t<view class=\"choiceness_title\">\r\n\t\t\t<up-image src=\"/static/common/jingxuan_left.png\" width=\"24\" height=\"8\" bgColor=\"#f1f6ff00\"></up-image>\r\n\t\t\t<view class=\"choiceness_title_msg\">为您精选</view>\r\n\t\t\t<up-image src=\"/static/common/jingxuan_right.png\" width=\"24\" height=\"8\" bgColor=\"#f1f6ff00\"></up-image>\r\n\t\t</view>\r\n\t\t<view class=\"choiceness_product\">\r\n\t\t\t<view v-for=\"item in productList\" :key=\"item.id\" class=\"choiceness_product_item\" @click=\"jumpInfo(item)\">\r\n\t\t\t\t<up-image :src=\"item.url\" width=\"100%\" height=\"140\" bgColor=\"#f1f6ff00\"></up-image>\r\n\t\t\t\t<view class=\"product_item_name\">{{item.title}}</view>\r\n\t\t\t\t<view class=\"product_item_price\">\r\n\t\t\t\t\t<view class=\"price_\">\r\n\t\t\t\t\t\t<text>¥</text>\r\n\t\t\t\t\t\t<text style=\"color:36rpx;\">{{item.adPrice}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"price_sell\">已售{{item.sales}}件</view>\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\timport { searchList } from '@/api/product.js';\r\n\t\r\n\texport default {\r\n\t\tname:\"choiceness\",\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tproductList:[]\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getSearchList();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// \r\n\t\t\tjumpInfo(item){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t url: '/pages/productInfo/productInfo?id='+item.id,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync getSearchList(){\r\n\t\t\t\tconst params={\r\n\t\t\t\t\tisRecomm:true,\r\n\t\t\t\t\tpage:1,\r\n\t\t\t\t\tpageSize:66,\r\n\t\t\t\t}\r\n\t\t\t\tconst resp = await searchList(params);\r\n\t\t\t\tif(resp && resp.bizcode === 100){\r\n\t\t\t\t\tthis.productList = resp.data\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.choiceness_warp{\r\n\t\tmargin-top: 50rpx;\r\n\t}\r\n\t.choiceness_title{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\t.choiceness_title_msg{\r\n\t\t\tmargin: 0 18rpx;\r\n\t\t}\r\n\t}\r\n\t.choiceness_product{\r\n\t\tmargin-top: 40rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-wrap: wrap;\r\n\t\tjustify-content: space-between;\r\n\t\t.choiceness_product_item{\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tbox-shadow: 0rpx 0rpx 10rpx 0rpx #EEEEEE;\r\n\t\t\tborder-radius: 24rpx;\r\n\t\t\twidth: 43%;\r\n\t\t\tmargin-bottom: 20rpx;\r\n\t\t\tpadding: 20rpx;\r\n\t\t}\r\n\t\t.product_item_name{\r\n\t\t\tfont-weight: bold;\r\n\t\t\tfont-size: 26rpx;\r\n\t\t\tcolor: #333333;\r\n\t\t\tmargin-top: 20rpx;\r\n\t\t}\r\n\t\t.product_item_price{\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: space-between;\r\n\t\t\talign-items: center;\r\n\t\t\tmargin-top: 10rpx;\r\n\t\t\t.price_{\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tcolor: $app-bt-bj;\r\n\t\t\t}\r\n\t\t\t.price_sell{\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 18rpx;\r\n\t\t\t\tcolor: #999999;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/choiceness/choiceness.vue'\nwx.createComponent(Component)"],"names":["uni","searchList"],"mappings":";;;AA0BC,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AACN,WAAO;AAAA,MACN,aAAY,CAAC;AAAA;EAEd;AAAA,EACD,UAAU;AACT,SAAK,cAAa;AAAA,EAClB;AAAA,EACD,SAAS;AAAA;AAAA,IAER,SAAS,MAAK;AACbA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK,uCAAqC,KAAK;AAAA,OAClD;AAAA,IACD;AAAA,IACD,MAAM,gBAAe;AACpB,YAAM,SAAO;AAAA,QACZ,UAAS;AAAA,QACT,MAAK;AAAA,QACL,UAAS;AAAA,MACV;AACA,YAAM,OAAO,MAAMC,uBAAW,MAAM;AACpC,UAAG,QAAQ,KAAK,YAAY,KAAI;AAC/B,aAAK,cAAc,KAAK;AAAA,MACzB;AAAA,IACD;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtDD,GAAG,gBAAgB,SAAS;"}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"code-comm.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2NvZGUtY29tbS9jb2RlLWNvbW0udnVl"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/code-comm/code-comm.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"code-comm.js","sources":["components/code-comm/code-comm.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2NvZGUtY29tbS9jb2RlLWNvbW0udnVl"],"sourcesContent":["<template>\r\n\t<view class=\"comm-input-warp\">\r\n\t\t<!-- #ifdef APP-PLUS -->\r\n\t\t\t<input\r\n\t\t\t :placeholder=\"$t('login.comm.code')\"\r\n\t\t\t border=\"false\"\r\n\t\t\t :v-model=\"modelValue\"\r\n\t\t\t\tcolor=\"#EEEEEE\"\r\n\t\t\t\ttype=\"number\"\r\n\t\t\t\t@input=\"$emit('update:modelValue', $event.detail.value)\"\r\n\t\t\t\tstyle=\"height: 64rpx;width: 70%;\"\r\n\t\t\t></input>\r\n\t\t<!-- #endif -->\r\n\t\t<!-- #ifdef MP -->\r\n\t\t\t<input\r\n\t\t\t :placeholder=\"$t('login.comm.code')\"\r\n\t\t\t border=\"false\"\r\n\t\t\t :v-model=\"modelValue\"\r\n\t\t\t\tcolor=\"#EEEEEE\"\r\n\t\t\t\ttype=\"number\"\r\n\t\t\t\t@input=\"$emit('update:modelValue', $event.target.value)\"\r\n\t\t\t\tstyle=\"height: 64rpx;width: 70%;\"\r\n\t\t\t></input>\r\n\t\t<!-- #endif -->\r\n\t\t<view class=\"code-warp\" v-if=\"countdown\">\r\n\t\t\t<up-count-down :time=\"60 * 1000\" format=\"ss\" @finish=\"getCode(false)\"></up-count-down> \r\n\t\t\t<text style=\"margin-left: 10rpx;\">s</text>\r\n\t\t\t<!-- <text style=\"margin-left: 10rpx;\">{{$t('login.comm.reacquire.code')}}</text> -->\r\n\t\t</view>\r\n\t\t<view v-else class=\"code-warp\" @click=\"getCode(true)\">\r\n\t\t\t<view>{{$t('login.comm.get.code')}}</view>\r\n\t\t</view>\r\n\t\t<up-toast ref=\"uToastRef\"></up-toast>\r\n\t</view>\r\n</template>\n\n<script>\r\n\timport { ref } from 'vue';\r\n\t\r\n\tconst uCodeRef = ref(null);\r\n\t\r\n\texport default {\r\n\t\tname: 'inputComm',\n\t\tprops: ['modelValue','codeNumberRef','emptyCountdownRef'],\r\n\t\twatch: {\r\n\t\t emptyCountdownRef(value,oldValue) {\r\n\t\t\t\tif(value){\r\n\t\t\t\t\tthis.countdown = true;\r\n\t\t\t\t}\r\n\t\t },\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcountdown:false,\r\n\t\t\t\temptyCountdown:this.emptyCountdownRef,\r\n\t\t\t\tinputCss:{\r\n\t\t\t\t\t\"height\":'80rpx',\r\n\t\t\t\t\t\"background\": \"#F3F3F3FF\",\r\n\t\t\t\t\t\"border-radius\": \"30rpx\",\r\n\t\t\t\t\t\"border\": \"0rpx\",\r\n\t\t\t\t\t\"padding-left\": \"16px\",\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\t\temits: ['update:modelValue'],\r\n\t\tmounted() {\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetCode(val){\r\n\t\t\t\tconst emptyCountdown = this.emptyCountdown;\r\n\t\t\t\tif(val){\r\n\t\t\t\t\tconst codeNumber = this.codeNumberRef;\r\n\t\t\t\t\tif(codeNumber){\r\n\t\t\t\t\t\tthis.$emit('getCode');\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.$refs.uToastRef.show({\r\n\t\t\t\t\t\t\ttype: 'error',\r\n\t\t\t\t\t\t\tmessage: this.$t('login.comm.email'),\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\t// uni.dialog.showMessage('请输入邮箱');\r\n\t\t\t\t\tthis.$refs.uToastRef.show({\r\n\t\t\t\t\t\ttype: 'error',\r\n\t\t\t\t\t\tmessage: this.$t('login.comm.email'),\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\n\t};\r\n\n</script>\n\n<style lang=\"less\" scoped>\r\n\t.code-warp{\r\n\t\twidth: 30%;\r\n\t\ttext-align: right;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: flex-end;\r\n\t}\r\n\t.wrap {\r\n\t\tpadding: 24rpx;\r\n\t}\r\n</style>","import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/code-comm/code-comm.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;AAuCkBA,cAAG,IAAC,IAAI;AAEzB,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO,CAAC,cAAa,iBAAgB,mBAAmB;AAAA,EACxD,OAAO;AAAA,IACH,kBAAkB,OAAM,UAAU;AACpC,UAAG,OAAM;AACR,aAAK,YAAY;AAAA,MAClB;AAAA,IACG;AAAA,EACJ;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,WAAU;AAAA,MACV,gBAAe,KAAK;AAAA,MACpB,UAAS;AAAA,QACR,UAAS;AAAA,QACT,cAAc;AAAA,QACd,iBAAiB;AAAA,QACjB,UAAU;AAAA,QACV,gBAAgB;AAAA,MAChB;AAAA,IACF;AAAA,EACA;AAAA,EACD,OAAO,CAAC,mBAAmB;AAAA,EAC3B,UAAU;AAAA,EACT;AAAA,EACD,SAAS;AAAA,IACR,QAAQ,KAAI;AACY,WAAK;AAC5B,UAAG,KAAI;AACN,cAAM,aAAa,KAAK;AACxB,YAAG,YAAW;AACb,eAAK,MAAM,SAAS;AAAA,eAChB;AACJ,eAAK,MAAM,UAAU,KAAK;AAAA,YACzB,MAAM;AAAA,YACN,SAAS,KAAK,GAAG,kBAAkB;AAAA,UACpC,CAAC;AACD;AAAA,QACD;AAAA,aACI;AAEJ,aAAK,MAAM,UAAU,KAAK;AAAA,UACzB,MAAM;AAAA,UACN,SAAS,KAAK,GAAG,kBAAkB;AAAA,QACpC,CAAC;AAAA,MACF;AAAA,IACA;AAAA,EACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACxFH,GAAG,gBAAgB,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"custom-tab-bar.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2N1c3RvbS10YWItYmFyLnZ1ZQ"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/custom-tab-bar.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"custom-tab-bar.js","sources":["components/custom-tab-bar.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2N1c3RvbS10YWItYmFyLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"custom-tab-bar\">\r\n\t <view v-for=\"(item, index) in tabs\" :key=\"index\" class=\"tab-item\" @click=\"switchTab(index)\">\r\n\t <image :src=\"tabIndex === index ? item.selectedIconPath:item.iconPath\" class=\"tab-icon\"></image>\r\n\t <text :class=\"tabIndex === index ? 'tab-text tab-text-sel':'tab-text'\">{{ item.text }}</text>\r\n\t </view>\r\n\t </view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname:\"custom-tab-bar\",\r\n\t\tprops: {\r\n\t\t tabIndex: { //当前选中的tab项\r\n\t\t type: Number,\r\n\t\t default: 0\r\n\t\t }\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttabs: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"pagePath\": \"/pages/home/home\",\r\n\t\t\t\t\t\t\"text\": \"首页\",\r\n\t\t\t\t\t\t\"iconPath\": \"/static/column/home.png\",\r\n\t\t\t\t\t\t\"selectedIconPath\": \"/static/column/home_sel.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"pagePath\": \"/pages/sort/sort\",\r\n\t\t\t\t\t\t\"text\": \"分类\",\r\n\t\t\t\t\t\t\"iconPath\": \"/static/column/sort.png\",\r\n\t\t\t\t\t\t\"selectedIconPath\": \"/static/column/sort_sel.png\"\r\n\t\t\t\t\t}, \r\n\t\t\t\t\t// {\r\n\t\t\t\t\t// \t\"pagePath\": \"/pages/hash_union/hash_union\",\r\n\t\t\t\t\t// \t\"text\": \"哈希联盟\",\r\n\t\t\t\t\t// \t\"iconPath\": \"/static/column/hx.png\",\r\n\t\t\t\t\t// \t\"selectedIconPath\": \"/static/column/hx_sel.png\"\r\n\t\t\t\t\t// }, \r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"pagePath\": \"/pages/shopping_cart/shopping_cart\",\r\n\t\t\t\t\t\t\"text\": \"购物车\",\r\n\t\t\t\t\t\t\"iconPath\": \"/static/column/shopping.png\",\r\n\t\t\t\t\t\t\"selectedIconPath\": \"/static/column/shopping_sel.png\"\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t\"pagePath\": \"/pages/mine/mine\",\r\n\t\t\t\t\t\t\"text\": \"我的\",\r\n\t\t\t\t\t\t\"iconPath\": \"/static/column/mine.png\",\r\n\t\t\t\t\t\t\"selectedIconPath\": \"/static/column/mine_sel.png\"\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\tmethods: {\r\n\t\t switchTab(index) {\r\n\t\t const pagePath = this.tabs[index].pagePath;\r\n\t\t uni.switchTab({ url: pagePath });\r\n\t\t }\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.custom-tab-bar {\r\n\tposition: fixed;\r\n\tdisplay: flex;\r\n\tjustify-content: space-around;\r\n\talign-items: center;\r\n\theight: 140rpx; /* 根据需要调整 */\r\n\tbackground-color: #fff; /* 背景颜色 */\r\n\tbottom: 0;\r\n\twidth: 100%;\r\n}\r\n.tab-item {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n}\r\n.tab-icon {\r\n width: 24px; /* 图标大小 */\r\n height: 24px; /* 图标大小 */\r\n}\r\n.tab-text {\r\n font-size: 12px; /* 文字大小 */\r\n}\r\n.tab-text-sel {\r\n color: $app-bt-bj;\r\n}\r\n</style>","import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/custom-tab-bar.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;AAUC,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AAAA,IACH,UAAU;AAAA;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACb;AAAA,EACH;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,MAAM;AAAA,QACL;AAAA,UACC,YAAY;AAAA,UACZ,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,oBAAoB;AAAA,QACpB;AAAA,QACD;AAAA,UACC,YAAY;AAAA,UACZ,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,oBAAoB;AAAA,QACpB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAOD;AAAA,UACC,YAAY;AAAA,UACZ,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,oBAAoB;AAAA,QACrB;AAAA,QAAG;AAAA,UACF,YAAY;AAAA,UACZ,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,oBAAoB;AAAA,QACrB;AAAA,MACD;AAAA;EAED;AAAA,EACD,SAAS;AAAA,IACL,UAAU,OAAO;AACf,YAAM,WAAW,KAAK,KAAK,KAAK,EAAE;AAClCA,oBAAAA,MAAI,UAAU,EAAE,KAAK,SAAU,CAAA;AAAA,IACjC;AAAA,EACJ;AACD;;;;;;;;;;;;;;;AC1DD,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"header.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2hlYWRlci52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/header.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"header.js","sources":["components/header.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2hlYWRlci52dWU"],"sourcesContent":["<template>\r\n\t<!-- 导航栏 -->\r\n\t<view class=\"header_\" >\r\n\t\t<view style=\"margin-top: 20rpx;\" @click=\"leftJump\">\r\n\t\t\t<up-image src=\"/static/common/left.png\" width=\"18\" height=\"20\" bgColor=\"#f1f6ff00\"/>\r\n\t\t</view>\r\n\t\t<view class=\"title_\">{{leftTitle}}</view>\r\n\t\t<view @click=\"rightJump\">{{rightTitle}}</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname:\"header\",\r\n\t\tprops: {\r\n\t\t\tleftTitle:{\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: null\r\n\t\t\t},\r\n\t\t\tleftPath:{\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: null\r\n\t\t\t},\r\n\t\t\tleftPathType:{\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"navigateTo\"\r\n\t\t\t},\r\n\t\t\trightTitle:{\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: null\r\n\t\t\t},\r\n\t\t\trightPath:{\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: null\r\n\t\t\t},\r\n\t\t\trightPathType:{\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"navigateTo\"\r\n\t\t\t},\r\n\t\t},\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\tmethods: {\r\n\t\t\tleftJump() {\r\n\t\t\t\tconst leftPath = this.leftPath;\r\n\t\t\t\tif(!leftPath){\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tconst leftPathType = this.leftPathType;\r\n\t\t\t\tif(leftPathType === \"navigateTo\"){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:leftPath,\r\n\t\t\t\t\t})\r\n\t\t\t\t}else if(leftPathType === \"switchTab\"){\r\n\t\t\t\t\tuni.switchTab({ \r\n\t\t\t\t\t\turl: leftPath,\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\trightJump() {\r\n\t\t\t\tconst rightPath = this.rightPath;\r\n\t\t\t\tif(!rightPath){\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tconst rightPathType = this.rightPathType;\r\n\t\t\t\tif(rightPathType === \"navigateTo\"){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:rightPath,\r\n\t\t\t\t\t})\r\n\t\t\t\t}else if(rightPathType === \"switchTab\"){\r\n\t\t\t\t\tuni.switchTab({ \r\n\t\t\t\t\t\turl: rightPath,\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</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.header_{\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n\tpadding: 74rpx 20rpx 20rpx;\r\n\t.title_{\r\n\t\t// font-weight: bold;\r\n\t\tfont-size: 36rpx;\r\n\t\tcolor: #000000;\r\n\t\tmargin-left: 20rpx;\r\n\t}\r\n}\r\n</style>","import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/header.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;AAYC,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AAAA,IACN,WAAU;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,UAAS;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,cAAa;AAAA,MACZ,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,YAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,WAAU;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,eAAc;AAAA,MACb,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EACD,OAAO;AACN,WAAO;EAGP;AAAA,EACD,SAAS;AAAA,IACR,WAAW;AACV,YAAM,WAAW,KAAK;AACtB,UAAG,CAAC,UAAS;AACZ;AAAA,MACD;AACA,YAAM,eAAe,KAAK;AAC1B,UAAG,iBAAiB,cAAa;AAChCA,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAI;AAAA,SACJ;AAAA,MACF,WAAS,iBAAiB,aAAY;AACrCA,sBAAAA,MAAI,UAAU;AAAA,UACb,KAAK;AAAA,QACN,CAAC;AAAA,MACF;AAAA,IACA;AAAA,IACD,YAAY;AACX,YAAM,YAAY,KAAK;AACvB,UAAG,CAAC,WAAU;AACb;AAAA,MACD;AACA,YAAM,gBAAgB,KAAK;AAC3B,UAAG,kBAAkB,cAAa;AACjCA,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAI;AAAA,SACJ;AAAA,MACF,WAAS,kBAAkB,aAAY;AACtCA,sBAAAA,MAAI,UAAU;AAAA,UACb,KAAK;AAAA,QACN,CAAC;AAAA,MACF;AAAA,IACA;AAAA,EACF;AACD;;;;;;;;;;;;;;;;;;;;;;;;AC9ED,GAAG,gBAAgB,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user