Browse Source

修复使用优惠劵

master
“linchaomei” 4 years ago
parent
commit
ff42be0844
  1. 11
      App.vue
  2. 12
      common/common.scss
  3. 5
      manifest.json
  4. 11
      pages.json
  5. 728
      pages/account/demo1.vue
  6. 41
      pages/account/index.vue
  7. 60
      pages/account/myReview.vue
  8. 14
      pages/category/productList.vue
  9. 8
      pages/index/first.vue
  10. 4
      pages/index/index.vue
  11. 1
      pages/login/changePwd.vue
  12. 52
      pages/login/index.vue
  13. 368
      pages/order/confirmation.vue
  14. 38
      pages/productDetails/index.vue
  15. 147
      pages/productDetails/review.vue
  16. 11
      pages/shippingCart/index.vue
  17. 66
      pages/specialTitle/index.vue
  18. 190
      pages/specialTitle/index2.vue
  19. BIN
      static/icon/flase.png
  20. BIN
      static/icon/true.png
  21. 1
      uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.vue
  22. BIN
      unpackage/resources/__UNI__A6CF3EA.zip
  23. 1
      unpackage/resources/__UNI__A6CF3EA/www/__uniappchooselocation.js
  24. BIN
      unpackage/resources/__UNI__A6CF3EA/www/__uniapperror.png
  25. 1
      unpackage/resources/__UNI__A6CF3EA/www/__uniappes6.js
  26. 1
      unpackage/resources/__UNI__A6CF3EA/www/__uniappopenlocation.js
  27. 1
      unpackage/resources/__UNI__A6CF3EA/www/__uniapppicker.js
  28. 8
      unpackage/resources/__UNI__A6CF3EA/www/__uniappquill.js
  29. 1
      unpackage/resources/__UNI__A6CF3EA/www/__uniappquillimageresize.js
  30. 1
      unpackage/resources/__UNI__A6CF3EA/www/__uniappscan.js
  31. BIN
      unpackage/resources/__UNI__A6CF3EA/www/__uniappsuccess.png
  32. 25
      unpackage/resources/__UNI__A6CF3EA/www/__uniappview.html
  33. 3
      unpackage/resources/__UNI__A6CF3EA/www/androidPrivacy.json
  34. 8
      unpackage/resources/__UNI__A6CF3EA/www/app-config-service.js
  35. 1
      unpackage/resources/__UNI__A6CF3EA/www/app-config.js
  36. 45
      unpackage/resources/__UNI__A6CF3EA/www/app-service.js
  37. 1
      unpackage/resources/__UNI__A6CF3EA/www/app-view.js
  38. 1
      unpackage/resources/__UNI__A6CF3EA/www/manifest.json
  39. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/1024.png
  40. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/big.png
  41. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/big2.png
  42. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/cat_white.png
  43. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/close.png
  44. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/deleteok.png
  45. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/eye_close.png
  46. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/eye_open.png
  47. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/flase.png
  48. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/home.png
  49. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/home1.png
  50. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/home3.png
  51. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/home4.png
  52. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/home_white.png
  53. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/left.png
  54. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/like_red.png
  55. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/next.png
  56. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/nologin.png
  57. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/nologin2.png
  58. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/play.png
  59. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/right_white.png
  60. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/share_white.png
  61. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/start.png
  62. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/true.png
  63. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/icon/user_bg.png
  64. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/APay.png
  65. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/About CHIC.png
  66. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Account.png
  67. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Account1.png
  68. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Attention CHIC.png
  69. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Cart.png
  70. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Category.png
  71. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Category1.png
  72. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/GPay.png
  73. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Help Center.png
  74. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Mes.png
  75. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/My Address.png
  76. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/My Review.png
  77. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Processing.png
  78. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Return Policy.png
  79. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Returns.png
  80. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Setting.png
  81. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/Shipped.png
  82. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/add.png
  83. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/address.png
  84. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/address1.png
  85. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/address_xian.png
  86. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/apple.png
  87. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/bottom.png
  88. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/bottom1.png
  89. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/bottom1_white.png
  90. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/camera.png
  91. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/card.png
  92. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/cart1.png
  93. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/cart2.png
  94. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/cart3.png
  95. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/close.png
  96. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/close1.png
  97. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/close2.png
  98. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/close3.png
  99. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/completed.png
  100. BIN
      unpackage/resources/__UNI__A6CF3EA/www/static/img/copyLink.png

11
App.vue

@ -1,5 +1,6 @@
<script>
import {defaultRequest,defaultRequest4} from 'api/index.js'
export default {
data(){
return {
@ -8,6 +9,16 @@
},
onLaunch: function() {
// console.log('App Launch')
uni.onTabBarMidButtonTap(()=>{
console.log("点击了")
//
//
uni.navigateTo({
url:"../index/index2",
animationType:'slide-in-bottom'
})
})
setTimeout(() => {
plus.navigator.closeSplashscreen();
}, 5000);

12
common/common.scss

@ -445,7 +445,7 @@
}
.recommend_content_item_pric{
font-size: 32rpx;
font-weight: bold;
// font-weight: bold;
margin-top: 6rpx;
}
}
@ -457,6 +457,7 @@
background-color: #FEF6F4;
height: 186.67rpx;
color: #F66C46;
margin-top: 11rpx;
margin-bottom: 25.33rpx;
.coupons_item_left{
width: 216.67rpx;
@ -598,7 +599,7 @@
margin-bottom: 56rpx;
}
.tips{
color: #DA0303;
color: #630201;
font-size: 18.67rpx;
font-weight: bold;
}
@ -613,8 +614,9 @@
width: 100%;
height: 88rpx;
line-height: 88rpx;
background-color: #000000;
color: white;
background: rgba(0,0,0,0.6);
background-color: #630102 !important;
color: white !important;
// background-color: #e7e7e7;
// color: #666666;
margin-top: 30rpx;
@ -623,7 +625,7 @@
font-weight: bold;
}
.login_submit1{
background-color: #000000;
// background-color: #000000;
color: white;
}
.agreement{

5
manifest.json

@ -1,5 +1,5 @@
{
"name" : "Dope Plus",
"name" : "DopePlus",
"appid" : "__UNI__A6CF3EA",
"description" : "",
"versionName" : "1.0.0",
@ -55,7 +55,8 @@
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"autoSdkPermissions" : true
"autoSdkPermissions" : true,
"minSdkVersion" : 21
},
/* ios */
"ios" : {

11
pages.json

@ -344,7 +344,16 @@
"enablePullDownRefresh": false
}
}
},
{
"path" : "pages/specialTitle/index2",
"style" :
{
"navigationStyle":"custom",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarBackgroundColor": "#000000",

728
pages/account/demo1.vue

@ -1,399 +1,437 @@
<template>
<view>
</view>
</template>
<script>
</script>
<style>
</style><template>
<view>
<uni-nav-bar :statusBar="true" left-icon="left" title="Review" color="#000000" :fixed="true" @clickLeft="back">
<block slot="right">
<view class="nav_right">
<button @click="reviewSub">Submit</button>
<view class="u-wrap">
<view class="search">
<view class="status_bar"></view>
<view class="search1">
<navigator url="/pages/index/search">
<view class="navigation_seach">
<image src="../../static/img/seach.png" mode=""></image>
<text>search</text>
</view>
</navigator>
<view class="navigation_title_right">
<navigator url="/pages/account/wishlist">
<image src="../../static/img/like_white.png" mode=""></image>
</navigator>
<navigator url="/pages/shippingCart/index" open-type="switchTab">
<uni-badge :text="sum" type="error" absolute="rightTop">
<image src="../../static/img/shop_cart1.png" mode=""></image>
</uni-badge>
</navigator>
</view>
</block>
</uni-nav-bar>
<view class="body" >
<view class="order_popup_commodity">
<view class="good_info" >
<view class="good_info_left ">
<view class="good_info_image">
<image ></image>
</view>
</view>
<view class="u-menu-wrap">
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view category_left" :scroll-top="scrollTop"
:scroll-into-view="itemId">
<view v-for="(item,index) in 7" :key="index" class="u-tab-item" :class="[current == index ? 'u-tab-item-active' : '']"
@tap.stop="swichMenu(index)">
<text class="u-line-1">可乐</text>
</view>
</scroll-view>
<scroll-view :scroll-top="scrollRightTop" scroll-y scroll-with-animation class="right-box" @scroll="rightScroll">
<view class="page-view">
<view class="class-item" :id="'item' + index" v-for="(item , index) in 7" :key="index">
<view class="item-title">
<text>奶茶</text>
</view>
<view class="left_info">
<view class="info_name">9</view>
<view class="left_info_bottom">
<view class="info_lable">
<text>{{}}</text>
<!-- <image src="/static/img/bottom.png" mode=""></image> -->
<view class="good_content">
<view class="good_item" v-for="(item1, index1) in 6" :key="index1">
<view @click="toDetial(item1)">
<view class="good_item_img"><image src="" alt=""></view>
</view>
<text>肯德基</text>
</view>
</view>
</view>
</view>
</view>
<view class="review">
<view class="review_title">
<text>Score</text>
<uni-rate size="22" disabledColor="#B22234" v-model="query.comment_rank" active-color="#B22234" :is-fill="false" class="rate" v-if="reviewType==0"/>
<uni-rate size="22" disabledColor="#B22234" v-model="query1.comments[index].comment_rank" active-color="#B22234" :is-fill="false" class="rate" v-else/>
</view>
<view class="review_content">
<image src="../../static/img/write.png" mode=""></image>
<textarea placeholder="Write reviews" v-if="reviewType==0" v-model="query.comment"></textarea>
<textarea placeholder="Write reviews" v-else v-model="query1.comments[index].comment"></textarea>
</view>
<view class="reason_upload">
<view class="reason_upload_item" @click="UploadVideo">
<image src="/static/img/vedio.png" class="upload_item_camera1" mode=""v-if="!VideoSrc"></image>
<image :src="VideoSrc" class="upload_item_camera" mode="" v-else></image>
<view>Upload the video</view>
</view>
<view class="reason_upload_item" @click="upload()">
<!-- <image src="/static/img/camera.png" class="upload_item_camera" mode="" v-if="!imgSrc"></image>
<image :src="imgSrc" class="upload_item_camera" mode="" v-else></image>
<view>Upload pictures</view> -->
<text ref="input" class="upFile" @click="upload()"></text>
</view>
<view class="reason_upload_item reason_upload_item1">
<!-- <image :src="" class="upload_item_image" mode=""></image> -->
</view>
</view>
<view class="reason_upload_tips">Upload JPG, PNG format, within 3M</view>
</view>
</scroll-view>
</view>
</view>
</template>
<script module="test" lang="renderjs" >
export default {
mounted() {
// ...
},
methods: {
upload(){
console.log(1111)
var input = document.createElement('input');
input.type = 'file';
input.accept='image/*';
this.$refs.input.$el.appendChild(input);
input.onchange = (event) => {
this.fileName = event.path[0].files[0].name;
}
$('input').click();
},
}
}
</script>
<script >
import {defaultRequest,defaultRequest2,defaultRequest3} from '../../api/index.js'
import { encryptDes, decryptDes ,encrypt_by_des } from '@/utils/des.js'
import Base64 from 'base-64';
import cryptoJS from "crypto-js"
import { pathToBase64 } from '@/js_sdk/mmmm-image-tools/index.js'
<script>
import {defaultRequest,defaultRequest4} from '../../api/index.js'
export default {
data() {
return {
orderDate:{},
// 0 1
reviewType:0,
query:{
_action:'commentordergoods',
order_id:'',
order_sn:'',
rec_id:'',
goods_id:'',
comment:'',
comment_rank:'',
commentlabels:''
},
query1:{
_action:'commentorder',
order_id:'',
order_sn:'',
comments:[]
},
VideoSrc:'',
imgSrc:''
scrollTop: 0, //tab
oldScrollTop: 0,
current: 0, //
menuHeight: 0, //
menuItemHeight: 0, // item
itemId: '', // scroll-viewid
tabbar: [],
menuItemPos: [],
arr: [],
scrollRightTop: 0, // scroll-view
timer: null, //
categoryList:'1234567’',
sum:0,
backButtonPress:0,
homeIndex: 0
}
},
methods:{
//
reviewSub(){
let data
if(this.reviewType==0){
this.commentordergoods()
}else{
// data=this.query1
this.commentordergoods1()
onShow() {
this.sum =0
this.getList()
uni.showTabBar()
},
onLoad() {
this.getList()
},
onReady() {
this.getMenuItemTop()
},
// onBackPress(options) {
// this.backButtonPress++;
// if (this.backButtonPress > 1) {
// plus.runtime.quit();
// } else {
// plus.nativeUI.toast('Click again to exit');
// }
// setTimeout(function() {
// this.backButtonPress = 0;
// }, 1000);
// return true;
// },
methods: {
//
async swichMenu(index) {
if(this.arr.length == 0) {
await this.getMenuItemTop();
}
console.info(data)
if ( this.current === index) return;
// this.scrollRightTop = this.oldScrollTop;
this.scrollRightTop = this.arr[index];
// this.$nextTick(function(){
// this.scrollRightTop = this.arr[index];
this.current = index;
// this.leftMenuStatus(index);
// })
},
//
commentordergoods(){
defaultRequest2(this.query).then(res=>{
console.info(res)
if(res.error==0){
uni.showToast({
icon:'none',
title:'Comment successful!'
})
setTimeout(function(){
uni.navigateBack()
},2000)
}
})
toDetial(item){
console.log(item)
},
//
commentordergoods1(){
defaultRequest2(this.query1,'comments').then(res=>{
console.info(res)
if(res.error==0){
uni.showToast({
icon:'none',
title:'Comment successful!'
})
setTimeout(function(){
uni.navigateBack()
},2000)
}
})
getList(){
},
back(){
uni.navigateBack()
//
getElRect(elClass, dataVal) {
new Promise((resolve, reject) => {
const query = uni.createSelectorQuery().in(this);
query.select('.' + elClass).fields({
size: true
}, res => {
// resnull
if (!res) {
setTimeout(() => {
this.getElRect(elClass);
}, 10);
return;
}
this[dataVal] = res.height;
resolve();
}).exec();
})
},
//
UploadVideo(){
var that = this
uni.chooseVideo({
sourceType: ['camera', 'album'],
success: function (res) {
console.log(res)
that.VideoSrc = res.tempFilePath;
}
//
async observer() {
this.tabbar.map((val, index) => {
let observer = uni.createIntersectionObserver(this);
// scroll-viewiditemxxright-box
// .right-box
observer.relativeTo('.right-box', {
top: 0
}).observe('#item' + index, res => {
if (res.intersectionRatio > 0) {
let id = res.id.substring(4);
this.leftMenuStatus(id);
}
})
})
},
//
Upimg(){
let url
uni.chooseImage({
count: 3, //9
sizeType: ['original', 'compressed'], //
sourceType: ['album'], //
success: function (res) {
console.info(res)
console.log(JSON.stringify(res.tempFilePaths));
const tempFilePaths = res.tempFiles[0]
console.log(res)
let data ={
_action:'uploadcommentfile',
atype: 1,
afile:res.tempFiles
//
async leftMenuStatus(index) {
// console.log(index,'index')
if (index == this.current) return;
this.current = index
// 0
if (this.menuHeight == 0 || this.menuItemHeight == 0) {
await this.getElRect('menu-scroll-view', 'menuHeight');
await this.getElRect('u-tab-item', 'menuItemHeight');
}
// item
this.scrollTop = index * this.menuItemHeight + this.menuItemHeight / 2 - this.menuHeight / 2;
},
// item
getMenuItemTop() {
new Promise(resolve => {
let selectorQuery = uni.createSelectorQuery();
selectorQuery.selectAll('.class-item').boundingClientRect((rects) => {
// rects[](selectAll)
if(!rects.length) {
setTimeout(() => {
this.getMenuItemTop();
}, 10);
return ;
}
console.log(data)
defaultRequest(data).then(res =>{
console.log(res)
rects.forEach((rect) => {
// rects[0].top()
this.arr.push(rect.top - rects[0].top);
resolve();
})
console.log(data)
defaultRequest(data).then(res =>{
console.log(res)
})
// uni.uploadFile({
// url:'https://v2.alapi.cn/api/image',
// filePath: res.tempFilePaths[0],
// name:'file',
// success: (uploadFileRes) => {
// var that = this
// // uploadFileRes.data = decryptDes(uploadFileRes.data,"6780f04cf2e211ec86a8005056c00008")
// console.log(uploadFileRes)
// }
}).exec()
})
},
//
async rightScroll(e) {
// this.current = 0
this.oldScrollTop = e.detail.scrollTop;
// if(this.arr.length == 0) {
// await this.getMenuItemTop();
// }
if(this.timer) return ;
if(!this.menuHeight) {
await this.getElRect('menu-scroll-view', 'menuHeight');
}
setTimeout(() => { //
this.timer = null;
// scrollHeight
let scrollHeight = e.detail.scrollTop + this.menuHeight / this.categoryList.length;
for (let i = 0; i < this.arr.length; i++) {
let height1 = this.arr[i];
let height2 = this.arr[i + 1];
// this.scrollRightTop = this.arr[i];
// height2
if (!height2 || scrollHeight >=height1 && scrollHeight < height2) {
this.leftMenuStatus(i);
// })
uni.getImageInfo({
src: res.tempFilePaths[0],
success: (path) => {
pathToBase64(path.path).then(base64 => {
console.log(base64); // base64
url = base64
})
.catch(error => {
console.error(error)
})
return ;
}
})
// uni.request({
// url:'https://v2.alapi.cn/api/image',
// method:'POST',
// data:{
// image:url
// },
// success(res) {
// console.log(res)
// }
// })
}
});
}
},
onLoad(e) {
let datas=JSON.parse(e.data)
this.orderDate=datas
if(datas.order_goods.length>1){
this.reviewType=1
this.query1.order_id=datas.order_id
this.query1.order_sn=datas.order_sn
datas.order_goods.map(item=>{
let data={
rec_id:item.rec_id,
goods_id:item.goods_id,
comment:'',
comment_rank:'',
commentlabels:item.goods_attr.replace(/\s\n/g,' ')
}
this.query1.comments.push(data)
})
}else{
this.query.order_id=datas.order_id
this.query.order_sn=datas.order_sn
this.query.rec_id=datas.order_goods[0].rec_id
this.query.goods_id=datas.order_goods[0].goods_id
this.commentlabels=datas.order_goods[0].goods_attr.replace(/\s\n/g,' ')
}
},
filters:{
goodsAttr(e){
return e.replace(/\s\n/g,';');
}, 10)
}
}
}
</script>
<style lang="scss" scoped>
.review{
padding: 0 26rpx;
padding-top: 35.33rpx;
.u-wrap {
height: calc(100vh);
/* #ifdef H5 */
height: calc(100vh - var(--window-top));
/* #endif */
display: flex;
flex-direction: column;
}
.search{
width: 100%;
background-color:#000;
box-sizing: border-box;
padding: 33.33rpx 26.67rpx;
.review_title{
position: fixed;
top: 0;
z-index: 99;
// border-bottom: 1px solid #F5F6FA;
.search1{
display: flex;
align-items: center;
font-weight: bold;
font-size: 32rpx;
margin-bottom: 44rpx;
.rate{
margin-left: 24.67rpx;
}
}
.review_content{
display: flex;
image{
width: 29.33rpx;
height: 29.33rpx;
}
textarea{
font-size: 28rpx;
font-weight: 400;
width: 100%;
height: 113.33rpx;
margin-left: 4rpx;
}
}
.reason_upload{
display: flex;
flex-wrap: wrap;
margin-bottom: 34.67rpx;
.reason_upload_item{
border: 1px dashed #D2D2D2;
border-radius: 15rpx;
width: 156rpx;
height: 156rpx;
justify-content: space-between;
.navigation_seach{
width: 546.67rpx;
background-color: #F5F6FA;
border-radius: 6.67rpx;
height: 66.67rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-size: 12rpx;
color: #BFBCBC;
margin-right: 23.33rpx;
color: #8F9094;
border-radius: 33rpx;
font-size: 26.67rpx;
padding-left: 25rpx;
box-sizing: border-box;
&:nth-child(3n+3){
margin-right: 0;
}
.upload_item_camera{
width: 72rpx;
height: 54.67rpx;
margin-bottom: 14rpx;
}
.upload_item_camera1{
width: 72rpx;
height: 72rpx;
// margin-bottom: 14rpx;
}
.upload_item_image{
width: 100%;
height: 100%;
border-radius: 15rpx;
image{
width: 29.33rpx;
height: 29.33rpx;
margin-right: 22rpx;
}
}
.reason_upload_item1{
position: relative;
&::after{
content: "";
width: 30.67rpx;
height: 30.67rpx;
position: absolute;
right: -12rpx;
top: -12rpx;
z-index: 99;
background-image: url("@/static/img/close3.png");
background-size: 100% 100%;
.navigation_title_right{
display: flex;
align-items: center;
image{
width: 44rpx;
height: 44rpx;
}
>uni-navigator:first-child{
margin-right: 32.67rpx;
}
}
}
.reason_upload_tips{
font-size: 20rpx;
color: #666666;
}
}
.u-menu-wrap {
flex: 1;
height: 100%;
display: flex;
overflow: hidden;
margin-top: 166rpx;
}
.category_left{
height: 100%;
// background-color: #F5F6FA;
width: 197.33rpx;
}
.u-tab-view {
width: 200rpx;
height: 100%;
}
.u-tab-item {
width: 197.33rpx;
padding: 0 18rpx;
height: 94rpx;
font-size: 28.67rpx;
font-weight: bold;
box-sizing: border-box;
font-family: PingFang SC;
display: flex;
align-items: center;
word-wrap: break-word;
word-break: break-all;
}
.u-tab-item-active {
position: relative;
font-size: 26rpx;
font-weight: 600;
background-color: black;
color: white;
}
.u-tab-item-active::before {
content: "";
position: absolute;
height: 32rpx;
left: 0;
top: 39rpx;
}
.u-tab-view {
height: 100%;
}
.right-box {
background-color: rgb(250, 250, 250);
}
.page-view {
padding: 16rpx;
}
.class-item {
margin-bottom: 30rpx;
background-color: #fff;
padding: 16rpx;
border-radius: 8rpx;
}
.class-item:last-child {
min-height: 100vh;
}
.uni-navbar{
font-size: 32rpx;
.item-title {
font-size: 26rpx;
font-weight: bold;
margin-bottom: 20rpx;
}
.nav_right{
.item-menu-name {
font-weight: normal;
font-size: 24rpx;
}
.item-container {
display: flex;
flex-wrap: wrap;
}
.thumb-box {
// width: 33.333333%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 20rpx;
}
.item-menu-image {
width: 120rpx;
height: 120rpx;
}
.good_content{
display: flex;
flex-wrap: wrap;
button{
width: 116.67rpx;
height: 48rpx;
background-color: black;
margin: 0;
line-height: 48rpx;
border-radius: 24rpx;
font-size: 24rpx;
font-weight: bold;
color: white;
padding-left: 0;
padding-right: 0;
.good_item{
font-size: 22.67rpx;
text-align: center;
margin-right: 25.33rpx;
margin-bottom: 51.33rpx;
.good_item_img{
display: block;
background-color: #999999;
width: 146.67rpx;
height: 146.67rpx;
margin-bottom: 22rpx;
}
}
.good_item:nth-child(3n+3){
margin-right: 0;
}
}
.body{
border-top: 14.67rpx #F6F5FA solid;
}
.order_popup_commodity{
padding: 0 33.33rpx;
border-bottom: 14.67rpx #F6F5FA solid;
.good_item_img{
height: 100rpx;
width: 100rpx;
image{
height: 100%;
width: 100%;
}
}
</style>
</style>

41
pages/account/index.vue

@ -62,10 +62,10 @@
<view class="order">
<view class="order_title">My Service</view>
<view class="order_info" >
<navigator v-for="(item,index) in indexDate.blocks" :key="item.block_title" @click="gotopage(item.block_title,item.block_link)" class="order_info_item">
<view v-for="(item,index) in indexDate.blocks" :key="item.block_title" @click="gotopage(item.block_title,item.block_link)" class="order_info_item" >
<image :src="item.block_pic" class="info_img" mode=""></image>
<text>{{ item.block_title }}</text>
</navigator>
</view>
<!-- <navigator :url="noLogin==0?'/pages/account/myReview':'../login/index'" class="order_info_item">
<image src="../../static/img/My Review.png" class="info_img" mode=""></image>
<text>My Review</text>
@ -117,6 +117,7 @@
</view>
</view>
</template>
@ -128,6 +129,7 @@
user_info:{
isLogin:false,
},
//
catQuery:{
_action:'getgoods',
@ -165,12 +167,15 @@
})
},
gotopage(title,url){
const a = url.indexOf('?')
console.log(a)
const s = url.substring(17);
console.log(title)
console.log(url)
var a,s
if(url.indexOf('?'))
{
a = url.indexOf('?')
console.log(a)
s = url.substring(17);
}
// console.log(title)
// console.log(url)
if(this.isLogin == 1 &&url==''){
if(title.includes('Setting')){
uni.navigateTo({
@ -215,7 +220,7 @@
this.isLogin = uni.getStorageSync('isLogin')
let data={_action:'getuserbonus'}
defaultRequest(data).then(res=>{
console.info(res,)
console.info(res)
})
@ -224,11 +229,12 @@
}).then(res =>{
console.log(res)
if(res.error ==0){
this.count = res.data.user_info.rank_points
this.count = res.data.user_info.user_money
this.hb_num = res.data.user_bonus_list.length
console.log(this.hb_num)
}
})
},
getImg(){
let data ={
@ -238,7 +244,7 @@
let imglist
defaultRequest(data).then( res =>{
if(res.error ==0){
console.log(res,'\\')
console.log(res)
res.data.zones.map(item =>{
if(item.zone_code== 'CBANNER'){
imglist = item
@ -281,7 +287,7 @@
getUserInfo(){
let data={_action:'getinfo'}
defaultRequest(data).then(res=>{
// console.info(res,'pppppp')
console.info(res,'pppppp')
if(res.error==0){
res.data.isLogin=true
// this.user_info=res.data
@ -295,6 +301,17 @@
}
})
//
let comments = {
_action:'getmycomments',
page_index:1,
page_size:10,
}
// defaultRequest(comments).then(res=>{
// console.info(res,'pppppp')
// })
},
imgto(item){

60
pages/account/myReview.vue

@ -1,6 +1,6 @@
<template>
<view class="body">
<navigator url="/pages/productDetails/review">
<view class="reviews_item" v-for="(item,index) in 2" :key="index">
<view class="reviews_item_title">
<view class="reviews_title_user">
@ -19,37 +19,77 @@
<view class="more_delete" v-show="isShwo">delete</view>
</view>
</view>
</navigator>
<view class="mask" v-show="isShwo" @click="isShwo=false"></view>
</view>
</template>
<script>
import {defaultRequest,defaultRequest2} from '../../api/index.js'
import { encryptDes, decryptDes ,encrypt_by_des } from '@/utils/des.js'
import Base64 from 'base-64';
import cryptoJS from "crypto-js"
import { pathToBase64 } from '@/js_sdk/mmmm-image-tools/index.js'
import {defaultRequest,defaultRequest2,defaultRequest4} from '../../api/index.js'
export default {
data() {
return {
isShwo:false,
query:{
_action:'getgoodscomment',
goods_id:'',
_action:'getmycomments',
page_index:1,
page_size:10,
commentlabel:''
}
}
},
methods:{
getList(){
defaultRequest(this.query).then(res=>{
console.info(res)
let query ={
_action:"getmycomments",
page_index:1,
page_size:20,
}
console.log(query)
defaultRequest(query).then(res =>{
console.log(res)
})
const json_data={
appcode:'DOPE+' ,//
appchannel:'FXXXXHUAWEI' ,//
appver: '1.0.0',//
appname:'cnic_buyer' ,//
manufacturer:'HUAWEI',//
phonebrand:'HORNOR' ,//
phonetype:'X30' ,//
phoneos:'ANDROID',//
_action:'getmycomments',//
page_index:1,
page_size:20,
}
let data = encryptDes(JSON.stringify(json_data),'6780f04cf2e211ec86a8005056c00008')
uni.request({
url:'https://en.meixx.com/mapi/api_v2011.php?appcode=DOPE+',
// url:'https://lilbeattranapismits.dopeplus.com/mapi/api_v2011.php?appcode=DOPE+',
data:{
data:data
},
success: (res) => {
console.log(res.data);
// this.text = 'request success';
let data2=decryptDes(res.data,'6780f04cf2e211ec86a8005056c00008');
console.log(data2)
}
})
}
},
onLoad(e) {
this.query.goods_id=e.goods_id
// this.query.goods_id=e.goods_id
this.getList()
}
},
// onShow() {
// this.getList()
// }
}
</script>
<style>

14
pages/category/productList.vue

@ -167,6 +167,7 @@
current:0,
shop_price:0,
tag:0,
first:0,//
}
},
methods:{
@ -375,7 +376,14 @@
})
},
back(){
uni.navigateBack()
if(this.first == 1){
uni.switchTab({
url:'../index/index'
})
}
else{
uni.navigateBack()
}
},
//
clickImg(index,list) {
@ -462,7 +470,9 @@
},
onLoad(e) {
console.log(e)
if(e.first){
this.first = e.first
}
if(e.gid){
this.query.gid = e.gid
}

8
pages/index/first.vue

@ -30,6 +30,7 @@
countdownTime2:5,
heightOne:0,
heightTwo:0,
count:false
}
},
@ -91,7 +92,7 @@
clearInterval(timer2)
this.countdownTime2 = 0
}
if(this.countdownTime2 ==0){
if(this.countdownTime2 ==0 &&!this.count){
uni.switchTab({
url:'./index'
})
@ -110,18 +111,19 @@
},
imgTopage(item){
this.count = true
console.log(111)
console.log(item,'item')
const i = item.indexOf('?')
const str = item.substring(i)
if(item.includes('goodid')){
uni.navigateTo({
url:'../productDetails/index'+str+'&img=1'
url:'../productDetails/index'+str+'&first=2'
})
}
else if(item.includes('goodslist')){
uni.navigateTo({
url:'../category/productList'+ str
url:'../category/productList'+ str+'&first=1'
})
}

4
pages/index/index.vue

@ -893,7 +893,7 @@
let goodid
if(item.goodid){
console.log('9999')
uni.navigateTo({
url:'../productDetails/index?goodid='+item.goodid
})
@ -1111,6 +1111,7 @@
.page_padding_left1{
padding-left: 5.67rpx;
padding-right: 5.67rpx;
padding-top: 90rpx;
}
.navigation{
@ -1558,6 +1559,7 @@
font-size: 14rpx;
line-height: 24rpx;
color:white;
padding-bottom: 50rpx;
}
.title{

1
pages/login/changePwd.vue

@ -69,5 +69,6 @@
.login_submit{
font-size: 26.67rpx;
color:#fff !important;
}
</style>

52
pages/login/index.vue

@ -1,4 +1,5 @@
<template>
<view :style="{background:`url(${bg})`}" class="body">
<view class="login_body">
<view class="status_bar"></view>
<uni-segmented-control :current="current" :values="items" @clickItem="onClickItem" styleType="text" activeColor="#010101" class="select"></uni-segmented-control>
@ -12,7 +13,7 @@
<view class="tips" v-show="loginErr">{{errMsg}}</view>
<view class="forgot" @click="forgotPwd">Forgot your Password?</view>
<button class="login_submit" :disabled="isLogin" @click="login()">SIGN IN</button>
<button class="login_submit" :disabled="isLogin" @click="login()" >SIGN IN</button>
<!-- <view class="agreement">
<image src="../../static/img/select2.png" mode="" class="agreement_image" @click="loginSelect=!loginSelect,loginErr=false" v-show="!loginSelect"></image>
<image src="../../static/img/select1.png" mode="" class="agreement_image" @click="loginSelect=!loginSelect" v-show="loginSelect"></image>
@ -42,7 +43,7 @@
</view>
<view class="mode">
<view class="mode_title">or continue with</view>
<view class="mode_title"> or continue with </view>
<view class="mode_content">
<image src="/static/img/facebook.png" class="mode_content_image"></image>
<image src="/static/img/gugei.png" class="mode_content_image"></image>
@ -55,6 +56,7 @@
@confirm="dialogConfirm" ></uni-popup-dialog>
</uni-popup>
</view>
</view>
</template>
<script>
@ -92,7 +94,8 @@
query:{
_action:'sendmessagesforvalidation',
username:'',
}
},
bg:''
}
},
// onBackPress(options) {
@ -136,9 +139,16 @@
},
//
configuration(){
let data={_action:'getpagedata',pagecode:'006-PERSONALCENTERPAG'}
defaultRequest1(data).then(res=>{
let data={_action:'getpagedata',pagecode:'006-PERSONALCENTERPAGE'}
defaultRequest(data).then(res=>{
console.info(res)
res.data.zones.map( item =>{
if(item.zone_code == 'LOGINBG'){
this.bg = item.blocks[0].block_pic
}
})
})
},
//
@ -256,8 +266,22 @@
</script>
<style lang="scss" scoped>
.body{
background-size: 100%;
height: 100vh;
width: 100%;
padding:0;
color:#fff !important;
position: fixed;
}
/deep/ .uni-text .segmented-control__text{
color:#fff !important;
}
.login_body{
// margin-top: 300rpx;
padding-top: 305.33rpx;
color:#fff;
}
.see{
height: 30rpx;
@ -273,15 +297,16 @@
}
.mode{
position: fixed;
bottom: 138.67rpx;
// position: fixed;
margin-top: 300rpx;
bottom: 138.67rpx;
width: 100%;
left: 0;
.mode_title{
font-size: 26.67rpx;
color: #666666;
position: relative;
color: #fff;
// position: relative;
text-align: center;
width: 100%;
@ -289,8 +314,8 @@
content: "";
height: 1px;
width: 89.33rpx;
background-color: #BCBCBC;
position: absolute;
// background-color: #BCBCBC;
// position: absolute;
left: 20%;
top: 50%;
}
@ -298,12 +323,15 @@
content: "";
height: 1px;
width: 89.33rpx;
background-color: #BCBCBC;
// background-color: darkred;
position: absolute;
right: 20%;
top: 50%;
}
}
.uni-button{
background-color: aqua !important;
}
.mode_content{
display: flex;
align-items: center;

368
pages/order/confirmation.vue

@ -58,17 +58,17 @@
<view class="discount_item" @click="openMore(1)">
<text>Coupons</text>
<view class="discount_item_right">
<text v-show="total.bonus!=0">-US${{total.bonus}}</text>
<text v-show="bonus>0">-US${{bonus}}</text>
<image src="../../static/img/right.png" mode="" class="address_more"></image>
</view>
</view>
<view class="discount_item" @click="openMore(3)">
<view class="discount_item_left">
<text>Points</text>
<text class="discount_item_left_span">({{orderDate.your_integral || 0}})</text>
<text class="discount_item_left_span">({{count}})</text>
</view>
<view class="discount_item_right">
<text v-show="isPoints">-US$2.5</text>
<text v-if="use&&Points >0 ">-US${{ Points}}</text>
<image src="../../static/img/right.png" mode="" class="address_more"></image>
</view>
</view>
@ -85,7 +85,7 @@
</view>
<view class="settlement_item">
<text>Discount :</text>
<text class="settlement_item_right1">-US${{total.bonus || 0}}</text>
<text class="settlement_item_right1">-US${{bonus || 0}}</text>
</view>
</view>
@ -184,7 +184,7 @@
<!-- </navigator> -->
</view>
<view class="order_popup_points" v-show="popup_index==3">
<!-- <view class="order_popup_points" v-show="popup_index==3">
<view class="points_item">
<image src="../../static/img/select2.png" mode=""></image>
<text>Use points</text>
@ -193,10 +193,59 @@
<image src="../../static/img/select1.png" mode=""></image>
<text>Do not use points</text>
</view>
</view>
</view> -->
</view>
<view class="mask" @click="isCoupons=false,isPoints= false" v-show="(isCoupons && list)||isPoints"></view>
<view class="coupons" v-show="isCoupons &&list">
<view class="order_popup_title">
<text>Coupons</text>
<image src="../../static/img/close1.png" mode="" @click="isCoupons=false"></image>
</view>
<view class="coupons_item" v-for="(item,index) in list " :key="item.bonus_id">
<view class="coupons_item_left">
<view class="item_left_prcie">${{item.type_money}}</view>
<text class="item_left_span">Min.spend</text>
<view>${{item.min_goods_amount}}</view>
</view>
<view class="coupons_item_right">
<view class="coupons_right_info">
<view class="coupons_right_info_title">{{item.type_name}}</view>
<text>The tide zone is available</text>
<view class="coupons_right_info_time">{{item.use_start_date}} - {{item.use_end_date}}</view>
</view>
<view>
<view class="select_cop" v-show="current!=index&&parseFloat(item.min_goods_amount) <totalnum ||parseFloat(item.min_goods_amount) ==totalnum ">
<image src="../../static/icon/flase.png" @click="current=index,useCoupons(index,item)"></image>
</view>
<view class="select_cop"v-show="current==index ">
<image src="../../static/icon/true.png" @click="current=-1,bonus=0,total.bonus = 0,useCoupons(index,item)"></image>
</view>
<button @click="gotoindex()">Use Now</button>
</view>
</view>
</view>
</view>
<!-- point -->
<view class="coupons" v-show="isPoints">
<view class="order_popup_title">
<text>Points (total:</text><text style="color:darkred">{{ count}} </text>)
<image src="../../static/img/close1.png" mode="" @click="isPoints=false"></image>
</view>
<view class="order_popup_points" @click="Thepoint()" >
<view class="points_item">
<image src="../../static/img/select2.png" mode="" v-if="!use" @click="use=true,nouse=false"></image>
<image src="../../static/img/select1.png" mode="" v-if="use" @click="use=false,nouse=true"></image>
<text>Use points</text>
</view>
<view class="points_item"@click="Thepoint()">
<image src="../../static/img/select2.png" mode="" v-if="!nouse " @click="nouse=true,use=false"></image>
<image src="../../static/img/select1.png" mode="" v-if="nouse" @click="nouse=false,use=true"></image>
<text>Do not use points</text>
</view>
</view>
</view>
</view>
</template>
@ -220,6 +269,7 @@
goods_list:[],
shipping_list:[],
bonus_list:[],
bonus:0,
total:{},
order:{
shipping_id:11
@ -228,32 +278,126 @@
pay_index:0,
tag:0,
orderId:0,
list:[] ,//
current:-1,
count:0,
Points:0,
use:false,
nouse:true,
bouns_id:'',
totalnum:0,
}
},
filters: {
fnum(a,b) {
let tag = false
if(parseFloat(a) < parseFloat(b)|| parseFloat(a) == parseFloat(b))
{
tag = true
}
return tag;
}
},
methods:{
// 使
useCoupons(id){
useCoupons(index,item){
// this.current = index
let total = this.total
console.log(this.current)
// this.bouns_id = item.bonus_id
//console.log(total)
if(this.current == index ){
this.bonus = item.type_money
//console.log(this.bonus)
this.total.bonus = item.type_money
let id = item.bonus_id
this.bouns_id = item.bonus_id
let data={_action:'cartselectbonus',bonus:id,consignee:this.address}
defaultRequest3(data,'consignee').then(res=>{
if(res.error==0){
this.total=res.data.total
this.order=res.data.order
this.orderId=res.data.order.shiping_id
}
console.log(data)
defaultRequest3(data,'consignee').then(res=>{
if(res.error==0){
this.total=res.data.total
console.log(this.total.bonus)
uni.setStorageSync('Total',this.total)
this.order=res.data.order
console.log(this.use)
//使
// console.log(this.count,this.total.amount,this.Points)
if(this.use){
console.log(this.count > this.total.amount)
if(this.count > this.total.amount){
this.Points = this.total.amount
this.total.amount = 0
}else if (this.count < this.total.amount || this.count == this.total.amount){
this.Points = this.count
let a = (parseFloat(this.Points) + parseFloat(this.total.bonus)).toFixed(2)
console.log(this.total.amount)
this.total = uni.getStorageSync('total')
let b = (this.total.amount - a ).toFixed(2)
console.log(b)
this.total.amount = b
}
}
//使
else{
this.Points = 0
//console.log(222)
}
}
})
}
else{
this.bonus = 0
this.total = uni.getStorageSync('total')
this.bouns_id = 0
// this.Points = this.total.amount
//console.log(this.total)
}
},
gotoindex(){
uni.switchTab({
url:'../index/index'
})
},
//
getPayDate(id,will_get_integral){
let data
//console.log(222)
if(this.pay_index ==0){
data={_action:'payorder',order_id:id,order_type:'GOODSBUY',payment_method:'paypal'}
defaultRequest2(data).then(res=>{
console.info(data,'支付')
console.log(res)
////console.info(data,'')
//console.log(res)
if(res.error == 0){
if(res.data.need_pay_amount==0) return
if(res.data.need_pay_amount==0)
this.isShow = false
{
setTimeout(() =>{
uni.showToast({
icon:'none',
title:'ok!'
})
},2000)
uni.navigateTo({
url:'../account/myOrders'
})
}
// plus.runtime.openURL(res.data.prepay_data.checkoutnow_url)
// this.src = res.data.prepay_data.checkoutnow_url
uni.navigateTo({
@ -265,21 +409,36 @@
}else{
data={_action:'payorder',order_id:id,order_type:'GOODSBUY',payment_method:'alipay.native'}
defaultRequest2(data).then(res=>{
console.info(res,'支付宝')
//console.info(res,'')
if(res.error==0){
//
if(res.data.need_pay_amount==0) return
if(res.data.need_pay_amount==0) {
if(res.data.need_pay_amount==0)
this.isShow = false
{
setTimeout(() =>{
uni.showToast({
icon:'none',
title:'ok!'
})
},2000)
uni.navigateTo({
url:'../account/myOrders'
})
}
}
uni.requestPayment({
provider: 'alipay',
orderInfo: res.data.prepay_data.order_info, //
success: function (res) {
console.log('success:' + JSON.stringify(res));
////console.log('success:' + JSON.stringify(res));
uni.redirectTo({
url: 'paySuccess?type=0&order_id='+id+'&will_get_integral='+will_get_integral
});
},
fail: function (err) {
console.log('fail:' + JSON.stringify(err));
////console.log('fail:' + JSON.stringify(err));
uni.redirectTo({
url: 'paySuccess?type=1&order_id='+id+'&will_get_integral='+will_get_integral
});
@ -290,6 +449,54 @@
}
},
Thepoint(){
//使 使
////console.log(this.total)
if(this.use && this.current!=-1){
this.total = uni.getStorageSync('Total')
if(parseFloat(this.count) > this.total.amount){
let i = (parseFloat(this.count) - this.total.amount - parseFloat(this.total.bonus)).toFixed(2)
// this.Points = (this.total.amount - parseFloat(this.total.bonus)).toFixed(2)
this.Points = this.total.amount
//console.log(this.Points)
this.total.amount = 0
}
else if(parseFloat(this.count) < this.total.amount){
let i = (this.total.amount -parseFloat(this.count)).toFixed(2)
// this.total.amount = i
this.Points = this.count
this.total.amount = (this.total.amount - parseFloat(this.Points)).toFixed(2)
}
}
//使
else if(!this.use&& this.current!=-1){
this.Points = 0
this.total = uni.getStorageSync('Total')
}
// 使
else if(!this.use&& this.current==-1){
this.total = uni.getStorageSync('total')
}
//使
else{
if(parseFloat(this.count) > this.total.amount){
let i = (parseFloat(this.count) - this.total.amount - parseFloat(this.total.bonus)).toFixed(2)
// this.Points = (this.total.amount - parseFloat(this.total.bonus)).toFixed(2)
this.Points = this.total.amount
//console.log(this.Points)
this.total.amount = 0
}
else if(parseFloat(this.count) < this.total.amount){
let i = (this.total.amount -parseFloat(this.count)).toFixed(2)
// this.total.amount = i
this.Points = this.count
this.total.amount = (this.total.amount - parseFloat(this.Points)).toFixed(2)
}
}
},
//
selectPay(index){
@ -307,14 +514,16 @@
_action:'submitorder',
consignee:this.address,
postscript:'',
bonus:this.order.bonus,
surplus:this.order.surplus,
bonus:this.bouns_id,
surplus:this.Points,
// surplus:this.order.surplus,
// shipping_id:this.orderId,
shipping_id:this.order.shipping_id,
directshopping:0,
}
defaultRequest3(data,'consignee').then(res=>{
console.info(data)
//console.info(res)
//console.log(data)
if(res.error==0){
this.getPayDate(res.data.order.order_id,res.data.will_get_integral)
}
@ -324,7 +533,7 @@
cartselectshipping(id){
let data={_action:'cartselectshipping',shipping_id:id,consignee:this.address}
defaultRequest3(data,'consignee').then(res=>{
console.info(res)
////console.info(res)
if(res.error==0){
this.tag = 1
this.total=res.data.total
@ -335,26 +544,50 @@
},
getList(){
defaultRequest3(this.query,'consignee').then(res=>{
console.log(this.query)
console.info(res)
////console.log(this.query)
////console.info(res)
if(res.error==0){
this.orderDate=res.data
this.address=res.data.consignee
this.goods_list=res.data.goods_list
this.shipping_list=res.data.shipping_list
console.info(res.data.shipping_list,'1111')
// ////console.info(res.data.shipping_list,'1111')
if(res.data.bonus_list){
this.bonus_list=res.data.bonus_list
}
this.total=res.data.total
this.totalnum = this.total.amount
uni.setStorageSync('total',(res.data.total))
let ss = uni.getStorageSync('total')
////console.log(ss,'0000')
this.order=res.data.order
}
})
//
let data={_action:'getuserbonus'}
defaultRequest2(data).then(res=>{
////console.info(res)
if(res.error==0){
this.list=res.data
}
})
//
defaultRequest2({
_action:'getusersummarydata'
}).then(res =>{
////console.log(res)
if(res.error ==0){
this.count = res.data.user_info.user_money
// this.count = 4.00
}
})
},
openMore(i){
this.popup_index=i
if(i==1){
if(this.bonus_list.length==0){
this.isCoupons = true
if(!this.list){
uni.showToast({
icon:'none',
title:'No coupon available'
@ -369,7 +602,7 @@
return
}
}else if(i==3){
this.isPoints = true
if(this.orderDate.allow_use_integral==0){
uni.showToast({
icon:'none',
@ -405,18 +638,18 @@
if(this.orderId){
this.tag =1
}
console.log(this.orderId,'///')
////console.log(this.orderId,'///')
this.getList()
},
onShow(e) {
this.getList()
uni.$once('query' ,(query)=>{
console.info(query)
////console.info(query)
if(query.type=='address'){
this.query.consignee=query.consignee
this.query.is_new=0
console.log(this.query)
////console.log(this.query)
this.getList()
}
});
@ -608,5 +841,70 @@
margin: 0;
}
}
//
.coupons{
z-index: 999;
position: fixed;
bottom: 0;
left: 0;
background-color: white;
padding-left: 29.33rpx;
padding-right: 29.33rpx;
box-sizing: border-box;
padding-top: 20.67rpx;
width: 100%;
font-size: 30.67rpx;
font-weight: 400;
padding-bottom: 17.67rpx;
.order_popup_title{
position: relative;
font-size: 32rpx;
font-weight: bold;
border-bottom: 1px solid #E2E2E2;
display: flex;
color:#000;
align-items: center;
justify-content: center;
// padding-top: 44.67rpx;
padding-bottom: 20.67rpx;
text-align: center;
image{
width: 21.33rpx;
height: 21.33rpx;
position: absolute;
right: 26rpx;
}
}
.select_cop{
height: 50rpx;
width: 50rpx;
margin: 0rpx 0rpx 15rpx 80rpx;
image{
height: 100%;
width: 100%;
}
}
.order_popup_points{
padding-bottom: 63.33rpx;
padding-left: 47.33rpx;
padding-top: 34.67rpx;
font-size: 28rpx;
.points_item{
display: flex;
align-items: center;
margin-bottom: 40rpx;
&:last-child{
margin-bottom: 0;
}
image{
width: 29.33rpx;
height: 29.33rpx;
margin-right: 26rpx;
}
}
}
}
</style>

38
pages/productDetails/index.vue

@ -473,6 +473,7 @@
shipping_list:[],
Size_list:'',
shop_price:0,
first:0,
@ -798,17 +799,19 @@
if(res.error==0){
console.log(res.data,'222')
this.goodsDate=res.data
if(this.goodsDate.comment_list.length<2){
this.commonlist.push(this.goodsDate.comment_list[0])
}else if(this.goodsDate.comment_list.length == 0){
this.commonlist = []
}
else{
for(let i =0;i<2;i++){
this.commonlist.push(this.goodsDate.comment_list[i])
if(this.goodsDate.comment_list)
{
if(this.goodsDate.comment_list.length<2){
this.commonlist.push(this.goodsDate.comment_list[0])
}else if(this.goodsDate.comment_list.length == 0){
this.commonlist = []
}
else{
for(let i =0;i<2;i++){
this.commonlist.push(this.goodsDate.comment_list[i])
}
}
}
console.log(this.commonlist,'11')
@ -888,7 +891,14 @@
})
},
back(){
uni.navigateBack()
if(this.first == 2){
uni.navigateTo({
url:'../category/index'
})
}
else{
uni.navigateBack()
}
},
// 1
Copylink(){
@ -938,7 +948,9 @@
onLoad(e) {
// let goods = JSON.parse(e)
this.isLogin = uni.getStorageSync('isLogin')
if(e.first){
this.first = e.first
}
//console.log(e,'p')
this.query.goods_id=e.goodid
@ -1255,7 +1267,7 @@
.active_color{
color: #B22234;;
background-color: white;
// border: 1px solid #000000;
border: 1px solid #000000;
}
}
.variations_select_size{

147
pages/productDetails/review.vue

@ -1,6 +1,6 @@
<template>
<view>
<uni-nav-bar :statusBar="true" left-icon="left" title="Review" color="#000000" :fixed="true" @clickLeft="back">
<uni-nav-bar :statusBar="true" left-icon="left" title="Review" color="#FFF" backgroundColor="#000" :fixed="true" @clickLeft="back">
<block slot="right">
<view class="nav_right">
<button @click="reviewSub">Submit</button>
@ -40,24 +40,29 @@
<view class="reason_upload">
<view class="reason_upload_item" @click="UploadVideo">
<image src="/static/img/vedio.png" class="upload_item_camera1" mode=""v-if="!VideoSrc"></image>
<image :src="VideoSrc" class="upload_item_camera" mode="" v-else></image>
<view>Upload the video</view>
</view>
<view class="reason_upload_item" @click="Upimg()">
<image src="/static/img/camera.png" class="upload_item_camera" mode="" v-if="!imgSrc"></image>
<image :src="imgSrc" class="upload_item_camera" mode="" v-else></image>
<!-- <view>Upload pictures</view>
<video :src="VideoSrc" class="upload_item_camera2" mode=""
id="videoId"
object-fit="contain"
@play="play"
@fullscreenchange="fullscreenchange"
v-else>
</video>
<view v-if="!VideoSrc">Upload the video</view>
</view>
<view class="reason_upload_item reason_upload_item1">
<!-- <image :src="" class="upload_item_image" mode=""></image> -->
<view class="reason_upload_item" @click="Upimg()">
<image src="/static/img/camera.png" class="upload_item_camera" mode="" ></image>
<!-- <image :src="imgSrc" class="upload_item_camera" mode="" v-else></image> -->
<view>Upload pictures</view>
</view>
<view class="reason_upload_item reason_upload_item1" v-if="imgSrc">
<image :src="imgSrc" class="upload_item_image" mode="" ></image>
</view>
</view>
<view class="reason_upload_tips">Upload JPG, PNG format, within 3M</view>
<!-- <view style="height: 100rpx;width: 100rpx;">
<image :src="imgSrc" class="upload_item_image" style="height: 100%;width: 100%;"mode="" ></image>
</view> -->
</view>
</view>
@ -93,12 +98,37 @@
comments:[]
},
VideoSrc:'',
imgSrc:''
imgSrc:'',
imglist:[],
videoPlay: false,
videoUrl: '',
ids:[]
}
},
methods:{
//
//
play(index) {
let videoContext = uni.createVideoContext('videoId', this)
videoContext.requestFullScreen()
},
//退
fullscreenchange(e) {
if (!e.detail.fullScreen) {
uni.createVideoContext('videoId', this).pause();
}
},
//退
fullscreenchange (e){
if(!e.detail.fullScreen){
this.videoContext.stop()
}
},
reviewSub(){
this.query.attachments = this.ids
let data
if(this.reviewType==0){
this.commentordergoods()
@ -107,6 +137,9 @@
this.commentordergoods1()
}
console.info(data)
defaultRequest(this.query).then( res =>{
console.log(res)
})
},
//
commentordergoods(){
@ -145,34 +178,56 @@
//
UploadVideo(){
var that = this
const json_data={
appcode:'DOPE+' ,//
appchannel:'FXXXXHUAWEI' ,//
appver: '1.0.0',//
appname:'cnic_buyer' ,//
manufacturer:'HUAWEI' ,//
phonebrand:'HORNOR' ,//
phonetype:'X30' ,//
phoneos:'ANDROID',//
_action:'uploadcommentfile',//
atype: 2,//
// afile:res.tempFiles[0]
}
let data = encryptDes(JSON.stringify(json_data),'6780f04cf2e211ec86a8005056c00008');
uni.chooseVideo({
sourceType: ['camera', 'album'],
success: function (res) {
console.log(res)
that.VideoSrc = res.tempFilePath;
// that.VideoSrc = res.tempFilePath;
uni.uploadFile({
url: 'https://lilbeattranapismits.dopeplus.com/mapi/api_v2011.php?appcode=DOPE+',
filePath: res.tempFilePath,
name: 'afile',
formData:{
'data':data
},
success: (uploadFileRes) => {
console.log(uploadFileRes);
let data=decryptDes(uploadFileRes.data,'6780f04cf2e211ec86a8005056c00008');
console.log(JSON.parse(data));
let lists = JSON.parse(data)
// this.video = lists.data
that.VideoSrc = lists.data.attachment_url
// console.log(this.VideoSrc,'000')
that.ids.push(lists.data.attachment_id)
console.log(that.ids)
// this.imglist = lists.data
// that.imglist = this.imglist.push(lists.data)
// console.log(that.imglist)
}
});
}
})
},
// upload(){
// console.log(1111)
// var input = documente.createElement('input');
// input.type = 'file';
// input.accept='image/*';
// this.$refs.input.$el.appendChild(input);
// input.onchange = (event) => {
// this.fileName = event.path[0].files[0].name;
// }
// $('input').click();
// },
//
Upimg(){
var that = this
let url
uni.chooseImage({
count: 3, //9
count: 1, //9
sizeType: ['original', 'compressed'], //
sourceType: ['album'], //
success: function (res) {
@ -224,7 +279,7 @@
uni.uploadFile({
url: 'https://en.meixx.com/mapi/api_v2011.php',
url: 'https://en.meixx.com/mapi/api_v2011.php?appcode=DOPE+',
filePath: tempFilePaths[0],
name: 'afile',
formData:{
@ -233,7 +288,15 @@
success: (uploadFileRes) => {
console.log(uploadFileRes);
let data=decryptDes(uploadFileRes.data,'6780f04cf2e211ec86a8005056c00008');
console.log(data);
console.log(JSON.parse(data));
let lists = JSON.parse(data)
this.imglist = lists.data
that.imgSrc = lists.data.attachment_url
// this.imglist = this.imglist.push(lists.data)
console.log(that.imgSrc)
that.ids.push( lists.data.attachment_id)
console.log(that.ids)
}
});
@ -245,6 +308,11 @@
},
onLoad(e) {
let datas=JSON.parse(e.data)
console.log(datas)
this.query.order_id = datas.order_id
this.query.order_sn = datas.order_sn
this.query.goods_id = datas.order_goods[0].goods_id
this.query.rec_id = datas.order_goods[0].grec_id
this.orderDate=datas
if(datas.order_goods.length>1){
this.reviewType=1
@ -312,6 +380,7 @@
margin-bottom: 34.67rpx;
.reason_upload_item{
border: 1px dashed #D2D2D2;
background-size: 100%;
border-radius: 15rpx;
width: 156rpx;
height: 156rpx;
@ -322,7 +391,10 @@
font-size: 12rpx;
color: #BFBCBC;
margin-right: 23.33rpx;
image{
height: 100%;
width: 100%;
}
&:nth-child(3n+3){
margin-right: 0;
}
@ -337,7 +409,12 @@
// margin-bottom: 14rpx;
}
.upload_item_camera2{
width: 156rpx;
height: 156rpx;
}
.upload_item_image{
// background-color: aqua;
width: 100%;
height: 100%;
border-radius: 15rpx;

11
pages/shippingCart/index.vue

@ -861,7 +861,9 @@
font-size: 32rpx;
font-weight: bold;
}
.body{
background-color:#fff;
}
.uni-numbox {
border: 1px solid #999999;
border-radius: 14rpx;
@ -923,14 +925,14 @@
}
.cart_info {
background-color: white;
background-color: #fcfcfc;
display: flex;
align-items: center;
justify-content: space-between;
padding: 36.67rpx 32rpx;
font-size: 24rpx;
font-weight: 400;
// border-bottom: #737373 1rpx dashed;
image {
width: 41.33rpx;
height: 41.33rpx;
@ -960,7 +962,8 @@
}
.cart {
background-color: white;
background-color: #fafafa;
margin: 0 18rpx;
padding: 42rpx 12.67rpx;
margin-top: 16.67rpx;

66
pages/specialTitle/index.vue

@ -6,7 +6,7 @@
<view v-for="(item1,index1) in item.blocks " :key="item1.block_pic">
<view class="ONEPIC" v-if="item.zone_code=='ONEPIC' && item.zone_status=='NORMAL'" :style="{height:(item.zone_code=='ONEPIC')?item.zone_column+'rpx':'200rpx'}">
<!-- class="discount page_padding" -->
<image :src="item1.block_pic" mode="" @click="imgTo()" ></image>
<image :src="item1.block_pic" mode="" @click="imgTo(item1)" ></image>
</view>
<view class="TWOPIC" v-if="item.zone_code =='TWOPIC'">
<image :src="item1.block_pic"></image>
@ -74,7 +74,44 @@
uni.navigateBack({
delta:1
})
}
},
imgTo(item){
console.log(item,'item')
//console.log(item.block_link.includes('dope.youhui'))
let goodid
if(item.goodid){
uni.navigateTo({
url:'../productDetails/index?goodid='+item.goodid
})
}
else if(item.block_link){
const i = item.block_link.indexOf('?')
goodid = item.block_link.substring(i);
////console.log(item.block_link)
if(item.block_link.includes('goodslist')){
uni.navigateTo({
url:'../category/productList'+ goodid+'&tag=1'
})
}
else if(item.block_link.includes('goodid')){
uni.navigateTo({
url:'../productDetails/index'+goodid+'&img=1'
})
}
else if(item.block_link.includes('dope.youhui')){
uni.navigateTo({
url:'./pickUpCentre'
})
}else if(item.block_link.includes('dope.adspecial')){
uni.navigateTo({
url:'../specialTitle/index2'+goodid
})
}
}
},
}
}
</script>
@ -85,30 +122,36 @@
margin: 20rpx;
}
.ONEPIC{
width: 100%;
height: 480rpx;
margin-top: -1rpx;
width: 100%;
height: 100%;
margin: -12rpx 0;
image{
height: 100%;
height: 100%;
width: 100%;
}
&:nth-last-child(){
margin-bottom: 10rpx;
}
}
.TWOPIC{
width: 100%;
width: 100%;
display: flex;
image{
width: 50%;
width: 100%;
height: 100%;
}
}
.THREEPIC{
width: 100%;
display: flex;
margin: 0;
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.FOURPIC{
width: 100%;
@ -116,6 +159,7 @@
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.FIVEPIC{
@ -124,6 +168,7 @@
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.SIXPIC{
@ -132,6 +177,7 @@
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.body{

190
pages/specialTitle/index2.vue

@ -0,0 +1,190 @@
<template>
<view class="body">
<view class="one"></view>
<uni-nav-bar left-icon="left" @clickLeft="back()" backgroundColor="#000" color="#fff" :title="title" />
<view v-for="(item,index) in list " :key="item.zone_id">
<view v-for="(item1,index1) in item.blocks " :key="item1.block_pic">
<view class="ONEPIC" v-if="item.zone_code=='ONEPIC' && item.zone_status=='NORMAL'" :style="{height:(item.zone_code=='ONEPIC')?item.zone_column+'rpx':'200rpx'}">
<!-- class="discount page_padding" -->
<image :src="item1.block_pic" mode="" @click="imgTo(item1)" ></image>
</view>
<view class="TWOPIC" v-if="item.zone_code =='TWOPIC'">
<image :src="item1.block_pic"></image>
</view>
<!-- TWOPIC -->
<view class="TWOPIC" :style="{height:(item.zone_code=='TWOPIC')?item.zone_column+'rpx':'200rpx'}" v-if="item.zone_code=='TWOPIC' && item.zone_status=='NORMAL'">
<image :src="item1.block_pic" @click="imgTo(item1)"mode="" v-for="(item1,index1) in item.blocks" :key="item1.block_id"></image>
</view>
<!-- THREEPIC -->
<view class="THREEPIC":style="{height:(item.zone_code=='THREEPIC')?item.zone_column+'rpx':'200rpx'}" v-if="item.zone_code=='THREEPIC' && item.zone_status=='NORMAL'">
<image :src="item1.block_pic" @click="imgTo(item1)" mode="" v-for="(item1,index1) in item.blocks" :key="item1.block_id"></image>
</view>
<!-- FOURPIC -->
<view class="FOURPIC":style="{height:(item.zone_code=='FOURPIC')?item.zone_column+'rpx':'200rpx'}" v-if="item.zone_code=='FOURPIC' && item.zone_status=='NORMAL'">
<image :src="item1.block_pic" mode="" @click="imgTo(item1)" v-for="(item1,index1) in item.blocks" :key="item1.block_id"></image>
</view>
<!-- FIVEPIC -->
<view class="FIVEPIC" :style="{height:(item.zone_code=='FIVEPIC')?item.zone_column+'rpx':'200rpx'}" v-if="item.zone_code=='FIVEPIC' && item.zone_status=='NORMAL'">
<image :src="item1.block_pic" mode="" @click="imgTo(item1)" v-for="(item1,index1) in item.blocks" :key="item1.block_id"></image>
</view>
<!-- SIXPIC -->
<view class="SIXPIC":style="{height:(item.zone_code=='SIXPIC')?item.zone_column+'rpx':'200rpx'}" v-if="item.zone_code=='SIXPIC' && item.zone_status=='NORMAL'">
<image :src="item1.block_pic" mode="" @click="imgTo(item1)" v-for="(item1,index1) in item.blocks" :key="item1.block_id"></image>
</view>
</view>
</view>
</view>
</template>
<script>
import {defaultRequest,defaultRequest4} from '../../api/index.js'
export default {
data() {
return {
list:[],
data: {
_action:'getpagedata',
pagecode:''
},
title:''
}
},
onLoad(e) {
console.log(e)
this.title = e.title
this.data.pagecode = e.id
this.getpage()
},
methods: {
getpage(){
let imglist
defaultRequest(this.data).then( res =>{
if(res.error ==0){
console.log(res,'数据')
this.list= res.data.zones
console.log(this.list)
this.list.map( item =>{
console.log(item,'item')
})
}
})
},
back(){
uni.navigateBack({
delta:1
})
},
imgTo(item){
console.log(item,'item')
//console.log(item.block_link.includes('dope.youhui'))
let goodid
if(item.goodid){
uni.navigateTo({
url:'../productDetails/index?goodid='+item.goodid
})
}
else if(item.block_link){
const i = item.block_link.indexOf('?')
goodid = item.block_link.substring(i);
////console.log(item.block_link)
if(item.block_link.includes('goodslist')){
uni.navigateTo({
url:'../category/productList'+ goodid+'&tag=1'
})
}
else if(item.block_link.includes('goodid')){
uni.navigateTo({
url:'../productDetails/index'+goodid+'&img=1'
})
}
else if(item.block_link.includes('dope.youhui')){
uni.navigateTo({
url:'./pickUpCentre'
})
}else if(item.block_link.includes('dope.adspecial')){
uni.navigateTo({
url:'../specialTitle/index'+goodid
})
}
}
},
}
}
</script>
<style lang="scss" scoped>
page{
background-color: aliceblue;
margin: 20rpx;
}
.ONEPIC{
width: 100%;
height: 100%;
margin: -12rpx 0;
image{
height: 100%;
width: 100%;
}
&:nth-last-child(){
margin-bottom: 10rpx;
}
}
.TWOPIC{
width: 100%;
display: flex;
image{
width: 100%;
height: 100%;
}
}
.THREEPIC{
width: 100%;
display: flex;
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.FOURPIC{
width: 100%;
display: flex;
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.FIVEPIC{
width: 100%;
display: flex;
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.SIXPIC{
width: 100%;
display: flex;
justify-content: space-between;
image{
width: 100%;
height: 100%;
}
}
.body{
.one{
height: 50rpx;
width: 100%;
background-color: #000;
}
}
</style>

BIN
static/icon/flase.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
static/icon/true.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

1
uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.vue

@ -138,6 +138,7 @@
}
.segmented-control__text {
color: aliceblue !important;
font-size: 14px;
line-height: 20px;
text-align: center;

BIN
unpackage/resources/__UNI__A6CF3EA.zip

Binary file not shown.

1
unpackage/resources/__UNI__A6CF3EA/www/__uniappchooselocation.js

File diff suppressed because one or more lines are too long

BIN
unpackage/resources/__UNI__A6CF3EA/www/__uniapperror.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

1
unpackage/resources/__UNI__A6CF3EA/www/__uniappes6.js

File diff suppressed because one or more lines are too long

1
unpackage/resources/__UNI__A6CF3EA/www/__uniappopenlocation.js

File diff suppressed because one or more lines are too long

1
unpackage/resources/__UNI__A6CF3EA/www/__uniapppicker.js

File diff suppressed because one or more lines are too long

8
unpackage/resources/__UNI__A6CF3EA/www/__uniappquill.js

File diff suppressed because one or more lines are too long

1
unpackage/resources/__UNI__A6CF3EA/www/__uniappquillimageresize.js

File diff suppressed because one or more lines are too long

1
unpackage/resources/__UNI__A6CF3EA/www/__uniappscan.js

File diff suppressed because one or more lines are too long

BIN
unpackage/resources/__UNI__A6CF3EA/www/__uniappsuccess.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

25
unpackage/resources/__UNI__A6CF3EA/www/__uniappview.html

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<script>
var __UniViewStartTime__ = Date.now();
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>View</title>
<link rel="stylesheet" href="view.css" />
</head>
<body>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.min.js"></script>
<script src="app-view.js"></script>
</body>
</html>

3
unpackage/resources/__UNI__A6CF3EA/www/androidPrivacy.json

@ -0,0 +1,3 @@
{
"prompt" : "none"
}

8
unpackage/resources/__UNI__A6CF3EA/www/app-config-service.js

File diff suppressed because one or more lines are too long

1
unpackage/resources/__UNI__A6CF3EA/www/app-config.js

@ -0,0 +1 @@
(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]);

45
unpackage/resources/__UNI__A6CF3EA/www/app-service.js

File diff suppressed because one or more lines are too long

1
unpackage/resources/__UNI__A6CF3EA/www/app-view.js

File diff suppressed because one or more lines are too long

1
unpackage/resources/__UNI__A6CF3EA/www/manifest.json

@ -0,0 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__A6CF3EA","name":"Dope Plus","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Payment":{},"VideoPlayer":{},"Push":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":false,"waiting":false,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#000000"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"safearea":{"bottom":{"offset":"none"}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.6.3","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"borderStyle":"rgba(255,255,255,0.4)","backgroundColor":"#FFFFFF","color":"#999999","selectedColor":"#000000","height":"60px","midButton":{"width":"80px","height":"70px","iconWidth":"60px","iconPath":"static/img/tabbar_img.png"},"list":[{"pagePath":"pages/index/index","iconPath":"static/icon/home3.png","selectedIconPath":"static/icon/home4.png","text":"Home"},{"pagePath":"pages/category/index","iconPath":"static/img/Category.png","selectedIconPath":"static/img/Category1.png","text":"Category"},{"pagePath":"pages/shippingCart/index","iconPath":"static/img/Cart.png","selectedIconPath":"static/img/cart1.png","navigationBarTextStyle":"#000000","text":"Cart"},{"pagePath":"pages/account/index","iconPath":"static/img/Account.png","selectedIconPath":"static/img/Account1.png","text":"Account"}]},"launch_path":"__uniappview.html"}}

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/1024.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/big.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/big2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/cat_white.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/close.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/deleteok.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/eye_close.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/eye_open.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 891 B

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/flase.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/home.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 B

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/home1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/home3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/home4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/home_white.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/left.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/like_red.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/next.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/nologin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/nologin2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/play.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/right_white.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/share_white.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/start.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/true.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/icon/user_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 966 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/APay.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/About CHIC.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Account.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Account1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Attention CHIC.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Cart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Category.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Category1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/GPay.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Help Center.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Mes.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/My Address.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/My Review.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Processing.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Return Policy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Returns.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Setting.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/Shipped.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/add.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/address.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/address1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/address_xian.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/apple.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/bottom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/bottom1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/bottom1_white.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/camera.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/card.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/cart1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/cart2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/cart3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/close.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/close1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/close2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/close3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/completed.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
unpackage/resources/__UNI__A6CF3EA/www/static/img/copyLink.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

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

Loading…
Cancel
Save