小程序默认风格

main
wangdong 4 months ago
parent 00ec54814e
commit b946030543
  1. BIN
      public/static/style/1/排行榜1.png
  2. BIN
      public/static/style/1/新人首单礼1.png
  3. BIN
      public/static/style/1/新品首发1.png
  4. BIN
      public/static/style/1/秒杀专区1.png
  5. BIN
      public/static/style/1/邀请有礼1.png
  6. BIN
      public/static/style/1/预售专区1.png
  7. BIN
      public/static/style/1/领券中心1.png
  8. BIN
      public/static/style/1/首页1.png
  9. BIN
      public/static/style/2/排行榜2.png
  10. BIN
      public/static/style/2/新人首单礼2.png
  11. BIN
      public/static/style/2/新品首发2.png
  12. BIN
      public/static/style/2/秒杀专区2.png
  13. BIN
      public/static/style/2/邀请有礼2.png
  14. BIN
      public/static/style/2/预售专区2.png
  15. BIN
      public/static/style/2/领券中心2.png
  16. BIN
      public/static/style/2/首页2.png
  17. BIN
      public/static/style/3/排行榜3.png
  18. BIN
      public/static/style/3/新人首单礼3.png
  19. BIN
      public/static/style/3/新品首发3.png
  20. BIN
      public/static/style/3/秒杀专区3.png
  21. BIN
      public/static/style/3/邀请有礼3.png
  22. BIN
      public/static/style/3/预售专区3.png
  23. BIN
      public/static/style/3/领券中心3.png
  24. BIN
      public/static/style/3/首页3.png
  25. BIN
      public/static/style/4/排行榜4.png
  26. BIN
      public/static/style/4/新人首单礼4.png
  27. BIN
      public/static/style/4/新品首发4.png
  28. BIN
      public/static/style/4/秒杀专区4.png
  29. BIN
      public/static/style/4/邀请有礼4.png
  30. BIN
      public/static/style/4/预售专区4.png
  31. BIN
      public/static/style/4/领券中心4.png
  32. BIN
      public/static/style/4/首页4.png
  33. BIN
      public/static/style/5/排行榜5.png
  34. BIN
      public/static/style/5/新人首单礼5.png
  35. BIN
      public/static/style/5/新品首发5.png
  36. BIN
      public/static/style/5/秒杀专区5.png
  37. BIN
      public/static/style/5/邀请有礼5.png
  38. BIN
      public/static/style/5/预售专区5.png
  39. BIN
      public/static/style/5/领券中心5.png
  40. BIN
      public/static/style/5/首页5.png
  41. BIN
      public/static/style/default/排行榜.png
  42. BIN
      public/static/style/default/新人首单礼.png
  43. BIN
      public/static/style/default/新品首发.png
  44. BIN
      public/static/style/default/秒杀专区.png
  45. BIN
      public/static/style/default/邀请有礼.png
  46. BIN
      public/static/style/default/预售专区.png
  47. BIN
      public/static/style/default/领券中心.png
  48. BIN
      public/static/style/default/首页.png
  49. 3
      src/common/enum/store/page/wxAppStyle/constants.js
  50. 8
      src/views/client/wxapp/Style.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

@ -1,9 +1,10 @@
const pageStyle = [
{ name: '默认', key: 'default', value: '' },
{ name: '风格一', key: '1', value: '1' },
{ name: '风格二', key: '2', value: '2' },
{ name: '风格三', key: '3', value: '3' },
{ name: '风格四', key: '4', value: '4' },
{ name: '风格五', key: '5', value: '5' }
{ name: '风格五', key: '5', value: '5' },
]
const imageList = [

@ -6,10 +6,10 @@
<!-- 模板预览 -->
<div class="preview fl-l">
<a-carousel autoplay>
<template v-if="form.getFieldValue('style')">
<template>
<div v-for="(item, index) in imageList" :key="index">
<img
:src="`static/style/${form.getFieldValue('style')}/${item.name}${form.getFieldValue('style')}.png`"
:src="`static/style/${form.getFieldValue('style') || 'default' }/${item.name}${form.getFieldValue('style')}.png`"
/>
</div>
</template>
@ -20,7 +20,7 @@
<a-form :form="form" @submit="handleSubmit">
<a-form-item label="页面风格" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-radio-group
v-decorator="['style', { rules: [{ required: true, message: '请选择页面风格' }]}]"
v-decorator="['style', { rules: [{ required: false, message: '请选择页面风格' }]}]"
>
<a-radio
v-for="(item, index) in pageStyle"
@ -77,7 +77,7 @@ export default {
.then(result => {
console.log(result)
//
this.record.style = result.data.detail.style || ''
this.record.style = result.data.detail ? (result.data.detail.style || '') : ''
//
this.setFieldsValue()
})

Loading…
Cancel
Save