第一次提交

This commit is contained in:
wangxiaowei
2025-06-11 10:21:51 +08:00
commit 52932d54b1
2341 changed files with 185283 additions and 0 deletions

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/evaluate/list"],{2015:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){}));var n=function(){var t=this.$createElement,a=(this._self._c,this.theme()||""),e=this.theme(),n=0==this.list.length&&!this.loading;this.$mp.data=Object.assign({},{$root:{m0:a,m1:e,g0:n}})},i=[]},"34ee":function(t,a,e){"use strict";e.r(a);var n=e("2015"),i=e("9384");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(o);e("a3ea");var s=e("828b"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);a["default"]=c.exports},"7d48":function(t,a,e){"use strict";(function(t,e){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{loading:!1,state_active:0,list:[],last_page:0,no_more:!1,page:1}},onLoad:function(t){},onShow:function(){this.page=1,this.list=[],t.showLoading({title:"加载中"}),this.getData()},methods:{getData:function(){var a=this;a.loading=!0,a._post("product.comment/userLists",{page:a.page,list_rows:10},(function(e){if(e.data.list.data&&e.data.list.data.length>0&&e.data.list.data.forEach((function(t){t.year=t.create_time.substr(0,4),t.mouth=t.create_time.substr(5,2),t.data=t.create_time.substr(8,2)})),a.list=a.list.concat(e.data.list.data),a.last_page=e.data.lastPage,a.loading=!1,a.last_page<=1)return a.no_more=!0,!1;t.hideLoading()}))},del:function(a,n){var i=this;e.showModal({title:"提示",content:"您确定删除该评论吗?",success:function(e){e.confirm&&i._post("product.comment/delete",{comment_id:a.comment_id},(function(a){t.showToast({title:"删除成功",duration:1e3,icon:"none"}),i.list.splice(n,1)}))}})},onReachBottom:function(){this.no_more||(this.page++,this.page<=this.last_page?this.getData():this.no_more=!0)}}};a.default=n}).call(this,e("df3c")["default"],e("3223")["default"])},9384:function(t,a,e){"use strict";e.r(a);var n=e("7d48"),i=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=i.a},"975a":function(t,a,e){"use strict";(function(t,a){var n=e("47a9");e("7d57");n(e("3240"));var i=n(e("34ee"));t.__webpack_require_UNI_MP_PLUGIN__=e,a(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},9987:function(t,a,e){},a3ea:function(t,a,e){"use strict";var n=e("9987"),i=e.n(n);i.a}},[["975a","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "我的评价",
"enablePullDownRefresh": false,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="{{[$root.m0]}}" data-theme="{{$root.m1}}"><view class="list"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="listItem"><view class="timeBox"><view class="time"><label class="data _span">{{item.data}}</label><label class="line _span"></label><label class="mouth _span">{{item.mouth}}<label class="unit _span">月</label></label><label class="line _span"></label><label class="year _span">{{item.year}}<label class="unit _span">年</label></label></view><view data-event-opts="{{[['tap',[['del',['$0',index],[[['list','',index]]]]]]]}}" class="delTxt" bindtap="__e">删除</view></view><view class="con"><view>{{item.content}}</view><block wx:for="{{item.image}}" wx:for-item="v" wx:for-index="idx" wx:key="idx"><image class="img" mode="aspectFit" src="{{v.file_path}}"></image></block></view><block wx:if="{{item.OrderProduct}}"><view class="prodcut"><block wx:if="{{item.OrderProduct.image}}"><image src="{{item.OrderProduct.image.file_path}}" model="aspectFit"></image></block><view class="r"><view class="title">{{item.OrderProduct.product_name}}</view><view class="spec">{{item.OrderProduct.product_attr}}</view></view></view></block></view></block></view><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block></view>

View File

@ -0,0 +1 @@
page{background-color:#ebebeb}.list{padding:20rpx}.listItem{background-color:#fff;padding:20rpx;margin-bottom:20rpx}.listItem .timeBox{display:flex;align-items:center;justify-content:space-between}.listItem .delTxt{color:#fd6a03}.listItem .time .unit{color:rgba(0,0,0,.9);font-weight:400}.listItem .time ._span{font-size:26rpx;color:#000;font-weight:800}.listItem .time .data{font-size:38rpx}.listItem .time .line{width:4rpx;height:22rpx;background-color:#fd6a03;display:inline-block;margin:0 6rpx;-webkit-transform:rotate(18deg);transform:rotate(18deg)}.listItem .con{letter-spacing:1rpx;line-height:42rpx;margin:60rpx 0 30rpx 0}.listItem .con .img{width:200rpx;height:200rpx;display:inline-block;margin-right:20rpx}.listItem .prodcut{display:flex;align-items:center;background:hsla(0,0%,92.2%,.8);font-size:26rpx}.listItem .prodcut image{width:90rpx;height:90rpx;margin-right:6rpx;border-radius:6rpx}.listItem .prodcut .spec{color:#959595;font-size:24rpx;margin-top:6rpx}