You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
22 KiB
1 lines
22 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/life/addGoods/index.vue?f3de","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/life/addGoods/index.vue?d2dd","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/life/addGoods/index.vue?78c9","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/life/addGoods/index.vue?bf2e","uni-app:///pages/life/addGoods/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/life/addGoods/index.vue?c2e3","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/life/addGoods/index.vue?a13c"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,qG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC+M;AAC/M,gBAAgB,uNAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAizB,CAAgB,i0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoGr0B;AACA,yD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,cADA,EAEA,aAFA,EAGA,SAHA,EAGA;AACA,gCAJA,EAIA;AACA,qBALA,EAKA;AACA,eANA,EAMA;AACA;AACA,QACA,OADA,EACA;AACA,iBAFA,EAEA;AACA,oBAHA,EAGA;AACA,iBAJA,EAIA;AACA,kBALA,EAKA;AACA,kBANA,CAMA;AANA,OADA,CAPA,EAiBA,QAjBA,GAmBA,CArBA,EAsBA,WACA,SADA,qBACA,GADA,EACA,kBACA,wCACA,yCACA,CAFA,EAGA,CALA,EAMA,YANA,wBAMA,GANA,EAMA,mBACA,wCACA,6CACA,CAFA,EAGA,CAVA,EAWA,cAXA,4BAWA,CACA,iBACA,kFADA,IAGA,CAfA,EAgBA,MAhBA,oBAgBA,CACA,aACA,OADA,EACA;AACA,iBAFA,EAEA;AACA,oBAHA,EAGA;AACA,iBAJA,EAIA;AACA,kBALA,EAKA;AACA,kBANA,CAMA;AANA,QAQA,sBACA,CA1BA,EA2BA,MA3BA,kBA2BA,GA3BA,EA2BA,CACA,0BACA,CA7BA,EA8BA,WA9BA,uBA8BA,CA9BA,EA8BA,CACA,4BACA,CAhCA,EAiCA,MAjCA,oBAiCA,mBACA,aACA,2BADA,EAEA,yBAFA,EAGA,2BAHA,EAGA;AACA,uCAJA,EAIA;AACA,qCALA,EAKA;AACA,iBANA,EAMA;AACA,yBAPA,EAQA,iBARA,EASA,wCATA,CASA;AATA,QAWA,4BACA,6BACA,OACA,CAHA,MAGA,iCACA,iCACA,OACA,CAHA,MAGA,6BACA,6BACA,OACA,CAHA,MAGA,6BACA,6BACA,OACA,CACA,2CACA,uBACA,+BACA,OACA,CAHA,MAGA,uBACA,+BACA,OACA,CACA,CARA,EASA,kDAEA,CAFA,EAGA,0BACA,CAvEA,EAwEA,YAxEA,wBAwEA,GAxEA,EAwEA,CACA,gBACA,UADA,EAEA,YAFA,IAIA,CA7EA,EAtBA,E;;;;;;;;;;;;;ACtGA;AAAA;AAAA;AAAA;AAAi+C,CAAgB,y7CAAG,EAAC,C;;;;;;;;;;;ACAr/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/life/addGoods/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/life/addGoods/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=29697c82&\"\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=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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/life/addGoods/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=29697c82&\"","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:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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=\"index-box\">\r\n\t\t<view class=\"add-goodsimg-box\">\r\n\t\t\t<view class=\"img-box acea-row\">\r\n\t\t\t\t<view class=\"upload-box\">\r\n\t\t\t\t\t<image src=\"../../../static/images/upload.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"upload-box\" @click=\"uploadImg(0)\">\r\n\t\t\t\t\t<image src=\"../../../static/images/addimg.png\" v-if=\"slider_image[0] == ''\"></image>\r\n\t\t\t\t\t<image :src=\"slider_image[0]\" mode=\"aspectFill\" v-else></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"upload-box\" @click=\"uploadImg(1)\">\r\n\t\t\t\t\t<image src=\"../../../static/images/addimg.png\" v-if=\"slider_image[1] == ''\"></image>\r\n\t\t\t\t\t<image :src=\"slider_image[1]\" mode=\"aspectFill\" v-else></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"upload-box\" @click=\"uploadImg(2)\">\r\n\t\t\t\t\t<image src=\"../../../static/images/addimg.png\" v-if=\"slider_image[2] == ''\"></image>\r\n\t\t\t\t\t<image :src=\"slider_image[2]\" mode=\"aspectFill\" v-else></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"tips acea-row row-middle\">\r\n\t\t\t\t<image src=\"../../../static/images/tips-icon.png\"></image>\r\n\t\t\t\t<text>最少上传一张,最多只能上传三张图片哦!</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"goodsInfo-box\">\r\n\t\t\t<view class=\"goodsInfo-item\">\r\n\t\t\t\t<text>商品名称<text class=\"colR\">*</text></text>\r\n\t\t\t\t<input type=\"text\" v-model=\"store_name\" placeholder=\"输入商品名称\" />\r\n\t\t\t</view>\r\n\t\t\t<view class=\"goodsInfo-item\">\r\n\t\t\t\t<text>商品单位</text>\r\n\t\t\t\t<input type=\"text\" v-model=\"unit_name\" placeholder=\"输入商品单位\" />\r\n\t\t\t</view>\r\n\t\t\t<view class=\"goodsInfo-item\">\r\n\t\t\t\t<text>商品详情<text class=\"colR\">*</text></text>\r\n\t\t\t\t<view class=\"toEdit acea-row row-middle\" @click=\"toGoodsDetails\">\r\n\t\t\t\t\t<text>{{description == '' ? '去编辑' : '已编辑'}}</text>\r\n\t\t\t\t\t<image src=\"../../../static/images/arror-r-s.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"title2\" @click=\"addSku\">添加规格</view>\r\n\t\t<view class=\"add-sku-box\">\r\n\t\t\t<view class=\"sku-item\" v-for=\"(item,index) in attrs\" :key=\"index\">\r\n\t\t\t\t<view class=\"close-btn\" @click=\"delSku(index)\">×</view>\r\n\t\t\t\t<view class=\"sku img-sku acea-row row-middle row-between\">\r\n\t\t\t\t\t<text>图片</text>\r\n\t\t\t\t\t<image src=\"../../../static/images/upload.png\" v-if=\"item.pic == ''\" @tap=\"uploadSkuImg(index)\"></image>\r\n\t\t\t\t\t<image :src=\"item.pic\" v-else @tap=\"uploadSkuImg(index)\" mode=\"aspectFill\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"sku img-sku acea-row row-middle row-between\">\r\n\t\t\t\t\t<text>价格<text class=\"colR\">*</text></text>\r\n\t\t\t\t\t<input type=\"text\" v-model=\"item.price\" placeholder=\"请输入售价(元)\" />\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"sku img-sku acea-row row-middle row-between\">\r\n\t\t\t\t\t<text>市场价格</text>\r\n\t\t\t\t\t<input type=\"text\" v-model=\"item.ot_orice\" placeholder=\"请输入市场价格(元)\" />\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"sku img-sku acea-row row-middle row-between\">\r\n\t\t\t\t\t<text>库存<text class=\"colR\">*</text></text>\r\n\t\t\t\t\t<input type=\"text\" v-model=\"item.stock\" placeholder=\"请输入库存\" />\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"sku img-sku acea-row row-middle row-between\">\r\n\t\t\t\t\t<text>重量</text>\r\n\t\t\t\t\t<input type=\"text\" v-model=\"item.weight\" placeholder=\"请输入重量\" />\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"sku img-sku acea-row row-middle row-between\">\r\n\t\t\t\t\t<text>体积</text>\r\n\t\t\t\t\t<input type=\"text\" v-model=\"item.volume\" placeholder=\"请输入体积\" />\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"temp-box acea-row row-between-wrapper\">\r\n\t\t\t<text>运费模板</text>\r\n\t\t\t<view class=\"acea-row row-middle\">\r\n\t\t\t\t<text>全国包邮(默认)</text>\r\n\t\t\t\t<image src=\"../../../static/images/arror-r-s.png\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"temp-box goods-state acea-row row-between-wrapper\">\r\n\t\t\t<text>商品状态</text>\r\n\t\t\t<view class=\"acea-row row-middle\">\r\n\t\t\t\t<radio-group @change=\"radioChange\">\r\n\t\t\t\t\t<label>\r\n\t\t\t\t\t\t<radio :value=\"0\" :checked=\"state == 0\" /><text>上架</text>\r\n\t\t\t\t\t</label>\r\n\t\t\t\t\t<label>\r\n\t\t\t\t\t\t<radio :value=\"1\" :checked=\"state == 1\" /><text>下架</text>\r\n\t\t\t\t\t</label>\r\n\t\t\t\t</radio-group>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"btn-box\">\r\n\t\t\t<view class=\"btn\" @tap=\"submit\">提交</view>\r\n\t\t</view>\r\n\t</view>\n</template>\n\n<script>\r\n\timport { chooseImage } from \"@/utils\"\r\n\timport { addProduct } from '@/api/store'\r\n\texport default{\r\n\t\tdata(){\r\n\t\t\treturn {\r\n\t\t\t\tstore_name: '',\r\n\t\t\t\tunit_name: '',\r\n\t\t\t\timage:'', //主图\r\n\t\t\t\tslider_image: ['','',''] ,// 轮播图\r\n\t\t\t\tdescription: '', //商品详情富文本\r\n\t\t\t\ttempId: 1, //运费方案\r\n\t\t\t\tattrs: [ // 单规格一个,多规格多个\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpic: '', //\"规格图片 --可选\",\r\n\t\t\t\t\t\tprice: '', //\"价格 元\", \r\n\t\t\t\t\t\tot_orice: '', //\"市场价格 --可选\",\r\n\t\t\t\t\t\tstock: '', //\"库存\", \r\n\t\t\t\t\t\tweight: '', //\"重量 --可选\",\r\n\t\t\t\t\t\tvolume: '', //\"体积 --可选\"\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\tstate: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tuploadImg(idx){\r\n\t\t\t\tchooseImage((img)=>{\r\n\t\t\t\t\tthis.$set(this.slider_image,idx,img)\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tuploadSkuImg(idx){\r\n\t\t\t\tchooseImage((img)=>{\r\n\t\t\t\t\tthis.$set(this.attrs,idx,{pic: img})\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttoGoodsDetails(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t url: '/pages/life/goodsDetails/index?desc='+encodeURIComponent(this.description)\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\taddSku(){\r\n\t\t\t\tlet item = {\r\n\t\t\t\t\tpic: '', //\"规格图片 --可选\",\r\n\t\t\t\t\tprice: '', //\"价格 元\", \r\n\t\t\t\t\tot_orice: '', //\"市场价格 --可选\",\r\n\t\t\t\t\tstock: '', //\"库存\", \r\n\t\t\t\t\tweight: '', //\"重量 --可选\",\r\n\t\t\t\t\tvolume: '', //\"体积 --可选\"\r\n\t\t\t\t}\r\n\t\t\t\tthis.attrs.push(item)\r\n\t\t\t},\r\n\t\t\tdelSku(idx){\r\n\t\t\t\tthis.attrs.splice(idx,1)\r\n\t\t\t},\r\n\t\t\tradioChange(e){\r\n\t\t\t\tthis.state = e.detail.value\r\n\t\t\t},\r\n\t\t\tsubmit(){\r\n\t\t\t\tlet form = {\r\n\t\t\t\t\tstore_name: this.store_name,\r\n\t\t\t\t\tunit_name: this.unit_name,\r\n\t\t\t\t\timage: this.slider_image[0], //主图\r\n\t\t\t\t\tslider_image: this.slider_image , // 轮播图\r\n\t\t\t\t\tdescription: this.description, //商品详情富文本\r\n\t\t\t\t\ttempId: 1, //运费方案\r\n\t\t\t\t\tattrs: this.attrs,\r\n\t\t\t\t\tstate: this.state,\r\n\t\t\t\t\tspec_type: this.attrs.length > 1 ? 1 : 0 //单规格,多规格\r\n\t\t\t\t}\r\n\t\t\t\tif(form.store_name == ''){\r\n\t\t\t\t\tthis.alertMessage('请填写商品名称')\r\n\t\t\t\t\treturn \r\n\t\t\t\t} else if(form.slider_image[0] == ''){\r\n\t\t\t\t\tthis.alertMessage('请至少上传一张商品图片')\r\n\t\t\t\t\treturn\r\n\t\t\t\t} else if(form.description == ''){\r\n\t\t\t\t\tthis.alertMessage('请填写商品详情')\r\n\t\t\t\t\treturn\r\n\t\t\t\t} else if(form.description == ''){\r\n\t\t\t\t\tthis.alertMessage('请填写商品详情')\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tform.attrs.forEach((item,index)=>{\r\n\t\t\t\t\tif(item.price == ''){\r\n\t\t\t\t\t\tthis.alertMessage('请商品规格价格')\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t} else if(item.stock == ''){\r\n\t\t\t\t\t\tthis.alertMessage('请商品规格库存')\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\taddProduct(form).then((res)=>{\r\n\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log(form,'form')\r\n\t\t\t},\r\n\t\t\talertMessage(msg){\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: msg,\r\n\t\t\t\t\ticon: 'none'\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\n</script>\n\n<style lang=\"less\">\r\n\t.index-box{\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tbackground: #F5F6F7;\r\n\t\tpadding: 20rpx 40rpx 110rpx;\r\n\t\tposition: relative;\r\n\t\t.add-goodsimg-box{\r\n\t\t\twidth: 100%;\r\n\t\t\tpadding: 24rpx;\r\n\t\t\tbackground: #fff;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\t.upload-box{\r\n\t\t\t\twidth: 140rpx;\r\n\t\t\t\theight: 140rpx;\r\n\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t&:nth-last-child(1){\r\n\t\t\t\t\tmargin-right: 0;\r\n\t\t\t\t}\r\n\t\t\t\timage{\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 100%;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.tips{\r\n\t\t\t\tcolor: #FF0707;\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tmargin-top: 16rpx;\r\n\t\t\t\timage{\r\n\t\t\t\t\twidth: 18rpx;\r\n\t\t\t\t\theight: 18rpx;\r\n\t\t\t\t\tmargin-right: 8rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.goodsInfo-box{\r\n\t\t\twidth: 100%;\r\n\t\t\tbackground: #fff;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tmargin-top: 40rpx;\r\n\t\t\t.goodsInfo-item{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 116rpx;\r\n\t\t\t\tpadding: 0 32rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\tborder-bottom: 2rpx solid #EEEEEE;\r\n\t\t\t\t&:nth-last-child(1){\r\n\t\t\t\t\tborder: none;\r\n\t\t\t\t}\r\n\t\t\t\tinput{\r\n\t\t\t\t\ttext-align: right;\r\n\t\t\t\t}\r\n\t\t\t\t.toEdit{\r\n\t\t\t\t\timage{\r\n\t\t\t\t\t\twidth: 24rpx;\r\n\t\t\t\t\t\theight: 24rpx;\r\n\t\t\t\t\t\tmargin-left: 6rpx;\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\t.title2{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 76rpx;\r\n\t\t\tline-height: 76rpx;\r\n\t\t\tborder: 2rpx solid #B8B8B8;\r\n\t\t\tbackground: #fff;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tmargin: 24rpx auto; \r\n\t\t}\r\n\t\t.add-sku-box{\r\n\t\t\twidth: 100%;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tfont-weight: 500;\r\n\t\t\timage{\r\n\t\t\t\twidth: 110rpx;\r\n\t\t\t\theight: 110rpx;\r\n\t\t\t}\r\n\t\t\t.sku-item{\r\n\t\t\t\tpadding: 32rpx 0;\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t\tmargin-bottom: 12rpx;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\t.close-btn{\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tfont-size: 38rpx;\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\tright: -16rpx;\r\n\t\t\t\t\ttop: -22rpx;\r\n\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\tline-height: 40rpx;\r\n\t\t\t\t\twidth: 46rpx;\r\n\t\t\t\t\theight: 46rpx;\r\n\t\t\t\t\ttext-align: center;\n\t\t\t\t\tbackground: #FF5E16;\n\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t}\r\n\t\t\t\t.sku{\r\n\t\t\t\t\tpadding: 0 32rpx;\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tmin-height: 86rpx;\r\n\t\t\t\t\tborder-bottom: 2rpx solid #EEEEEE;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tinput{\r\n\t\t\t\t\ttext-align: right;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.temp-box{\r\n\t\t\twidth: 100%;\r\n\t\t\tbackground: #fff;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\tpadding: 32rpx;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tfont-weight: 500;\r\n\t\t\timage{\r\n\t\t\t\twidth: 24rpx;\r\n\t\t\t\theight: 24rpx;\r\n\t\t\t\tmargin-left: 6rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\tlabel{\r\n\t\t\tmargin-left: 16rpx;\r\n\t\t}\r\n\t\t.btn-box{\r\n\t\t\t.btn{\r\n\t\t\t\twidth: 230rpx;\r\n\t\t\t\theight: 80rpx;\r\n\t\t\t\tbackground: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tline-height: 80rpx;\r\n\t\t\t\tfont-size: 38rpx;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\tcolor: #fff;\r\n\t\t\t\tmargin: 32rpx auto;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.colR{\r\n\t\t\tcolor: #FF0000;\r\n\t\t}\r\n\t}\n</style>\n","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-5!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-5!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=less&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635125981086\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/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":""} |