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
35 KiB

{"version":3,"sources":["uni-app:///main.js",null,"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;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AAAizB,CAAgB,i0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2Kr0B;AACA,yD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,MADA,EAEA,cAFA,EAGA,aAHA,EAIA,SAJA,EAIA;AACA,sBALA,EAKA;AACA,qBANA,EAMA;AACA,eAPA,EAOA;AACA,kBARA,EASA;AACA,QACA,OADA,EACA;AACA,iBAFA,EAEA;AACA,oBAHA,EAGA;AACA,iBAJA,EAIA;AACA,kBALA,EAKA;AACA,kBANA,CAMA;AANA,OADA,CATA,EAmBA,WAnBA,EAoBA,QApBA,EAqBA,QArBA,EAsBA,eAtBA,EAuBA,uBAvBA,EAwBA,eAxBA,GA0BA,CA5BA,EA6BA,MA7BA,oBA6BA,kBACA,sCACA,cACA,4BACA,aADA,IAGA,iEACA,oBACA,uCACA,mCACA,iCACA,qCACA,mCACA,yBACA,CARA,EASA,CAbA,MAaA,CACA,kBACA,CAjBA,CAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAxEA,EAyEA,WACA,UADA,wBACA,mBACA,0CACA,+BACA,CAFA,EAGA,CALA,EAMA,SANA,qBAMA,GANA,EAMA,oBACA;AACA,8CACA,+BACA,2CACA,CAFA,MAEA,CACA,8BACA,CACA,CANA,EAOA,CAfA,EAgBA,YAhBA,wBAgBA,GAhBA,EAgBA,mBACA,wCACA,6CACA,CAFA,EAGA,CApBA,EAqBA,cArBA,4BAqBA,CACA,iBACA,kFADA,IAGA,CAzBA,EA0BA,UA1BA,wBA0BA,CACA,iBACA,iCADA,IAGA,CA9BA,EA+BA;AACA,WAhCA,qBAgCA,CACA;AACA,gBACA,YADA,EAEA,2BAFA,GAFA,CAMA;AACA,oBAPA,CAQA;AACA,2BACA,6BACA,CA3CA,EA4CA;AACA,YA7CA,oBA6CA,CA7CA,EA6CA,CACA,4BACA,qBACA,6BACA,CAjDA,EAkDA,OAlDA,mBAkDA,CAlDA,EAkDA,CACA,0BACA,CApDA,EAqDA,SArDA,uBAqDA,CACA,yCACA,CAvDA,EAwDA,SAxDA,qBAwDA,KAxDA,EAwDA,CAxDA,EAwDA,CACA,mCACA,CA1DA,EA2DA;AACA,iBA5DA,2BA4DA,CACA,8BACA,sBACA,6BACA,qCACA,CAjEA,EAkEA,MAlEA,oBAkEA,CACA,aACA,OADA,EACA;AACA,iBAFA,EAEA;AACA,oBAHA,EAGA;AACA,iBAJA,EAIA;AACA,kBALA,EAKA;AACA,kBANA,CAMA;AANA,QAQA,sBACA,mBACA,iBADA,IAGA,CA/EA,EAgFA,MAhFA,kBAgFA,GAhFA,EAgFA,CACA,0BACA,CAlFA,EAmFA;AACA,eApFA,uBAoFA,CApFA,EAoFA,CACA;AACA,sCACA,CAvFA,EAyFA,WAzFA,uBAyFA,CAzFA,EAyFA,CACA,4BACA,CA3FA,EA4FA,MA5FA,oBA4FA,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,oBACA,kBACA,mDACA,kBACA,gBACA,cADA,EAEA,cAFA,IAIA,2BACA,iBACA,mCADA,IAGA,CAJA,EAIA,IAJA,EAKA,CAVA,MAUA,CACA,gBACA,cADA,EAEA,YAFA,IAIA,CACA,CAjBA,EAkBA,CApBA,MAoBA,CACA,kDACA,kBACA,gBACA,cADA,EAEA,cAFA;;AAIA;AACA;AACA,mDADA;;AAGA,aAJA,EAIA,IAJA;AAKA,WAVA,MAUA;AACA;AACA,4BADA;AAEA,0BAFA;;AAIA;AACA,SAjBA;AAkBA;;AAEA;AACA,KAxKA;AAyKA,gBAzKA,wBAyKA,GAzKA,EAyKA;AACA;AACA,kBADA;AAEA,oBAFA;;AAIA,KA9KA,EAzEA,E;;;;;;;;;;;;;AC7KA;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 if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.maskShow = false\n _vm.addOptionsDialog = false\n }\n }\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\" @click=\"uploadImgs\">\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] || 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] || 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] || 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 class=\"colR\">*</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=\"number\" 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=\"number\" 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=\"number\" 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=\"number\" v-model=\"item.weight\" placeholder=\"请输入重量kg\" />\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=\"number\" v-model=\"item.volume\" placeholder=\"请输入体积m³\" />\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=\"set-title\">规格设置</view>\r\n\t\t<view class=\"setattr-box\">\r\n\t\t\t<view class=\"attr-item colB\" @click=\"addAttr\">添加属性</view>\r\n\t\t\t<view class=\"attr-item acea-row row-between row-middle\" \r\n\t\t\t\tv-for=\"(item,index) in attrArr\" \r\n\t\t\t\t:key=\"index\"\r\n\t\t\t\t@click=\"editAttr(index)\"\r\n\t\t\t>\r\n\t\t\t\t<view class=\"attr-item-l\">{{item.attrName}}({{item.attrOptions.length}})</view>\r\n\t\t\t\t<image src=\"../../../static/images/arror-r-s.png\"></image>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"del-attr\" @tap.stop=\"delAttr(index)\">×</view>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t\t<!-- 规格设置 -->\r\n\t\t<!-- <view class=\"add-sku-box\">\r\n\t\t\t<view class=\"sku-item\">\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=\"number\" 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 class=\"colR\">*</text></text>\r\n\t\t\t\t\t<view class=\"acea-row row-middle\">\r\n\t\t\t\t\t\t<switch :checked=\"!infinite\" @change=\"stockChange\" style=\"transform: scale(0.8);\" />\r\n\t\t\t\t\t\t<view>{{infinite ? '不限' : '有限'}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"colB\">批量设置</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=\"batch-set-box\">\r\n\t\t\t<view class=\"box-top acea-row row-between-wrapper\">\r\n\t\t\t\t<view class=\"name\">颜色/长度</view>\r\n\t\t\t\t<view class=\"attr-name w15\">库存</view>\r\n\t\t\t\t<view class=\"attr-name w15\">价格</view>\r\n\t\t\t</view>\r\n\t\t\t<block v-for=\"i in 3\" :key=\"i\">\r\n\t\t\t\t<view class=\"box-b acea-row row-between-wrapper\">\r\n\t\t\t\t\t<view class=\"name line1\">红色/20cm</view>\r\n\t\t\t\t\t<view class=\"inp-box w15\"><input type=\"number\" placeholder=\"0\"></view>\r\n\t\t\t\t\t<view class=\"inp-box w15\"><input type=\"number\" placeholder=\"0\" ></view>\r\n\t\t\t\t</view>\r\n\t\t\t</block>\r\n\t\t</view> -->\r\n\t\t\r\n\t\t<view class=\"temp-box acea-row row-between-wrapper\" @click=\"toTempList\">\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>{{temp}}</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\t\r\n\t\t<!-- //添加规格弹框 -->\r\n\t\t<view class=\"mask-box\" v-if=\"maskShow == true\">\r\n\t\t\t<view class=\"addattr-dialog\" v-if=\"addOptionsDialog == true\">\r\n\t\t\t\t<view class=\"dialog-top acea-row row-between row-middle\">\r\n\t\t\t\t\t<text>规格属性</text>\r\n\t\t\t\t\t<view class=\"close\" @click=\"maskShow = false; addOptionsDialog = false\">×</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<view class=\"a-name\"><input type=\"text\" v-model=\"attr.attrName\" placeholder=\"输入属性名称,如:颜色\"></view>\r\n\t\t\t\t\t<view class=\"o-name-box\">\r\n\t\t\t\t\t\t<block v-for=\"(o,i) in attr.attrOptions\" :key=\"i\">\r\n\t\t\t\t\t\t\t<view class=\"o-item-box acea-row row-between row-middle\">\r\n\t\t\t\t\t\t\t\t<input type=\"text\" v-model=\"o.name\" maxlength=\"10\" placeholder=\"输入选项,如:红色,10个字以内\">\r\n\t\t\t\t\t\t\t\t<text class=\"close\" @click=\"delOption(i)\">×</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</block>\r\n\t\t\t\t\t\t<view class=\"add-option-btn\" @click=\"addOption\">+选项</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"s-btn\" @click=\"submitAddAttr\">确定</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\n</template>\n\n<script>\r\n\timport { chooseImage, chooseImages } from \"@/utils\"\r\n\timport { addProduct, getProductInfo, editProduct } from '@/api/store'\r\n\texport default{\r\n\t\tdata(){\r\n\t\t\treturn {\r\n\t\t\t\tid: '',\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\ttemp: '全国包邮',\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\tattrArr:[],\r\n\t\t\t\tattr:{},\r\n\t\t\t\tstate: 0,\r\n\t\t\t\tmaskShow: false,\r\n\t\t\t\taddOptionsDialog: false,\r\n\t\t\t\tinfinite: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tthis.id = this.$yroute.query.id || ''\r\n\t\t\tif(this.id){\r\n\t\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\t title:'修改商品'\r\n\t\t\t\t})\r\n\t\t\t\tgetProductInfo({id: this.id}).then((res)=>{\r\n\t\t\t\t\tlet info = res.data\r\n\t\t\t\t\tthis.slider_image = info.slider_image\r\n\t\t\t\t\tthis.image = info.slider_image[0]\r\n\t\t\t\t\tthis.unit_name = info.unit_name\r\n\t\t\t\t\tthis.description = info.description\r\n\t\t\t\t\tthis.store_name = info.store_name\r\n\t\t\t\t\tthis.attrs = info.attrs\r\n\t\t\t\t})\r\n\t\t\t} else{\r\n\t\t\t\tconsole.log('新增')\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// let attrArr = [\r\n\t\t\t// \t{attrOptions:['红','黄','蓝']},\r\n\t\t\t// \t{\r\n\t\t\t// \t\tattrOptions:['20cm','30cm']\r\n\t\t\t// \t}\r\n\t\t\t// ]\r\n\t\t\t// var tmp = []\r\n\t\t\t// for (var i in attrArr) {\r\n\t\t\t// tmp.push(attrArr[i].attrOptions)\r\n\t\t\t// }\r\n\t\t\t// console.log(tmp)\r\n\t\t\t// function cartesianProductOf() {\r\n\t\t\t// return Array.prototype.reduce.call(arguments, function (a, b) {\r\n\t\t\t// var ret = [];\r\n\t\t\t// a.forEach(function (a) {\r\n\t\t\t// b.forEach(function (b) {\r\n\t\t\t// ret.push(a.concat([b]));\r\n\t\t\t// });\r\n\t\t\t// });\r\n\t\t\t// return ret;\r\n\t\t\t// }, [[]]);\r\n\t\t\t// }\r\n\t\t\t// let allArr = cartesianProductOf(...tmp)\r\n\t\t\t// console.log(allArr)\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tuploadImgs(){\r\n\t\t\t\tchooseImages((imgs)=>{\r\n\t\t\t\t\tthis.slider_image.push(imgs)\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tuploadImg(idx){\r\n\t\t\t\t// console.log(this.slider_image[idx])\r\n\t\t\t\tchooseImage((img)=>{\r\n\t\t\t\t\tif(this.slider_image[idx]){\r\n\t\t\t\t\t\tthis.$set(this.slider_image,idx,img)\r\n\t\t\t\t\t} else{\r\n\t\t\t\t\t\tthis.slider_image.push(img)\r\n\t\t\t\t\t}\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\ttoTempList(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/life/tempList/index'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//添加属性按钮\r\n\t\t\taddAttr(){\r\n\t\t\t\t// if(this.attrArr.length == 0){\r\n\t\t\t\tlet j = {\r\n\t\t\t\t\tattrName: '',\r\n\t\t\t\t\tattrOptions:[{name:''}]\r\n\t\t\t\t}\r\n\t\t\t\t// this.attrArr.push(j)\r\n\t\t\t\tthis.attr = j\r\n\t\t\t\t// }\r\n\t\t\t\tthis.maskShow = true;\r\n\t\t\t\tthis.addOptionsDialog = true\r\n\t\t\t},\r\n\t\t\t//修改属性\r\n\t\t\teditAttr(i){\r\n\t\t\t\tthis.attr = this.attrArr[i]\r\n\t\t\t\tthis.maskShow = true;\r\n\t\t\t\tthis.addOptionsDialog = true\r\n\t\t\t},\r\n\t\t\tdelAttr(i){\r\n\t\t\t\tthis.attrArr.splice(i,1)\r\n\t\t\t},\r\n\t\t\taddOption(){\r\n\t\t\t\tthis.attr.attrOptions.push({name:''})\r\n\t\t\t},\r\n\t\t\tdelOption(index,i){\r\n\t\t\t\tthis.attr.attrOptions.splice(i,1)\r\n\t\t\t},\r\n\t\t\t///添加属性提交\r\n\t\t\tsubmitAddAttr(){\r\n\t\t\t\tthis.addOptionsDialog = false\r\n\t\t\t\tthis.maskShow = false\r\n\t\t\t\tthis.attrArr.push(this.attr)\r\n\t\t\t\tconsole.log(this.attrArr,'attrArr')\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\tuni.pageScrollTo({\r\n\t\t\t\t\tscrollTop: 999999\r\n\t\t\t\t})\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\t//库存有限无限切换\r\n\t\t\tstockChange(e){\r\n\t\t\t\t// console.log(e)\r\n\t\t\t\tthis.infinite = !e.detail.value\r\n\t\t\t},\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\tif(this.id != ''){\r\n\t\t\t\t\tform.id = this.id\r\n\t\t\t\t\teditProduct(form).then((res)=>{\r\n\t\t\t\t\t\tif(res.success){\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\t\tduration: 1500\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tsetTimeout((res)=>{\r\n\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\turl: 'pages/user/goodsManage/index'\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t},1500)\r\n\t\t\t\t\t\t} else{\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\t\ticon: 'none'\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} else{\r\n\t\t\t\t\taddProduct(form).then((res)=>{\r\n\t\t\t\t\t\tif(res.success){\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\t\tduration: 1500\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tsetTimeout((res)=>{\r\n\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\turl: 'pages/user/goodsManage/index'\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t},1500)\r\n\t\t\t\t\t\t} else{\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\t\ticon: 'none'\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\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\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\tborder-radius: 8rpx;\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: 82rpx;\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\tmargin-top: 24rpx;\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\t.set-title{\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tcolor: #343434;\r\n\t\t\tmargin: 34rpx 0 24rpx;\r\n\t\t}\r\n\t\t.setattr-box{\r\n\t\t\twidth: 100%;\r\n\t\t\tbackground: #fff;\r\n\t\t\t\r\n\t\t\t.attr-item{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tpadding: 20rpx 50rpx 20rpx 32rpx;\r\n\t\t\t\tborder-bottom: 2rpx solid #eee;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\t.del-attr{\r\n\t\t\t\t\tfont-size: 40rpx;\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\tright: 10rpx;\r\n\t\t\t\t\ttop: 20rpx;\r\n\t\t\t\t\twidth: 36rpx;\r\n\t\t\t\t\theight: 36rpx;\r\n\t\t\t\t\t// background: #FFA079;\r\n\t\t\t\t\tline-height: 32rpx;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\tcolor: #FFA079;\r\n\t\t\t\t}\r\n\t\t\t\timage{\r\n\t\t\t\t\twidth: 24rpx;\r\n\t\t\t\t\theight: 24rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t// 批量设置库存\r\n\t\t.batch-set-box{\r\n\t\t\twidth: 100%;\r\n\t\t\tbackground: #fff;\r\n\t\t\tpadding: 24rpx;\r\n\t\t\tcolor: #343434;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tmargin: 12rpx 0;\r\n\t\t\t.box-top{\r\n\t\t\t\tpadding: 0 0 12rpx;\r\n\t\t\t\tborder-bottom: 2rpx solid #EEEEEE;\r\n\t\t\t\tcolor: #ABABAB;\r\n\t\t\t\t.name{\r\n\t\t\t\t\twidth: 60%;\r\n\t\t\t\t}\r\n\t\t\t\t.w15{\r\n\t\t\t\t\twidth: 19%;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.box-b{\r\n\t\t\t\tmargin-top: 6rpx;\r\n\t\t\t\t.name{\r\n\t\t\t\t\twidth: 60%;\r\n\t\t\t\t}\r\n\t\t\t\t.w15{\r\n\t\t\t\t\twidth: 19%;\r\n\t\t\t\t}\r\n\t\t\t\t.inp-box{\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\theight: 44rpx;\r\n\t\t\t\t\tborder-radius: 12rpx;\r\n\t\t\t\t\tbackground: #DCDCDC;\r\n\t\t\t\t\tinput{\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\theight: 100%;\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//弹出层\r\n\t\t.mask-box{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tbackground: rgba(0,0,0,.7);\r\n\t\t\tposition: fixed;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\t\t\tz-index: 99;\r\n\t\t\t.addattr-dialog{\r\n\t\t\t\twidth: 680rpx;\r\n\t\t\t\tmin-height: 590rpx;\r\n\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 50%;\r\n\t\t\t\tleft: 50%;\r\n\t\t\t\ttransform: translate(-50%,-50%);\r\n\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\tpadding: 80rpx 64rpx;\r\n\t\t\t\t.dialog-top{\r\n\t\t\t\t\tmargin-bottom: 26rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.close{\r\n\t\t\t\t\tfont-size: 46rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.a-name{\r\n\t\t\t\t\twidth: 560rpx;\r\n\t\t\t\t\theight: 104rpx;\r\n\t\t\t\t\tbackground: #F7F7F7;\r\n\t\t\t\t\tborder-radius: 12rpx;\r\n\t\t\t\t\tpadding: 30rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.o-name-box{\r\n\t\t\t\t\tbackground: #f7f7f7;\r\n\t\t\t\t\tpadding: 36rpx 42rpx 0;\r\n\t\t\t\t\tmargin: 28rpx 0 0;\r\n\t\t\t\t\tborder-radius: 12rpx;\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\tinput{\r\n\t\t\t\t\t\twidth: 80%;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.o-item-box{\r\n\t\t\t\t\t\theight: 56rpx;\r\n\t\t\t\t\t\tpadding-bottom: 10rpx;\r\n\t\t\t\t\t\tmargin-bottom: 10rpx;\r\n\t\t\t\t\t\tborder-bottom: 2rpx solid #ececec;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.add-option-btn{\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tpadding: 20rpx 0;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tcolor: #BFBFBF;\r\n\t\t\t\t\tbackground: #f7f7f7;\r\n\t\t\t\t\t// border-top: 2rpx solid #ececec;\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.s-btn{\r\n\t\t\t\t\twidth: 230rpx;\r\n\t\t\t\t\theight: 80rpx;\r\n\t\t\t\t\tbackground: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\r\n\t\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tline-height: 80rpx;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\tmargin: 70rpx auto 0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.colB{\r\n\t\t\tcolor: #0932FF;\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 // 1635505986350\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":""}