This commit is contained in:
2026-01-05 12:47:14 +08:00
commit 1fc846fae3
1614 changed files with 162035 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("./request.js");exports.fetchGetConfig=function(){return e.request({url:"/config/get"})},exports.fetchGetPriceRules=function(){return e.request({url:"/config/getPriceRules"})},exports.fetchSetConfig=function(t){return e.request({url:"/config/set",data:t,method:"POST"})},exports.fetchSetPriceRules=function(t){return e.request({url:"/config/setPriceRules",data:t,method:"POST"})};

View File

@@ -0,0 +1 @@
"use strict";const t=require("./request.js");exports.fetchFilterParmas=function(e=0){return t.request({url:"/goods/filterParams",data:{is_origin:e}})},exports.fetchGoodsAdd=function(e){return t.request({url:"/goods/add",data:e,method:"POST"})},exports.fetchGoodsDetail=function(e){return t.request({url:"/goods/detail",data:{goods_id:e}})},exports.fetchGoodsEdit=function(e){return t.request({url:"/goods/edit",data:e,method:"POST"})},exports.fetchGoodsList=function(e){return t.request({url:"/goods/lists",data:e,method:"POST"})},exports.fetchSysGoodsList=function(e){return t.request({url:"/goods/list",data:e,method:"POST"})};

View File

@@ -0,0 +1 @@
"use strict";require("../common/vendor.js");const e=require("./house_request.js");exports.houseFetchCartGoodsIds=function(){return e.houseRequest({url:"/store.goods/cartGoodsIds"})},exports.houseFetchFilterParmas=function(o=0){return e.houseRequest({url:"/store.goods/filterParams",data:{is_origin:o}})},exports.houseFetchGoodsDetail=function(o){return e.houseRequest({url:"/store.goods/detail",data:{id:o}})},exports.houseFetchGoodsList=function(o){return e.houseRequest({url:"/store.goods/lists",data:o,method:"POST"})};

View File

@@ -0,0 +1 @@
"use strict";const e=require("../common/vendor.js"),s=require("../config.js"),o=require("../utils/helper.js");exports.houseRequest=t=>new Promise(((a,n)=>{e.index.request({url:s.config.house_api_base_url+t.url+"&wxapp_id=10001&token="+e.index.getStorageSync("token"),method:t.method||"GET",data:t.data||t.params||{},dataType:t.dataType||"json",responseType:t.responseType||"text",success(s){const t=s.data;switch(t.code){case-1:o.goToLoginPage();break;case 1:a(t.data);break;case 0:e.index.showToast({title:t.msg||"操作失败",icon:"none"})}},fail(s){e.index.$emit("z-paging-error-emit"),n(s),e.index.showToast({title:"网络请求失败",icon:"none"})}})}));

View File

@@ -0,0 +1 @@
"use strict";require("../common/vendor.js");

View File

@@ -0,0 +1 @@
"use strict";const e=require("./request.js");exports.fetchCancelOrder=function(r){return e.request({url:"/order/cancel",data:{id:r}})},exports.fetchDeliveryOrder=function(r){return e.request({url:"/order/delivery",data:r,method:"POST"})},exports.fetchOrderDetail=function(r){return e.request({url:"/order/detail",data:{id:r}})},exports.fetchOrderList=function(r={}){const t={page:1,pageSize:10,status:"all",goods_no:"",...r};return e.request({url:"/order/getList",method:"GET",data:t})},exports.fetchOrderPreview=function(r){return e.request({url:"/order/preview",data:r,method:"POST"})},exports.fetchOrderTotalCount=function(){return e.request({url:"/order/totalCount"})},exports.fetchOrderbuyNow=function(r){return e.request({url:"/order/buyNow",data:r,method:"POST"})},exports.fetchPayOrder=function(r){return e.request({url:"/order/paid",data:{id:r}})},exports.fetchReceiptOrder=function(r){return e.request({url:"/order/receipt",data:{id:r}})};

View File

@@ -0,0 +1 @@
"use strict";const e=require("../common/vendor.js"),o=require("../config.js"),a=require("../utils/helper.js");exports.getUploadImageUrl=()=>o.config.api_base_url+"/upload/image&wxapp_id="+o.config.wxapp_id+"&token="+e.index.getStorageSync("token"),exports.request=t=>new Promise(((i,n)=>{e.index.request({url:o.config.api_base_url+t.url+"&wxapp_id="+o.config.wxapp_id+"&token="+e.index.getStorageSync("token"),method:t.method||"GET",data:t.data||t.params||{},dataType:t.dataType||"json",responseType:t.responseType||"text",success(o){const t=o.data;switch(t.code){case-1:a.goToLoginPage();break;case 1:i(t.data);break;case 0:e.index.showToast({title:t.msg||"操作失败",icon:"none"})}},fail(o){e.index.$emit("z-paging-error-emit"),n(o),e.index.showToast({title:"网络请求失败",icon:"none"})}})}));

View File

@@ -0,0 +1 @@
"use strict";const e=require("./request.js");exports.fetchUserInfo=function(){return e.request({url:"/user/info"})},exports.fetchUserPhone=function(r){return e.request({url:"/store.user/bindPhone",data:{code:r}})},exports.login=function(r,t){return e.request({url:"/user/login",data:{code:r,user_info:t},method:"POST"})};

1
unpackage/dist/build/mp-weixin/app.js vendored Normal file
View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./common/vendor.js");Math;const n={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};function e(){return{app:o.createSSRApp(n)}}e().app.mount("#app"),exports.createApp=e;

56
unpackage/dist/build/mp-weixin/app.json vendored Normal file
View File

@@ -0,0 +1,56 @@
{
"pages": [
"pages/index/index",
"pages/mine/index",
"pages/mall/detail",
"pages/mall/houseDetail",
"pages/order/preview",
"pages/order/index",
"pages/order/detail",
"pages/login/index",
"pages/login/phoneAuthorization",
"pages/config/store",
"pages/config/price",
"pages/config/goodsList",
"pages/config/goodsAdd",
"pages/config/goodsEdit",
"pages/config/goodsDetail",
"pages/config/shopOrder/index",
"pages/config/shopOrder/detail"
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "远阳数码",
"navigationBarBackgroundColor": "#fff",
"backgroundTextStyle": "dark",
"backgroundColor": "#F2F3F5",
"backgroundColorBottom": "#F2F3F5",
"backgroundColorTop": "#F2F3F5",
"onReachBottomDistance": 50
},
"tabBar": {
"custom": false,
"color": "#000000",
"selectedColor": "#8d7bfb",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/home-active.png",
"text": "首页"
},
{
"pagePath": "pages/mine/index",
"iconPath": "static/tabbar/user.png",
"selectedIconPath": "/static/tabbar/user-active.png",
"text": "我的"
}
]
},
"requiredPrivateInfos": [
"chooseAddress"
],
"permission": {},
"usingComponents": {}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";const t=require("../../common/vendor.js");if(!Array){t.resolveComponent("nut-animate")()}Math;const e={__name:"index",props:{statusBarHeight:Number,windowWidth:Number,navbarHeight:Number,title:String,desc:String},setup(e){const r=e;return(a,n)=>({a:r.statusBarHeight+"px",b:t.t(e.title),c:t.t(e.desc),d:t.p({type:"flicker",loop:!0}),e:r.navbarHeight+"px",f:r.windowWidth+"px",g:e.statusBarHeight+e.navbarHeight+0+"px"})}},r=t._export_sfc(e,[["__scopeId","data-v-35060491"]]);wx.createComponent(r);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"nut-animate": "../../uni_modules/nutui-uni/components/animate/animate"
}
}

View File

@@ -0,0 +1 @@
<view class="navbar data-v-35060491"><view class="navbar-fixed data-v-35060491"><view class="data-v-35060491" style="{{'height:' + a}}"></view><view class="navbar-content data-v-35060491" style="{{'height:' + e + ';' + ('width:' + f)}}"><view class="header data-v-35060491"><view class="company-name data-v-35060491">{{b}}</view><nut-animate wx:if="{{d}}" class="data-v-35060491" u-s="{{['d']}}" u-i="35060491-0" bind:__l="__l" u-p="{{d}}"><view class="description data-v-35060491">{{c}}</view></nut-animate></view></view></view><view class="data-v-35060491" style="{{'height:' + g}}"></view></view>

View File

@@ -0,0 +1 @@
.navbar-fixed.data-v-35060491{position:fixed;top:0;left:0;z-index:999;width:100%;background-image:linear-gradient(30deg,#e96443,#c64dff);background-position:0 0;background-repeat:no-repeat;background-size:100% auto;opacity:1}.navbar-content.data-v-35060491{display:flex;flex-flow:column;justify-content:center;padding:0 30rpx;box-sizing:border-box}.company-name.data-v-35060491{font-family:Akrobat ExtraBold!important;color:#fff;font-size:24rpx;font-weight:700}.description.data-v-35060491{font-family:Akrobat ExtraBold!important;color:#fff;font-size:16rpx}

View File

@@ -0,0 +1 @@
"use strict";exports.config={name:"云淘机",api_base_url:"https://phone.19year.cn/index.php?s=/api",house_api_base_url:"https://newtel.19year.cn/index.php?s=/api",enabledSettingCache:!0,wxapp_id:10002};

View File

@@ -0,0 +1 @@
"use strict";const e=require("./common/vendor.js"),o=require("./uni_modules/nutui-uni/components/_hooks/useInject.js");require("./uni_modules/nutui-uni/components/_utils/env.js");const s=require("./uni_modules/nutui-uni/components/_utils/props.js"),n=Symbol("Form"),t={...s.commonProps,modelValue:s.makeObjectProp({}),rules:s.makeObjectProp({}),disabled:Boolean,labelPosition:s.makeStringProp("left"),starPosition:s.makeStringProp("left")},u={validate:e=>e instanceof Object};exports.FORM_KEY=n,exports.formEmits=u,exports.formProps=t,exports.useFormDisabled=function(s){const{parent:t}=o.useInject(n);return e.computed((()=>null!=s.value?s.value:null!=(null==t?void 0:t.props.disabled)&&t.props.disabled))};

View File

@@ -0,0 +1 @@
"use strict";require("./uni_modules/nutui-uni/components/_utils/env.js");const o=require("./uni_modules/nutui-uni/components/_utils/props.js"),r=Symbol("nut-menu"),t={...o.commonProps,activeColor:o.makeStringProp(""),overlay:o.truthProp,lockScroll:o.truthProp,duration:{type:[Number,String],default:300},titleIcon:String,closeOnClickOverlay:o.truthProp,direction:o.makeStringProp("down"),scrollFixed:{type:[Boolean,String,Number],default:!1},scrollTop:o.makeNumberProp(0),titleClass:[String],upIcon:o.makeStringProp("rect-up"),downIcon:o.makeStringProp("rect-down"),offset:Number};exports.MENU_KEY=r,exports.menuProps=t;

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/goods.js"),n=require("../../api/request.js");if(!Array){(e.resolveComponent("nut-input")+e.resolveComponent("nut-form-item")+e.resolveComponent("nut-icon")+e.resolveComponent("nut-textarea")+e.resolveComponent("nut-radio")+e.resolveComponent("nut-radio-group")+e.resolveComponent("shmily-drag-image")+e.resolveComponent("nut-button")+e.resolveComponent("nut-form")+e.resolveComponent("nut-picker")+e.resolveComponent("nut-popup")+e.resolveComponent("nut-cascader"))()}Math||((()=>"../../uni_modules/nutui-uni/components/input/input.js")+(()=>"../../uni_modules/nutui-uni/components/formitem/formitem.js")+(()=>"../../uni_modules/nutui-uni/components/icon/icon.js")+(()=>"../../uni_modules/nutui-uni/components/textarea/textarea.js")+(()=>"../../uni_modules/nutui-uni/components/radio/radio.js")+(()=>"../../uni_modules/nutui-uni/components/radiogroup/radiogroup.js")+(()=>"../../uni_modules/shmily-drag-image/components/shmily-drag-image/shmily-drag-image.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js")+(()=>"../../uni_modules/nutui-uni/components/form/form.js")+(()=>"../../uni_modules/nutui-uni/components/picker/picker.js")+(()=>"../../uni_modules/nutui-uni/components/popup/popup.js")+(()=>"../../uni_modules/nutui-uni/components/cascader/cascader.js"))();const t={__name:"goodsAdd",setup(t){const a=()=>{e.index.scanCode({onlyFromCamera:!0,success:e=>{console.log(e),r.goods_no=e.result},fail:()=>{e.index.showToast({icon:"none",title:"扫码失败"})}})},l=e.reactive({}),i=e.ref(!1),u=e.ref(!1),s=e.ref([]),d=e.ref([]),r=e.reactive({goods_name:"",goods_no:"",goods_price:"",goods_stock:"",content:"",details_content:"",status:"10",images:[],add_person:"",degree_id:0,degree_name:"未选择",type_id:0,type_name:"未选择",brand_id:0,brand_name:"未选择",product_id:0,product_name:"未选择"}),m=(...e)=>{},p=()=>{console.log("form====>",r),o.fetchGoodsAdd(r).then((o=>{e.index.showToast({icon:"none",title:"新增商品成功"}),setTimeout((()=>{e.index.navigateBack({delta:1})}),500)}))},c=e=>{console.log(e),r.type_id=0,r.type_name="",r.brand_id=0,r.brand_name="",r.product_id=0,r.product_name="",e.length>=1&&null!==e[0]&&(r.type_id=e[0].value,r.type_name=e[0].text),e.length>=2&&null!==e[1]&&(r.brand_id=e[1].value,r.brand_name=e[1].text),e.length>=3&&null!==e[2]&&(r.product_id=e[2].value,r.product_name=e[2].text)},_=()=>{r.degree_id=s.value[0],l.degree_list.forEach((e=>{e.degree_id===r.degree_id&&(r.degree_name=e.degree_name)})),u.value=!1};e.onMounted((()=>{o.fetchFilterParmas(1).then((e=>{Object.assign(l,e),l.degree_list.unshift({degree_id:0,degree_name:"未选择"}),console.log("filter_params",l)}))}));const g=()=>{var o;e.index.chooseImage({count:9-((null==(o=r.image)?void 0:o.length)||0),sourceType:["album","camera"],success:o=>{o.tempFiles.forEach((o=>{e.index.uploadFile({url:n.getUploadImageUrl(),filePath:o.path,name:"iFile",formData:{group_id:1},success:e=>{let o=JSON.parse(e.data).data;r.images.push({id:parseInt(o.file_id),file_path:o.file_path})}})}))}})};return(o,n)=>({a:e.o((e=>r.goods_name=e)),b:e.p({placeholder:"请输入名称",type:"text",modelValue:r.goods_name}),c:e.p({label:"名称"}),d:e.o(a),e:e.p({name:"scan2",size:"30","custom-color":"#000000"}),f:e.o((e=>r.goods_no=e)),g:e.p({placeholder:"请输入串号",type:"text",modelValue:r.goods_no}),h:e.p({label:"串号"}),i:e.o((e=>r.goods_price=e)),j:e.p({placeholder:"请输入售价",type:"nubmer",modelValue:r.goods_price}),k:e.p({label:"售价"}),l:e.o((e=>r.content=e)),m:e.p({autosize:!0,placeholder:"请输入说明",type:"text",modelValue:r.content}),n:e.p({label:"说明"}),o:e.o((e=>r.details_content=e)),p:e.p({autosize:!0,placeholder:"请输入介绍",type:"text",modelValue:r.details_content}),q:e.p({label:"介绍"}),r:e.p({label:"10"}),s:e.p({label:"20"}),t:e.o((e=>r.status=e)),v:e.p({direction:"horizontal",modelValue:r.status}),w:e.p({label:"状态"}),x:e.t(r.degree_name),y:e.o((e=>u.value=!0)),z:e.t(r.type_name),A:e.t(r.brand_name),B:e.t(r.product_name),C:e.o((e=>i.value=!0)),D:e.o((e=>r.images=e)),E:e.p({number:9,"add-image":g,keyName:"file_path",modelValue:r.images}),F:e.o(p),G:e.p({type:"primary",block:!0}),H:e.o(_),I:e.o((e=>u.value=!1)),J:e.o((e=>s.value=e)),K:e.p({columns:l.degree_list,"field-names":{text:"degree_name",value:"degree_id"},title:"选择成色",modelValue:s.value}),L:e.o((e=>u.value=e)),M:e.p({position:"bottom","safe-area-inset-bottom":!0,visible:u.value}),N:e.o(m),O:e.o(c),P:e.o((e=>i.value=e)),Q:e.o((e=>d.value=e)),R:e.p({title:"机型选择","text-key":"label","value-key":"value","title-ellipsis":!1,"children-key":"children",options:l.drop_down_options,visible:i.value,modelValue:d.value})})}},a=e._export_sfc(t,[["__scopeId","data-v-22116fcf"]]);wx.createPage(a);

View File

@@ -0,0 +1,18 @@
{
"navigationBarTitleText": "新增商品",
"enablePullDownRefresh": false,
"usingComponents": {
"nut-input": "../../uni_modules/nutui-uni/components/input/input",
"nut-form-item": "../../uni_modules/nutui-uni/components/formitem/formitem",
"nut-icon": "../../uni_modules/nutui-uni/components/icon/icon",
"nut-textarea": "../../uni_modules/nutui-uni/components/textarea/textarea",
"nut-radio": "../../uni_modules/nutui-uni/components/radio/radio",
"nut-radio-group": "../../uni_modules/nutui-uni/components/radiogroup/radiogroup",
"shmily-drag-image": "../../uni_modules/shmily-drag-image/components/shmily-drag-image/shmily-drag-image",
"nut-button": "../../uni_modules/nutui-uni/components/button/button",
"nut-form": "../../uni_modules/nutui-uni/components/form/form",
"nut-picker": "../../uni_modules/nutui-uni/components/picker/picker",
"nut-popup": "../../uni_modules/nutui-uni/components/popup/popup",
"nut-cascader": "../../uni_modules/nutui-uni/components/cascader/cascader"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-22116fcf"><view class="data-v-22116fcf" style="padding:20rpx"><nut-form class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-0" bind:__l="__l"><nut-form-item wx:if="{{c}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-1,22116fcf-0" bind:__l="__l" u-p="{{c}}"><nut-input wx:if="{{b}}" class="nut-input-text data-v-22116fcf" u-i="22116fcf-2,22116fcf-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/></nut-form-item><nut-form-item wx:if="{{h}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-3,22116fcf-0" bind:__l="__l" u-p="{{h}}"><nut-input wx:if="{{g}}" u-s="{{['right']}}" class="nut-input-text data-v-22116fcf" u-i="22116fcf-4,22116fcf-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><nut-icon class="data-v-22116fcf" bindclick="{{d}}" u-i="22116fcf-5,22116fcf-4" bind:__l="__l" u-p="{{e}}" slot="right"/></nut-input></nut-form-item><nut-form-item wx:if="{{k}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-6,22116fcf-0" bind:__l="__l" u-p="{{k}}"><nut-input wx:if="{{j}}" class="nut-input-text data-v-22116fcf" u-i="22116fcf-7,22116fcf-6" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"/></nut-form-item><nut-form-item wx:if="{{n}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-8,22116fcf-0" bind:__l="__l" u-p="{{n}}"><nut-textarea wx:if="{{m}}" class="data-v-22116fcf" u-i="22116fcf-9,22116fcf-8" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/></nut-form-item><nut-form-item wx:if="{{q}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-10,22116fcf-0" bind:__l="__l" u-p="{{q}}"><nut-textarea wx:if="{{p}}" class="data-v-22116fcf" u-i="22116fcf-11,22116fcf-10" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"/></nut-form-item><nut-form-item wx:if="{{w}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-12,22116fcf-0" bind:__l="__l" u-p="{{w}}"><nut-radio-group wx:if="{{v}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-13,22116fcf-12" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><nut-radio wx:if="{{r}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-14,22116fcf-13" bind:__l="__l" u-p="{{r}}">下架</nut-radio><nut-radio wx:if="{{s}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-15,22116fcf-13" bind:__l="__l" u-p="{{s}}">上架</nut-radio></nut-radio-group></nut-form-item><nut-form-item class="data-v-22116fcf" u-s="{{['label','d']}}" u-i="22116fcf-16,22116fcf-0" bind:__l="__l"><view slot="label">成色</view><view class="data-v-22116fcf" style="color:black" bindtap="{{y}}"><text class="data-v-22116fcf">{{x}}</text></view></nut-form-item><nut-form-item class="data-v-22116fcf" u-s="{{['label','d']}}" u-i="22116fcf-17,22116fcf-0" bind:__l="__l"><view slot="label">机型</view><view class="data-v-22116fcf" style="color:black" bindtap="{{C}}"><text class="data-v-22116fcf">{{z}},{{A}},{{B}}</text></view></nut-form-item><nut-form-item class="data-v-22116fcf" u-s="{{['label','d']}}" u-i="22116fcf-18,22116fcf-0" bind:__l="__l"><view slot="label">商品图片</view><shmily-drag-image class="data-v-22116fcf" u-i="22116fcf-19,22116fcf-18" bind:__l="__l" bindupdateModelValue="{{D}}" u-p="{{E}}"></shmily-drag-image></nut-form-item><view class="data-v-22116fcf" style="align-items:center;text-align:center;padding:20rpx 60rpx"><nut-button wx:if="{{G}}" class="data-v-22116fcf" u-s="{{['d']}}" bindclick="{{F}}" u-i="22116fcf-20,22116fcf-0" bind:__l="__l" u-p="{{G}}"> 新增商品 </nut-button></view></nut-form></view><nut-popup wx:if="{{M}}" class="data-v-22116fcf" u-s="{{['d']}}" u-i="22116fcf-21" bind:__l="__l" bindupdateVisible="{{L}}" u-p="{{M}}"><nut-picker wx:if="{{K}}" class="data-v-22116fcf" bindconfirm="{{H}}" bindcancel="{{I}}" u-i="22116fcf-22,22116fcf-21" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"></nut-picker></nut-popup><nut-cascader wx:if="{{R}}" class="data-v-22116fcf" bindchange="{{N}}" bindpathChange="{{O}}" u-i="22116fcf-23" bind:__l="__l" bindupdateVisible="{{P}}" bindupdateModelValue="{{Q}}" u-p="{{R}}"></nut-cascader></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-22116fcf{min-height:100vh;background-color:#f2f3f5}.list.data-v-22116fcf{display:flex;justify-content:center;flex-direction:column;background:#fff;align-items:center;max-height:300rpx;overflow-y:scroll;padding:10px}.list .list-item.data-v-22116fcf{border-bottom:1px solid #eee;padding:20rpx 10rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/goods.js"),o=require("../../api/config.js");if(!Array){(e.resolveComponent("nut-watermark")+e.resolveComponent("nut-cell-group"))()}Math||((()=>"../../uni_modules/nutui-uni/components/watermark/watermark.js")+(()=>"../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js"))();const a={__name:"goodsDetail",setup(a){const n=e.ref(""),i=e.ref(0),l=e.reactive({});e.onLoad((e=>{console.log("init"),s(),i.value=e.id,t.fetchGoodsDetail(i.value).then((e=>{Object.assign(l,e)}))}));const s=()=>{o.fetchGetConfig().then((e=>{console.log("getConfig=====>",e),n.value=e.appConfig.service_txt}))};e.onShareTimeline((e=>({title:l.goods_name,path:"/pages/mall/detail?id="+l.goods_id,imageUrl:l.image[0].file_path}))),e.onShareAppMessage((e=>({title:l.goods_name,path:"/pages/mall/detail?id="+l.goods_id,imageUrl:l.image[0].file_path})));return(t,o)=>{var a,i,s,u,r,d,g;return e.e({a:10===(null==(a=l.status)?void 0:a.value)},10===(null==(i=l.status)?void 0:i.value)?{b:e.p({"z-index":1,content:"此商品已下架"})}:{},{c:30===(null==(s=l.status)?void 0:s.value)},30===(null==(u=l.status)?void 0:u.value)?{d:e.p({"z-index":1,content:"此商品已锁定"})}:{},{e:40===(null==(r=l.status)?void 0:r.value)},40===(null==(d=l.status)?void 0:d.value)?{f:e.p({"z-index":1,content:"此商品已售出"})}:{},{g:e.f(l.image,((t,o,a)=>({a:t.file_path,b:e.o((t=>{return a=o,void e.index.previewImage({current:a,urls:l.image.map((e=>e.file_path))});var a}),o),c:o}))),h:e.t(l.goods_price),i:e.t(null==(g=l.degree)?void 0:g.degree_name),j:e.t(l.goods_name),k:e.t(l.content),l:e.t(n.value)})}}},n=e._export_sfc(a,[["__scopeId","data-v-6b400d76"]]);a.__runtimeHooks=6,wx.createPage(n);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "店铺商品详情",
"enablePullDownRefresh": false,
"usingComponents": {
"nut-watermark": "../../uni_modules/nutui-uni/components/watermark/watermark",
"nut-cell-group": "../../uni_modules/nutui-uni/components/cellgroup/cellgroup"
}
}

View File

@@ -0,0 +1 @@
<view class="content data-v-6b400d76"><nut-watermark wx:if="{{a}}" class="mark1 data-v-6b400d76" u-i="6b400d76-0" bind:__l="__l" u-p="{{b}}"></nut-watermark><nut-watermark wx:if="{{c}}" class="mark1 data-v-6b400d76" u-i="6b400d76-1" bind:__l="__l" u-p="{{d}}"></nut-watermark><nut-watermark wx:if="{{e}}" class="mark1 data-v-6b400d76" u-i="6b400d76-2" bind:__l="__l" u-p="{{f}}"></nut-watermark><swiper class="swiper data-v-6b400d76" circular indicator-dots autoplay><swiper-item wx:for="{{g}}" wx:for-item="item" wx:key="c" class="data-v-6b400d76" bindtap="{{item.b}}"><image class="data-v-6b400d76" src="{{item.a}}" mode="aspectFill"></image></swiper-item></swiper><view class="goods_info data-v-6b400d76"><nut-cell-group class="data-v-6b400d76" u-s="{{['d']}}" u-i="6b400d76-3" bind:__l="__l"><view class="price data-v-6b400d76"><text class="unit data-v-6b400d76">¥</text><text class="value data-v-6b400d76">{{h}}</text></view></nut-cell-group><nut-cell-group class="data-v-6b400d76" u-s="{{['d']}}" u-i="6b400d76-4" bind:__l="__l"><view class="name data-v-6b400d76"><view class="top data-v-6b400d76"><view class="tag data-v-6b400d76"><text class="data-v-6b400d76">{{i}}</text></view><text class="title data-v-6b400d76">{{j}}</text></view><view class="data-v-6b400d76"><text class="info data-v-6b400d76">{{k}}</text></view></view></nut-cell-group><view class="service data-v-6b400d76"><view class="info data-v-6b400d76"><text class="title data-v-6b400d76">服务</text><text class="value data-v-6b400d76">{{l}}</text></view></view></view></view>

View File

@@ -0,0 +1 @@
.bottom-action.data-v-6b400d76{position:fixed;bottom:0;left:0;height:50px;background:#fff;width:calc(100% - 20px);display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:5px 10px}.bottom-action .bottom-action-icon.data-v-6b400d76{align-items:center;display:flex;justify-content:center}.bottom-action .bottom-action-icon .bottom-action-icon-item.data-v-6b400d76{align-items:center;display:flex;flex-direction:column;justify-content:center}.bottom-action .bottom-action-icon .bottom-action-icon-item text.data-v-6b400d76{color:rgba(0,0,0,.5);font-size:11px}.bottom-action .bottom-action-btn.data-v-6b400d76{-ms-flex-align:center;-ms-flex-pack:end;align-items:center;display:flex;gap:5px;justify-content:flex-end}.content.data-v-6b400d76{display:flex;flex-direction:column;min-height:calc(100vh - 50px);background-color:#f2f3f5;--nut-cell-group-title-color: #000;--nut-collapse-item-padding: 10px 10px 10px 10px;--nut-collapse-wrapper-content-padding: 10px 10px 10px 10px;--nut-collapse-item-color: #000;padding-bottom:50px}.report-inner.data-v-6b400d76{display:flex;flex-direction:column;gap:5px}.report-inner .report-item .report-item-name.data-v-6b400d76{color:rgba(0,0,0,.9);font-weight:700}.report-inner .report-item .report-item-content.data-v-6b400d76{display:flex;flex-wrap:wrap}.report-inner .report-item .report-item-content .report-item-content-item.data-v-6b400d76{padding-top:2px;padding-bottom:2px;width:50%;display:flex;align-items:center}.count-item.data-v-6b400d76{display:flex;justify-content:center;align-items:center;gap:2px}.swiper.data-v-6b400d76{width:100%;height:414px}.swiper image.data-v-6b400d76{width:100%;height:100%}.goods_info.data-v-6b400d76{padding:5px;color:#000}.goods_info .price.data-v-6b400d76{border-radius:5px;padding:10px;background:#fff}.goods_info .price .unit.data-v-6b400d76{font-size:12px}.goods_info .price .value.data-v-6b400d76{font-size:24px}.goods_info .name.data-v-6b400d76{border-radius:5px;padding:10px;background:#fff;display:flex;gap:5px;flex-direction:column}.goods_info .name .top.data-v-6b400d76{display:flex;gap:5px}.goods_info .name .top .tag.data-v-6b400d76{background:#000;padding:1px 2px;justify-content:center;align-items:center;display:flex;border-radius:2px}.goods_info .name .top .tag text.data-v-6b400d76{font-size:10px;color:#fff}.goods_info .name .top .title.data-v-6b400d76{font-size:16px}.goods_info .name .info.data-v-6b400d76{color:rgba(0,0,0,.7);font-size:13px}.goods_info .service.data-v-6b400d76{border-radius:5px;padding:10px;background:#fff;display:flex;align-items:center;justify-content:space-between}.goods_info .service .info.data-v-6b400d76{display:flex;flex-direction:column;justify-content:center;gap:5px}.goods_info .service .info .title.data-v-6b400d76{font-size:16px}.goods_info .service .info .value.data-v-6b400d76{color:rgba(0,0,0,.7);font-size:13px}.goods_info .service .right_icon.data-v-6b400d76{background-color:currentColor;-webkit-mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxQTFBMUEiIGQ9Ik0zNTMuODMgMTU4LjE3YTQyLjY3IDQyLjY3IDAgMSAxIDYwLjM0LTYwLjM0bDM4NCAzODRhNDIuNjcgNDIuNjcgMCAwIDEgMCA2MC4zNmwtMzg0IDM4NGE0Mi42NyA0Mi42NyAwIDEgMS02MC4zNC02MC4zNkw3MDcuNjcgNTEyeiIvPjwvc3ZnPg==) 0 0/100% 100% no-repeat;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxQTFBMUEiIGQ9Ik0zNTMuODMgMTU4LjE3YTQyLjY3IDQyLjY3IDAgMSAxIDYwLjM0LTYwLjM0bDM4NCAzODRhNDIuNjcgNDIuNjcgMCAwIDEgMCA2MC4zNmwtMzg0IDM4NGE0Mi42NyA0Mi42NyAwIDEgMS02MC4zNC02MC4zNkw3MDcuNjcgNTEyeiIvPjwvc3ZnPg==) 0 0/100% 100% no-repeat;width:12px;height:12px}.goods_info .report.data-v-6b400d76{border-radius:5px;padding:1px;background:#fff}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
{
"navigationBarTitleText": "编辑商品",
"enablePullDownRefresh": false,
"usingComponents": {
"nut-input": "../../uni_modules/nutui-uni/components/input/input",
"nut-form-item": "../../uni_modules/nutui-uni/components/formitem/formitem",
"nut-icon": "../../uni_modules/nutui-uni/components/icon/icon",
"nut-textarea": "../../uni_modules/nutui-uni/components/textarea/textarea",
"nut-radio": "../../uni_modules/nutui-uni/components/radio/radio",
"nut-radio-group": "../../uni_modules/nutui-uni/components/radiogroup/radiogroup",
"shmily-drag-image": "../../uni_modules/shmily-drag-image/components/shmily-drag-image/shmily-drag-image",
"nut-button": "../../uni_modules/nutui-uni/components/button/button",
"nut-form": "../../uni_modules/nutui-uni/components/form/form",
"nut-picker": "../../uni_modules/nutui-uni/components/picker/picker",
"nut-popup": "../../uni_modules/nutui-uni/components/popup/popup",
"nut-cascader": "../../uni_modules/nutui-uni/components/cascader/cascader"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-47f7dfde"><view wx:if="{{a}}" class="data-v-47f7dfde" style="padding:20rpx"><nut-form class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-0" bind:__l="__l"><nut-form-item wx:if="{{d}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-1,47f7dfde-0" bind:__l="__l" u-p="{{d}}"><nut-input wx:if="{{c}}" class="nut-input-text data-v-47f7dfde" u-i="47f7dfde-2,47f7dfde-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></nut-form-item><nut-form-item wx:if="{{i}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-3,47f7dfde-0" bind:__l="__l" u-p="{{i}}"><nut-input wx:if="{{h}}" u-s="{{['right']}}" class="nut-input-text data-v-47f7dfde" u-i="47f7dfde-4,47f7dfde-3" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><nut-icon class="data-v-47f7dfde" bindclick="{{e}}" u-i="47f7dfde-5,47f7dfde-4" bind:__l="__l" u-p="{{f}}" slot="right"/></nut-input></nut-form-item><nut-form-item wx:if="{{l}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-6,47f7dfde-0" bind:__l="__l" u-p="{{l}}"><nut-input wx:if="{{k}}" class="nut-input-text data-v-47f7dfde" u-i="47f7dfde-7,47f7dfde-6" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"/></nut-form-item><nut-form-item wx:if="{{o}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-8,47f7dfde-0" bind:__l="__l" u-p="{{o}}"><nut-textarea wx:if="{{n}}" class="data-v-47f7dfde" u-i="47f7dfde-9,47f7dfde-8" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"/></nut-form-item><nut-form-item wx:if="{{r}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-10,47f7dfde-0" bind:__l="__l" u-p="{{r}}"><nut-textarea wx:if="{{q}}" class="data-v-47f7dfde" u-i="47f7dfde-11,47f7dfde-10" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"/></nut-form-item><nut-form-item wx:if="{{x}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-12,47f7dfde-0" bind:__l="__l" u-p="{{x}}"><nut-radio-group wx:if="{{w}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-13,47f7dfde-12" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"><nut-radio wx:if="{{s}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-14,47f7dfde-13" bind:__l="__l" u-p="{{s}}">下架</nut-radio><nut-radio wx:if="{{t}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-15,47f7dfde-13" bind:__l="__l" u-p="{{t}}">上架</nut-radio></nut-radio-group></nut-form-item><nut-form-item class="data-v-47f7dfde" u-s="{{['label','d']}}" u-i="47f7dfde-16,47f7dfde-0" bind:__l="__l"><view slot="label">成色</view><view class="data-v-47f7dfde" style="color:black" bindtap="{{z}}"><text class="data-v-47f7dfde">{{y}}</text></view></nut-form-item><nut-form-item class="data-v-47f7dfde" u-s="{{['label','d']}}" u-i="47f7dfde-17,47f7dfde-0" bind:__l="__l"><view slot="label">机型</view><view class="data-v-47f7dfde" style="color:black" bindtap="{{D}}"><text class="data-v-47f7dfde">{{A}},{{B}},{{C}}</text></view></nut-form-item><nut-form-item class="data-v-47f7dfde" u-s="{{['label','d']}}" u-i="47f7dfde-18,47f7dfde-0" bind:__l="__l"><view slot="label">商品图片</view><shmily-drag-image class="data-v-47f7dfde" u-i="47f7dfde-19,47f7dfde-18" bind:__l="__l" bindupdateModelValue="{{E}}" u-p="{{F}}"></shmily-drag-image></nut-form-item><view class="data-v-47f7dfde" style="align-items:center;text-align:center;padding:20rpx 60rpx"><nut-button wx:if="{{H}}" class="data-v-47f7dfde" u-s="{{['d']}}" bindclick="{{G}}" u-i="47f7dfde-20,47f7dfde-0" bind:__l="__l" u-p="{{H}}"> 保存修改 </nut-button></view></nut-form></view><nut-popup wx:if="{{N}}" class="data-v-47f7dfde" u-s="{{['d']}}" u-i="47f7dfde-21" bind:__l="__l" bindupdateVisible="{{M}}" u-p="{{N}}"><nut-picker wx:if="{{L}}" class="data-v-47f7dfde" bindconfirm="{{I}}" bindcancel="{{J}}" u-i="47f7dfde-22,47f7dfde-21" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"></nut-picker></nut-popup><nut-cascader wx:if="{{S}}" class="data-v-47f7dfde" bindchange="{{O}}" bindpathChange="{{P}}" u-i="47f7dfde-23" bind:__l="__l" bindupdateVisible="{{Q}}" bindupdateModelValue="{{R}}" u-p="{{S}}"></nut-cascader></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-47f7dfde{min-height:100vh;background-color:#f2f3f5;--nut-searchbar-input-height: 40px}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
{
"navigationBarTitleText": "商品管理",
"enablePullDownRefresh": false,
"usingComponents": {
"nut-button": "../../uni_modules/nutui-uni/components/button/button",
"nut-searchbar": "../../uni_modules/nutui-uni/components/searchbar/searchbar",
"nut-menu-item": "../../uni_modules/nutui-uni/components/menuitem/menuitem",
"nut-menu": "../../uni_modules/nutui-uni/components/menu/menu",
"nut-tag": "../../uni_modules/nutui-uni/components/tag/tag",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,19 @@
{
"navigationBarTitleText": "价格调整",
"enablePullDownRefresh": false,
"usingComponents": {
"z-tabs": "../../uni_modules/z-tabs/components/z-tabs/z-tabs",
"nut-noticebar": "../../uni_modules/nutui-uni/components/noticebar/noticebar",
"nut-button": "../../uni_modules/nutui-uni/components/button/button",
"nut-input": "../../uni_modules/nutui-uni/components/input/input",
"nut-radio": "../../uni_modules/nutui-uni/components/radio/radio",
"nut-radio-group": "../../uni_modules/nutui-uni/components/radiogroup/radiogroup",
"nut-menu-item": "../../uni_modules/nutui-uni/components/menuitem/menuitem",
"nut-menu": "../../uni_modules/nutui-uni/components/menu/menu",
"nut-tag": "../../uni_modules/nutui-uni/components/tag/tag",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"nut-popup": "../../uni_modules/nutui-uni/components/popup/popup",
"nut-switch": "../../uni_modules/nutui-uni/components/switch/switch",
"nut-cell": "../../uni_modules/nutui-uni/components/cell/cell"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../api/order.js"),n=require("../../../utils/helper.js"),s=require("../../../api/config.js");if(!Array){(e.resolveComponent("nut-step")+e.resolveComponent("nut-steps")+e.resolveComponent("nut-cell")+e.resolveComponent("nut-cell-group")+e.resolveComponent("nut-tag")+e.resolveComponent("nut-price"))()}Math||((()=>"../../../uni_modules/nutui-uni/components/step/step.js")+(()=>"../../../uni_modules/nutui-uni/components/steps/steps.js")+(()=>"../../../uni_modules/nutui-uni/components/cell/cell.js")+(()=>"../../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js")+(()=>"../../../uni_modules/nutui-uni/components/tag/tag.js")+(()=>"../../../uni_modules/nutui-uni/components/price/price.js"))();const t={__name:"detail",setup(t){const i=e.ref(!0),a=e.ref(0),r=e.reactive({}),p=e.ref([]);e.onLoad((e=>{a.value=e.id})),e.onShow((()=>{c(),o.fetchOrderDetail(a.value).then((e=>{Object.assign(r,e)}))}));const c=()=>{s.fetchGetConfig().then((e=>{console.log("getConfig=====>",e),i.value=1==e.appConfig.is_audit,console.log(e.appConfig.pay_imgs);let o=JSON.parse(e.appConfig.pay_imgs)||[],n=JSON.parse(e.appConfig.wechat_imgs)||[],s=o.map((e=>e.file_path))||[],t=n.map((e=>e.file_path))||[];const a=s.concat(t);p.value=a}))};return(o,s)=>e.e({a:e.p({title:"待付款"}),b:e.p({title:"待发货"}),c:e.p({title:"待收货"}),d:e.p({title:"已完成"}),e:e.p({current:r.progress}),f:r.address_info},r.address_info?{g:e.t(r.address_info.user_name),h:e.t(r.address_info.tel_number),i:e.t(r.address_info.province_name+r.address_info.city_name+r.address_info.county_name+r.address_info.street_name+r.address_info.detail_info_new)}:{},{j:e.f(r.goods,((o,s,t)=>({a:e.t(o.snapshot_info.degree.degree_name),b:"c5a9af03-9-"+t+",c5a9af03-8-"+t,c:e.t(o.goods_name),d:e.t(o.goods_no),e:"c5a9af03-10-"+t+",c5a9af03-8-"+t,f:e.p({price:o.goods_price,size:"small","need-symbol":!0}),g:s,h:e.o((s=>e.unref(n.navigateTo)("/pages/mall/detail?id="+o.goods_id)),s),i:"c5a9af03-8-"+t+",c5a9af03-7"}))),k:e.p({"custom-color":"#1a1a1a"}),l:e.p({center:!0}),m:e.p({price:r.pay_price,size:"normal","need-symbol":!0}),n:e.p({title:"订单编号",desc:r.order_no}),o:e.p({title:"下单时间",desc:r.create_time}),p:r.progress>=3},r.progress>=3?{q:e.p({title:"物流公司",desc:r.express_company}),r:e.p({title:"物流单号",desc:r.express_no})}:{})}},i=e._export_sfc(t,[["__scopeId","data-v-c5a9af03"]]);wx.createPage(i);

View File

@@ -0,0 +1,11 @@
{
"navigationBarTitleText": "店铺订单-详情",
"usingComponents": {
"nut-step": "../../../uni_modules/nutui-uni/components/step/step",
"nut-steps": "../../../uni_modules/nutui-uni/components/steps/steps",
"nut-cell": "../../../uni_modules/nutui-uni/components/cell/cell",
"nut-cell-group": "../../../uni_modules/nutui-uni/components/cellgroup/cellgroup",
"nut-tag": "../../../uni_modules/nutui-uni/components/tag/tag",
"nut-price": "../../../uni_modules/nutui-uni/components/price/price"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-c5a9af03"><nut-steps wx:if="{{e}}" class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-0" bind:__l="__l" u-p="{{e}}"><nut-step wx:if="{{a}}" class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-1,c5a9af03-0" bind:__l="__l" u-p="{{a}}">1</nut-step><nut-step wx:if="{{b}}" class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-2,c5a9af03-0" bind:__l="__l" u-p="{{b}}">2</nut-step><nut-step wx:if="{{c}}" class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-3,c5a9af03-0" bind:__l="__l" u-p="{{c}}">3</nut-step><nut-step wx:if="{{d}}" class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-4,c5a9af03-0" bind:__l="__l" u-p="{{d}}">4</nut-step></nut-steps><nut-cell-group class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-5" bind:__l="__l"><nut-cell class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-6,c5a9af03-5" bind:__l="__l"><view wx:if="{{f}}" class="address-inner data-v-c5a9af03"><text class="data-v-c5a9af03">{{g}} - {{h}}</text><text class="data-v-c5a9af03">{{i}}</text></view></nut-cell></nut-cell-group><nut-cell-group class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-7" bind:__l="__l"><nut-cell wx:for="{{j}}" wx:for-item="goods" wx:key="g" class="data-v-c5a9af03" u-s="{{['title','link']}}" bindclick="{{goods.h}}" u-i="{{goods.i}}" bind:__l="__l" u-p="{{l}}"><view class="goods-info-row data-v-c5a9af03" slot="title"><view class="left-text data-v-c5a9af03"><view class="goods-name data-v-c5a9af03"><nut-tag wx:if="{{k}}" class="data-v-c5a9af03" u-s="{{['d']}}" u-i="{{goods.b}}" bind:__l="__l" u-p="{{k}}">{{goods.a}}</nut-tag><text class="data-v-c5a9af03" style="margin-left:10rpx">{{goods.c}}</text></view><text class="goods-no data-v-c5a9af03">串号:{{goods.d}}</text></view></view><nut-price class="data-v-c5a9af03" u-i="{{goods.e}}" bind:__l="__l" u-p="{{goods.f}}" slot="link"/></nut-cell></nut-cell-group><nut-cell-group class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-11" bind:__l="__l"><nut-cell class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-12,c5a9af03-11" bind:__l="__l"><view class="total-price-inner data-v-c5a9af03"><text class="data-v-c5a9af03">商品总额</text><nut-price wx:if="{{m}}" class="data-v-c5a9af03" u-i="c5a9af03-13,c5a9af03-12" bind:__l="__l" u-p="{{m}}"/></view></nut-cell></nut-cell-group><nut-cell-group class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-14" bind:__l="__l"><nut-cell wx:if="{{n}}" class="data-v-c5a9af03" u-i="c5a9af03-15,c5a9af03-14" bind:__l="__l" u-p="{{n}}"/><nut-cell wx:if="{{o}}" class="data-v-c5a9af03" u-i="c5a9af03-16,c5a9af03-14" bind:__l="__l" u-p="{{o}}"/></nut-cell-group><nut-cell-group wx:if="{{p}}" class="data-v-c5a9af03" u-s="{{['d']}}" u-i="c5a9af03-17" bind:__l="__l"><nut-cell wx:if="{{q}}" class="data-v-c5a9af03" u-i="c5a9af03-18,c5a9af03-17" bind:__l="__l" u-p="{{q}}"/><nut-cell wx:if="{{r}}" class="data-v-c5a9af03" u-i="c5a9af03-19,c5a9af03-17" bind:__l="__l" u-p="{{r}}"/></nut-cell-group></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-c5a9af03{min-height:100vh;background-color:#f2f3f5;padding:20rpx}.address-inner.data-v-c5a9af03{display:flex;flex-direction:column;justify-content:center}.total-price-inner.data-v-c5a9af03{width:100%;display:flex;justify-content:space-between;align-items:center}.total-price-inner view.data-v-c5a9af03:nth-child(2){color:#fa2c19}.wechat-img-inner.data-v-c5a9af03{margin-top:60rpx;padding:0rpx 80rpx;display:flex;align-items:center;justify-content:center;flex-direction:column}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,19 @@
{
"navigationBarTitleText": "店铺订单",
"usingComponents": {
"nut-dialog": "../../../uni_modules/nutui-uni/components/dialog/dialog",
"nut-button": "../../../uni_modules/nutui-uni/components/button/button",
"nut-searchbar": "../../../uni_modules/nutui-uni/components/searchbar/searchbar",
"nut-tabs": "../../../uni_modules/nutui-uni/components/tabs/tabs",
"nut-sticky": "../../../uni_modules/nutui-uni/components/sticky/sticky",
"nut-tag": "../../../uni_modules/nutui-uni/components/tag/tag",
"nut-price": "../../../uni_modules/nutui-uni/components/price/price",
"z-paging": "../../../uni_modules/z-paging/components/z-paging/z-paging",
"nut-cell": "../../../uni_modules/nutui-uni/components/cell/cell",
"nut-cell-group": "../../../uni_modules/nutui-uni/components/cellgroup/cellgroup",
"nut-input": "../../../uni_modules/nutui-uni/components/input/input",
"nut-form-item": "../../../uni_modules/nutui-uni/components/formitem/formitem",
"nut-form": "../../../uni_modules/nutui-uni/components/form/form",
"nut-popup": "../../../uni_modules/nutui-uni/components/popup/popup"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.page-content.data-v-6ccc5d11{min-height:100vh;background-color:#f2f3f5}.order-popup .address-inner.data-v-6ccc5d11{display:flex;flex-direction:column;justify-content:center}.order-popup .total-price-inner.data-v-6ccc5d11{width:100%;display:flex;justify-content:space-between;align-items:center}.order-popup .total-price-inner view.data-v-6ccc5d11:nth-child(2){color:#fa2c19}.wechat-img-inner.data-v-6ccc5d11{margin-top:60rpx;padding:0rpx 80rpx;display:flex;align-items:center;justify-content:center;flex-direction:column}.order-list.data-v-6ccc5d11{display:flex;flex-direction:column;width:100%}.order-inner.data-v-6ccc5d11{display:flex;flex-direction:column;background:#fff;border-radius:15rpx;overflow:hidden;margin:20rpx}.order-inner .order-inner-header.data-v-6ccc5d11{display:flex;align-items:center;background-color:#dcdcdc;color:rgba(0,0,0,.5);font-size:24rpx;justify-content:space-between;line-height:45rpx;padding:15rpx 20rpx}.order-inner .goods-info-row.data-v-6ccc5d11{display:flex;justify-content:space-between;align-items:center;padding:20rpx;border-bottom:2rpx solid #f2f3f5}.order-inner .goods-info-row .left-text.data-v-6ccc5d11{flex:1}.order-inner .goods-info-row .goods-name.data-v-6ccc5d11{font-size:30rpx;color:#000;display:block;margin-bottom:8rpx}.order-inner .goods-info-row .goods-no.data-v-6ccc5d11{font-size:26rpx;color:#000;display:block}.order-inner .goods-info-row .price.data-v-6ccc5d11{margin-left:20rpx;align-self:center}.order-inner .footer.data-v-6ccc5d11{display:flex;flex-direction:column}.order-inner .footer .order-inner-price.data-v-6ccc5d11{display:flex;justify-content:flex-end;padding-top:10rpx;padding-right:20rpx;padding-bottom:20rpx;font-size:24rpx;align-items:center}.order-inner .footer .order-inner-action.data-v-6ccc5d11{display:flex;padding-top:10rpx;padding-bottom:30rpx;align-items:center;justify-content:flex-end}.title-list.data-v-6ccc5d11{display:flex;justify-content:space-around;align-items:center;width:100%}.title-list .title-item.data-v-6ccc5d11{display:flex;justify-content:space-around;align-items:center;position:relative}.title-list .tabs-active.data-v-6ccc5d11{font-weight:700;color:var(--nut-tabs-titles-item-active-color, var(--nut-title-color, #1a1a1a));opacity:var(--nut-tabs-titles-item-line-opacity, 1);transition:width .3s ease}.title-list .tabs-active .item__line.data-v-6ccc5d11{position:absolute;bottom:-10%;left:50%;overflow:hidden;border-radius:var(--nut-tabs-titles-item-line-border-radius, 0);opacity:var(--nut-tabs-titles-item-line-opacity, 1);transition:width .3s ease;transform:translate(-50%);width:var(--nut-tabs-horizontal-titles-item-active-line-width, 40px);height:3px;content:" ";background:var(--nut-tabs-horizontal-tab-line-color, linear-gradient(90deg, var(--nut-primary-color, #fa2c19) 0%, rgba(250, 44, 25, .15) 100%))}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/config.js"),o=require("../../api/request.js");if(!Array){(e.resolveComponent("nut-input")+e.resolveComponent("nut-form-item")+e.resolveComponent("nut-textarea")+e.resolveComponent("nut-switch")+e.resolveComponent("shmily-drag-image")+e.resolveComponent("nut-button")+e.resolveComponent("nut-form"))()}Math||((()=>"../../uni_modules/nutui-uni/components/input/input.js")+(()=>"../../uni_modules/nutui-uni/components/formitem/formitem.js")+(()=>"../../uni_modules/nutui-uni/components/textarea/textarea.js")+(()=>"../../uni_modules/nutui-uni/components/switch/switch.js")+(()=>"../../uni_modules/shmily-drag-image/components/shmily-drag-image/shmily-drag-image.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js")+(()=>"../../uni_modules/nutui-uni/components/form/form.js"))();const a={__name:"store",setup(a){const i=e.ref(!1),s=e.ref(!1),p=e.reactive({shop_name:"",shop_desc:"",shop_phone:"",is_audit:0,bulletin_txt:"",service_txt:"",pay_imgs:[],wechat_imgs:[]}),n=e=>{p.is_audit=Number(s.value),console.log(p)},l=()=>{t.fetchSetConfig(p).then((t=>{e.index.showToast({icon:"none",title:"更新商城配置成功"}),setTimeout((()=>{e.index.redirectTo({url:"/pages/config/store",success:e=>{},fail:()=>{},complete:()=>{}})}),500)}))};e.onMounted((()=>{t.fetchGetConfig().then((e=>{console.log("res=====>",e),p.shop_name=e.appConfig.shop_name,p.shop_desc=e.appConfig.shop_desc,p.shop_phone=e.appConfig.shop_phone,p.bulletin_txt=e.appConfig.bulletin_txt,p.service_txt=e.appConfig.service_txt,p.is_audit=e.appConfig.is_audit,s.value=1==e.appConfig.is_audit,e.appConfig.bucket&&(i.value=!0);let t=JSON.parse(e.appConfig.pay_imgs),o=JSON.parse(e.appConfig.wechat_imgs);t.forEach((e=>{p.pay_imgs.push({id:e.image_id,file_path:e.file_path})})),o.forEach((e=>{p.wechat_imgs.push({id:e.image_id,file_path:e.file_path})})),console.log("form=====>",p)}))}));const u=()=>{e.index.chooseImage({count:9-(p.pay_imgs.length||0),sourceType:["album","camera"],success:t=>{t.tempFiles.forEach((t=>{e.index.uploadFile({url:o.getUploadImageUrl(),filePath:t.path,name:"iFile",formData:{group_id:1},success:e=>{let t=JSON.parse(e.data).data;p.pay_imgs.push({id:parseInt(t.file_id),file_path:t.file_path})}})}))}})},m=()=>{e.index.chooseImage({count:9-(p.wechat_imgs.length||0),sourceType:["album","camera"],success:t=>{t.tempFiles.forEach((t=>{e.index.uploadFile({url:o.getUploadImageUrl(),filePath:t.path,name:"iFile",formData:{group_id:1},success:e=>{let t=JSON.parse(e.data).data;p.wechat_imgs.push({id:parseInt(t.file_id),file_path:t.file_path})}})}))}})};return(t,o)=>e.e({a:e.o((e=>p.shop_name=e)),b:e.p({placeholder:"请输入店铺名称",type:"text",modelValue:p.shop_name}),c:e.p({label:"商城名称"}),d:e.o((e=>p.shop_desc=e)),e:e.p({autosize:!0,placeholder:"请输入店铺介绍",type:"text",modelValue:p.shop_desc}),f:e.p({label:"商城介绍"}),g:e.o((e=>p.shop_phone=e)),h:e.p({placeholder:"请输入手机号码",type:"text",modelValue:p.shop_phone}),i:e.p({label:"手机号码"}),j:e.o((e=>p.bulletin_txt=e)),k:e.p({autosize:!0,placeholder:"请输入首页公告",type:"text",modelValue:p.bulletin_txt}),l:e.p({label:"首页公告"}),m:e.o((e=>p.service_txt=e)),n:e.p({autosize:!0,placeholder:"请输入服务描述",type:"text",modelValue:p.service_txt}),o:e.p({label:"服务描述"}),p:e.o(n),q:e.o((e=>s.value=e)),r:e.p({modelValue:s.value}),s:e.p({label:"是否审核模式"}),t:i.value},i.value?{v:e.o((e=>p.pay_imgs=e)),w:e.p({number:9,"add-image":u,keyName:"file_path",modelValue:p.pay_imgs})}:{},{x:i.value},i.value?{y:e.o((e=>p.wechat_imgs=e)),z:e.p({number:9,"add-image":m,keyName:"file_path",modelValue:p.wechat_imgs})}:{},{A:e.o(l),B:e.p({type:"primary"})})}},i=e._export_sfc(a,[["__scopeId","data-v-914575b5"]]);wx.createPage(i);

View File

@@ -0,0 +1,12 @@
{
"navigationBarTitleText": "商城配置",
"usingComponents": {
"nut-input": "../../uni_modules/nutui-uni/components/input/input",
"nut-form-item": "../../uni_modules/nutui-uni/components/formitem/formitem",
"nut-textarea": "../../uni_modules/nutui-uni/components/textarea/textarea",
"nut-switch": "../../uni_modules/nutui-uni/components/switch/switch",
"shmily-drag-image": "../../uni_modules/shmily-drag-image/components/shmily-drag-image/shmily-drag-image",
"nut-button": "../../uni_modules/nutui-uni/components/button/button",
"nut-form": "../../uni_modules/nutui-uni/components/form/form"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-914575b5"><view class="data-v-914575b5" style="padding:20rpx"><nut-form class="data-v-914575b5" u-s="{{['d']}}" u-i="914575b5-0" bind:__l="__l"><nut-form-item wx:if="{{c}}" class="data-v-914575b5" u-s="{{['d']}}" u-i="914575b5-1,914575b5-0" bind:__l="__l" u-p="{{c}}"><nut-input wx:if="{{b}}" class="nut-input-text data-v-914575b5" u-i="914575b5-2,914575b5-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/></nut-form-item><nut-form-item wx:if="{{f}}" class="data-v-914575b5" u-s="{{['d']}}" u-i="914575b5-3,914575b5-0" bind:__l="__l" u-p="{{f}}"><nut-textarea wx:if="{{e}}" class="data-v-914575b5" u-i="914575b5-4,914575b5-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"/></nut-form-item><nut-form-item wx:if="{{i}}" class="data-v-914575b5" u-s="{{['d']}}" u-i="914575b5-5,914575b5-0" bind:__l="__l" u-p="{{i}}"><nut-input wx:if="{{h}}" class="nut-input-text data-v-914575b5" u-i="914575b5-6,914575b5-5" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></nut-form-item><nut-form-item wx:if="{{l}}" class="data-v-914575b5" u-s="{{['d']}}" u-i="914575b5-7,914575b5-0" bind:__l="__l" u-p="{{l}}"><nut-textarea wx:if="{{k}}" class="data-v-914575b5" u-i="914575b5-8,914575b5-7" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"/></nut-form-item><nut-form-item wx:if="{{o}}" class="data-v-914575b5" u-s="{{['d']}}" u-i="914575b5-9,914575b5-0" bind:__l="__l" u-p="{{o}}"><nut-textarea wx:if="{{n}}" class="data-v-914575b5" u-i="914575b5-10,914575b5-9" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"/></nut-form-item><nut-form-item wx:if="{{s}}" class="data-v-914575b5" u-s="{{['d']}}" u-i="914575b5-11,914575b5-0" bind:__l="__l" u-p="{{s}}"><nut-switch wx:if="{{r}}" class="data-v-914575b5" bindchange="{{p}}" u-i="914575b5-12,914575b5-11" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"/></nut-form-item><nut-form-item wx:if="{{t}}" class="data-v-914575b5" u-s="{{['label','d']}}" u-i="914575b5-13,914575b5-0" bind:__l="__l"><view slot="label">收款二维码</view><shmily-drag-image class="data-v-914575b5" u-i="914575b5-14,914575b5-13" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></shmily-drag-image></nut-form-item><nut-form-item wx:if="{{x}}" class="data-v-914575b5" u-s="{{['label','d']}}" u-i="914575b5-15,914575b5-0" bind:__l="__l"><view slot="label">微信二维码</view><shmily-drag-image class="data-v-914575b5" u-i="914575b5-16,914575b5-15" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></shmily-drag-image></nut-form-item><view class="data-v-914575b5" style="align-items:center;text-align:center;padding:20rpx 0rpx"><nut-button wx:if="{{B}}" class="data-v-914575b5" u-s="{{['d']}}" bindclick="{{A}}" u-i="914575b5-17,914575b5-0" bind:__l="__l" u-p="{{B}}"> 保存配置 </nut-button></view></nut-form></view></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-914575b5{min-height:100vh;background-color:#f2f3f5}.list.data-v-914575b5{display:flex;justify-content:center;flex-direction:column;background:#fff;align-items:center;max-height:300rpx;overflow-y:scroll;padding:10px}.list .list-item.data-v-914575b5{border-bottom:1px solid #eee;padding:20rpx 10rpx}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,17 @@
{
"navigationBarTitleText": "主页",
"navigationStyle": "custom",
"enablePullDownRefresh": false,
"usingComponents": {
"nut-noticebar": "../../uni_modules/nutui-uni/components/noticebar/noticebar",
"z-tabs": "../../uni_modules/z-tabs/components/z-tabs/z-tabs",
"nut-button": "../../uni_modules/nutui-uni/components/button/button",
"nut-searchbar": "../../uni_modules/nutui-uni/components/searchbar/searchbar",
"nut-menu-item": "../../uni_modules/nutui-uni/components/menuitem/menuitem",
"nut-menu": "../../uni_modules/nutui-uni/components/menu/menu",
"nut-tag": "../../uni_modules/nutui-uni/components/tag/tag",
"nut-price": "../../uni_modules/nutui-uni/components/price/price",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"index-custom-navigationbar": "../../components/index-custom-navigationbar/index"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.page-content.data-v-317a23ad{min-height:100vh;background-color:#f2f3f5;--nut-menu-bar-box-shadow: none;--nut-menu-item-content-padding: 20rpx;--nut-menu-item-content-max-height: 900rpx;--nut-searchbar-input-height: 40px}.data-v-317a23ad .titleClass .nut-menu__title-text{font-size:30rpx;font-weight:700;color:#000}.goods-item.data-v-317a23ad{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:20rpx;background-color:#fff;margin-bottom:20rpx;gap:20rpx}.goods-item .goods-item-image.data-v-317a23ad{width:170rpx;height:170rpx}.goods-item .goods-item-image .goods-item-image-img.data-v-317a23ad{width:100%;height:100%}.goods-item .goods-item-content.data-v-317a23ad{display:flex;flex:1;flex-direction:column;justify-content:space-between}.goods-item .goods-item-content .goods-item-content-header.data-v-317a23ad{display:flex;align-items:center;padding:10rpx 0;gap:20rpx}.goods-item .goods-item-content .goods-item-content-body.data-v-317a23ad{padding:10rpx 0}.goods-item .goods-item-content .goods-item-content-body .goods-item-content-body-desc.data-v-317a23ad{color:#7c7c7c;font-size:26rpx}.goods-item .goods-item-content .goods-item-content-footer.data-v-317a23ad{padding:10rpx 0;display:flex;justify-content:space-between;align-items:center}.goods-item .goods-item-content .goods-item-content-footer .goods-item-content-footer-btn.data-v-317a23ad{display:flex;justify-content:space-between;align-items:center;gap:10rpx}.goods-item .goods-item-content .goods-item-content-footer .goods-item-content-footer-btn .share-btn.data-v-317a23ad{border-radius:50rpx;border:2rpx solid red;font-size:26rpx;align-items:center;height:54rpx;color:red;display:flex;justify-content:center}.filter-types.data-v-317a23ad{display:flex;justify-content:flex-start;flex-direction:row;align-items:center;overflow:auto;gap:10rpx;padding:10rpx;height:60rpx;background-color:#fff;border-bottom:2rpx solid gainsboro;border-top:2rpx solid gainsboro}.filter-types .filter-type-inner.data-v-317a23ad{align-items:center;background-color:rgba(0,0,0,.05);border-radius:16rpx;box-sizing:border-box;display:flex;flex:0 0 auto;font-size:28rpx;gap:15rpx;padding:10rpx 20rpx}.filter-types .filter-type-inner.active.data-v-317a23ad{background-color:rgba(250,44,25,.1);color:var(--nutui-color-primary)}.tabs-container.data-v-317a23ad{display:flex}.tabs-container .tab-pane-inner.data-v-317a23ad{height:600rpx}.tabs-container .tabs-inner.data-v-317a23ad{overflow-y:scroll;height:600rpx;width:160rpx;background-color:#f5f5f5}.tabs-container .tabs-inner .tab-inner.data-v-317a23ad{height:60rpx;padding:10rpx;font-size:28rpx;display:flex;align-items:center;background:#f5f5f5}.tabs-container .tabs-inner .tab-inner text.data-v-317a23ad{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.tabs-container .tabs-inner .tab-inner-active.data-v-317a23ad{background-color:rgba(250,44,25,.1);color:var(--nutui-color-primary)}.degree-inner.data-v-317a23ad{display:flex;flex:1;flex-wrap:wrap;gap:10rpx;width:100%;margin-bottom:60rpx}.degree-item.data-v-317a23ad{align-items:center;background-color:rgba(0,0,0,.05);border-radius:10rpx;box-sizing:border-box;display:flex;flex:0 0 auto;font-size:26rpx;gap:10rpx;justify-content:center;min-height:80rpx;width:calc(50% - 10rpx)}.degree-item.active.data-v-317a23ad{background-color:rgba(250,44,25,.1);color:var(--nutui-color-primary)}.product-btns.data-v-317a23ad{display:flex;width:100%;padding:20rpx 0}.product-btns .reset.data-v-317a23ad{flex:1}.product-btns .confirm.data-v-317a23ad{flex:2}.degree-btns.data-v-317a23ad{display:flex;width:100%}.degree-btns .reset.data-v-317a23ad{flex:1}.degree-btns .confirm.data-v-317a23ad{flex:2}.main-nav-container.data-v-317a23ad{display:flex;justify-content:space-between;background-color:#fff;padding:20rpx}.nav-button.data-v-317a23ad{display:flex;align-items:center;width:45%;height:160rpx;border-radius:20rpx;overflow:hidden;padding:0 10rpx}.phone-button.data-v-317a23ad{background:linear-gradient(135deg,#6a5ae0,#8d7bfb);color:#fff}.parts-button.data-v-317a23ad{background:linear-gradient(135deg,#ff6b6b,#ee5253);color:#fff}.nav-button-bg.data-v-317a23ad{position:absolute;right:0;top:0;height:100%;width:50%;opacity:.2;object-fit:cover}.nav-button-icon.data-v-317a23ad{width:90rpx;height:90rpx;margin-right:20rpx;z-index:2}.nav-button-content.data-v-317a23ad{z-index:2;display:flex;flex-direction:column}.nav-button-title.data-v-317a23ad{font-size:34rpx;font-weight:700;margin-bottom:8rpx}.nav-button-desc.data-v-317a23ad{font-size:24rpx;opacity:.85}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),n=require("../../api/user.js"),o=require("../../utils/helper.js");if(!Array){(e.resolveComponent("nut-icon")+e.resolveComponent("nut-avatar")+e.resolveComponent("nut-button"))()}Math||((()=>"../../uni_modules/nutui-uni/components/icon/icon.js")+(()=>"../../uni_modules/nutui-uni/components/avatar/avatar.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js"))();const t={__name:"index",setup(t){const i=e.ref(""),s=e.ref("");e.onLoad((e=>{s.value=e.redirect_url})),e.onMounted((()=>{e.index.login({provider:"weixin",success(e){"login:ok"===e.errMsg&&(i.value=e.code)}})}));const a=t=>{""!==i.value?n.login(i.value,JSON.stringify(t.detail.userInfo)).then((n=>{console.log(n),e.index.setStorageSync("token",n.token),e.index.setStorageSync("uid",n.user_id),n.is_bind_phone?o.navigateTo("/pages/login/phoneAuthorization"):(e.index.showToast({title:"授权成功",icon:"none"}),"undefined"!==s.value?o.navigateTo(s.value):e.index.navigateBack())})):e.index.showToast({icon:"none",title:"请稍后再试"})};return(n,t)=>({a:e.p({size:"30",name:"my"}),b:e.p({size:"80"}),c:e.o(a),d:e.p({type:"success",size:"large","open-type":"getUserInfo"}),e:e.o((n=>e.unref(o.switchTab)("/pages/index/index"))),f:e.p({type:"danger",size:"large"})})}},i=e._export_sfc(t,[["__scopeId","data-v-c0bcfeb2"]]);wx.createPage(i);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "授权登录",
"usingComponents": {
"nut-icon": "../../uni_modules/nutui-uni/components/icon/icon",
"nut-avatar": "../../uni_modules/nutui-uni/components/avatar/avatar",
"nut-button": "../../uni_modules/nutui-uni/components/button/button"
}
}

View File

@@ -0,0 +1 @@
<view class="content data-v-c0bcfeb2"><view class="avatar data-v-c0bcfeb2"><nut-avatar wx:if="{{b}}" class="data-v-c0bcfeb2" u-s="{{['d']}}" u-i="c0bcfeb2-0" bind:__l="__l" u-p="{{b}}"><nut-icon wx:if="{{a}}" class="data-v-c0bcfeb2" u-i="c0bcfeb2-1,c0bcfeb2-0" bind:__l="__l" u-p="{{a}}"/></nut-avatar></view><view class="divider data-v-c0bcfeb2"></view></view><view class="tip-infos data-v-c0bcfeb2"><text class="data-v-c0bcfeb2">申请获取以下权限</text><text class="data-v-c0bcfeb2">获得你的公开信息(昵称、头像等)</text></view><view class="authorize-btn-inner data-v-c0bcfeb2"><nut-button wx:if="{{d}}" class="data-v-c0bcfeb2" u-s="{{['d']}}" bindgetuserinfo="{{c}}" u-i="c0bcfeb2-2" bind:__l="__l" u-p="{{d}}">授权登录</nut-button></view><view class="authorize-btn-inner data-v-c0bcfeb2"><nut-button wx:if="{{f}}" class="data-v-c0bcfeb2" u-s="{{['d']}}" bindclick="{{e}}" u-i="c0bcfeb2-3" bind:__l="__l" u-p="{{f}}">暂不登录</nut-button></view>

View File

@@ -0,0 +1 @@
.divider.data-v-c0bcfeb2{height:1px;background:#eee;width:100%}.content.data-v-c0bcfeb2{display:flex;justify-content:center;flex-direction:column;padding:25px 15px;align-items:center;gap:20px}.tip-infos.data-v-c0bcfeb2{display:flex;flex-direction:column;justify-content:flex-start;padding:10px 25px;gap:10px}.tip-infos text.data-v-c0bcfeb2:nth-child(2){font-size:15px;color:#666}.authorize-btn-inner.data-v-c0bcfeb2{padding:15px}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/user.js");if(!Array){e.resolveComponent("nut-button")()}Math;const n={__name:"phoneAuthorization",setup(n){const s=e.ref(""),t=e.ref("");e.onLoad((e=>{t.value=e.redirect_url})),e.onMounted((()=>{e.index.login({provider:"weixin",success(e){"login:ok"===e.errMsg&&(s.value=e.code)}})}));const r=n=>{n.detail.code&&o.fetchUserPhone(n.detail.code).then((o=>{console.log(o),"success"===o.msg&&1===o.code?(e.index.showToast({title:"授权成功",icon:"none"}),console.log("code"),e.index.switchTab({url:"/pages/mine/index"})):e.index.switchTab({url:"/pages/mine/index"})}))};return(o,n)=>({a:e.o(r),b:e.p({type:"success",size:"large","open-type":"getPhoneNumber"})})}},s=e._export_sfc(n,[["__scopeId","data-v-e697c3b7"]]);wx.createPage(s);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "授权手机号",
"usingComponents": {
"nut-button": "../../uni_modules/nutui-uni/components/button/button"
}
}

View File

@@ -0,0 +1 @@
<view class="tip-infos data-v-e697c3b7"><text class="data-v-e697c3b7">申请获取以下权限</text><text class="data-v-e697c3b7">获得你的手机号信息</text></view><view class="authorize-btn-inner data-v-e697c3b7"><nut-button wx:if="{{b}}" class="data-v-e697c3b7" u-s="{{['d']}}" bindgetphonenumber="{{a}}" u-i="e697c3b7-0" bind:__l="__l" u-p="{{b}}">授权手机号</nut-button></view>

View File

@@ -0,0 +1 @@
.divider.data-v-e697c3b7{height:1px;background:#eee;width:100%}.content.data-v-e697c3b7{display:flex;justify-content:center;flex-direction:column;padding:25px 15px;align-items:center;gap:20px}.tip-infos.data-v-e697c3b7{display:flex;flex-direction:column;justify-content:flex-start;padding:10px 25px;gap:10px}.tip-infos text.data-v-e697c3b7:nth-child(2){font-size:15px;color:#666}.authorize-btn-inner.data-v-e697c3b7{padding:15px}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../utils/helper.js"),t=require("../../api/goods.js"),n=require("../../api/config.js");if(!Array){(e.resolveComponent("nut-watermark")+e.resolveComponent("nut-cell-group")+e.resolveComponent("nut-icon")+e.resolveComponent("nut-button"))()}Math||((()=>"../../uni_modules/nutui-uni/components/watermark/watermark.js")+(()=>"../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js")+(()=>"../../uni_modules/nutui-uni/components/icon/icon.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js"))();const i={__name:"detail",setup(i){const a=e.ref(!0),u=e.ref(""),l=e.ref(0),s=e.reactive({});e.onLoad((e=>{console.log("init"),r(),l.value=e.id,t.fetchGoodsDetail(l.value).then((e=>{Object.assign(s,e)}))}));const r=()=>{n.fetchGetConfig().then((e=>{console.log("getConfig=====>",e),a.value=1==e.appConfig.is_audit,u.value=e.appConfig.service_txt}))};e.onShareTimeline((e=>({title:s.goods_name,path:"/pages/mall/detail?id="+s.goods_id,imageUrl:s.image[0].file_path}))),e.onShareAppMessage((e=>({title:s.goods_name,path:"/pages/mall/detail?id="+s.goods_id,imageUrl:s.image[0].file_path})));return(t,n)=>{var i,l,r,d,p,v,g,m,c;return e.e({a:10===(null==(i=s.status)?void 0:i.value)},10===(null==(l=s.status)?void 0:l.value)?{b:e.p({"z-index":1,content:"此商品已下架"})}:{},{c:30===(null==(r=s.status)?void 0:r.value)},30===(null==(d=s.status)?void 0:d.value)?{d:e.p({"z-index":1,content:"此商品已锁定"})}:{},{e:40===(null==(p=s.status)?void 0:p.value)},40===(null==(v=s.status)?void 0:v.value)?{f:e.p({"z-index":1,content:"此商品已售出"})}:{},{g:e.f(s.image,((o,t,n)=>({a:o.file_path,b:e.o((o=>{return n=t,void e.index.previewImage({current:n,urls:s.image.map((e=>e.file_path))});var n}),t),c:t}))),h:e.t(s.goods_price),i:e.t(null==(g=s.degree)?void 0:g.degree_name),j:e.t(s.goods_name),k:e.t(s.content),l:e.t(u.value),m:e.p({name:"service"}),n:20===(null==(m=s.status)?void 0:m.value)},20===(null==(c=s.status)?void 0:c.value)?e.e({o:!a.value},a.value?{}:{p:e.o((t=>{return n=s.goods_id,void(e.index.getStorageSync("token")?(console.log("已经登陆"),e.index.navigateTo({url:`/pages/order/preview?ids=${n}&from=item`})):o.goToLoginPage());var n})),q:e.p({type:"primary"})}):e.e({r:!a.value},a.value?{}:{s:e.p({plain:!0})}))}}},a=e._export_sfc(i,[["__scopeId","data-v-b751d003"]]);i.__runtimeHooks=6,wx.createPage(a);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "店铺商品详情",
"usingComponents": {
"nut-watermark": "../../uni_modules/nutui-uni/components/watermark/watermark",
"nut-cell-group": "../../uni_modules/nutui-uni/components/cellgroup/cellgroup",
"nut-icon": "../../uni_modules/nutui-uni/components/icon/icon",
"nut-button": "../../uni_modules/nutui-uni/components/button/button"
}
}

View File

@@ -0,0 +1 @@
<view class="content data-v-b751d003"><nut-watermark wx:if="{{a}}" class="mark1 data-v-b751d003" u-i="b751d003-0" bind:__l="__l" u-p="{{b}}"></nut-watermark><nut-watermark wx:if="{{c}}" class="mark1 data-v-b751d003" u-i="b751d003-1" bind:__l="__l" u-p="{{d}}"></nut-watermark><nut-watermark wx:if="{{e}}" class="mark1 data-v-b751d003" u-i="b751d003-2" bind:__l="__l" u-p="{{f}}"></nut-watermark><swiper class="swiper data-v-b751d003" circular indicator-dots autoplay><swiper-item wx:for="{{g}}" wx:for-item="item" wx:key="c" class="data-v-b751d003" bindtap="{{item.b}}"><image class="data-v-b751d003" src="{{item.a}}" mode="aspectFill"></image></swiper-item></swiper><view class="goods_info data-v-b751d003"><nut-cell-group class="data-v-b751d003" u-s="{{['d']}}" u-i="b751d003-3" bind:__l="__l"><view class="price data-v-b751d003"><text class="unit data-v-b751d003">¥</text><text class="value data-v-b751d003">{{h}}</text></view></nut-cell-group><nut-cell-group class="data-v-b751d003" u-s="{{['d']}}" u-i="b751d003-4" bind:__l="__l"><view class="name data-v-b751d003"><view class="top data-v-b751d003"><view class="tag data-v-b751d003"><text class="data-v-b751d003">{{i}}</text></view><text class="title data-v-b751d003">{{j}}</text></view><view class="data-v-b751d003"><text class="info data-v-b751d003">{{k}}</text></view></view></nut-cell-group><view class="service data-v-b751d003"><view class="info data-v-b751d003"><text class="title data-v-b751d003">服务</text><text class="value data-v-b751d003">{{l}}</text></view></view></view><view class="bottom-action data-v-b751d003"><view class="bottom-action-icon data-v-b751d003"><button plain open-type="contact" style="border:none;border-width:0" class="bottom-action-icon-item data-v-b751d003"><nut-icon wx:if="{{m}}" class="data-v-b751d003" u-i="b751d003-5" bind:__l="__l" u-p="{{m}}"></nut-icon><text class="data-v-b751d003">客服</text></button></view><view wx:if="{{n}}" class="bottom-action-btn data-v-b751d003"><nut-button wx:if="{{o}}" class="data-v-b751d003" u-s="{{['d']}}" bindclick="{{p}}" u-i="b751d003-6" bind:__l="__l" u-p="{{q}}">立即购买</nut-button></view><view wx:else class="bottom-action-btn data-v-b751d003"><nut-button wx:if="{{r}}" class="data-v-b751d003" u-s="{{['d']}}" u-i="b751d003-7" bind:__l="__l" u-p="{{s}}">暂不支持购买</nut-button></view></view></view>

View File

@@ -0,0 +1 @@
.bottom-action.data-v-b751d003{position:fixed;bottom:0;left:0;height:50px;background:#fff;width:calc(100% - 20px);display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:5px 10px}.bottom-action .bottom-action-icon.data-v-b751d003{align-items:center;display:flex;justify-content:center}.bottom-action .bottom-action-icon .bottom-action-icon-item.data-v-b751d003{align-items:center;display:flex;flex-direction:column;justify-content:center}.bottom-action .bottom-action-icon .bottom-action-icon-item text.data-v-b751d003{color:rgba(0,0,0,.5);font-size:11px}.bottom-action .bottom-action-btn.data-v-b751d003{-ms-flex-align:center;-ms-flex-pack:end;align-items:center;display:flex;gap:5px;justify-content:flex-end}.content.data-v-b751d003{display:flex;flex-direction:column;min-height:calc(100vh - 50px);background-color:#f2f3f5;--nut-cell-group-title-color: #000;--nut-collapse-item-padding: 10px 10px 10px 10px;--nut-collapse-wrapper-content-padding: 10px 10px 10px 10px;--nut-collapse-item-color: #000;padding-bottom:50px}.report-inner.data-v-b751d003{display:flex;flex-direction:column;gap:5px}.report-inner .report-item .report-item-name.data-v-b751d003{color:rgba(0,0,0,.9);font-weight:700}.report-inner .report-item .report-item-content.data-v-b751d003{display:flex;flex-wrap:wrap}.report-inner .report-item .report-item-content .report-item-content-item.data-v-b751d003{padding-top:2px;padding-bottom:2px;width:50%;display:flex;align-items:center}.count-item.data-v-b751d003{display:flex;justify-content:center;align-items:center;gap:2px}.swiper.data-v-b751d003{width:100%;height:414px}.swiper image.data-v-b751d003{width:100%;height:100%}.goods_info.data-v-b751d003{padding:5px;color:#000}.goods_info .price.data-v-b751d003{border-radius:5px;padding:10px;background:#fff}.goods_info .price .unit.data-v-b751d003{font-size:12px}.goods_info .price .value.data-v-b751d003{font-size:24px}.goods_info .name.data-v-b751d003{border-radius:5px;padding:10px;background:#fff;display:flex;gap:5px;flex-direction:column}.goods_info .name .top.data-v-b751d003{display:flex;gap:5px}.goods_info .name .top .tag.data-v-b751d003{background:#000;padding:1px 2px;justify-content:center;align-items:center;display:flex;border-radius:2px}.goods_info .name .top .tag text.data-v-b751d003{font-size:10px;color:#fff}.goods_info .name .top .title.data-v-b751d003{font-size:16px}.goods_info .name .info.data-v-b751d003{color:rgba(0,0,0,.7);font-size:13px}.goods_info .service.data-v-b751d003{border-radius:5px;padding:10px;background:#fff;display:flex;align-items:center;justify-content:space-between}.goods_info .service .info.data-v-b751d003{display:flex;flex-direction:column;justify-content:center;gap:5px}.goods_info .service .info .title.data-v-b751d003{font-size:16px}.goods_info .service .info .value.data-v-b751d003{color:rgba(0,0,0,.7);font-size:13px}.goods_info .service .right_icon.data-v-b751d003{background-color:currentColor;-webkit-mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxQTFBMUEiIGQ9Ik0zNTMuODMgMTU4LjE3YTQyLjY3IDQyLjY3IDAgMSAxIDYwLjM0LTYwLjM0bDM4NCAzODRhNDIuNjcgNDIuNjcgMCAwIDEgMCA2MC4zNmwtMzg0IDM4NGE0Mi42NyA0Mi42NyAwIDEgMS02MC4zNC02MC4zNkw3MDcuNjcgNTEyeiIvPjwvc3ZnPg==) 0 0/100% 100% no-repeat;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxQTFBMUEiIGQ9Ik0zNTMuODMgMTU4LjE3YTQyLjY3IDQyLjY3IDAgMSAxIDYwLjM0LTYwLjM0bDM4NCAzODRhNDIuNjcgNDIuNjcgMCAwIDEgMCA2MC4zNmwtMzg0IDM4NGE0Mi42NyA0Mi42NyAwIDEgMS02MC4zNC02MC4zNkw3MDcuNjcgNTEyeiIvPjwvc3ZnPg==) 0 0/100% 100% no-repeat;width:12px;height:12px}.goods_info .report.data-v-b751d003{border-radius:5px;padding:1px;background:#fff}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../utils/helper.js"),t=require("../../api/house_goods.js"),n=require("../../api/config.js");if(!Array){(e.resolveComponent("nut-watermark")+e.resolveComponent("nut-cell-group")+e.resolveComponent("nut-icon")+e.resolveComponent("nut-collapse-item")+e.resolveComponent("nut-collapse")+e.resolveComponent("nut-button"))()}Math||((()=>"../../uni_modules/nutui-uni/components/watermark/watermark.js")+(()=>"../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js")+(()=>"../../uni_modules/nutui-uni/components/icon/icon.js")+(()=>"../../uni_modules/nutui-uni/components/collapseitem/collapseitem.js")+(()=>"../../uni_modules/nutui-uni/components/collapse/collapse.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js"))();const s={__name:"houseDetail",setup(s){const l=e.ref(!0),i=e.ref(0),a=e.reactive({}),u=e.ref([]),r=e.ref([]);e.onLoad((e=>{console.log("init"),n.fetchGetConfig().then((e=>{console.log("getConfig=====>",e),l.value=1==e.appConfig.is_audit})),i.value=e.id,t.houseFetchGoodsDetail(i.value).then((e=>{Object.assign(a,e)})),t.houseFetchCartGoodsIds().then((e=>{console.log(e),u.value=e.user_cart_goods_ids,r.value=e.cart_goods_ids}))})),e.onShareTimeline((e=>({title:a.goods_name,path:"/pages/mall/houseDetail?id="+a.goods_id,imageUrl:a.image[0].file_path}))),e.onShareAppMessage((e=>({title:a.goods_name,path:"/pages/mall/houseDetail?id="+a.goods_id,imageUrl:a.image[0].file_path})));const c=e.ref([1,2]),d=(e,o,t)=>{console.log(e,o,t)};return(t,n)=>{var s,i,u,p,m,v,_,g,h,f,b;return e.e({a:10===(null==(s=a.shelves_status)?void 0:s.value)},10===(null==(i=a.shelves_status)?void 0:i.value)?{b:e.p({"z-index":1,content:"此商品已下架"})}:{},{c:30===(null==(u=a.shelves_status)?void 0:u.value)},30===(null==(p=a.shelves_status)?void 0:p.value)?{d:e.p({"z-index":1,content:"此商品已售出"})}:{},{e:a.is_locked},a.is_locked?{f:e.p({"z-index":1,content:"此商品被锁单"})}:{},{g:e.f(a.image,((o,t,n)=>({a:o.file_path,b:e.o((o=>{return n=t,void e.index.previewImage({current:n,urls:a.image.map((e=>e.file_path))});var n}),t),c:t}))),h:e.t(a.goods_price),i:e.t(null==(m=a.degree)?void 0:m.degree_name),j:e.t(a.goods_name),k:e.t(a.content),l:e.t(a.service_txt),m:e.p({name:"tips",size:"12","custom-color":"#ff3535"}),n:e.t(null==(v=a.report_tags)?void 0:v.bad_count),o:e.f(null==(_=null==a?void 0:a.report_tags)?void 0:_.bad,((o,t,n)=>({a:e.t(o.name),b:e.f(o.value_list,((o,t,s)=>({a:"21357158-9-"+n+"-"+s+",21357158-7",b:e.t(o.name),c:t}))),c:t}))),p:e.p({name:"tips",size:"12","custom-color":"#ff3535"}),q:e.p({name:1,icon:"rect-down"}),r:e.p({name:"success",size:"12","custom-color":"#5dcc30"}),s:e.t(null==(g=a.report_tags)?void 0:g.ok_count),t:e.f(null==(h=null==a?void 0:a.report_tags)?void 0:h.ok,((o,t,n)=>({a:e.t(o.name),b:e.f(o.value_list,((o,t,s)=>({a:"21357158-12-"+n+"-"+s+",21357158-10",b:e.t(o.name),c:t}))),c:t}))),v:e.p({name:"success",size:"12","custom-color":"#5dcc30"}),w:e.p({name:2,icon:"rect-down"}),x:e.o(d),y:e.o((e=>c.value=e)),z:e.p({modelValue:c.value}),A:e.p({title:"验机报告"}),B:e.p({name:"service"}),C:20===(null==(f=a.shelves_status)?void 0:f.value)&&!r.value.includes(a.goods_id)},20!==(null==(b=a.shelves_status)?void 0:b.value)||r.value.includes(a.goods_id)?e.e({G:!l.value},l.value?{}:{H:e.p({plain:!0})}):e.e({D:!l.value},l.value?{}:{E:e.o((t=>e.unref(o.navigateTo)("/pages/order/preview/index?ids="+a.goods_id+"&from=item"))),F:e.p({type:"primary"})}))}}},l=e._export_sfc(s,[["__scopeId","data-v-21357158"]]);s.__runtimeHooks=6,wx.createPage(l);

View File

@@ -0,0 +1,11 @@
{
"navigationBarTitleText": "仓库商品详情",
"usingComponents": {
"nut-watermark": "../../uni_modules/nutui-uni/components/watermark/watermark",
"nut-cell-group": "../../uni_modules/nutui-uni/components/cellgroup/cellgroup",
"nut-icon": "../../uni_modules/nutui-uni/components/icon/icon",
"nut-collapse-item": "../../uni_modules/nutui-uni/components/collapseitem/collapseitem",
"nut-collapse": "../../uni_modules/nutui-uni/components/collapse/collapse",
"nut-button": "../../uni_modules/nutui-uni/components/button/button"
}
}

View File

@@ -0,0 +1 @@
<view class="content data-v-21357158"><nut-watermark wx:if="{{a}}" class="mark1 data-v-21357158" u-i="21357158-0" bind:__l="__l" u-p="{{b}}"></nut-watermark><nut-watermark wx:if="{{c}}" class="mark1 data-v-21357158" u-i="21357158-1" bind:__l="__l" u-p="{{d}}"></nut-watermark><nut-watermark wx:if="{{e}}" class="mark1 data-v-21357158" u-i="21357158-2" bind:__l="__l" u-p="{{f}}"></nut-watermark><swiper class="swiper data-v-21357158" circular indicator-dots autoplay><swiper-item wx:for="{{g}}" wx:for-item="item" wx:key="c" class="data-v-21357158" bindtap="{{item.b}}"><image class="data-v-21357158" src="{{item.a}}" mode="aspectFill"></image></swiper-item></swiper><view class="goods_info data-v-21357158"><nut-cell-group class="data-v-21357158" u-s="{{['d']}}" u-i="21357158-3" bind:__l="__l"><view class="price data-v-21357158"><text class="unit data-v-21357158">¥</text><text class="value data-v-21357158">{{h}}</text></view></nut-cell-group><nut-cell-group class="data-v-21357158" u-s="{{['d']}}" u-i="21357158-4" bind:__l="__l"><view class="name data-v-21357158"><view class="top data-v-21357158"><view class="tag data-v-21357158"><text class="data-v-21357158">{{i}}</text></view><text class="title data-v-21357158">{{j}}</text></view><view class="data-v-21357158"><text class="info data-v-21357158">{{k}}</text></view></view></nut-cell-group><view class="service data-v-21357158"><view class="info data-v-21357158"><text class="title data-v-21357158">服务</text><text class="value data-v-21357158">{{l}}</text></view></view><nut-cell-group wx:if="{{A}}" class="data-v-21357158" u-s="{{['d']}}" u-i="21357158-5" bind:__l="__l" u-p="{{A}}"><nut-collapse wx:if="{{z}}" class="data-v-21357158" u-s="{{['d']}}" bindchange="{{x}}" u-i="21357158-6,21357158-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"><nut-collapse-item wx:if="{{q}}" class="data-v-21357158" u-s="{{['title','value','d']}}" u-i="21357158-7,21357158-6" bind:__l="__l" u-p="{{q}}"><view slot="title"> 瑕疵项 </view><view class="count-item data-v-21357158" slot="value"><nut-icon wx:if="{{m}}" class="data-v-21357158" u-i="21357158-8,21357158-7" bind:__l="__l" u-p="{{m}}"></nut-icon><text class="data-v-21357158">{{n}}项</text></view><view class="report-inner data-v-21357158"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="report-item data-v-21357158"><view class="report-item-name data-v-21357158">{{item.a}}</view><view class="report-item-content data-v-21357158"><view wx:for="{{item.b}}" wx:for-item="iitem" wx:key="c" class="report-item-content-item data-v-21357158"><nut-icon wx:if="{{p}}" class="data-v-21357158" u-i="{{iitem.a}}" bind:__l="__l" u-p="{{p}}"></nut-icon><text class="data-v-21357158">{{iitem.b}}</text></view></view></view></view></nut-collapse-item><nut-collapse-item wx:if="{{w}}" class="data-v-21357158" u-s="{{['title','value','d']}}" u-i="21357158-10,21357158-6" bind:__l="__l" u-p="{{w}}"><view slot="title"> 正常项 </view><view class="count-item data-v-21357158" slot="value"><nut-icon wx:if="{{r}}" class="data-v-21357158" u-i="21357158-11,21357158-10" bind:__l="__l" u-p="{{r}}"></nut-icon><text class="data-v-21357158">{{s}}项</text></view><view class="report-inner data-v-21357158"><view wx:for="{{t}}" wx:for-item="item" wx:key="c" class="report-item data-v-21357158"><view class="report-item-name data-v-21357158">{{item.a}}</view><view class="report-item-content data-v-21357158"><view wx:for="{{item.b}}" wx:for-item="iitem" wx:key="c" class="report-item-content-item data-v-21357158"><nut-icon wx:if="{{v}}" class="data-v-21357158" u-i="{{iitem.a}}" bind:__l="__l" u-p="{{v}}"></nut-icon><text class="data-v-21357158">{{iitem.b}}</text></view></view></view></view></nut-collapse-item></nut-collapse></nut-cell-group></view><view class="bottom-action data-v-21357158"><view class="bottom-action-icon data-v-21357158"><button plain open-type="contact" style="border:none;border-width:0" class="bottom-action-icon-item data-v-21357158"><nut-icon wx:if="{{B}}" class="data-v-21357158" u-i="21357158-13" bind:__l="__l" u-p="{{B}}"></nut-icon><text class="data-v-21357158">客服</text></button></view><view wx:if="{{C}}" class="bottom-action-btn data-v-21357158"><nut-button wx:if="{{D}}" class="data-v-21357158" u-s="{{['d']}}" bindclick="{{E}}" u-i="21357158-14" bind:__l="__l" u-p="{{F}}">立即购买</nut-button></view><view wx:else class="bottom-action-btn data-v-21357158"><nut-button wx:if="{{G}}" class="data-v-21357158" u-s="{{['d']}}" u-i="21357158-15" bind:__l="__l" u-p="{{H}}">已锁定</nut-button></view></view></view>

View File

@@ -0,0 +1 @@
.bottom-action.data-v-21357158{position:fixed;bottom:0;left:0;height:50px;background:#fff;width:calc(100% - 20px);display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:5px 10px}.bottom-action .bottom-action-icon.data-v-21357158{align-items:center;display:flex;justify-content:center}.bottom-action .bottom-action-icon .bottom-action-icon-item.data-v-21357158{align-items:center;display:flex;flex-direction:column;justify-content:center}.bottom-action .bottom-action-icon .bottom-action-icon-item text.data-v-21357158{color:rgba(0,0,0,.5);font-size:11px}.bottom-action .bottom-action-btn.data-v-21357158{-ms-flex-align:center;-ms-flex-pack:end;align-items:center;display:flex;gap:5px;justify-content:flex-end}.content.data-v-21357158{display:flex;flex-direction:column;background-color:#f2f3f5;height:calc(100% - 50px);--nut-cell-group-title-color: #000;--nut-collapse-item-padding: 10px 10px 10px 10px;--nut-collapse-wrapper-content-padding: 10px 10px 10px 10px;--nut-collapse-item-color: #000;padding-bottom:50px}.report-inner.data-v-21357158{display:flex;flex-direction:column;gap:5px}.report-inner .report-item .report-item-name.data-v-21357158{color:rgba(0,0,0,.9);font-weight:700}.report-inner .report-item .report-item-content.data-v-21357158{display:flex;flex-wrap:wrap}.report-inner .report-item .report-item-content .report-item-content-item.data-v-21357158{padding-top:2px;padding-bottom:2px;width:50%;display:flex;align-items:center}.count-item.data-v-21357158{display:flex;justify-content:center;align-items:center;gap:2px}.swiper.data-v-21357158{width:100%;height:414px}.swiper image.data-v-21357158{width:100%;height:100%}.goods_info.data-v-21357158{padding:5px;color:#000}.goods_info .price.data-v-21357158{border-radius:5px;padding:10px;background:#fff}.goods_info .price .unit.data-v-21357158{font-size:12px}.goods_info .price .value.data-v-21357158{font-size:24px}.goods_info .name.data-v-21357158{border-radius:5px;padding:10px;background:#fff;display:flex;gap:5px;flex-direction:column}.goods_info .name .top.data-v-21357158{display:flex;gap:5px}.goods_info .name .top .tag.data-v-21357158{background:#000;padding:1px 2px;justify-content:center;align-items:center;display:flex;border-radius:2px}.goods_info .name .top .tag text.data-v-21357158{font-size:10px;color:#fff}.goods_info .name .top .title.data-v-21357158{font-size:16px}.goods_info .name .info.data-v-21357158{color:rgba(0,0,0,.7);font-size:13px}.goods_info .service.data-v-21357158{border-radius:5px;padding:10px;background:#fff;display:flex;align-items:center;justify-content:space-between}.goods_info .service .info.data-v-21357158{display:flex;flex-direction:column;justify-content:center;gap:5px}.goods_info .service .info .title.data-v-21357158{font-size:16px}.goods_info .service .info .value.data-v-21357158{color:rgba(0,0,0,.7);font-size:13px}.goods_info .service .right_icon.data-v-21357158{background-color:currentColor;-webkit-mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxQTFBMUEiIGQ9Ik0zNTMuODMgMTU4LjE3YTQyLjY3IDQyLjY3IDAgMSAxIDYwLjM0LTYwLjM0bDM4NCAzODRhNDIuNjcgNDIuNjcgMCAwIDEgMCA2MC4zNmwtMzg0IDM4NGE0Mi42NyA0Mi42NyAwIDEgMS02MC4zNC02MC4zNkw3MDcuNjcgNTEyeiIvPjwvc3ZnPg==) 0 0/100% 100% no-repeat;mask:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxQTFBMUEiIGQ9Ik0zNTMuODMgMTU4LjE3YTQyLjY3IDQyLjY3IDAgMSAxIDYwLjM0LTYwLjM0bDM4NCAzODRhNDIuNjcgNDIuNjcgMCAwIDEgMCA2MC4zNmwtMzg0IDM4NGE0Mi42NyA0Mi42NyAwIDEgMS02MC4zNC02MC4zNkw3MDcuNjcgNTEyeiIvPjwvc3ZnPg==) 0 0/100% 100% no-repeat;width:12px;height:12px}.goods_info .report.data-v-21357158{border-radius:5px;padding:1px;background:#fff}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/user.js"),n=require("../../utils/helper.js"),t=require("../../api/order.js"),i=require("../../api/config.js");if(!Array){(e.resolveComponent("nut-avatar")+e.resolveComponent("nut-icon")+e.resolveComponent("nut-grid-item")+e.resolveComponent("nut-grid")+e.resolveComponent("nut-cell-group")+e.resolveComponent("nut-cell"))()}Math||((()=>"../../uni_modules/nutui-uni/components/avatar/avatar.js")+(()=>"../../uni_modules/nutui-uni/components/icon/icon.js")+(()=>"../../uni_modules/nutui-uni/components/griditem/griditem.js")+(()=>"../../uni_modules/nutui-uni/components/grid/grid.js")+(()=>"../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js")+(()=>"../../uni_modules/nutui-uni/components/cell/cell.js"))();const r={__name:"index",setup(r){const a=e.ref(!0),u=e.ref(!1),s=e.ref(""),l=e.ref(0),p=e.reactive({}),g=e.reactive({all:0,payment:0,delivery:0,received:0});e.onLoad((e=>{}));return e.onShow((()=>{console.log("init");let n=e.index.getStorageSync("uid");console.log("userId",n),l.value=n,i.fetchGetConfig().then((e=>{console.log("getConfig=====>",e),a.value=1==e.appConfig.is_audit,s.value=e.appConfig.shop_phone})),l.value>0&&o.fetchUserInfo().then((e=>{Object.assign(p,e),u.value=!0,t.fetchOrderTotalCount().then((e=>{Object.assign(g,e)}))}))})),(o,t)=>e.e({a:l.value>0},l.value>0?{b:e.p({size:"large"}),c:e.t(p.nickName),d:e.t(p.user_id)}:{e:e.p({name:"my"}),f:e.p({size:"large"}),g:e.o((o=>e.unref(n.goToLoginPage)())),h:e.o((o=>e.unref(n.goToLoginPage)()))},{i:e.p({name:"people"}),j:e.o((o=>e.unref(n.navigateTo)("/pages/config/store"))),k:e.p({text:"商城配置"}),l:e.p({name:"refresh"}),m:e.o((o=>e.unref(n.navigateTo)("/pages/config/price"))),n:e.p({text:"价格调整"}),o:e.p({name:"shop"}),p:e.o((o=>e.unref(n.navigateTo)("/pages/config/goodsList"))),q:e.p({text:"商品管理"}),r:e.p({name:"order"}),s:e.o((o=>e.unref(n.navigateTo)("/pages/config/shopOrder/index?tab=0"))),t:e.p({text:"店铺订单"}),v:e.p({title:"店铺管理"}),w:u.value&&!a.value},u.value&&!a.value?{x:e.t(g.all),y:e.o((o=>e.unref(n.navigateTo)("/pages/order/index?tab=0"))),z:e.p({text:"全部"}),A:e.t(g.payment),B:e.o((o=>e.unref(n.navigateTo)("/pages/order/index?tab=1"))),C:e.p({text:"待付款"}),D:e.t(g.delivery),E:e.o((o=>e.unref(n.navigateTo)("/pages/order/index?tab=2"))),F:e.p({text:"待发货"}),G:e.t(g.received),H:e.o((o=>e.unref(n.navigateTo)("/pages/order/index?tab=3"))),I:e.p({text:"待收货"}),J:e.p({title:"我的订单"})}:{},{K:e.o((o=>{return n=s.value,console.log(123),void e.index.makePhoneCall({phoneNumber:n,success:()=>{console.log("拨打电话成功")},fail:e=>{console.error("拨打电话失败:",e)}});var n})),L:e.p({title:s.value}),M:e.p({title:"联系我们"})})}},a=e._export_sfc(r,[["__scopeId","data-v-f83cb6fc"]]);wx.createPage(a);

View File

@@ -0,0 +1,11 @@
{
"navigationBarTitleText": "我的",
"usingComponents": {
"nut-avatar": "../../uni_modules/nutui-uni/components/avatar/avatar",
"nut-icon": "../../uni_modules/nutui-uni/components/icon/icon",
"nut-grid-item": "../../uni_modules/nutui-uni/components/griditem/griditem",
"nut-grid": "../../uni_modules/nutui-uni/components/grid/grid",
"nut-cell-group": "../../uni_modules/nutui-uni/components/cellgroup/cellgroup",
"nut-cell": "../../uni_modules/nutui-uni/components/cell/cell"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-f83cb6fc"><view wx:if="{{a}}" class="user-inner data-v-f83cb6fc"><view class="data-v-f83cb6fc"><nut-avatar wx:if="{{b}}" class="data-v-f83cb6fc" u-s="{{['d']}}" u-i="f83cb6fc-0" bind:__l="__l" u-p="{{b}}">用户</nut-avatar></view><view class="user-info-style data-v-f83cb6fc"><text class="nickname data-v-f83cb6fc">{{c}}</text><text class="user-id data-v-f83cb6fc">UID{{d}}</text></view></view><view wx:else class="user-inner data-v-f83cb6fc"><view class="data-v-f83cb6fc" bindtap="{{g}}"><nut-avatar wx:if="{{f}}" class="data-v-f83cb6fc" u-s="{{['d']}}" u-i="f83cb6fc-1" bind:__l="__l" u-p="{{f}}"><nut-icon wx:if="{{e}}" class="data-v-f83cb6fc" u-i="f83cb6fc-2,f83cb6fc-1" bind:__l="__l" u-p="{{e}}"/></nut-avatar></view><view class="data-v-f83cb6fc" bindtap="{{h}}"><text class="data-v-f83cb6fc">点击登录</text></view></view><view class="content data-v-f83cb6fc"><nut-cell-group wx:if="{{v}}" class="data-v-f83cb6fc" u-s="{{['d']}}" u-i="f83cb6fc-3" bind:__l="__l" u-p="{{v}}"><nut-grid class="data-v-f83cb6fc" u-s="{{['d']}}" u-i="f83cb6fc-4,f83cb6fc-3" bind:__l="__l"><nut-grid-item wx:if="{{k}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{j}}" u-i="f83cb6fc-5,f83cb6fc-4" bind:__l="__l" u-p="{{k}}"><nut-icon wx:if="{{i}}" class="data-v-f83cb6fc" u-i="f83cb6fc-6,f83cb6fc-5" bind:__l="__l" u-p="{{i}}"></nut-icon></nut-grid-item><nut-grid-item wx:if="{{n}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{m}}" u-i="f83cb6fc-7,f83cb6fc-4" bind:__l="__l" u-p="{{n}}"><nut-icon wx:if="{{l}}" class="data-v-f83cb6fc" u-i="f83cb6fc-8,f83cb6fc-7" bind:__l="__l" u-p="{{l}}"></nut-icon></nut-grid-item><nut-grid-item wx:if="{{q}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{p}}" u-i="f83cb6fc-9,f83cb6fc-4" bind:__l="__l" u-p="{{q}}"><nut-icon wx:if="{{o}}" class="data-v-f83cb6fc" u-i="f83cb6fc-10,f83cb6fc-9" bind:__l="__l" u-p="{{o}}"></nut-icon></nut-grid-item><nut-grid-item wx:if="{{t}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{s}}" u-i="f83cb6fc-11,f83cb6fc-4" bind:__l="__l" u-p="{{t}}"><nut-icon wx:if="{{r}}" class="data-v-f83cb6fc" u-i="f83cb6fc-12,f83cb6fc-11" bind:__l="__l" u-p="{{r}}"></nut-icon></nut-grid-item></nut-grid></nut-cell-group><nut-cell-group wx:if="{{w}}" class="data-v-f83cb6fc" u-s="{{['d']}}" u-i="f83cb6fc-13" bind:__l="__l" u-p="{{J}}"><nut-grid class="data-v-f83cb6fc" u-s="{{['d']}}" u-i="f83cb6fc-14,f83cb6fc-13" bind:__l="__l"><nut-grid-item wx:if="{{z}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{y}}" u-i="f83cb6fc-15,f83cb6fc-14" bind:__l="__l" u-p="{{z}}">{{x}}</nut-grid-item><nut-grid-item wx:if="{{C}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{B}}" u-i="f83cb6fc-16,f83cb6fc-14" bind:__l="__l" u-p="{{C}}">{{A}}</nut-grid-item><nut-grid-item wx:if="{{F}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{E}}" u-i="f83cb6fc-17,f83cb6fc-14" bind:__l="__l" u-p="{{F}}">{{D}}</nut-grid-item><nut-grid-item wx:if="{{I}}" class="data-v-f83cb6fc" u-s="{{['d']}}" bindclick="{{H}}" u-i="f83cb6fc-18,f83cb6fc-14" bind:__l="__l" u-p="{{I}}">{{G}}</nut-grid-item></nut-grid></nut-cell-group><nut-cell-group wx:if="{{M}}" class="data-v-f83cb6fc" u-s="{{['d']}}" u-i="f83cb6fc-19" bind:__l="__l" u-p="{{M}}"><nut-cell wx:if="{{L}}" class="data-v-f83cb6fc" bindclick="{{K}}" u-i="f83cb6fc-20,f83cb6fc-19" bind:__l="__l" u-p="{{L}}"></nut-cell></nut-cell-group></view></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-f83cb6fc{min-height:100vh;background-color:#f2f3f5}.user-inner.data-v-f83cb6fc{background:linear-gradient(30deg,rgba(198,77,255,.99),rgba(102,204,255,.99));height:150px;width:calc(100% - 20px);display:flex;align-items:center;padding:0 10px;gap:15px}.user-info-style.data-v-f83cb6fc{display:flex;flex-direction:column;align-items:flex-start}.nickname.data-v-f83cb6fc{font-size:20px;font-weight:700;color:#333;margin-bottom:5px}.user-id.data-v-f83cb6fc{font-size:14px;color:#fff}.content.data-v-f83cb6fc{display:flex;flex-direction:column;background-color:#f2f3f5;padding:0 10px}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/order.js"),n=require("../../utils/helper.js"),s=require("../../api/config.js");if(!Array){(e.resolveComponent("nut-step")+e.resolveComponent("nut-steps")+e.resolveComponent("nut-cell")+e.resolveComponent("nut-cell-group")+e.resolveComponent("nut-tag")+e.resolveComponent("nut-price")+e.resolveComponent("nut-button"))()}Math||((()=>"../../uni_modules/nutui-uni/components/step/step.js")+(()=>"../../uni_modules/nutui-uni/components/steps/steps.js")+(()=>"../../uni_modules/nutui-uni/components/cell/cell.js")+(()=>"../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js")+(()=>"../../uni_modules/nutui-uni/components/tag/tag.js")+(()=>"../../uni_modules/nutui-uni/components/price/price.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js"))();const t={__name:"detail",setup(t){const i=e.ref(!0),r=e.ref(0),a=e.reactive({}),p=e.ref([]);e.onLoad((e=>{r.value=e.id})),e.onShow((()=>{u(),o.fetchOrderDetail(r.value).then((e=>{Object.assign(a,e)}))}));const u=()=>{s.fetchGetConfig().then((e=>{console.log("getConfig=====>",e),i.value=1==e.appConfig.is_audit,console.log(e.appConfig.pay_imgs);let o=JSON.parse(e.appConfig.pay_imgs)||[],n=JSON.parse(e.appConfig.wechat_imgs)||[],s=o.map((e=>e.file_path))||[],t=n.map((e=>e.file_path))||[];const r=s.concat(t);p.value=r}))};return(o,s)=>e.e({a:e.p({title:"待付款"}),b:e.p({title:"待发货"}),c:e.p({title:"待收货"}),d:e.p({title:"已完成"}),e:e.p({current:a.progress}),f:a.address_info},a.address_info?{g:e.t(a.address_info.user_name),h:e.t(a.address_info.tel_number),i:e.t(a.address_info.province_name+a.address_info.city_name+a.address_info.county_name+a.address_info.street_name+a.address_info.detail_info_new)}:{},{j:e.f(a.goods,((o,s,t)=>({a:e.t(o.snapshot_info.degree.degree_name),b:"3d9ab029-9-"+t+",3d9ab029-8-"+t,c:e.t(o.goods_name),d:e.t(o.goods_no),e:"3d9ab029-10-"+t+",3d9ab029-8-"+t,f:e.p({price:o.goods_price,size:"small","need-symbol":!0}),g:s,h:e.o((s=>e.unref(n.navigateTo)("/pages/mall/detail?id="+o.goods_id)),s),i:"3d9ab029-8-"+t+",3d9ab029-7"}))),k:e.p({"custom-color":"#1a1a1a"}),l:e.p({center:!0}),m:e.p({price:a.pay_price,size:"normal","need-symbol":!0}),n:e.p({title:"订单编号",desc:a.order_no}),o:e.p({title:"下单时间",desc:a.create_time}),p:a.progress>=3},a.progress>=3?{q:e.p({title:"物流公司",desc:a.express_company}),r:e.p({title:"物流单号",desc:a.express_no})}:{},{s:1===a.progress&&!i.value},1!==a.progress||i.value?{}:{t:e.o((o=>{0!==p.value.length?(console.log("preview images:",p),e.index.previewImage({urls:p.value})):e.index.showToast({title:"暂无图片",icon:"none"})})),v:e.p({type:"primary",block:!0})})}},i=e._export_sfc(t,[["__scopeId","data-v-3d9ab029"]]);wx.createPage(i);

View File

@@ -0,0 +1,12 @@
{
"navigationBarTitleText": "订单详情",
"usingComponents": {
"nut-step": "../../uni_modules/nutui-uni/components/step/step",
"nut-steps": "../../uni_modules/nutui-uni/components/steps/steps",
"nut-cell": "../../uni_modules/nutui-uni/components/cell/cell",
"nut-cell-group": "../../uni_modules/nutui-uni/components/cellgroup/cellgroup",
"nut-tag": "../../uni_modules/nutui-uni/components/tag/tag",
"nut-price": "../../uni_modules/nutui-uni/components/price/price",
"nut-button": "../../uni_modules/nutui-uni/components/button/button"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-3d9ab029"><nut-steps wx:if="{{e}}" class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-0" bind:__l="__l" u-p="{{e}}"><nut-step wx:if="{{a}}" class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-1,3d9ab029-0" bind:__l="__l" u-p="{{a}}">1</nut-step><nut-step wx:if="{{b}}" class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-2,3d9ab029-0" bind:__l="__l" u-p="{{b}}">2</nut-step><nut-step wx:if="{{c}}" class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-3,3d9ab029-0" bind:__l="__l" u-p="{{c}}">3</nut-step><nut-step wx:if="{{d}}" class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-4,3d9ab029-0" bind:__l="__l" u-p="{{d}}">4</nut-step></nut-steps><nut-cell-group class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-5" bind:__l="__l"><nut-cell class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-6,3d9ab029-5" bind:__l="__l"><view wx:if="{{f}}" class="address-inner data-v-3d9ab029"><text class="data-v-3d9ab029">{{g}} - {{h}}</text><text class="data-v-3d9ab029">{{i}}</text></view></nut-cell></nut-cell-group><nut-cell-group class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-7" bind:__l="__l"><nut-cell wx:for="{{j}}" wx:for-item="goods" wx:key="g" class="data-v-3d9ab029" u-s="{{['title','link']}}" bindclick="{{goods.h}}" u-i="{{goods.i}}" bind:__l="__l" u-p="{{l}}"><view class="goods-info-row data-v-3d9ab029" slot="title"><view class="left-text data-v-3d9ab029"><view class="goods-name data-v-3d9ab029"><nut-tag wx:if="{{k}}" class="data-v-3d9ab029" u-s="{{['d']}}" u-i="{{goods.b}}" bind:__l="__l" u-p="{{k}}">{{goods.a}}</nut-tag><text class="data-v-3d9ab029" style="margin-left:10rpx">{{goods.c}}</text></view><text class="goods-no data-v-3d9ab029">串号:{{goods.d}}</text></view></view><nut-price class="data-v-3d9ab029" u-i="{{goods.e}}" bind:__l="__l" u-p="{{goods.f}}" slot="link"/></nut-cell></nut-cell-group><nut-cell-group class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-11" bind:__l="__l"><nut-cell class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-12,3d9ab029-11" bind:__l="__l"><view class="total-price-inner data-v-3d9ab029"><text class="data-v-3d9ab029">商品总额</text><nut-price wx:if="{{m}}" class="data-v-3d9ab029" u-i="3d9ab029-13,3d9ab029-12" bind:__l="__l" u-p="{{m}}"/></view></nut-cell></nut-cell-group><nut-cell-group class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-14" bind:__l="__l"><nut-cell wx:if="{{n}}" class="data-v-3d9ab029" u-i="3d9ab029-15,3d9ab029-14" bind:__l="__l" u-p="{{n}}"/><nut-cell wx:if="{{o}}" class="data-v-3d9ab029" u-i="3d9ab029-16,3d9ab029-14" bind:__l="__l" u-p="{{o}}"/></nut-cell-group><nut-cell-group wx:if="{{p}}" class="data-v-3d9ab029" u-s="{{['d']}}" u-i="3d9ab029-17" bind:__l="__l"><nut-cell wx:if="{{q}}" class="data-v-3d9ab029" u-i="3d9ab029-18,3d9ab029-17" bind:__l="__l" u-p="{{q}}"/><nut-cell wx:if="{{r}}" class="data-v-3d9ab029" u-i="3d9ab029-19,3d9ab029-17" bind:__l="__l" u-p="{{r}}"/></nut-cell-group><view wx:if="{{s}}" class="wechat-img-inner data-v-3d9ab029"><nut-button wx:if="{{v}}" class="data-v-3d9ab029" u-s="{{['d']}}" bindclick="{{t}}" u-i="3d9ab029-20" bind:__l="__l" u-p="{{v}}"> 点我付款 </nut-button></view></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-3d9ab029{min-height:100vh;background-color:#f2f3f5;padding:20rpx}.address-inner.data-v-3d9ab029{display:flex;flex-direction:column;justify-content:center}.total-price-inner.data-v-3d9ab029{width:100%;display:flex;justify-content:space-between;align-items:center}.total-price-inner view.data-v-3d9ab029:nth-child(2){color:#fa2c19}.wechat-img-inner.data-v-3d9ab029{margin-top:60rpx;padding:0rpx 80rpx;display:flex;align-items:center;justify-content:center;flex-direction:column}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/order.js"),a=require("../../api/config.js");if(!Array){(e.resolveComponent("nut-dialog")+e.resolveComponent("nut-button")+e.resolveComponent("nut-searchbar")+e.resolveComponent("nut-tabs")+e.resolveComponent("nut-sticky")+e.resolveComponent("nut-tag")+e.resolveComponent("nut-price")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/nutui-uni/components/dialog/dialog.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js")+(()=>"../../uni_modules/nutui-uni/components/searchbar/searchbar.js")+(()=>"../../uni_modules/nutui-uni/components/tabs/tabs.js")+(()=>"../../uni_modules/nutui-uni/components/sticky/sticky.js")+(()=>"../../uni_modules/nutui-uni/components/tag/tag.js")+(()=>"../../uni_modules/nutui-uni/components/price/price.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const o={__name:"index",setup(o){const s=e.ref(!0),u=e.ref([]),l=e.ref(0),n=e.ref([]),i=e.ref(null),r=[{title:"全部",status:"all"},{title:"待付款",status:"payment"},{title:"待发货",status:"delivery"},{title:"待收货",status:"received"},{title:"已完成",status:"finish"}],p=e.ref(!1),d=e.ref(0),v=e.ref(""),c=()=>{t.fetchCancelOrder(d.value).then((t=>{e.index.showToast({title:"取消成功",icon:"none"}),i.value.reload()}))},m=(e=1,a=10)=>{console.log(r[l.value].status);const o={page:e,pageSize:10,status:r[l.value].status,goods_no:v.value};t.fetchOrderList(o).then((e=>{console.log(e),i.value.complete(e.list)})).catch((e=>{i.value.complete(!1)}))};e.onLoad((e=>{l.value=parseInt(e.tab)})),e.onShow((()=>{a.fetchGetConfig().then((e=>{console.log("getConfig=====>",e),s.value=1==e.appConfig.is_audit,console.log(e.appConfig.pay_imgs);let t=JSON.parse(e.appConfig.pay_imgs)||[],a=JSON.parse(e.appConfig.wechat_imgs)||[],o=t.map((e=>e.file_path))||[],l=a.map((e=>e.file_path))||[];const n=o.concat(l);u.value=n}))}));const f=()=>{console.log("搜索:",v.value),i.value.reload()},g=()=>{console.log("搜索:",v.value),i.value.reload()},_=e=>{if(20==e.order_status.value)return e.order_status.text;if(30==e.order_status.value)return e.order_status.text;if(10==e.order_status.value){if(10==e.pay_status.value)return e.pay_status.text;if(20==e.pay_status.value){if(10==e.delivery_status.value)return e.delivery_status.text;if(20==e.delivery_status.value)return e.receipt_status.text}}};return(a,o)=>({a:e.o((e=>p.value=!1)),b:e.o(c),c:e.o((e=>p.value=e)),d:e.p({title:"取消订单",content:"确认取消吗?此操作不可恢复!",visible:p.value}),e:e.o(f),f:e.p({size:"small",type:"primary"}),g:e.o(f),h:e.o(g),i:e.o((e=>v.value=e)),j:e.p({placeholder:"请输入商品串号",clearable:!0,"input-background":"#eee",modelValue:v.value}),k:e.f(r,((t,a,o)=>({a:e.t(t.title),b:a,c:a===l.value?1:"",d:e.o((e=>((e,t)=>{l.value=t,i.value.reload()})(0,a)),a)}))),l:e.o((e=>l.value=e)),m:e.p({background:"#fff",modelValue:l.value}),n:e.f(n.value,((a,o,l)=>e.e({a:e.t(a.create_time),b:e.t(_(a)),c:"d85819f0-6-"+l+",d85819f0-5",d:e.f(a.goods,((t,o,s)=>({a:e.t(t.snapshot_info.degree.degree_name),b:"d85819f0-7-"+l+"-"+s+",d85819f0-5",c:e.t(t.goods_name),d:e.t(t.goods_no),e:"d85819f0-8-"+l+"-"+s+",d85819f0-5",f:e.p({price:t.goods_price,size:"small","need-symbol":!0}),g:o,h:e.o((t=>{return o=a.order_id,console.log(o),void(o?e.index.navigateTo({url:`/pages/order/detail?id=${encodeURIComponent(o)}`}):console.warn("导航ID不能为空"));var o}),o)}))),e:"d85819f0-9-"+l+",d85819f0-5",f:e.p({price:a.total_price,size:"normal","need-symbol":!0}),g:10===a.order_status.value},10===a.order_status.value?e.e({h:10===a.pay_status.value},10===a.pay_status.value?{i:e.o((e=>{p.value=!0,d.value=a.order_id}),o),j:"d85819f0-10-"+l+",d85819f0-5",k:e.p({plain:!0,size:"small"})}:{},{l:10===a.pay_status.value&&!s.value},10!==a.pay_status.value||s.value?{}:{m:e.o((t=>{0!==u.value.length?(console.log("preview images:",u),e.index.previewImage({urls:u.value})):e.index.showToast({title:"暂无图片",icon:"none"})}),o),n:"d85819f0-11-"+l+",d85819f0-5",o:e.p({type:"primary",size:"small"})},{p:20===a.pay_status.value&&20===a.delivery_status.value&&10===a.receipt_status.value},20===a.pay_status.value&&20===a.delivery_status.value&&10===a.receipt_status.value?{q:e.o((o=>{return s=a.order_id,void t.fetchReceiptOrder(s).then((t=>{e.index.showToast({title:"确认收货成功",icon:"none"}),i.value.reload()}));var s}),o),r:"d85819f0-12-"+l+",d85819f0-5",s:e.p({type:"primary",size:"small"})}:{}):{},{t:o}))),o:e.p({"custom-color":"#1a1a1a"}),p:e.p({"custom-color":"#1a1a1a"}),q:e.sr(i,"d85819f0-5",{k:"paging"}),r:e.o(m),s:e.o((e=>n.value=e)),t:e.p({fixed:!1,modelValue:n.value})})}},s=e._export_sfc(o,[["__scopeId","data-v-d85819f0"]]);wx.createPage(s);

View File

@@ -0,0 +1,13 @@
{
"navigationBarTitleText": "我的订单",
"usingComponents": {
"nut-dialog": "../../uni_modules/nutui-uni/components/dialog/dialog",
"nut-button": "../../uni_modules/nutui-uni/components/button/button",
"nut-searchbar": "../../uni_modules/nutui-uni/components/searchbar/searchbar",
"nut-tabs": "../../uni_modules/nutui-uni/components/tabs/tabs",
"nut-sticky": "../../uni_modules/nutui-uni/components/sticky/sticky",
"nut-tag": "../../uni_modules/nutui-uni/components/tag/tag",
"nut-price": "../../uni_modules/nutui-uni/components/price/price",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-d85819f0"><nut-dialog wx:if="{{d}}" class="data-v-d85819f0" bindcancel="{{a}}" bindok="{{b}}" u-i="d85819f0-0" bind:__l="__l" bindupdateVisible="{{c}}" u-p="{{d}}"/><nut-sticky class="data-v-d85819f0" u-s="{{['d']}}" u-i="d85819f0-1" bind:__l="__l"><nut-searchbar wx:if="{{j}}" class="data-v-d85819f0" u-s="{{['rightout']}}" bindsearch="{{g}}" bindclear="{{h}}" u-i="d85819f0-2,d85819f0-1" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"><nut-button class="data-v-d85819f0" u-s="{{['d']}}" bindclick="{{e}}" u-i="d85819f0-3,d85819f0-2" bind:__l="__l" u-p="{{f}}" slot="rightout">搜索</nut-button></nut-searchbar><nut-tabs wx:if="{{m}}" class="data-v-d85819f0" u-s="{{['titles']}}" u-i="d85819f0-4,d85819f0-1" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><view class="title-list data-v-d85819f0" slot="titles"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="{{['title-item', 'data-v-d85819f0', item.c && 'tabs-active']}}" bindtap="{{item.d}}"><view class="nut-tabs__titles-item__text data-v-d85819f0">{{item.a}}</view><view class="item__line data-v-d85819f0"/></view></view></nut-tabs></nut-sticky><z-paging wx:if="{{t}}" u-s="{{['d']}}" u-r="paging" style="height:88vh" class="order-list r data-v-d85819f0" bindquery="{{r}}" u-i="d85819f0-5" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"><view wx:for="{{n}}" wx:for-item="order" wx:key="t" class="order-inner data-v-d85819f0"><view class="order-inner-header data-v-d85819f0"><text class="data-v-d85819f0">{{order.a}}</text><nut-tag wx:if="{{o}}" class="data-v-d85819f0" u-s="{{['d']}}" u-i="{{order.c}}" bind:__l="__l" u-p="{{o}}">{{order.b}}</nut-tag></view><view wx:for="{{order.d}}" wx:for-item="goods" wx:key="g" class="goods-info-row data-v-d85819f0" bindtap="{{goods.h}}"><view class="left-text data-v-d85819f0"><view class="goods-name data-v-d85819f0"><nut-tag wx:if="{{p}}" class="data-v-d85819f0" u-s="{{['d']}}" u-i="{{goods.b}}" bind:__l="__l" u-p="{{p}}">{{goods.a}}</nut-tag><text class="data-v-d85819f0" style="margin-left:10rpx">{{goods.c}}</text></view><text class="goods-no data-v-d85819f0">串号:{{goods.d}}</text></view><view class="price data-v-d85819f0"><nut-price wx:if="{{goods.f}}" class="data-v-d85819f0" u-i="{{goods.e}}" bind:__l="__l" u-p="{{goods.f}}"/></view></view><view class="footer data-v-d85819f0"><view class="order-inner-price data-v-d85819f0"> 总计:<nut-price wx:if="{{order.f}}" class="data-v-d85819f0" u-i="{{order.e}}" bind:__l="__l" u-p="{{order.f}}"/></view><view wx:if="{{order.g}}" class="order-inner-action data-v-d85819f0"><view class="data-v-d85819f0" style="margin-left:10rpx"><nut-button wx:if="{{order.h}}" class="data-v-d85819f0" u-s="{{['d']}}" bindclick="{{order.i}}" u-i="{{order.j}}" bind:__l="__l" u-p="{{order.k}}"> 取消订单 </nut-button></view><view class="data-v-d85819f0" style="margin-left:10rpx"><nut-button wx:if="{{order.l}}" class="data-v-d85819f0" u-s="{{['d']}}" bindclick="{{order.m}}" u-i="{{order.n}}" bind:__l="__l" u-p="{{order.o}}"> 点我付款 </nut-button></view><view class="data-v-d85819f0" style="margin-left:10rpx"><nut-button wx:if="{{order.p}}" class="data-v-d85819f0" u-s="{{['d']}}" bindclick="{{order.q}}" u-i="{{order.r}}" bind:__l="__l" u-p="{{order.s}}"> 确认收货 </nut-button></view></view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-d85819f0{min-height:100vh;background-color:#f2f3f5}.order-list.data-v-d85819f0{display:flex;flex-direction:column;width:100%}.order-inner.data-v-d85819f0{display:flex;flex-direction:column;background:#fff;border-radius:15rpx;overflow:hidden;margin:20rpx}.order-inner .order-inner-header.data-v-d85819f0{display:flex;align-items:center;background-color:#dcdcdc;color:rgba(0,0,0,.5);font-size:24rpx;justify-content:space-between;line-height:45rpx;padding:15rpx 20rpx}.order-inner .goods-info-row.data-v-d85819f0{display:flex;justify-content:space-between;align-items:center;padding:20rpx;border-bottom:2rpx solid #f2f3f5}.order-inner .goods-info-row .left-text.data-v-d85819f0{flex:1}.order-inner .goods-info-row .goods-name.data-v-d85819f0{font-size:30rpx;color:#000;display:block;margin-bottom:8rpx}.order-inner .goods-info-row .goods-no.data-v-d85819f0{font-size:26rpx;color:#000;display:block}.order-inner .goods-info-row .price.data-v-d85819f0{margin-left:20rpx;align-self:center}.order-inner .footer.data-v-d85819f0{display:flex;flex-direction:column}.order-inner .footer .order-inner-price.data-v-d85819f0{display:flex;justify-content:flex-end;padding-top:10rpx;padding-right:20rpx;padding-bottom:20rpx;font-size:24rpx;align-items:center}.order-inner .footer .order-inner-action.data-v-d85819f0{display:flex;padding-top:10rpx;padding-bottom:30rpx;align-items:center;justify-content:flex-end}.title-list.data-v-d85819f0{display:flex;justify-content:space-around;align-items:center;width:100%}.title-list .title-item.data-v-d85819f0{display:flex;justify-content:space-around;align-items:center;position:relative}.title-list .tabs-active.data-v-d85819f0{font-weight:700;color:var(--nut-tabs-titles-item-active-color, var(--nut-title-color, #1a1a1a));opacity:var(--nut-tabs-titles-item-line-opacity, 1);transition:width .3s ease}.title-list .tabs-active .item__line.data-v-d85819f0{position:absolute;bottom:-10%;left:50%;overflow:hidden;border-radius:var(--nut-tabs-titles-item-line-border-radius, 0);opacity:var(--nut-tabs-titles-item-line-opacity, 1);transition:width .3s ease;transform:translate(-50%);width:var(--nut-tabs-horizontal-titles-item-active-line-width, 40px);height:3px;content:" ";background:var(--nut-tabs-horizontal-tab-line-color, linear-gradient(90deg, var(--nut-primary-color, #fa2c19) 0%, rgba(250, 44, 25, .15) 100%))}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/order.js");if(!Array){(e.resolveComponent("nut-cell")+e.resolveComponent("nut-cell-group")+e.resolveComponent("nut-tag")+e.resolveComponent("nut-price")+e.resolveComponent("nut-button"))()}Math||((()=>"../../uni_modules/nutui-uni/components/cell/cell.js")+(()=>"../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js")+(()=>"../../uni_modules/nutui-uni/components/tag/tag.js")+(()=>"../../uni_modules/nutui-uni/components/price/price.js")+(()=>"../../uni_modules/nutui-uni/components/button/button.js"))();const n={__name:"preview",setup(n){const s=()=>{e.index.chooseAddress({success(e){console.log(e),Object.assign(r,{address_info:{address_id:e.addressID||1,user_name:e.userName,tel_number:e.telNumber,city_name:e.cityName||"",county_name:e.countyName||"",detail_info:e.detailInfo||"",detail_info_new:e.detailInfoNew||"",national_code:e.nationalCode||"",national_code_full:e.nationalCodeFull||"",postal_code:e.postalCode||"",province_name:e.provinceName||"",street_name:e.streetName||""}})}})};e.ref([]);const d=e.reactive([]),i=e.ref(0),t=e.ref(0),r=e.reactive({goods_id:0,address_info:{}}),a=e.ref("");e.onLoad((e=>{console.log("🚀 ~ from:",e.from),a.value=e.from,console.log("🚀 ~ ids:",e.ids),r.goods_id=e.ids})),e.onShow((()=>{console.log("🚀 ~ onShowfrom:",a.value),"list"!==a.value&&"item"!==a.value||o.fetchOrderPreview(r).then((e=>{Object.assign(d,e.goods_list),Object.assign(r.address_info,e.address_info),i.value=e.order_total_price,t.value=e.order_total_num}))})),e.onHide((()=>{a.value=""}));const l=()=>{var n;(null==(n=r.address_info)?void 0:n.address_id)?o.fetchOrderbuyNow(r).then((o=>{console.log(o),e.index.redirectTo({url:"/pages/order/detail?id="+o.order_id,success:e=>{},fail:()=>{},complete:()=>{}})})):e.index.showToast({title:"请选择收货地址",icon:"none"})};return(o,n)=>{var a,c;return e.e({a:!(null==(a=r.address_info)?void 0:a.address_id)},(null==(c=r.address_info)?void 0:c.address_id)?{d:e.o(s),e:e.p({title:r.address_info.user_name+" "+r.address_info.tel_number,"is-link":!0,"sub-title":r.address_info.province_name+r.address_info.city_name+r.address_info.county_name+r.address_info.street_name+r.address_info.detail_info_new})}:{b:e.o(s),c:e.p({title:"添加地址","is-link":!0})},{f:e.f(d,((o,n,s)=>({a:e.t(o.degree.degree_name),b:"6d3637c9-5-"+s+",6d3637c9-4-"+s,c:e.t(o.goods_name),d:e.t(o.goods_no),e:"6d3637c9-6-"+s+",6d3637c9-4-"+s,f:e.p({price:o.goods_price,size:"small","need-symbol":!0}),g:n,h:"6d3637c9-4-"+s+",6d3637c9-3"}))),g:e.p({"custom-color":"#1a1a1a"}),h:e.p({center:!0}),i:e.t(t.value),j:e.p({price:i.value,"need-symbol":!0}),k:e.p({size:"large",price:i.value,"need-symbol":!0}),l:e.o(l),m:e.p({type:"primary"})})}}},s=e._export_sfc(n,[["__scopeId","data-v-6d3637c9"]]);wx.createPage(s);

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "提交订单",
"usingComponents": {
"nut-cell": "../../uni_modules/nutui-uni/components/cell/cell",
"nut-cell-group": "../../uni_modules/nutui-uni/components/cellgroup/cellgroup",
"nut-tag": "../../uni_modules/nutui-uni/components/tag/tag",
"nut-price": "../../uni_modules/nutui-uni/components/price/price",
"nut-button": "../../uni_modules/nutui-uni/components/button/button"
}
}

View File

@@ -0,0 +1 @@
<view class="page-content data-v-6d3637c9"><nut-cell-group class="data-v-6d3637c9" u-s="{{['d']}}" u-i="6d3637c9-0" bind:__l="__l"><nut-cell wx:if="{{a}}" class="data-v-6d3637c9" bindclick="{{b}}" u-i="6d3637c9-1,6d3637c9-0" bind:__l="__l" u-p="{{c}}"></nut-cell><nut-cell wx:else class="data-v-6d3637c9" bindclick="{{d}}" u-i="6d3637c9-2,6d3637c9-0" bind:__l="__l" u-p="{{e||''}}"></nut-cell></nut-cell-group><nut-cell-group class="data-v-6d3637c9" u-s="{{['d']}}" u-i="6d3637c9-3" bind:__l="__l"><nut-cell wx:for="{{f}}" wx:for-item="goods" wx:key="g" class="data-v-6d3637c9" u-s="{{['title','link']}}" u-i="{{goods.h}}" bind:__l="__l" u-p="{{h}}"><view class="goods-info-row data-v-6d3637c9" slot="title"><view class="left-text data-v-6d3637c9"><view class="goods-name data-v-6d3637c9"><nut-tag wx:if="{{g}}" class="data-v-6d3637c9" u-s="{{['d']}}" u-i="{{goods.b}}" bind:__l="__l" u-p="{{g}}">{{goods.a}}</nut-tag><text class="data-v-6d3637c9" style="margin-left:10rpx">{{goods.c}}</text></view><text class="goods-no data-v-6d3637c9">串号:{{goods.d}}</text></view></view><nut-price class="data-v-6d3637c9" u-i="{{goods.e}}" bind:__l="__l" u-p="{{goods.f}}" slot="link"/></nut-cell></nut-cell-group><nut-cell-group class="data-v-6d3637c9" u-s="{{['d']}}" u-i="6d3637c9-7" bind:__l="__l"><nut-cell class="data-v-6d3637c9" u-s="{{['d']}}" u-i="6d3637c9-8,6d3637c9-7" bind:__l="__l"><view class="total-price-inner data-v-6d3637c9"><text class="data-v-6d3637c9">件数</text><text class="data-v-6d3637c9">{{i}}件</text></view></nut-cell><nut-cell class="data-v-6d3637c9" u-s="{{['d']}}" u-i="6d3637c9-9,6d3637c9-7" bind:__l="__l"><view class="total-price-inner data-v-6d3637c9"><text class="data-v-6d3637c9">商品总额</text><nut-price wx:if="{{j}}" class="data-v-6d3637c9" u-i="6d3637c9-10,6d3637c9-9" bind:__l="__l" u-p="{{j}}"/></view></nut-cell></nut-cell-group><view class="bottom-submit-inner data-v-6d3637c9"><view class="bottom-submit-inner-info data-v-6d3637c9"><text class="data-v-6d3637c9">合计:</text><nut-price wx:if="{{k}}" class="data-v-6d3637c9" u-i="6d3637c9-11" bind:__l="__l" u-p="{{k}}"/></view><view class="bottom-submit-inner-btn data-v-6d3637c9"><nut-button wx:if="{{m}}" class="data-v-6d3637c9" u-s="{{['d']}}" bindclick="{{l}}" u-i="6d3637c9-12" bind:__l="__l" u-p="{{m}}">确认下单</nut-button></view></view></view>

View File

@@ -0,0 +1 @@
.page-content.data-v-6d3637c9{min-height:100vh;background-color:#f2f3f5;padding:20rpx 20rpx 140rpx}.goods-info-row.data-v-6d3637c9{display:flex;justify-content:space-between;align-items:center;padding-bottom:10rpx}.goods-info-row .left-text.data-v-6d3637c9{flex:1}.goods-info-row .goods-name.data-v-6d3637c9{font-size:30rpx;color:#000;display:block;margin-bottom:8rpx}.goods-info-row .goods-no.data-v-6d3637c9{font-size:26rpx;color:#000;display:block}.goods-info-row .price.data-v-6d3637c9{margin-left:20rpx;align-self:center}.bottom-submit-inner.data-v-6d3637c9{position:fixed;bottom:0;left:0;height:120rpx;background:#fff;width:calc(100% - 40rpx);display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:15rpx 20rpx}.total-price-inner.data-v-6d3637c9{width:100%;display:flex;justify-content:space-between;align-items:center}.total-price-inner view.data-v-6d3637c9:nth-child(2){color:#fa2c19}

View File

@@ -0,0 +1 @@
"use strict";const o=require("./uni_modules/nutui-uni/components/_constants/event.js");require("./uni_modules/nutui-uni/components/_utils/env.js");const e=require("./uni_modules/nutui-uni/components/_utils/props.js"),n=require("./uni_modules/nutui-uni/components/_utils/is.js"),t={...e.commonProps,visible:Boolean,zIndex:Number,duration:e.makeNumericProp(300),overlayClass:e.makeStringProp(""),overlayStyle:Object,lockScroll:Boolean,closeOnClickOverlay:e.truthProp,destroyOnClose:Boolean},r={[o.UPDATE_VISIBLE_EVENT]:o=>n.isBoolean(o),[o.CLICK_EVENT]:o=>o instanceof Object},s={...t,...e.commonProps,position:e.makeStringProp("center"),transition:{type:String,default:""},popClass:e.makeStringProp(""),round:Boolean,closeable:Boolean,closeIcon:e.makeStringProp("close"),closeIconPosition:e.makeStringProp("top-right"),destroyOnClose:e.truthProp,overlay:e.truthProp,safeAreaInsetBottom:Boolean,safeAreaInsetTop:e.truthProp},i={[o.UPDATE_VISIBLE_EVENT]:o=>!0,"click-pop":o=>!0,"click-close-icon":()=>!0,"click-overlay":()=>!0,[o.OPEN_EVENT]:()=>!0,[o.OPENED_EVENT]:()=>!0,[o.CLOSE_EVENT]:()=>!0,[o.CLOSED_EVENT]:()=>!0,opend:()=>!0};exports.overlayEmits=r,exports.overlayProps=t,exports.popupEmits=i,exports.popupProps=s;

View File

@@ -0,0 +1,37 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true,
"ignoreDevUnusedFiles": false
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wx5e39ee9a0a51ae98",
"projectname": "yuntaoji",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}

View File

@@ -0,0 +1,5 @@
{
"setting": {
"urlCheck": false
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -0,0 +1 @@
<svg t="1747759569015" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3710" width="200" height="200"><path d="M485.646222 413.795556l92.629334-92.629334c-23.239111-59.320889-10.908444-129.365333 37.034666-177.294222a165.134222 165.134222 0 0 1 148.309334-45.425778v0.085334a16.526222 16.526222 0 0 1 9.969777 27.278222h0.028445l-88.419556 88.419555a32.725333 32.725333 0 0 0 0 46.293334l47.217778 47.217777a32.725333 32.725333 0 0 0 46.293333 0l87.694223-87.694222a16.526222 16.526222 0 0 1 28.046222 9.272889h0.042666a165.134222 165.134222 0 0 1-45.411555 148.323556c-47.928889 47.928889-117.973333 60.273778-177.294222 37.020444l-20.081778 20.081778-14.037333-14.037333a28.444444 28.444444 0 0 0-40.220445 0l-50.289778 50.289777-50.275555-50.289777a28.330667 28.330667 0 0 0-11.235556-6.912z m-96.256 96.241777c1.351111 4.124444 3.655111 7.964444 6.926222 11.235556l50.275556 50.289778-50.275556 50.275555a28.444444 28.444444 0 0 0 0 40.234667l14.037334 14.037333-162.474667 162.460445a66.133333 66.133333 0 1 1-93.511111-93.511111L389.404444 510.037333z m160.540445 18.602667l58.552889-58.567111a16.355556 16.355556 0 0 1 23.153777 0l25.528889 25.543111c5.404444 5.390222 6.286222 13.568 2.673778 19.882667a33.066667 33.066667 0 0 0 44.672 42.951111l0.042667 0.071111c5.660444-2.702222 12.558222-1.962667 17.578666 2.161778l0.056889-0.056889 143.914667 143.928889a81.820444 81.820444 0 0 1 0 115.712l-71.296 71.296a81.820444 81.820444 0 0 1-115.726222 0l-142.791111-142.791111a16.540444 16.540444 0 0 1-2.872889-19.512889l-0.085334-0.056889a33.066667 33.066667 0 0 0-43.448889-43.832889 16.540444 16.540444 0 0 1-20.053333-3.057778l-25.216-25.216a16.355556 16.355556 0 0 1 0-23.139555l58.552889-58.567112L235.960889 308.195556h-37.475556a16.355556 16.355556 0 0 1-14.037333-7.936l-58.794667-97.991112a16.355556 16.355556 0 0 1 2.460445-19.996444l28.686222-28.672a16.355556 16.355556 0 0 1 19.996444-2.460444l97.991112 58.780444c4.920889 2.958222 7.936 8.291556 7.936 14.037333v37.489778L549.930667 528.64z m69.162666 192.312889a21.333333 21.333333 0 0 0 0 30.165333l90.510223 90.510222a21.333333 21.333333 0 0 0 30.165333-30.165333l-90.510222-90.510222a21.333333 21.333333 0 0 0-30.165334 0z m76.430223-76.430222a21.333333 21.333333 0 0 0 0 30.165333l90.510222 90.510222a21.333333 21.333333 0 1 0 30.165333-30.165333l-90.510222-90.510222a21.333333 21.333333 0 0 0-30.165333 0z" fill="#ffffff" p-id="3711"></path></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1 @@
<svg t="1747759524592" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2743" id="mx_n_1747759524593" width="200" height="200"><path d="M695.808 85.333333H328.192C264.832 85.333333 213.333333 133.12 213.333333 192v640C213.333333 890.88 264.832 938.666667 328.192 938.666667h367.616C759.168 938.666667 810.666667 890.88 810.666667 832v-640C810.666667 133.12 759.168 85.333333 695.808 85.333333z m-252.757333 746.666667c0-35.413333 28.629333-64 64-64a64 64 0 1 1-64 64zM305.237333 682.666667V213.418667a42.666667 42.666667 0 0 1 42.666667-42.666667h328.234667a42.666667 42.666667 0 0 1 42.666666 42.666667v469.333333a42.666667 42.666667 0 0 1-42.666666 42.666667l-328.277334-0.128a42.666667 42.666667 0 0 1-42.666666-42.666667z" fill="#ffffff" p-id="2744"></path></svg>

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="undefined" d="M397.17 430.96c0-18.65 15.14-33.72 33.79-33.72h162.08a33.79 33.79 0 0 1 0 67.51H430.96a33.79 33.79 0 0 1-33.72-33.79z"/><path fill="undefined" d="M200.63 138.61A174.52 174.52 0 0 1 336.9 73.14h350.2c52.96 0 103.13 24.14 136.27 65.47l89.23 111.61c24.8 30.94 38.25 69.41 38.26 108.98v417.14a174.52 174.52 0 0 1-174.52 174.52H247.66A174.52 174.52 0 0 1 73.14 776.34V359.2c0-39.57 13.46-78.04 38.26-108.98zm136.27 7.68c-30.72 0-59.9 13.97-79.14 38.03l-71.98 89.97h652.44l-71.98-89.97a101.38 101.38 0 0 0-79.14-38.03zm540.08 200.99a36.86 36.86 0 0 1-2.92.15H149.94c-1.02 0-1.97 0-2.92-.15-.51 3.95-.73 7.97-.73 11.92v417.14c0 56.03 45.35 101.38 101.37 101.37h528.68c56.03 0 101.38-45.35 101.37-101.37V359.2c0-3.95-.22-7.97-.73-11.92"/></svg>

After

Width:  |  Height:  |  Size: 826 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Some files were not shown because too many files have changed in this diff Show More