Invention content
The present invention provides a kind of customization pattern website accomplishing methods, have low manufacture cost, being capable of root convenient for user
The characteristics of website pattern customization of high requirement is realized according to oneself preference.
According to a kind of customization pattern website accomplishing method provided by the invention, including static data displaying implementation method and
Dynamic data shows implementation method;It is characterized in that:The website style editor for providing basis makes client provide design sketch,
Website pattern is voluntarily generated by editing machine, submits publication;In the dynamic data displaying implementation method, specifically include,
Built-in self-defined element upload function is enabled the client to as basic function by uploading interface uplink cell;
The data for defining web site contents show type and element to be uploaded or the pass of uplink cell and data displaying type
Connection mode is enabled the client to element to be uploaded or uplink cell associated data source, to realize uplink cell and specific number
According to the association of type;
The element that combination storage has been associated with, forms dynamic assembly;
Define page type, including homepage, company information displaying page, product details page, the product classification page, graph text information
Details page, the graph text information classification page, atlas displaying page and picture check any one in page or arbitrary several;
Customer terminal webpage selection mode and page assembly addition manner are set, to enable the client to designed dynamic
Component is added to the page of selection;
The element is single least member, including text, figure, radio box, check box, text box and Time of Day
Any one or a few in choice box;The module shown is needed to form in the station that the component is assembled into for element;The page
Face by parts assembling at.A set of page forms a template.
The method further includes that associated data is converted to data-interface, such interface process is handled, by code operation
Content transformation be the optional option of client, by the element associated data source of upload in a manner of making client pass through selection.
The method further includes that associated data bandwagon effect, including associated data rule number, item number content and association is arranged
The specified classification of data.
The method further includes the self-defined element option of setting, including any one in self-defined pattern, color and size
Kind is several.
The method further includes the specified addition link interface of setting member, and addition element is fetched by designated strands.
The method further includes the self-defined assembly component option of setting, and group is beaten after element assembly and generates self-defined static component
And/or self-defined dynamic assembly generates dynamic list.
The method further includes that the function choosing-item of the self-defined pattern of component is arranged, to realize client in custom feature
The selection of appearance.
The method further includes that option is changed and replaced to setting component internal element pattern.
The method further includes the setting self-defined adjustment option of template component, is carried out after supporting template to split into several components
Self-defined adjustment.
Further include that animation data shows that implementation method, specific method include,
Client animation data key frame is set and interface is arranged in intermediate frame;The key frame includes preceding key frame and rear pass
Key frame;
Setting interface and the page page-turning effect setting interface of crucial frame time, position and pattern are set;
The page-turning effect setting interface includes that interface is arranged with page is redirected in current page setting interface.
The method further includes the setting page/animation switching setting interface, and page layout switch animation effect is arranged.
The method further includes that interface, including carousel picture switching setting and/or video cartoon is arranged in setting animation effect
Incision setting.
The method further include setting arrangement mode be arranged interface, including combination cancel combination and figure layer arrangement mode set
Set interface.
Compared with prior art, low manufacture cost can realize the website of high requirement convenient for user according to oneself preference
The customization of pattern.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.
Any feature unless specifically stated can be equivalent by other disclosed in this specification (including abstract and attached drawing)
Or the alternative features with similar purpose are replaced.That is, unless specifically stated, each feature is a series of equivalent or class
Like an example in feature.
For building the terminal user of website, two types are broadly divided into according to data source pattern demand:
1, static display data:For static display data, the general tool of building a station has such function.User only needs
After designing element (picture, button etc.), redirected link is added in voluntarily selection.
2, Dynamic Display data:The displaying of so-called dynamic data, product, the picture and text that when content exactly shown uploads from user
The real time data obtained in the contents such as information, this kind of displaying call database data because being related to front end, now system on the market
When making mode all and be front end engineer and uploading template, the data-interface for calling server-side engineer to provide, so non-exploitation member
It independently can not make or upload dynamic data template.
Also a kind of demand that user is common is exactly the displaying of animation effect.Common application scenarios have:Banner's cuts
Move picture, the displaying animation of hover states or the page-turning effect of Website page, and the animated show of certain current page is also
One of common application scenarios.It is provided with the system of building a station of such function on the market now, is all the animation by built-in acquiescence
Effect is configured, and can not carry out self-defined editor.
A kind of customization pattern website accomplishing method, including static data displaying implementation method and dynamic data displaying are realized
Method;It is characterized in that:The website style editor for providing basis makes client provide design sketch, is voluntarily given birth to by editing machine
At website pattern, publication is submitted;In the dynamic data displaying implementation method, specifically include,
Built-in self-defined element upload function is enabled the client to as basic function by uploading interface uplink cell;
The data for defining web site contents show type and element to be uploaded or the pass of uplink cell and data displaying type
Connection mode is enabled the client to element to be uploaded or uplink cell associated data source, to realize uplink cell and specific number
According to the association of type;
The element that combination storage has been associated with, forms dynamic assembly;
Define page type, including homepage, company information displaying page, product details page, the product classification page, graph text information
Details page, the graph text information classification page, atlas displaying page and picture check any one in page or arbitrary several;
Customer terminal webpage selection mode and page assembly addition manner are set, to enable the client to designed dynamic
Component is added to the page of selection;
The element is single least member, including text, figure, radio box, check box, text box and Time of Day
Any one or a few in choice box;The module shown is needed to form in the station that the component is assembled into for element;The page
Face by parts assembling at.A set of page forms a template.
As shown in Figure 1, in the technical solution of the present invention, providing the website style editor on basis, client is made to provide effect
Fruit is schemed, and website pattern is voluntarily generated by editing machine, submits publication.Element upload function is as basic function, for component
Assembly, generally dynamic assembly are the Core Features of self-defined pattern website.The element that these have been associated with (at this time may be used by user
To be interpreted as dynamic element) it is combined storage, dynamic assembly is formed, at this point, a dynamic assembly is just provided with.User
After having set dynamic assembly, the page is chosen, designed component is added in the page to realize the displaying of dynamic data.
Data type is defined according to actual demand, for example, in product information, data type may include:Product mark
Topic subtitle, product price, model, master map, specifications and models, is discussed in detail text, picture is discussed in detail and video etc..
The method further includes that associated data is converted to data-interface, such interface process is handled, by code operation
Content transformation be the optional option of client, by the element associated data source of upload in a manner of making client pass through selection.
The method further includes that associated data bandwagon effect, including associated data rule number, item number content and association is arranged
The specified classification of data.Some classification specified convenient for associated data exact value displaying item number, data etc. (such as:User setting
Product price data in product information are associated by certain text element).
The method further includes the self-defined element option of setting, including any one in self-defined pattern, color and size
Kind is several.
The method further includes the specified addition link interface of setting member, and addition element is fetched by designated strands.
The method further includes the self-defined assembly component option of setting, and group is beaten after element assembly and generates self-defined static component
And/or self-defined dynamic assembly generates dynamic list.
The method further includes that the function choosing-item of the self-defined pattern of component is arranged, to realize client in custom feature
The selection of appearance.
The method further includes that option is changed and replaced to setting component internal element pattern.
The method further includes the setting self-defined adjustment option of template component, is carried out after supporting template to split into several components
Self-defined adjustment.To improve the self-defined website pattern demand of user.
Further include that animation data shows that implementation method, specific method include,
Client animation data key frame is set and interface is arranged in intermediate frame;The key frame includes preceding key frame and rear pass
Key frame;
Setting interface and the page page-turning effect setting interface of crucial frame time, position and pattern are set;
The page-turning effect setting interface includes that interface is arranged with page is redirected in current page setting interface.
Key frame determines origination action and terminates animation, (multiple) intermediate frame determines movement locus.User can pass through pass
The pattern of key frame and intermediate frame come solve displaying animation effect.
Website animation is different with vision animation, some is related to page-turning effect, so there are two members for front and back key frame
Element, one is traditional time, position and pattern;The other is page elements;When carrying out the setting of page-turning effect, it is divided into and works as
Preceding page and redirect page.
Current page is mainly operated by setting focal position.Such as common floor navigates, some is chosen in navigation bar
Classification, not instead of jump page, the current designated position of page presentation.At this moment we need that a focus position placed in the middle is arranged
It sets, the focal position of key frame is set.
Page is redirected, jump page is related to transition effect, at this moment, we provides the page turning animation setting member of a hypothesis
Element, the i.e. rectangular area of a PC or mobile phone equal proportion size, we set the toggle path of rectangle.
The method further includes the setting page/animation switching setting interface, and page layout switch animation effect is arranged.
The method further includes that interface, including carousel picture switching setting and/or video cartoon is arranged in setting animation effect
Incision setting.
User can according to demand, and the online animation effect of self-defined setting, the more of this aspect is carousel figure
The transition effect of piece and the video cartoon incision of website.
The method further include setting arrangement mode be arranged interface, including combination cancel combination and figure layer arrangement mode set
Set interface.
In order to facilitate User Defined website pattern, for element, component provide combination cancel combination, figure layer and row
The mode of row.Client can carry out more convenient switching with composition element, component, adjust the presentation layer of element by figure layer
Grade, the bandwagon effect by the way that element is arranged.More commonly used is:Left and right alignment, placed in the middle, tiling etc..
It can only include static data displaying and dynamic data displaying for template, can also include that animation data is shown,
If shown including animation data, the animation set and the page are finally synthesized into template, such a customized website
Template.
It is docked about front and back end data:
Dynamic assembly data are docked:The data type that will be determined, is stored in the database, provides data-interface extremely
Data-interface is formed application function by front end engineer, front end engineer, after user's uplink cell, chooses corresponding data source i.e.
It can;
Animation effect data are docked:After front end provides Animation Editors, displaying animation (banner, hover etc.) pattern is protected
It deposits to local, directly produces template;For the animation of page-turning effect, front end needs the parameter and animation of the page where providing
Pattern is provided to server-side, and record is applied when in case producing template.